I use centered moving averages in my work. When plotting the built in
Displaced Moving Average "DispMA", with a period of 30 and a
displacement of -15 , it seems to always calculate from the last price
bar displayed. When you scroll the chart you always see the 15-period
blank part of the average. I want the average to always calculate from
the last ( most recient) price bar in the series so when you scroll the
chart, the blank part of the average disappears from view. I tried
creating a displaced average using the REF function which always
calculates from the last bar. The problem with the REF function average
is the blank portion of the average is plotted as a flat line equal to
the last value calculated.

Is there a way to modify the built in DispMA indicator to force it to
always calculate from the last bar in the series?

Thanks,

Dennis


Reply via email to