When writing moving average as
average[p,t](close)
does anyone know how many t values there are in v11 and what they represent? I did a search in the manual but couldn’t find an answer.
https://www.prorealcode.com/documentation/average/
0 = SMA
1 = EMA
2 = WMA
3 = Wilder
4 = Triangular
5 = End point
6 = Time series
7 = Hull (PRT v11 only)
8 = ZeroLag (PRT v11 only)
Thanks Roberto, that is what I had assumed. In the list of pre-defined MA there’s also Adaptive, DEMA, TEMA etc and I wasn’t sure if they had corresponding numbers that could be specified in that way.