OPEN-SOURCE SCRIPT
Updated Pi Cycle Bitcoin Top Indicator

The script implements the Pi Cycle Top indicator
This indicator identifies tops in the bitcoin market cycle. Historically, the Pi Cycle Top indicator has called out tops in the price of bitcoin within three days.
The script is very easy to use and it is possible to change the following parameters:
This indicator identifies tops in the bitcoin market cycle. Historically, the Pi Cycle Top indicator has called out tops in the price of bitcoin within three days.
The script is very easy to use and it is possible to change the following parameters:
- the time interval (default value is day);
- the days of long moving average (default value is 365)
- the days of short moving average (default value is 111)
- show the moving average plots
- show the Pi Cycle Top label highlighting the cross-point
Release Notes
Improved the management of the graph timeframe.Now the script automatically use the timeframe of the graph.
Release Notes
Show (with a label) when the long MA crossed above the short MA (named Pi cycle down).Added two alert conditions:
1) Pi cycle top;
2) when the long MA crossed above the short MA.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.