Historical spread during backtesting in the strategy tester is different from the historical spread stored in the Mql rates array. What are they? Why they are different? - page 3
Sorry for the blast from the past, but I fear that either something has changed in mql5, or I have missed some piece.
But running Alain's EA several years later, it looks like CopyRates and CopySpread are no longer working as expected. Please look at the attached backtesting log file.
A lot as changed in 10 years. This old code compares spread from a tick and spread from M1 history bar, that's why it now returns discrepancies, it should be fixed.
There is no problem with the spread in the Strategy Tester.
A lot as changed in 10 years. This old code compares spread from a tick and spread from M1 history bar, that's why it now returns discrepancies, it should be fixed.
There is no problem with the spread in the Strategy Tester.
Thank you so much. For the Strategy Tester I agree, after few other verifications.
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.
Sorry for the blast from the past, but I fear that either something has changed in mql5, or I have missed some piece.
But running Alain's EA several years later, it looks like CopyRates and CopySpread are no longer working as expected. Please look at the attached backtesting log file.
A lot as changed in 10 years. This old code compares spread from a tick and spread from M1 history bar, that's why it now returns discrepancies, it should be fixed.
There is no problem with the spread in the Strategy Tester.
A lot as changed in 10 years. This old code compares spread from a tick and spread from M1 history bar, that's why it now returns discrepancies, it should be fixed.
There is no problem with the spread in the Strategy Tester.
Thank you so much. For the Strategy Tester I agree, after few other verifications.