I developed a EA and it works perfecly fine when I run a backtest on it, but when I insert it on the chart using my demo account, it behaves differently. For example: In the backtest i run it using 1 lot, but for some reason in the demo account on real time it uses 2 lots.
I didn't test it on the real account yet, only on demo (that would probably have the same results)
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I developed a EA and it works perfecly fine when I run a backtest on it, but when I insert it on the chart using my demo account, it behaves differently.
For example: In the backtest i run it using 1 lot, but for some reason in the demo account on real time it uses 2 lots.
I didn't test it on the real account yet, only on demo (that would probably have the same results)
Any ideas why this is happening?