Reza Salmany:
Hi
I Wrote an EA using MQL5 to execute Limit orders and stop orders Automatically in the chart.
my EA works in Backtest but when I drop it on my demo account chart, nothing happen(the same chart and the same timeframe).
my EA:
not timeframe related.
not Symbol related.
not time range related.
I checked Allow Algo trading.
in Tools/Options/Expert Advisers checked .
What should I do?
Thanks
Check your journal for possible errors!!
- Reza Salmany: 2022.07.25 04:32 my EA works in Backtest but when I drop it on my demo account chart, nothing happenWhen did you put it on your chart. The FX market opens 07.24 17:00. Other markets open today after 08:00.
- Are you connected to your broker? Check the journal.
- Reza Salmany: I Wrote an EA using MQL5 to execute Limit orders and stop orders Automatically in the chart.There is no need to create pending orders in code.
- The pending has the slight advantage, A) you are closer to the top of the queue (filled quicker), B) there's no round trip network delay (filled quicker.)
- Don't worry about it unless you're scalping M1 or trading news.
- Humans can't watch the screen 24/7, so they use pending orders; EAs can, so no need for pending orders, have it wait until the market reaches the trigger price and just open an order.

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
I Wrote an EA using MQL5 to execute Limit orders and stop orders Automatically in the chart.
my EA works in Backtest but when I drop it on my demo account chart, nothing happen(the same chart and the same timeframe).
my EA:
not timeframe related.
not Symbol related.
not time range related.
I checked Allow Algo trading.
in Tools/Options/Expert Advisers checked .
What should I do?
Thanks