another converted code from TradingView
this one is interesting : it creates a pseudo zero lag filtering by filtering two times a differentiated signal (revolving around zero) by half the period and then inverting the phase. Nice trick to implement some kind of "zero lag" filtering
https://fr.tradingview.com/script/8CZDB ... hed-Cycle/