Zero Lag Least Squares Moving Average
It is an almost zero lag version of the LSMA (Least Squares Moving Average).
It gives instant linear regression of current price action and works with the same rules as its "laggy" counterpart the LSMA:
-When price crosses over it signals a bull trend.
-When price crosses under it signals bear trend.
-When price stays close or on the line sideways action is to be expected.
-The direction of the line shows the direction of the trend.
From the genius mind of a passed away dear friend. R.I.P. Veryfid.
The code is the exact porting of the ZLSMA published on tradingview:
https://it.tradingview.com/script/3LGnS ... -Lag-LSMA/
Enjoy.
+C+