Hi, any ideas how to implement [TradingView Pine RMA](https://www.tradingview.com/pine-script-reference/v4/#fun_rma) ?