"Cannot change order ##### because current order values already match. affected order : (order details)"
"Strategy: ###### submitted an order that generated the following error "Unable to change order." Strategy has sent cancel requests, attempted to close the position and terminated itself"
I have logic in my code to set each stop to "true" and move on to the next criteria. BUT every so often based on certain criteria I will clear the stops to "false" and loop back through the criteria. With that loop......it did that and after going through the criteria and stop levels again it attempted to change the stop to the same price. Simulation accepted it.....live did not.
I am looking for suggestions:
1) Is there a setting in Ninja Trader that can be turned on that if an order is the same price it simply ignores the order and KEEPS running?
2) Is there some sort of code suggestion for this?
Any help on this is appreciated.

Comment