When I use the hotkey to go long/short and I start selling shares manually, if my stop gets hit (from a sudden move up or down) my position gets flipped.
E.g. If I had 100 shares long, and sold 50 shares and then my stop get's hit, I'll end up short.
I've experimented moving the stop line up in Das to improve the stop price after a favorable move, but this script doesn't seem to sell the remain shares. Is there something I can adjust in the script?
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.
Advanced Hotkey Webinar with Kyle!
in DAS Trader Pro Tips and Tricks
Posted
Hi,
Anyone experience the issue?
When I use the hotkey to go long/short and I start selling shares manually, if my stop gets hit (from a sudden move up or down) my position gets flipped.
E.g. If I had 100 shares long, and sold 50 shares and then my stop get's hit, I'll end up short.
I've experimented moving the stop line up in Das to improve the stop price after a favorable move, but this script doesn't seem to sell the remain shares. Is there something I can adjust in the script?
Here are the scripts I'm working with:
Long
StopPrice=Price-0;DefShare=BP*0.925;Price=Ask-Price+0.00;SShare=20/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+;
Short
StopPrice=Price+0;DefShare=BP*0.925;Price=Price-Bid+0.00;SShare=20/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=SMRTL;Price=Bid-0.05;TIF=DAY+;SELL=Send;DefShare=200;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice+0.05 ACT:BUY STOPPRICE:StopPrice QTY:Pos TIF:DAY+;
Also, what's the best way to setup up these hotkeys for Options? These hotkeys work, but risk doesn't seem to work properly.
Thanks for the hotkeys! They're a great help!