I have this indicator that is working fine in Sim and Live accounts but for some reason not working in Playback session.
The function OnOrderUpdate() doesn't seem to work in playback.
Is there a way I can make the indicator detect when I place a market order so that the indicator can place stops and limits by itself?
When I use the function OnOrderUpdate(), it doesn't print the statement I am trying print.
I would like to keep the codes in the indicator as the indicator is working fine for Sim and Live markets just not in Playback.
Thank you.

Comment