Jump to content

KyleK29

Lifetime Members
  • Content Count

    272
  • Joined

  • Last visited

  • Days Won

    48

Posts posted by KyleK29


  1. 1 hour ago, Andrea Finizio said:

    Thanks so much for that generator to find the code for the colors @KyleK29. Playing with the create trend line hotkey, I found you can specify the line color, line style, label text color, and label background color of the trend line. I like to have all the horizontal lines that I draw be the same color but have different text label colors. I don't draw anything except horizontal lines so I don't know if these would work the same on a trend, vertical, or Fib. 

    To change the look of the line the script is- 

    ConfigTrendLine ShapeType lineStyle:lineColor:lineWidth:labelTextColor:labelBackgroundColor

     

    Here are the ones I made.

    Orange label background: ConfigTrendLine horzline dotline:e60061:1:000000:e68e00; HorizontalLine; 

    Pink label background: ConfigTrendLine horzline dotline:e60061:1:000000:e60061; HorizontalLine; 

    Green label background: ConfigTrendLine horzline dotline:e60061:1:000000:01780b; HorizontalLine; 

    Yeah, that's a good tip. The labelText and labelBG items were added in a newer version of DAS after the tool was created and I haven't added them to the tool form, yet.   I'll get around to it eventually.


  2. On 9/24/2020 at 7:02 AM, rinran said:

    Hello,

    Following hotkey is Kyle's for dynamic risk based off your stop-loss and entry:

    StopPrice=Price-0;DefShare=BP*0.925;Price=Ask-Price+0.00;SShare=50/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=SMRTL;Price= Ask+0.05;TIF=DAY+;BUY=Send;DefShare=200;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.05 ACT:SELL STOPPRICE:StopPrice QTY:Pos TIF:DAY+;

    This is my edited version:

    StopPrice=Price-0;DefShare=BP*0.925;Price=Ask-Price+0.00;SShare=280/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=SMRTM;Price= Ask+0.00;TIF=DAY;BUY=Send;DefShare=200;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.05 ACT:SELL STOPPRICE:StopPrice QTY:Pos TIF:DAY;

    It is modified slightly with Ask+0.00 instead of Ask+0.05, and DAY instead of DAY+.

    Today I took a trade on SPI with a .20 stop-loss, risking $280. So 280/.20=1400 shares, but I was only bought in with 233 shares.

    Any ideas why that might be would be appreciated, this has happened a couple times now, seemingly randomly.

    Cheers,

    RR

     

    First, are you with IBCO? If you're with DAS SIM Broker, see my just reply to mlmpty01 just below this.

    As Moe said, it's usually because of lack of buying power.   Did you have an open position already that was tying up your BP? Also, using ROUTE=SMRTM negates the ASK+0.00 .. you're essentially telling them to "buy now at any cost." Where-as the SMRTL version is saying "Buy below [for long] the Ask+0.05 cents." I always use SMRTL and have only had a few instances where I didn't get filled.

     

    On 10/24/2020 at 1:46 PM, mlmpty01 said:

    i have observed similar issue stated above . Could it be related to the dasTraderPro IB version ?

     

    Only differences between the two versions for hotkeys is the routing. DAS SIM Broker ("Demo") needs to have routes like ROUTE=LIMIT; and ROUTE=MARKET;   .. IBCO needs routes like ROUTE=SMRTL; and ROUTE=SMRTM;   .. stops remain the normal style.

    • Like 1

  3. If the StopPrice in your montage changes, it will affect the calculation of the Stop Distance value (AvgCost - Stop Price).  DAS does not provide any user defined variables for you to store the original Stop Price into, unfortunately. It's something that I discussed with them right before Covid hit, so hopefully they pick it back up once the pandemic is over.


  4. Saw a question on this in chat this morning, figured I'd whip together a quick guide to help new users switching from Mac OS to Windows 10.  There's a ton of methods to backup the DAS Trader Pro folder, but I'll highlight two real quick.

    MANUAL METHOD:

    Backup:

    1. Find the DAS Trader Pro install (default:  C:\DAS Trader Pro\ )
    2. Right-click the DAS Trader Pro folder --> Send-to --> Compressed Zip (Windows may complain about permissions and wish to place it on the Desktop, choose OK). The zip will either bin in C:\ root or on your desktop.

      a_send_to_zip.png
       
    3. Rename and move the .zip to where you want it to be (I use the date and version for mine, like DAS_20201030_5.5.2.3.zip)


    Restore:

    1. Rename your current DAS Trader Pro (if it's there) to something like DAS Trader Pro-bak.
    2. Create a new DAS Trader Pro folder (Right-click "New Folder").
    3. Unzip the backed up copy into the this folder.
    4. Alternatively, you can just unzip directly into an existing DAS Trader Pro folder and choose to allow overwriting when Windows prompts you.
    5. Run DAS.

     

    AUTOMATED METHOD:

    ** Note: This guide was made on the Windows 10 October 2020 update, so menus may differ slightly from your version.

    1. Start Menu --> Type in: "Settings" --> Click Settings.

      b_settings_1.png
       
    2. In Settings Search Box --> Type: "Backup" --> Select Backup Settings.

      b_backupsettings_2.png
       
    3. On Backup Settings page --> Select "+ Add Drive" and select the location where you want to store these backups. For this example, we'll just choose my 😧 drive.

      b_backupsettings_4.png
       
    4. Windows 10 will sometimes not refresh the Backup Settings page after selecting a drive, navigate away, and then back to Backup Settings and you should see "Automatically back up my files" are selected. 
    5. Click "More Options"

      b_backupsettings_5.png
       
    6. On the Backup Options screen, adjust how often to backup with "Back up my files [dropdown]" (top red circle), "Keep My Backups [dropdown]" (middle red circle)
    7. Select the "Add a Folder" button (Bottom red circle)

      b_backupsettings_6.png
       
    8. In the Select Folder dialog window, browse to the DAS Trader Pro folder and hit "Choose this folder" button.

      b_backupsettings_7.png
       
    9. Done .. Windows will now backup changes to your files automatically on the configured timeframe.

    b_backupsettings_3.png

    • Thanks 1

  5. On 10/18/2020 at 7:43 AM, dodgedak said:

    How long does making the backup copy take?  I just kicked it off...   it says 8 hours 30 min remaining...

     

    NM the above post.  I had a few DAS recording files.  Once I took them out, the download took no time at all..

    Hmm, I didn't realize people actually used the DAS recorder .. if I do another version, I'll exclude those.

    On 10/18/2020 at 4:41 PM, dodgedak said:

    When I login into the simulator version, it kicks me out of the real version.   Is there anyway I can keep logged in into both versions?

    That's an intentional thing from DAS. They don't let you have multiple user sessions on the server side (for various reasons). Same thing will happen if you log in to the PC and then also on your phone, your PC session will be terminated.


  6. Just as a general suggestion for those posting scripts in this thread, I recommend posting a link to the original thread you got your hotkey from ... a lot of these hotkeys have special instructions and won't work for all users (especially the ones I create, which are mainly Firm dependent). It'll save a lot of new users some headache trying to figure out a problem that may have already been answered. 

    Plus, you're more likely to get help with a hotkey if you post the question in the related threads to them.

     

    • Like 2

  7. 2 hours ago, Alastair said:

    hey u realize DAS 5,5.1  / .2  did some upgrades to ORDER processing ?  I am sure u are.  Seems to allow for multiple trigger orders....

    This seems good i can now have multiple targets defined in one hotkey. awesome. Spread my shares across multiple trigger orders

    Did they give u the internal variables for easy internal manipulation of data in order scripts ?

    EDIT: posted in wrong thread...sorry....

     

    Yes, that and the OCO order were some of my suggestions -- I had to really push their support to understand why, once it got past them the devs knocked it out within a week (most likely because the change was very simple). There is a bug though that I'm trying to get them to fix that causes some failures in the TriggerOrder / OCO order script (doesn't convert the variable to the value like it's supposed to depending the order it's seen). 

    I'm trying to get them to make a few enhancements to it.

     

    -Kyle
     

     


  8. 19 hours ago, OTC said:

    Hi all,

    Does anyone else have trouble using the "scale-in" risk HKs (see script below), such that it doesn't always work? (I do understand that one must have a "TRIGGER PRICE" value filled in on the active montage. But sometimes this HK works and sometimes it does not. Also, why does it contain 2 buy orders? what does that accomplish?

    ;CXL ALLSYMB;DefShare=BP*0.97;Price=Ask+0.02-StopPrice;SShare=50/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=SMRTL;Price= Ask+0.05;TIF=DAY+; BUY=Send;DefShare=100;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice+0.05 ACT:BUY STOPPRICE:StopPrice QTY:Pos TIF:DAY+;

     

    Please refresh my memory, you're IBCO .. right? (if you're DAS SIM than you need to change the ROUTE=SMRTL; to ROUTE=LIMIT;) 

    The scale-in hotkey only has one order, the other part of the script is a calculation (e.g. can I afford what I'm trying to add .. since your buying power is already tied up with the initial position, it's an import calculation to make).  The trigger price (StopPrice variable) can be what was initially used.  If it's not adding risk, it might because it's calculated that you can't afford that risk (not enough buying power). I'd have to see the Debug log to understand why it wouldn't work otherwise.

     

    On 8/24/2020 at 11:07 AM, Miklos Ekman said:

     

    Hi Kyle, is there any video guide how to set this up? Im keep having errors coming up:(

     

     

    WilliamH also has some good ones on the BBT YouTube Channel, here: https://www.youtube.com/watch?v=0hw59cB60os

    On 8/19/2020 at 3:04 PM, OTC said:

    I have asked Jason He from DAS...I have asked in the chatroom, under support and not and nothing has worked yet.

    Issue: Key level target order not being bought (order set using default montage button).

    Example: I have a long position and have X shares based on a dollar risk HK, I sell 25% of position with HK, then I set my breakeven HK stop-loss, but now I want to set a target order to sell X amount of shares at a key level so I type in the amount of shares in the montage and place a 'SHRT' order because 'SELL' is not available (this order is done using the default montage button), DAS_Jason tells me 'SELL' becomes 'SHRT' because I have two open orders in the open order window, one a BE stop and the other what I believe to be a range order, BUT the'SELL' button became 'SHRT' because the cumulative amount of shares in the open order window is a larger quantity then what my actual position is. (my actual position = 309, I want to sell 100 shares at 151.49 - order gets skipped so I sold with HK. If you sum up the open order shares they = 409, which is > my actual position).

    Question: How do I set a partialing order at a key level using the montage without having to remove my stop-loss (in this case BE SL) or protection from the trade going opposite my position? or does it have to be another HK?

    image.png.5891f78b145b9b70000053d20b040e5b.png

    image.png.7a24095d032d08ae5c45921af0ded457.png

    image.png.0635fc74debda450a2619388f8ae86b7.png

    You're setting a Stop Limit order for your partial. Partials should be standard Limit orders.  To input one manually, you'd double-click the chart where you want to place it (loads price into Price variable), make sure Route = SMRTL, enter the share total, and hit "SELL/SHRT" for a LONG, or "BUY" for a SHORT.

    The name-change on the button is just a label, it doesn't affect the order type. What I think is happening is that your montage isn't properly resetting the route nor refreshing the UI, so you're setting it as a Stop Limit (unless you intended to use that).  Open Partial Limit's should show up as a different color on chart. 

     

     

    To do this via hotkey .. 

     

    LONG - 25% Out at Double-Clicked Location:
    
    Route=LIMIT;Share=Pos*0.25;TIF=DAY+;SELL=Send
    
    
    SHORT - 25% Out at Double-Clicked Location:
    
    Route=LIMIT;Share=Pos*0.25;TIF=DAY+;BUY=Send

    Usage:
    1) Double-click the location you want to put the order.
    2) Fire hotkey (with montage selected)
    3) Open Order for 25% position should be created at that level. When the price hits, it'll trigger and sell 25% out.  Always remember to any open orders when your position goes flat.

     

     


  9. On 6/24/2020 at 11:44 AM, Chris Blechschmidt said:

    Do we change the "100" values to whatever dollar amount we are risking on the trade?  I typically risk $150/trade so do I change all the 100s to 150s?

    No, a lot of the 100's are for conversion from a float to an integer - moving variables around in memory so I have enough places to do the calculations necessary.  There's very little a user can / should configure in this script. It's quite complex. This flow-chart somewhat explains it: https://drive.google.com/file/d/1XarAwpsUhyVm317_V74OufuZoe8R8e5f/view?usp=sharing

    This script calculates your current UNREALIZED PROFIT (so it's technically not "free" as in there's no risk, if you consider unrealized profit had  you just sold it) to the current double-clicked price that you want to make your BREAKEVEN point. It buys the shares necessary to make that your avgcost / breakeven. 

     

    The official version will have a configurator like most of my other scripts.

     

    On 7/15/2020 at 8:41 PM, Trinity said:

    Did anyone else get an error when they use this? it seems my DAS platform will not let me write hotkey that tries to make Price = Share. I'll keep trying because this hotkey would be great. 

     

    On 7/19/2020 at 6:16 PM, Trinity said:

    If anyone is getting a hotkey error about invalid price, I was able to fix by updating the Das platform to the latest version.  (Tools>Auto Upgrade; back up your settings etc first). 

    Yes, you need the latest production release of DAS to use it. I think that's 5.5.0.3 ?

     

    23 hours ago, OTC said:

    @KyleK29 Can you explain the reason why the free roll HK has a cancel all orders? in order to execute it what would be the pro or con of having it execute a new breakeven stop-out? would it defet the purpose of the HK using ONLY unrealized gains?

    Thor added the CXL ALLSYMB. The official version uses CXL BELOWAVGCOST and CXL ABOVEAVGCOST. Although those are completely optional. It's done usually so you don't double up open orders (thus putting you in a reversed position if they get ran and you forget to manually clear them).
     

    I've been trying hard to get DAS to give us CXL BELOWLASTPRICE and CXL ABOVELASTPRICE so we can clear just the stops. If you're like me and put your take-profit orders in the system, this would be important.

    • Thanks 1

  10. For users looking to add the LU / LD (Limit Up / Limit Down Halt levels) on the Level 2, you have to remove any blocked MMID's or they won't display. I've submitted this as a bug, but currently the fix is to remove the MMID.

    What is the LU / LD indicator? It's an informational level placed on your Level 2 to indicate the price at which a stock will be halted by circuit breaker. It shows up as a white line with the letters LD or LU and a price level on the Level 2. See bottom part of screenshot for example.

     

    Level2LULDDisplayIssue.png

    • Like 1

  11. On 7/30/2020 at 5:00 PM, OTC said:

    Kyle,

    see quote: "As for configuring your own, it's quite easy. The Excel Configurator walks you through creating the entire script to how you want it, so scripting necessary (it's all dropdowns and selectors). It has some decent breakdowns and explanations as well. You just configure it, copy it, and paste it into DAS. There's also a bunch of other scripts on the Hotkey sheet of the workbook if you scroll down."

    I looked through all the pages on this post and also searched(forum) for the Excel Configurator and did not see it, where do I locate this excel? You also stated that there a bunch of other hotkey scripts on the HK sheet of the workbook, are you referring to these being located on the same excel?

     

    It's located in the first post under "Instructions for Configuration" section, there's a link at item #1.  I know the first post is rather dense, so it can be hard to see. And yes, everything is in that file.

     

    1 hour ago, Jermaine Toves said:

    Hey Kyle,

    I am having a really difficult time with setting up my hot keys. I followed a BBT Youtube tutorial on your hot keys and watched your webinar but for some reason my keys are not working the way I thought they would.

    One example: Long $100 Risk - StopPrice=Price-0.01;DefShare=BP*0.97;Price=Ask-Price+0.01;SShare=100/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=MARKET;Price= Ask+0.05;TIF=DAY+;BUY=Send;DefShare=200;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.3 ACT:SELL STOPPRICE:StopPrice QTY:Pos TIF:DAY+;

    When I tried this morning and yesterday morning I found that the stop loss order never showed up on the queue. What am I missing? Thank you for all your help and dedication on this. I've learned a ton already.

    I would recommend changing the first route from "ROUTE=MARKET;" to "ROUTE=LIMIT;"  (not the one in the TriggerOrder portion). Also, are you in Replay Mode or Live Mode? TriggerOrders don't work in ReplayMode, so they won't show up. Setting it manually without a Trigger is only available in the beta versions of DAS as it was recently added. So in ReplayMode you won't get a Stop Order like you would trading live.

    If this is occurring while you're trading live in SIM, let me know.

    • Like 2

  12. For free backtesting, you have to know how to code. Quantconnect and Quantopian offer free access to their data packages if you use their cloud to program your script and test (they can see the results, btw).

    There's a few standalone programs that do it, but they're expensive, and don't include the data (I think one is called Arbiter or something like that). Quality data for a lot of stocks is expensive (I think 10 years of S&P500 symbols at 1 second resolution is like $20k).

    If you have the data, can program, and want to set up something local there's a few great Backtesting programs written in Python on GIThub.

    I wouldn't bother with TradeIdeas, their backtesting only goes back to 90days last I checked. It's way too easy to overfit and the small sample size of only 90days will make the algorithm very susceptible for erratic performance. You generally want to optimize for years of data and then test for another set of years the algorithm/strategy has never seen.

    DAS Replay is a great mode for visually / manually backtesting a strategy, but you can easily introduce various biases in doing so. They have data going back to Oct/Nov 2018 if I recall.

     

    • Like 1

  13. 37 minutes ago, OTC said:

    Kyle,

    Thanks for the explanation, to make sure I understand the 400. After DAS executes the syntax the montage gets a '400' in the shares window as a default amount and this is necessary as a work around to some of the not so strong points in DAS scripts?

    As for the BP line, Since I am trading with well over 25K I do not have to worry about this syntax as its a protection for those with smaller accounts? I do not take "huge" risks so should I think of 97 as I am 97% protected? 

    As for the excel workbook, my plan was to use yours and Jason's HK for a few weeks in SIM to get comfortable with the scripts, their execution, and the SD XL--then maybe (hard maybe at this point) I will attempt to write my own scripts (not a strong suite of mine), LOL. I guess I better learn.

    The 400 (DefaultShare) would likely only ever populate on a symbol you load for the first time, I have my DefShare set to 10. 

    The 97% is your buying power, so if you have $25k equity and 4:1 margin, your buying power is $100k. 97% of that would be $97k. It's important to note that the Dollar Risk is the more important number (e.g. $40, so you're only risking ~$40 per trade depending slippage), if you have a position that is using $97k of your buying power, you're holding an asset (a piece of a company) and it's only risked really if that company suddenly files bankruptcy.

    As for configuring your own, it's quite easy. The Excel Configurator walks you through creating the entire script to how you want it, so scripting necessary (it's all dropdowns and selectors). It has some decent breakdowns and explanations as well. You just configure it, copy it, and paste it into DAS. There's also a bunch of other scripts on the Hotkey sheet of the workbook if you scroll down.

     

    31 minutes ago, OTC said:

    All,

    What is the difference between these two codes, why does one have CXL ALLSYMB and the other one does not? I see that one is using Limit where as the other is using Market, is that because Thor is likely using the 25%  and 50% in the opening for ORBs and first 2-mins of trading - speed of execution? and the other is being used more for long-trend moves such as bottom reversals and using a more 'set it and forget' approach, taking smaller partials at key levels?

    CXL ALLSYMB;ROUTE=SMRTL;Price=Bid-0.02;Share=Pos*.2;TIF=DAY+;SELL=Send;ROUTE=SMRTM;

    ROUTE=SMRTM;Share=Pos*.25;Price=Bid-.01;TIF=DAY+;SELL=Send;

    The CXL ALLSYMB; tells DAS to cancel all Open Orders (not filled orders that are pending). Those are scale out scripts to take profit (20% for one and 25% for the other). There's a configurator for those as well on the Hotkeys sheet.

    I wouldn't use those as is because they're for IBCO users. DAS SIM users use the LIMIT / MARKET route.

     

     

    There's a few older videos that WilliamH did, the few I did (linked in the OP), and the a special seminar in the Education Center for these scripts as well.  They walk through how to use them.

     


  14. 4 minutes ago, OTC said:

    Hi,

    I am currently setting up my HKs using a streamdeck XL and thanks to Jason Hilton and Kyle Kimsey I have great icons and scripts to start testing in SIM before taking them live. I am not 'coding' savvy so I am not quite sure what I am reading here but I have a few concerns:

    1) DefShare=BP*0.97. My concern with this is my account value, I have a large account value with IB and don't want to put 97% of it at risk. Can someone enlighten me on the syntax here?

    2) DefShare=400. Not sure what is going on here either, I understand that by clicking on my proposed SL and then using this HK (buy $40) that the order will adjust to buy the amount of shares of ABC stock to only risk $40 between my buy price and the selected SL, is this correct or am I way off? Please explain the purpose of DefShare=400.

    3) I would greatly appreciate a brief explanation of the entire script is someone has that in them.

    StopPrice=Price-0.01;DefShare=BP*0.97;Price=Ask-Price+0.01;SShare=40/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=SMRTL;Price= Ask+0.05;TIF=DAY+;BUY=Send;DefShare=400;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.1 ACT:SELL STOPPRICE:StopPrice QTY:Pos TIF:DAY+;

    The most thorough explanation is in the Equity % / Risk Example sheets in the Excel workbook. But I wouldn't spend too much effort trying to understand the script as a whole, a lot of tomfoolery is done to get around limits in DAS. For example, DefShare is "Default Shares" (what the montage sets to on first load), I use this as an temporary variable in memory, you can change the value to whatever you want it to be after the Hotkey is completed (resetting it to your desired Default Share amount).

    The buying power of 97% is only used for calculating your maximum affordable shares, so if you try to take a position that is larger than you can afford it'll take the lesser value. The only accounts that usually hit this are the smaller ones, large accounts would need to be taking a huge risk amount.

    I'd recommend configuring a more personal script via the Excel Configuration workbook just so you can get an idea of everything and make sure it's exactly how you want it.


  15. On 7/25/2020 at 2:51 AM, Jens said:

    Hi Kyle,

    I have a new challenge for you 🙂 (if it's not already existing)
    Is it possible to trigger a new order or automatic adjust a existing order, when a order is hit? Here are a couple examples of what I mean by that.

    For example

    A - When a target is hit (limit order) I want the share size of my existing stop market automatically adjusted for that symbol.
    B - When my stop market order is hit, I want it to cancel automatically all my existing limit orders for that symbol.
    C - When my first target is hit (limit order) I want it to automatically remove my stop market order and set a new stop market order at break even (or adjust the price and share size of the old one).

    Don't we all. I've been slowly nudging DAS to add some features that would help us manipulate stops (specifically) a tad easier via hotkeys. 

    A & B: Unfortunately this doesn't exist in hotkey form and you have to do it manually by setting up the trigger orders, it's a bit of a pain in the rear to configure .. I don't even bother doing it unless I'm going to walk away from the terminal for a bit. This would require a video to explain and I have it on my list to do for the channel.

    C : This is doable in the latest beta, but it's a complicated hotkey script. When that beta reaches everyone (goes to production), I'll add it to the Configuration Tool.

     

    22 hours ago, given81 said:

    Hu all, do you know if it's possible to add a target profit to this fantastic hotkey? thx 🙂

    You can add a profit-target (there is a configurable version in the Excel sheet on the Hotkeys tab if you scroll down), right now I recommend doing it on a separate hotkey as I find that two primary orders can sometimes mess up the Trigger and / or the route sometimes. In the latest beta you can do this properly with a Trigger Order .. I'll add that to the configuration tool once those features reach everyone.


  16. On 3/27/2020 at 4:12 PM, Alastair said:

    Kyle,

    Creating a HOTKEY for FibLine but want a BLANK line which I see in some drop down options but I need a "text" variable name to represent a BLANK.  wht would u suggest ?

     

    Thks

     

    On 3/29/2020 at 3:06 AM, Alastair said:

    Got the Fibline to work but realize u cannot define the fib level percent, only color/style/width.

     

    The other BUG i notice is tht with MainMenu-> HotButton->Config->Command  value gets truncated with a long script when u exit DAS. So u have type in command every time u start DAS. Works fine otherwise.

     

    8 hours ago, Alastair said:

     

    Does this HOTKEY help ? Its been a min since I set this up....but if the below does not help I can expand.

     

    ConfigTrendLine horzline dashdotline:1a6316:1:ffffff:1a6316 ; HorizontalLine  ;

     

     

     

     

    So I've noticed that they did add this (wasn't in the changelog). I'll have to update the utility to include the price marker colors. Thanks for pointing that out. Do you know if they ever added the ability to set the levels on the FibLine (e.g. 10%, 30%, 50%)? It's not documented anywhere if they did. If you have a working one, please post it so I can see the syntax of it.


  17. On 7/20/2020 at 8:29 AM, Jared Barber said:

    really having some trouble with hotkeys.  I've been trying to find the best set up with exiting positions.  I use Kyles hot keys for entering positions currently.  Love them....but I'm not understanding how to do two things......1. Add to positions on pull backs with same stop loss.  2. establish hotkeys that work for selling and covering positions I entered with Kyles hot keys.  the other hotkeys I've found on this forum under popular hotkeys do not work with Kyles hot keys.  I'd love any guidance anyone can offer. I need a hotkeys mentor! 

     

    There's a few scale-in hotkeys on the Excel spreadsheet which can add additional risk to a position (e.g. "Add $10 risk"). There's also a few scale-out hotkeys you can use that will sell X% of the position at the current price action. I think there's also some take-profit limit order ones in there that will place Limit Orders for profit taking at certain R:R levels. You have to scroll down on the Hotkeys sheet to see any of these, so many users tend to miss them.

     

     

    17 hours ago, hailchaser2 said:

    Sorry if this has been covered before, but my order didn't get filled today, is it just because the price moved past my entry in the half second it takes DaS to put orders in? Could I change the hotkey to give me a bigger cushion in the future?

     

     

    Yes, it most likely jumped the gap. This is more common with pricier stocks because they can move wider ranges quickly and the spreads are usually larger.  The value on the Excel spreadsheet that adjusts this gap is the "Order Bid/Ask Offset" .. you might want to try .10 if you're trading high-priced stocks. I find .03 to .05 works for most things under $100 with a spread of less than 0.05 cents.

     

    3 hours ago, Casey Gates said:

    I'm switching from my BBT 3 month DAS account to DAS PRO SIM account and am having some problems with my hotkeys. So far just the scaling out hotkeys which cancel my stop and replace it at B/E. Is there something that I need to change in the script1406297533_hotkeyissue1.png.069387382746fefdf2f6eb6b06fed6d7.png

    The photo shows what happens when I try to scale out. It basically throws up a bunch of stop orders. but it doesn't do it all the time. it seems to be somewhat random from what I can tell. Also, anything else in the other hotkeys scripts that I need to change when switching from BBT DAS to DAS PRO? Thanks

    Here are my scale out hotkeys for LONG

    Long scale out 10%

    CXL ALLSYMB;Route=LIMIT;Share=Pos*0.10;Price=Bid-0.05;TIF=DAY+;SELL=Send;ROUTE=STOP;StopType=Market;StopPrice=AvgCost;Share=Pos-share;TIF=DAY+;SELL=SEND

     

    Long scale out 25%

    CXL ALLSYMB;Route=LIMIT;Share=Pos*0.25;Price=Bid-0.05;TIF=DAY+;SELL=Send;ROUTE=STOP;StopType=Market;StopPrice=AvgCost;Share=Pos-share;TIF=DAY+;SELL=SEND

     

    Long scale out 50%

    CXL ALLSYMB;Route=LIMIT;Share=Pos*0.50;Price=Bid-0.05;TIF=DAY+;SELL=Send;ROUTE=STOP;StopType=Market;StopPrice=AvgCost;Share=Pos-share;TIF=DAY+;SELL=SEND

     

    Long scale out 100% (this will also cancel any orders that you have)

    ;CXL ALLSYMB;Route=LIMIT;Share=Pos*1;Price=Bid-0.05;TIF=DAY+;SELL=Send

     

     

    It's likely the STOP order in the hotkey conflicting with the Take Profit order, I don't recommend putting Stop Orders and primary orders in the same hotkey, you should do the Stop with a Trigger Order. 

    Clear all current Open Orders, sell 10% of shares, set STOP to Breakeven at new position quantity:
    CXL ALLSYMB;Route=LIMIT;Share=Pos*0.10;Price=Bid-0.05;TIF=DAY+;SELL=Send;StopPrice=AvgCost;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.3 ACT:SELL STOPPRICE:StopPrice QTY:Pos TIF:DAY+;
    
    Clear all current Open Orders, sell 25% of shares, set STOP to Breakeven at new position quantity:
    CXL ALLSYMB;Route=LIMIT;Share=Pos*0.25;Price=Bid-0.05;TIF=DAY+;SELL=Send;StopPrice=AvgCost;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.3 ACT:SELL STOPPRICE:StopPrice QTY:Pos TIF:DAY+;
    
    Clear all current Open Orders, sell 50% of shares, set STOP to Breakeven at new position quantity:
    CXL ALLSYMB;Route=LIMIT;Share=Pos*0.50;Price=Bid-0.05;TIF=DAY+;SELL=Send;StopPrice=AvgCost;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.3 ACT:SELL STOPPRICE:StopPrice QTY:Pos TIF:DAY+;

    Keep in mind, if the take-profit order fails for some reason it won't fire the trigger to set a new stop. I've never had this happen, but it's why I recommend always having a "Trigger Order", "Positions", and "Open Orders" window on your main screen at all times, so you can quickly glance to see what orders are there.

     

    59 minutes ago, Thomas said:

    in the hotkey setup page, should change the route in the "Stop Type" to SMRTM from MARKET?

    The only options are LIMIT and MARKET in the drop down. But if I'm with IB, should I change this to SMRTM instead of MARKET for stop loss?

    No, the route is actually "STOP" the only available types are LIMIT, MARKET, RANGE, TRAILING (the latter two weren't relevant for the hotkeys at the time). I know it can be confusing for many people.  

    • Like 1

  18. You'd have to pay for it. I think you can get it with a FinViz subscription and of course Trade-Ideas. But I'd say it's not worth it for pre-market, which is why I think DAS limited it to the open hours. In pre-market it can be misleading a tad as some stocks don't get a whole lot of premarket action regardless of catalyst, remember it's doing Relative Volume for the time period so if you're trying to get RVol of the last 14 days on the stock before 9:15am (example) it'll be sampling the last 14 days in a window between 4:00am and 9:15am.  The value may change rapidly just because of a how varied premarket volume can be on most stocks (big players like AAPL being an exception) and not be indicative of the actual action for the pending session.

    It works well in normal trading hours, and I use it as one of my checks for "stocks in play" before entering a position.

     


  19. On 8/7/2019 at 7:22 PM, hattmardy said:

    I use standard Chrome settings... 

     

    My cookie for BBT only lasts about 24-36 hours, so it might be a Chrome thing, that or the ProTradingRoom session API-token it uses expires after 24 hours.

    As a workaround to speed things up, I just setup my Chatroom bookmark to point to the following URL and save my credentials in the browser so they auto load. 

    https://bearbulltraders.com/wp-login.php?redirect_to=https://bearbulltraders.com/chat/

    That way I just hit "login" and then the chatroom disclaimer button.

     

    • Like 1

  20. On 6/15/2020 at 7:42 PM, mark307mk said:

    Hi BBT,

    I'm new to day trading and I plan on grinding simulator time for the next several months. Unfortunately, I live on the east coast and the peak day trading hours of 9am to 11am may conflict with my day job prospects this fall. Is there a feature out there that will practice after work or on the weekends on a simulator as if it were early morning on a trading day? If a market replay feature exists, would it only be limited to specific stocks, or could I replay the entire market as if I were trading in real time?

    Thanks,

    Mark

    Just to add to what @Aiman Almansoori said and answer one of your other questions, the DAS Market Replay feature goes back to approximately October 2018 for data and you can get any stock that they have data for (thousands).


  21. On 6/23/2020 at 8:25 AM, Dieter said:

    Justin,

    Thanks I implemented it it works well, here my formula

    Route=Stop;Price=AvgCost;StopType=MARKET;STOPPRICE=AvgCost;StopPrice=Round2;Share=Pos;TIF=DAY+;Send=Reverse;

    However when I want to cover manually after the Stop loss at breakeven, eg. sell 100 % with this button

    CXL ALLSYMB;ROUTE=SMRTL;Price=Bid-0.10;Share=Pos;TIF=DAY+;SELL=Send

    It does not let me do it. I have to exit the position with shift escape. What's the error here?

    Thanks in advance

    Dieter

     

    Are you with IBCO? DAS DEMO and CMEG users should not use the SMRTL route, those versions of the software don't have it - use LIMIT and MARKET instead. The reason it'll sometimes appear to work is that you likely have your default route set to LIMIT, so when you execute a hotkey with SMRTL (or SMRTM), it'll fail and revert to the last good route (this being the Limit).


  22. On 6/27/2020 at 1:39 PM, Fernando Samora said:

    Hey all, hope someone can help me out. Im trying the hotkets and they work GREAT. 

    I do have one issue and would like some help: When im long in a position and scale out I can reclick my Long range order hotkey:

    • (CXL  ALLSYMB; Route=Limit;Share=Pos;Price=AvgCost-StopPrice;Price=Price*3;Price=Price+AvgCost;Price=Round2;Route=Stop;StopType=Range;LowPrice=StopPrice;HighPrice=Price;TIF=DAY+;SELL=Send;ROUTE=LIMIT)

    and it re calculates the remaining shares to reset the new share number with the same stop range....

    However, when im in a short position and i click the same scale out hotkey and hitting the Short Range Order:

     

    • (CXL ALLSYMB; Route=Limit;Share=Pos;Price=StopPrice-AvgCost;Price=Price*2;Price=AvgCost-Price;Price=Round2;Route=Stop;StopType=Range;HighPrice=StopPrice;LowPrice=Price;TIF=DAY+;BUY=Send;ROUTE=LIMIT)

    it cancels the range order without getting into a new one. 

     

    I was able to locate the issue on the short side.

    Try this one:

    CXL ALLSYMB;Route=Limit;Share=Pos;StopPrice=HighPrice;Price=StopPrice-AvgCost;Price=Price*2;Price=AvgCost-Price;Price=Round2;Route=Stop;StopType=Range;HighPrice=StopPrice;LowPrice=Price;TIF=DAY+;BUY=Send;ROUTE=LIMIT;

     

    • Like 1
    • Thanks 1

  23. 1 hour ago, jpierson3 said:

    Hello - I am having the same problem. Every time that I try to send an order, the prompt "set default share to 400" pops up on my montage. I am not sure how to fix this? I got my script from Thor's dropbox in the chatroom. 

    The "set default share to 400" is normal, as Thor has it set to 400. It uses the DefShare variable for another calculation and then resets it to a user specified value at the end. 

    With that said, I don't recommend new users to use Thor's desktop hotkeys as they're specific to his setup, mainly his broker. If you're in DAS Demo/Sim they will fail frequently and have an assortment of issues. They're for IBCO users (I've reached out to him to see if he can append those files to signal this). I recommend new users to download the Excel configuration sheet and configure them for their specific setup to minimize the chance of having issues.

    • Like 1
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.