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.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.