OPEN-SOURCE SCRIPT

BBC M2 Pi Ratio Indicator

Pi Cycle moving averages expressed as a ratio to visually show the distance and timing of next all time high. Ratio is multiplied by 100,000 to move it into visual range. I recommend drawing a horizontal line at 100,000 for reference too.
Moving Averages

Open-source script

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer