BTC Halving [YinYangAlgorithms]

This Indicator not only estimates what it thinks may be the PRICE for the Start, High and Low of the Halving, but likewise estimates WHEN the Start, High and Low of Halving may be. It then creates Trend Lines based on these predictions so that you may get an evaluation towards if the Price is currently Overbought or Oversold. These Trend Lines may be very useful for seeing the Slope in which the Price may move if it is to reach the estimated Price by the estimated Date. By evaluating the Prices location based on these Trend Lines we may determine if the Price is currently Overbought or Oversold.

These Trend Lines likewise may help identify locations of Support and Resistance. If the Price is much higher than its current Trend Line it is Overbought. There is a chance it will Consolidate back to the Trend Line or it may even correct with a dump all the way back to it; the opposite is true if it is much lower than its current Trend Line.

Trend Lines and Estimates are not all that is featured within this Indicator however. There are also Price Zones which may help identify if the price is currently:

  • Very Overbought (Red)
  • Slightly Overbought (Orange)
  • Neutral (Yellow)
  • Slightly Oversold (Teal)
  • Very Oversold (Green)

These zones may help give you an idea of how the price is currently fairing and its potential for movement. Likewise, it may help define where Support and Resistance may be found.

The trend line estimates are done with an algorithm created to evaluate the difference between price and % change that has occurred between the Start, High and Low of all the halvings over how many days between each data type. This may allow us to make an educated estimate towards what Price and Date the Start, High and Low will occur at.

Our Zones are created by evaluating the current Market Cap and circulating supply vs Max Supply of BTC. This may help give us an evaluation of what Price may be considered to be Overbought and Oversold; and likewise may help with estimations of where there may be Support and Resistance based on these Zones.


In the example above we’re displaying the Halving Start Trend Line, our Information Tables and our Estimated Halving Vertical Marker. This Trend Line may help to display not only the trajectory and slope the Price needs to take to reach the Estimated Halving Price by the Estimated Halving Date; but it may also help to show if the price is Overvalued or Undervalued based on its position above or below this Trend Line.

Based on the Trajectory of the Estimated High Upward Trend Line (Green Line) in the photo above and from the ‘High Date’ estimated in the Information tables; we may attempt to estimate the location the ATH of this Bull Market will create and the price slope it may follow in doing so. This Trajectory may be very useful for understanding the price action that may occur for it to reach the High estimated Price by the High estimated Date.

We currently allow for two different types of zones within our Settings, one called ‘Fast’ displayed in the example above; and the other called ‘Slow’ displayed in the example below.

Our Fast Zone aims to move the Zone Levels Faster in an attempt to move with volatility and parabolic movement. This may help to keep the Very Overbought (Red) and Very OverSold (Green) Levels more accurate by attempting to keep the price within them. By doing so, we may aim to keep all of the Slightly Overbought, Slightly Oversold and Neutral Levels more accurate as well.

The Levels within these zones are defined by the Bright (less transparent) Lines. Whereas the Darker (more transparent) lines represent the Basis Lines between two different levels. These Basis lines may likewise act as a Support and Resistance Location too, but generally hold less weight than the actual Levels themselves.

What you may see is that during the Bull Market, the price is within the very Overbought Zones and even touches again the Very Overbought Level a few times. Likewise, during the Bear Market, the price is within the very Oversold Zones and even slightly drops below the Very Oversold Level. This may be expected and likewise may help to give estimates at potential for growth and decay within the Price based on which condition the Market is within.

Slow Zones move a little slower than Fast Zones, however they may still be accurate. Likewise, it is up to you to decide which Zone works better for your specific Trading Style; however, by default, the Zone type is set to Fast.

If you refer to both the Fast and Slow examples above, you may notice in the Fast the Price is only slightly above the ‘Slightly Oversold’ (Teal) line. Also, In the Fast, the Price where the ‘Very Overbought’ Level is 100k. This is one of the many reasons we’ve opted for ‘Fast’ as the default, and it is because it allows more room for movement; and in our opinion, potentially accuracy as well.

If you refer to the Slow example, you’ll see that the price is currently facing the Neutral Level as a Resistance location. However, if you refer to the price residing at the Slows ‘Very Overbought’ Level, it is only 81.5k, compared to the 100k of Fast.

The BTC Halving is a major event that takes place roughly every 4 years. It historically has a major impact on the market, and some may even say it signifies the Start, or close to start of the Bull Market. Therefore, since historically there may be cycles that BTC and potentially crypto itself follows, we’ve developed this Indicator in hopes that it may solve one of the biggest questions traders face. What Date will the Start, High and Low of the Halving occur and also at what Price.

Hopefully this Tutorial has given you some guidance as to how this Indicator may be used to help identify some of these key levels; including the slope at which the price may have to move if it is to reach its projection Price by its projected Date.


1. Show Prediction Trend Lines:
- Options:
  • All
  • Start + High
  • Start + Low
  • High + Low
  • Start
  • High
  • Low
  • None
- Description:
  • Prediction Trend Lines may be an important way to see the Slope the Price needs to take to reach the Predicted Price by the Predicted Date. This may be useful for identifying if the Price is currently Overbought or Oversold.

2. Zone Type:
- Options:
  • Fast
  • Slow
- Description:
  • Zone types change the way the Zones expand.

3. Show Zones:
- Options:
  • All
  • Zones
  • Basis
  • None
- Description:
  • Zones are a way of seeing Overbought and Oversold Price locations based on Market Cap and Circulating Supply vs Max Supply.

4. Vertical Markers:
- Options:
  • All
  • Line
  • Label
  • None
- Description:
  • Vertical Markers display where the Halving has occurred with a Vertical Line and Label.

5. Show Tables:
  • Tables may be useful for seeing the Price and Date for when the Start, High and Low of the Halving may occur.

6. Fill Zones:
  • Filling in Zones may help to identify which Zone the Price is currently in.

If you have any questions, comments, ideas or concerns please don't hesitate to contact us.


Follow us for Free Indicators and Strategies released weekly!

Visit our website to purchase our Premium Indicators and Strategies. Try for 7 days risk free!

Join our Discord Community: discord.gg/ccEHem37FB
Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact YinYangAlgorithms for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases you can find a good open-source alternative for free in our Community Scripts.


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.

Author's instructions

Get a 7 Day Free Trial for all of our Premium Indicators and Strategies on our website: www.YinYangAlgorithms.com

Want to use this script on a chart?

Warning: please read before requesting access.