Jump to content
Medved Trader Forums
  • 0

Incorporate cancel order command in sell / buy hotkey


Arg

Question

Eg, if I send a bracket order and then later use a sell hotkey the bracket orders will still be on the system.  It would be useful if a cancel open orders command option could be incorporated into the hotkey script to be automatically applied before the sell order.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

I don't see that in my sell hotkey. I have a Var and Conditionals section. Then an Action section with Order and Drop and Send. But if I click on the Send box there is only "true" and "false".

However, I could put in another Action section, placing it above the existing Action (order) section (presumably the Actions get executed in sequential order from top to bottom?) and then select Cancel / Open "All".

Is this a correct use of the Action section?

Link to comment
Share on other sites

  • 0

no, you do not want to do another separate action because those actions are send and forget. MT does not wait for first action to complete (including waiting for it to actually cancel) before sending the 2nd Action. The CancelThenSend on the other hand does do that. 

I think you are using an old version. Get the current beta:

https://medvedtrader.com/beta

Link to comment
Share on other sites

Join the conversation

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

Guest
Answer this question...

×   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...