Posted By: Pipinator
EMA of multiple time frames - 12/16/12 18:56
Hello,
I am trying to create a multi-TF indicator. I would like to have a 38 hr EMA, 8 hr EMA on the 5 minute TF for scalping.
I'm running into the problem not being able to get a Price array
vars Price = series(price()); with a fixed time frame, All I see is offset. Is it possible?
vars Price60min = series(price(0,60));
vars Price5min = series(price(0,5));
plot("EMA60",EMA(Price60min,38),0,0x222222);
plot("EMA5",EMA(Price5min,8),0,0x992222);
Thanks!
T
I am trying to create a multi-TF indicator. I would like to have a 38 hr EMA, 8 hr EMA on the 5 minute TF for scalping.
I'm running into the problem not being able to get a Price array
vars Price = series(price()); with a fixed time frame, All I see is offset. Is it possible?
vars Price60min = series(price(0,60));
vars Price5min = series(price(0,5));
plot("EMA60",EMA(Price60min,38),0,0x222222);
plot("EMA5",EMA(Price5min,8),0,0x992222);
Thanks!
T