Alberto Romani / Publications
Forum
Problem backtesting multi-timeframe EA
Good day to all, I've coded an EA that checks the trend on daily timeframe using a 200 sma and enters trades on H4. Trend checking logic contains the following code: string CheckDailyTrend() { // Moving average double DailyMA = iMA ( Symbol (), PERIOD_D1 ,Daily_MAPeriod, 0 , MODE_SMA