TradingView
PentarhUdi
Jan 30, 2021 9:48 PM

Bitcoin Strength Index source code 

Bitcoin / U.S. dollarBitstamp

Description

For those who interested, here is a Bitcoin Strength Index source code. I used it on weekly chart with params (close,28). And only with Bitcoin. And only during bull run. It shows how far price went off the particular moving average during bubble run (i.e. being above BB). Weekly MA 28 is approximately daily ma 200.

The physical meaning of this indicator is to show current bull rally "speed".

study("Bubble Strength Index")
bsi(scope,length) =>
s = sma (scope,length)
[mid1,high1,low1] = bb (close,20,2)
float result = 0
result:=high > high1 ? high / s : 1
plot(bsi(close,28))

Comment

Comments
MaxHodler
I understand your fears during this phase of euphoria,

and BTC @ 58 k$, I finally became bearish, target BTC @ 40 k$ :

MaxHodler
Comfortably installed in stablecoins / short according to affinities:

BTC - $ 10,800

First (fragile) support level reached.
Longebasher
Vanga thanks you bro!
Dmitry11010
Please update the idea!
hodlingyou
awesome !!!
shany007
thanks bro does this mean the bull rally still has speed and power or is it slowing down?
devilninja777
@shany007, it means we aint seen nothing yet
arily
Is the source code broken?
More