Search the Community
Showing results for tags 'thor'.
Found 1 result
adds Add hotkey with same risk amount
Julien Maisan posted a topic in DAS Trader Pro Tips and TricksHello All, I would like to have an Add hotkey calculating automatically my share size based on my actual size and my new stop loss to increase my existing position. All that is based on Aiman trading style building up a position when the trade goes his way. I think the script could be based on Thor's free-roll hotkey as he uses his unrealized to calculate automatically an add (see his script below) ; on my side, I would like to use my unrealized (potentially positive or negative depending on my initial entry) + my fixed R risk amount (let's say 10$) >> I think it should be possible tweaking a bit Thor's free-roll but I could not make it. If anybody could help me, that would be very nice. Thank you all ! Julien Thor's free-roll for a long entry : CXL ALLSYMB;StopPrice = Price;Share=Price*100;Price=AvgCost;SShare=Price*100;Share=Share-SShare;Price=Share;Price=Share/100;Share=Pos * 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=SMRTL;BUY=SEND;DefShare=10; TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice ACT:SELL STOPPRICE:StopPrice QTY:Pos TIF:DAY+;