TraderB Posted September 30, 2024 Report Posted September 30, 2024 Hello! I want to use ChangeOrder for my open stop orders to change the stop price in Account Window. If I use New Price= +0.1 then works, but I want to use with one hotkey which works for both long and short. But if i use if pos>0 then +0.1 else -0.1 this conditional solution doesn't work now. Please, could you set it up to work like this? I'd like to trait the order changes with only one hotkey. Thanks Quote
Mike Medved Posted September 30, 2024 Report Posted September 30, 2024 Use if pos>0 then OrderPrice+0.1 else OrderPrice-0.1 Quote
TraderB Posted September 30, 2024 Author Report Posted September 30, 2024 Thank you, this is the solution. But I have one more problem about this: this is a stop limit order. I take for example the stop price at 120.50 and the limit price at 120.20 So when it triggers at 120.50 the limit is 120.20 and can execute. But when I change with this hotkey then the stop price changes to 120.60 but unfortunately the limit price also changes to 120.60. I don't want to change the limit price, or maximum in the same manner: +0.1 But I definitely don't want it to have the same value as the stop price. How can I prevent the change of the limit price? Thanks Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.