Jump to content
Medved Trader Forums

Recommended Posts

Posted

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

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...