want to know the code for linear weighted moving average and smothed moving average. in pi
Linear weighted moving average is not available in tradescript , you can check weighted moving average
Example
CLOSE > WMA(CLOSE, 30)
and for Welles Wilder Smoothing (Moving Average)
Example
CLOSE > WWS(CLOSE, 30)
. is it posssible to write code