imayusa 0 Posted December 15, 2021 Been looking everywhere for Range Hotkeys and could really use some help. Range (Long): ROUTE=STOP;StopType=Range;LowPrice=Price;HighPrice=AvgCost-Price*2+AvgCost;Share=10;TIF=DAY+;SELL=Send ^This is not working for me, it just shorts. I wonder if I'm missing something. Any feedback would be great. Thank you! Share this post Link to post Share on other sites
zulkafil 38 Posted December 16, 2021 (edited) 8 hours ago, imayusa said: Been looking everywhere for Range Hotkeys and could really use some help. Range (Long): ROUTE=STOP;StopType=Range;LowPrice=Price;HighPrice=AvgCost-Price*2+AvgCost;Share=10;TIF=DAY+;SELL=Send ^This is not working for me, it just shorts. I wonder if I'm missing something. Any feedback would be great. Thank you! I will suggest you to debug your script with some values for variables AvgCost and Price. Calculate what values you are getting for LowPrice, HighPrice and check if the calculated prices are valid for your range order. You can use Share=Pos; instead of 10, if you don't plan to sell only 10 shares with the range order. Best of luck. Edited December 16, 2021 by zulkafil 1 Share this post Link to post Share on other sites
imayusa 0 Posted December 17, 2021 I think I got it now. Thank you! Share this post Link to post Share on other sites