Hi, I'd like to test an own expert advisor using several timeframes. Parameters would be:
Shorter_Period = (ex.M15), Longer_Period
= (ex.H4). So the strategy will run through
all of the periods between.
So then, we're going to consider this is for example applied to MACD indicator:
So then how's that I have to set the function to match Main and Signal timeframe the same in such case as
they're defined as variable?
Just do them separately, so:
double MACDMain15m = iMACD(....
double MACDSignal15m = iMACD(....
double MACDMain1Hr = iMACD(....
double MACDSignal1Hr = iMACD(....
Yes, that would be probably the easier way.