I have a custom order entry indicator where I can push a button and it creates a stop-limit order based on my logic at a certain price.
Offset ticks for the stop-limit order is 0 so it happens from time to time that the order gets skipped.
Is there a way to program my indicator that it can detect (assuming a long entry) that if current price is higher than the stop-limit order -> replace stop-limit with a limit order at the same price? How would I go about it?
Thanks!

Comment