Orders cancelling/re-issuing

Questions about MultiCharts and user contributed studies.
waveslider
Posts: 223
Joined: 16 Oct 2011
Has thanked: 66 times
Been thanked: 20 times

Orders cancelling/re-issuing

Postby waveslider » 27 Feb 2024

Hello-

I have a system that has 5 different limit entries, 5 different stops and 5 different limit exit orders, each has its own order name.
If one of the limit orders is filled, the other 4 limit orders are cancelled and then immediately re-issued.
I have "optimize order flow" off, price orders emulation set to "use native".
Position limits allow up to 5 orders in the same direction when the order is generated by a different entry order.

I have tried unchecking "Recalculate on broker events" and this does not seem to change things.
Intrabar order generation is off.
This happens in both Async and Sync automation.

Thank you for any help or suggestions

User avatar
Polly MultiCharts
Posts: 203
Joined: 20 Jul 2022
Has thanked: 1 time
Been thanked: 55 times

Re: Orders cancelling/re-issuing

Postby Polly MultiCharts » 29 Feb 2024

Hello waveslider,

It is expected behavior as during auto trading all the entry orders are sent in OCO-group. For more info please see this page.

You might try enabling the ‘Optimize order flow’ option as it optimizes the process of sending orders to the broker.
For example, you are flat. Strategy generates 3 buy limit orders. Position limits are set to 2 entry orders in the same direction as the currently held position. MultiCharts will send to the broker only 2 orders with the prices more likely to be filled depending on the current market price.
For more info please refer to this article.


Return to “MultiCharts”