I've been coding an EA to automatize my daytrading strategy, and i've run into an issue I cannot seem to solve. The EA runs smoothly and executes the trades automatically in the Strategy Tester, but when it comes to real time trading it doesn't do anything.
I have a variable to check if the first order is placed, and that variable never turns true in real time, but it does in the Strategy Tester. Also, I have commented the time so it appears on the top left side of the chart, but it stops counting after 9:30 am.
What is the problem here?
Thank you in advance.