- Which moving average for EA?
- Backtesting opinion
- My EA works in multiple time frames but data in backtest isn t working
Run it on the lowest timeframe. Higher TFs will be fine if you handle:
On MT4: Unless the current chart is that specific symbol(s)/TF(s) referenced, you must handle 4066/4073 errors before accessing candle/indicator values.
Download history in MQL4 EA - Forex Calendar - MQL4 programming forum - Page 3 #26 № 4 2019.05.20
On MT5: Unless the chart is that specific pair/TF, you must synchronize the terminal Data from the Server before accessing candle/indicator values.
Is it mystical?! It is! - Withdraw - Technical Indicators - MQL5 programming forum 2019.05.31
Timeseries and Indicators Access / Data Access - Reference on algorithmic/automated trading language for MetaTrader 5
Synchronize Server Data with Terminal Data - Symbols - General - MQL5 programming forum
SymbolInfoInteger doesn't work - Symbols - General - MQL5 programming forum 2019.09.03
OnCalculate during weekend MT5 - General - MQL5 programming forum
Run it on the lowest timeframe. Higher TFs will be fine if you handle:
On MT4: Unless the current chart is that specific symbol(s)/TF(s) referenced, you must handle 4066/4073 errors before accessing candle/indicator values.
Download history in MQL4 EA - Forex Calendar - MQL4 programming forum - Page 3 #26 № 4 2019.05.20
On MT5: Unless the chart is that specific pair/TF, you must synchronize the terminal Data from the Server before accessing candle/indicator values.
Is it mystical?! It is! - Withdraw - Technical Indicators - MQL5 programming forum 2019.05.31
Timeseries and Indicators Access / Data Access - Reference on algorithmic/automated trading language for MetaTrader 5
Synchronize Server Data with Terminal Data - Symbols - General - MQL5 programming forum
SymbolInfoInteger doesn't work - Symbols - General - MQL5 programming forum 2019.09.03
OnCalculate during weekend MT5 - General - MQL5 programming forum
Hi, I have an mt5 EA that opens 4 chart windows of the same symbol, different TFs, and attaches an indicator 4 times to the charts respectively. The MTF indicator replicas communicate with the EA by GlobalVariables and the EA controls the orders. In this case can I directly backtest/optimize the EA based on the lowest TF to get the correct result without explicit synchronization?
Thanks!
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use