This was one of my first indicators, its also the first indicator i made a preprint paper about, i strongly encourage you to read the paper i made here : https://hal.archives-ouvertes.fr/hal-021...
Dont be triggered by the lack of quality of the paper, i only did it for fun. I might further develop this preprint thus ending with something more readable.
Become a Patreon and get access to exclusive technical indicators!
You can also check out some of the indicators I made for luxalgo : https://www.tradingview.com/u/LuxAlgo/#published-scripts
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.