OPEN-SOURCE SCRIPT
AV BTC Pi Cycle Oscillator

Pi Cycle Oscillator
The oscillator version of the Pi Cycle Top Indicator. While I have found great differences in scales being used for the oscillator across various sources. The shape of the oscillator line is on the other hand the same across the board. With 2 specific versions. Either using the 111 Day SMA or the 2*350 SMA for division.
We allow for both versions. It is possible to select the formula for calculation on the input tab.
Either using (111 SMA - 2*350 SMA) / 111 SMA (default) or (111 SMA - 2*350 SMA) / 2*350 SMA.
We multiply the result by -100 so that overbought conditions fall at the top of the indicator chart and oversold at the bottom. Everyone has their own idea of the value range. This is no different.
For both formulas around 0 is overbought zone, while -200 and -70 are oversold areas. Thresholds are configurable in the input tab. I made an arbitrary choice for the thresholds.
If you want to see overbought and oversold areas on the price chart: Enable the Overbought and oversold Overlay area in the style tab. It is disabled by default.
Additionally: Pi Cycle Tops are marked with a red circle. ATH tops are marked with yellow diamonds. Grey lines marks halving days.
The oscillator version of the Pi Cycle Top Indicator. While I have found great differences in scales being used for the oscillator across various sources. The shape of the oscillator line is on the other hand the same across the board. With 2 specific versions. Either using the 111 Day SMA or the 2*350 SMA for division.
We allow for both versions. It is possible to select the formula for calculation on the input tab.
Either using (111 SMA - 2*350 SMA) / 111 SMA (default) or (111 SMA - 2*350 SMA) / 2*350 SMA.
We multiply the result by -100 so that overbought conditions fall at the top of the indicator chart and oversold at the bottom. Everyone has their own idea of the value range. This is no different.
For both formulas around 0 is overbought zone, while -200 and -70 are oversold areas. Thresholds are configurable in the input tab. I made an arbitrary choice for the thresholds.
If you want to see overbought and oversold areas on the price chart: Enable the Overbought and oversold Overlay area in the style tab. It is disabled by default.
Additionally: Pi Cycle Tops are marked with a red circle. ATH tops are marked with yellow diamonds. Grey lines marks halving days.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。