Optimization, Trading Strategy, Fmz Quant, Cryptocurrency, Trends.
length) ZLEMA ZLEMA = Zlema_Func(src, length) Tsf_Func(src, length) => lrc = ta.linreg(src, length, 0) lrc1 = ta.linreg(src, length, 1) lrs = lrc - lrc1 TSF = ta.linreg(src, length, 0) + lrs TSF TSF = Tsf_Func(src, length) getMA(src, length) => ma = 0.0 if mav == 'SMA' ma := ta.sma(src, length) ma