The_Caretaker

CT Reverse Pi Cycle Bitcoin Top Indicator

The_Caretaker 已更新   
Introducing the Reverse BTC Pi Market Cycle Top indicator

Much respect to Philip Swift the original creator of this idea and big thanks to Tradingview author Ninorigo for sharing the script which this indicator is based on.

Philip Swift has noted that:
Using the x2 multiple of the 350 day moving average along with the 111 day moving average provides an interesting market cycle indicator.
Over the past three market cycles, when the 350DMA x2 crosses below the 111DMA, Bitcoin price peaks in its market cycle, this has been accurate to within three days of Bitcoin price topping out.




Here I have modified an existing script by Tradingview author @Ninorigo which shows the moving averages and gives signals upon crossover by adding the following features:

A function which shows the price at which the 350DMA will Cross Below the 111DMA.
(This is calculated from the prior bar closing data and does not repaint)


An “anticipated cross” function which may give a 1 bar advanced warning of a cross.
(this is calculated from current bar values and may change and repaint)



The crossover levels are shown in an info label to the right of the current price.

When there is a BTC Pi Market Cycle Top anticipated cross on the next bar there will be an orange background signal.
When there is an actual BTC Pi Market Cycle Top cross there will be a red background signal

When there is an anticipated cross back there will be a blue background signal
When there is an actual cross back there will be a green background signal

This indicator will show the appropriate moving averages and crossover information from the daily timeframe regardless of the timeframe you are using.

This should be helpful in more accurately identifying the price level where the Pi Market Cycle moving averages will cross denoting a possible market cycle top.



It is interesting to note:
350 / 111 = 3.153
Which is the closest we can get to Pi when dividing 350 by another whole number.

This is a script to give another view and metric on an interesting experimental idea. This is not financial advice.
版本注释:
Added Timeframe and Multiplier variables.
I have left the defaults as they were.... daily timeframe and a multiplier of 2.
While the Pi Cycle top was originally intended for use on bitcoin I have noticed that with different timeframe and/ different multiplier settings make it more broadly applicable.
These new settings allow for "fine tuning" of the indicator to other cryptos and to other asset classes.
版本注释:
Added function which calculates the percentage drop from the reverse Pi Cycle top cross level to the current price and displays this in the info label.
版本注释:
Small code tidy up.
版本注释:
Generally tidied up the code and code layout.

Renamed variables, functions and descriptions for improved consistency and clarity.
版本注释:
Upgraded to Pinescript version 5

You may contact me on Krown's Crypto Cave Discord: discord.gg/W9ettX54DF My Discord username is The Caretaker.
My Private indicators are available via :
krown-trading.teachable.com/?affcode=236462_mm1lb1_w
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?