different accounts, different backtesting results

 

Hi

I made a trading robot with python that uses metatrader5 module to interact with MT5. But the problem rises when I backtest the strategy on different accounts and the results come totally different. Is there a way I can fix that?

 
apeared:

Hi

I made a trading robot with python that uses metatrader5 module to interact with MT5. But the problem rises when I backtest the strategy on different accounts and the results come totally different. Is there a way I can fix that?

If you're trading forex or CFD's, those broker-dealers maintain their own captive liquidity providers and price feeds. This will cause different results among multiple broker-dealers/accounts.

 

that is normal. If you know what is different, then, you can modify your code for that condition that caused the negative difference, otherwise, you can only avoid the broker with the worst result.

Same thing happens with signal services, not just on mql5. One brokers account will make thousands of profits, while a 2nd broker will constantly lose -- using the same strategy/robot.

 
Your topic has been moved to the section: Expert Advisors and Automated Trading
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
 
apeared: I made a trading robot with python that uses metatrader5 module to interact with MT5. But the problem rises when I backtest the strategy on different accounts and the results come totally different. Is there a way I can fix that?
In general terms, make your trading strategy adapt to changes in spread, volume, and different contract specifications. In essence, make it more adaptable.