Jump to content

Cody Vincent

Lifetime Members
  • Content Count

    5
  • Joined

  • Last visited

Posts posted by Cody Vincent


  1. On 12/21/2020 at 12:39 PM, Julien Maisan said:

    Hi Guys,

    Actually, I did it by myself and it works pretty well after a 3 month test (in sim and live). You just have to tweak it based upon your fixed risk amount.

    I hope it will help you and let me know if you have any questions about it.

     

    To add 10$ risk LONG :
    CXL ALLSYMB;StopPrice = Price;Share=Price*100*Pos;Price=AvgCost;SShare=Price*100*Pos;Share=Share-SShare+1000; Price=Share/100;Share=Price;Price=Ask-StopPrice;SShare=Share / Price;DefShare=BP*0.97;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;SShare=DefShare-SShare;Share=0.5*SShare;Price=Ask+0.02;TogSShare;TIF=DAY+;ROUTE=LIMIT;BUY=SEND;DefShare=10; TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice ACT:SELL STOPPRICE:StopPrice QTY:Pos TIF:DAY+;
     
    To ass 10$ risk SHORT :
    CXL ALLSYMB;StopPrice = Price;Share=-Price*100*Pos;Price=AvgCost;SShare=-Price*100*Pos;Share=Sshare-Share+1000; Price=Share/100;Share=Price;Price= StopPrice-Bid;SShare=Share / Price;DefShare=BP*0.97;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;SShare=DefShare-SShare;Share=0.5*SShare;Price=Bid-0.02;TogSShare;TIF=DAY+;ROUTE=LIMIT;SELL=SEND;DefShare=10; TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice ACT:BUY STOPPRICE:StopPrice QTY:Pos TIF:DAY+;
     
    As usual, you have to change the route from LIMIT to SMRTL if you trade with IB, and the risk amount is multiplied by 100 in the hotkey script, so you just have to change the underlined and bold 10.
     
    Just one additional important point, it only works when your new stop loss and your new entry are in the direction of your trade, which anyway corresponds to your add strategy. However, if you select a wider stop for your add (which is theoretically impossible if you want to keep the same R amount), it still calculates a nb of shares (because one of the field used in the script automatically transforms negative values in positive ones)
     
    I hope it helps.

    Julien Thanks for posting this, ill try em out.  


  2. On 12/10/2020 at 9:21 AM, KyleK29 said:

     I have a prototype that I haven't completed. It's in a batch of hotkeys I have to create videos and instructions for that I plan to release next month. That particular hotkey will be called "Scale-In w/ Refactored Risk".

    yes!  excited for this hotkey!  ive tried to modify the freeroll hotkey to do this, instead of a BE stop its a 1R stop. and instead of using unrealized to buy shares afforded, it uses a fixed dollar amount.   With no success at this point...


  3. On 8/29/2020 at 11:38 AM, Richard Rutherford said:

    @kyleK29

    I am new to BBT and I watched William's video on hotkey setup. I have verified that my DAS Montage style is set to Stop Order; however, in the DAS simulator, using replay, the stop orders are not executing for either the long or short hotkey script. Any ideas why?

    Stop orders dont work in replay mode.   Only limit and Market.  i believe they are going to fix it in a later version.  

×
×
  • 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.