VladMD
Members+-
Content Count
21 -
Joined
-
Last visited
-
Days Won
6
Content Type
Profiles
Forums
Calendar
Member Map
Everything posted by VladMD
-
StopPrice=Price-0.01;DefShare=BP*0.95;Price=Ask-Price+0.01;SShare=20/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;SShare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=LIMIT;Price=Ask+0.03;TIF=DAY+;BUY=Send;DefShare=150;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.1 ACT:SELL STOPPRICE:StopPrice QTY:Share TIF:DAY+;
- 588 replies
-
- scripts
- risk management
-
(and 3 more)
Tagged with:
-
Thanks Peter! I tried it with Share again but still no luck. I can't think of any other logical thing that would work in Qty so I guess I'll just have to live with changing the stops manually.
- 588 replies
-
- scripts
- risk management
-
(and 3 more)
Tagged with:
-
Hello and sorry if this has been asked before but I haven't been able to find an answer. I have a pretty typical hotkey, double click where I want to set my stop, $20 fixed risk, works perfectly. The only issue I have is that if I add to an existing position I get a second stop order for the total number of shares, instead of the just the number of shares that I added. So, let's say I'm long 100 shares with a stop loss at 95.50. I take another entry for 50 shares but this time with the stop at 95.70. Now I have two stops, one for 100 shares at 95.50, and one for 150 shares at 95.70. I'm wondering how I can modify the hotkey so that the second stop will be for just 50 shares at 95.70. Here's the script: StopPrice=Price-0.01;DefShare=BP*0.95;Price=Ask-Price+0.01;SShare=20/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;SShare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=LIMIT;Price=Ask+0.03;TIF=DAY+;BUY=Send;DefShare=150;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.1 ACT:SELL STOPPRICE:StopPrice QTY:Pos TIF:DAY+; I already tried changing the QTY from Pos to Shares or SShares. The former doesn't change anything and the latter just doesn't place a stop order at all.
- 588 replies
-
- scripts
- risk management
-
(and 3 more)
Tagged with: