It plots 60 minute EMA on 5 minute chart.
I'm moving over from TS to NT and this is the only one I don't have for NT7 now.
I know I can use 2nd pane of 60 minute chart and overlay it on 5 minute chart but it looks
a little awkward and slows down.
TIA
Here's ELA code.
Inputs: length(20);
If CurrentBar = 240 then Value1 = xaverage(C, 240);
If CurrentBar > 240 then begin
If Fracportion((time - 30)/100) = 0 or time =1315 then begin
value1 = value1[1] + (2 / ( Length + 1 )) * ( C - value1[1] );
Value2 = value1;
Plot1(value1, "60 min 20EMA");
end
else begin
Value2 = value1 + (2 / ( Length + 1 )) * ( C - value1[1] );
Plot1(value2, "60 min 20EMA");
end;end;
Comment