OPEN-SOURCE SCRIPT

CT Reverse Pi Cycle Bitcoin Top Indicator

Atualizado
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.

captura

captura

captura

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)
[aqua blue line by default]

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)
[purple line by default]
[off by default .. turn on in the settings]

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.

captura

captura

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.
Notas de Lançamento
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.
Notas de Lançamento
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.
Notas de Lançamento
Small code tidy up.
Notas de Lançamento
Generally tidied up the code and code layout.

Renamed variables, functions and descriptions for improved consistency and clarity.
Notas de Lançamento
Upgraded to Pinescript version 5
caretakercyclemarketcycleMoving AveragesreverseTrend Analysis

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?


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
Também em:

Aviso legal