OPEN-SOURCE SCRIPT
AV BTC Pi Cycle Top (with ATH) Overlay

Pi Cycle Top Indicator
Created by Phillip Swift. It works by comparing the 111-day SMA (blue) and the 350-day SMA. The value of the 350-day SMA is multiplied by 2 and referred to as 2*350 SMA (purple). Note: The number of days is not multiplied; the 350-day SMA is not doubled to calculate a 700-day SMA.
These two moving averages were selected because 350 / 111 ≈ 3.153, an approximation of the number Pi.
When the 111-day SMA (blue) crosses over the 2*350 SMA (purple), it signals a market cycle peak. Historically, this has worked extremely well. However, with the growth of BTC Futures and ETFs, this indicator might lose its edge.
A label and a red circle signal crossover. The indicator also marks all ATH (All-Time High) bars with yellow diamonds. The ATH line is hidden by default but can be enabled in the style tab. Additionally, halving days are marked with grey vertical lines and labels. Feel free to hide certain elements in the style tab.
For marking overbought and oversold areas, I believe looking at the Pi Cycle Oscillator is a better choice. For this reason, this indicator does not highlight overbought or oversold areas; it only marks market tops.
Created by Phillip Swift. It works by comparing the 111-day SMA (blue) and the 350-day SMA. The value of the 350-day SMA is multiplied by 2 and referred to as 2*350 SMA (purple). Note: The number of days is not multiplied; the 350-day SMA is not doubled to calculate a 700-day SMA.
These two moving averages were selected because 350 / 111 ≈ 3.153, an approximation of the number Pi.
When the 111-day SMA (blue) crosses over the 2*350 SMA (purple), it signals a market cycle peak. Historically, this has worked extremely well. However, with the growth of BTC Futures and ETFs, this indicator might lose its edge.
A label and a red circle signal crossover. The indicator also marks all ATH (All-Time High) bars with yellow diamonds. The ATH line is hidden by default but can be enabled in the style tab. Additionally, halving days are marked with grey vertical lines and labels. Feel free to hide certain elements in the style tab.
For marking overbought and oversold areas, I believe looking at the Pi Cycle Oscillator is a better choice. For this reason, this indicator does not highlight overbought or oversold areas; it only marks market tops.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。