Hi I try to build EA that using multi timeframe analysis. Let's say I want to use MA as trend and stochastic as entry.
Let's say I want to use MA in higher timeframe, to do that I will code like this,
If(iClose(Symbol(),PERIOD_H1,0) >iMA(Symbol(),PERIOD_H1,200,0,MODE_EMA,PRICE_CLOSE,0)
for...