Forum

MT5 - Spread configuration and calculation

Hi, I added a new custom Symbol to MT5 (EuroStoxx Future Continuous Contract : json file in attachement) and imported bars data (setting the spread value of each minute bar to 0). When I run a backtest in this custom Symbol, the spread is always equal to 2. Is there a way to configure or influence

CopyRates function returning -1 with error 4401 : Different behavior between two launched.

Good morning, I had a strange behavior using the CopyRates function in MQL5. I tried to load some Rates using the CopyRates function for a specified Symbol (CustomSymbol). The requested data is on a PERIOD_M1 and represents two months of rates starting from the SERIES_TERMINAL_FIRSTDATE of the

MQL5- CopyRates function returning -1 with error 4401

Good morning, I've a strange behaviour using CopyRates function in MQL5. I try to load some Rates using CopyRates function for a specific Symbol. The requested data are on a PERIOD_M1 and represent two months of rates starting from the SERIES_TERMINAL_FIRSTDATE of the Symbol. The first time I run