PlaceStopOrder has error after upgrade new version
Created at 14 Jan 2025, 16:45
PlaceStopOrder has error after upgrade new version
14 Jan 2025, 16:45
In picture 1-2 EA is working no error. The program works normally, debugging is accessible for all events.
If I use PlaceStopOrder In OnBar It will error. It doesn't run to the debug line.
I move PlaceStopOrder to event Position_Opened(). In onBar no error but error in Position_Opened()
And after posiotion was opened , it will go to event Position_Opened().
It doesn't go and error like