Dear all,
does anybody know how to code the zero lag moving average, unfortunately I don’t find documentation.
If you use an average on a chart, among other averages you can use it.
thanks Klaus
There are a lot of codes around here with the zerolag moving average, I just found one:
//ZeroLag Fast MA:
PeriodF = 9
DataF = Close
lagF = ROUND((PeriodF-1)/2)
dF = (DataF+(DataF-DataF[lagF]))
F = exponentialaverage[periodF](dF)
RETURN F
thanks a lot Nicolas,
I thought that there is a function, since there is also the possibility to have it as moving average in a chart.
ciao Klaus
There are several indicators available in PRT that don’t exist as command in the code.