OPEN-SOURCE SCRIPT

Bitcoin Logarithmic Regression


This indicator displays logarithmic regression channels for Bitcoin. A logarithmic regression is a function that increases or decreases rapidly at first, but then steadily slows as time moves. The original version of this indicator/model was created as an open source script by a user called Owain but is not available on TradingView anymore. So I decided to update the code to the latest version of pinescript and fine tune some of the parameters.

How to read and use the logarithmic regression:

There are 3 different regression lines or channels visible:

Green Channel: These lines represent different levels of support derived from the logarithmic regression model.

Purpose: The green channel is used to identify potential support levels where the price might find a bottom or bounce back upwards.

Interpretation:
If the price is approaching or touching the lower green lines, it might indicate a buying opportunity or an area where the price is considered undervalued.

------------------------------------------------

Red Channel: These lines represent different levels of resistance derived from the logarithmic regression model.

Purpose: The red channel is used to identify potential resistance levels where the price might encounter selling pressure or face difficulty moving higher.

Interpretation:
If the price is approaching or touching the upper red lines, it might indicate a selling opportunity or an area where the price is considered overvalued.

-------------------------------------------------

Purple Line This line represents to so-called "fair price" of Bitcoin according to the regression model.

Purpose: The purple line can be used to identify if the current price of Bitcoin is under- or overvalued.

Interpretation: A simple interpretation here would be that over time the price will have the tendency to always return to its "fair price", so starting to DCA more when price is under the line and less when it is over the line could be a suitable investment strategy.

----------------------------------------------------

Practical Application:

You can use this regression channel to build your own, long term, trading strategies. Notice how Bitcoin seems to always act in kind of the same 4 year cycle:

- Price likes to trade around the purple line at the time of the halvings
- After the halvings we see an extended sideways range for up to 300 days
- After the sideways range Bitcoin goes into a bull market frenzy (the area between the green and red channel)
- The price tops out at the upper red channel and then enters a prolonged bear market.

Buying around the purple line or lower line of the green channel and selling once the price reaches the red channel can be a suitable and very profitable strategy.
Bands and ChannelsCyclesLOGARITHMIC

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?


또한 다음에서도:

면책사항