Engineering Alpha

Engineering Alpha

Coding The Mean-Distance Indicator in TradingView.

How to Code the Mean-Reversion Indicator Using Pine Script.

Sofien Kaabar, CFA's avatar
Sofien Kaabar, CFA
Nov 06, 2021
∙ Paid

Can we benefit from the position of the moving average relative to the price? Yes, in many ways as we have seen in previous articles. In this article, we will once again see another technique called the distance indicator.

I have just released a new book after the success of my previous one “The Book of Trading Strategies”. It features advanced trend-fol…

User's avatar

Continue reading this post for free, courtesy of Sofien Kaabar, CFA.

Or purchase a paid subscription.
© 2026 Sofien Kaabar · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture