I have a print line in the code for every candle, it stops printing at the candle where it last took a position. It is as if the EA has stopped working, but it is still attached to the chart and that blue and white symbol is showing.
If you want help with your code, then obviously you are going to have to show your code and all relevant and related information.
We cannot read your mind nor see what is on your computer.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi all
Please may i have urgent help here.
I have an EA running on MT5 since Thursday, it executed and managed trades as expected, but on the last 3 candles of Friday, it didn't switch positions, it held the position, when i run the back test for friday, it shows the correct changing of positions. So the EA on a backtest shows it would have changed positions 3 times, but in live trading it has held the position and not changed in 3 candles.
What could the source of the problem be here?