fomo bitcoin Bollinger Bands

883 obejrzeń
this just take the normal BB, this use top and low instead of close

if the cripto markets are open 24/7 does the market really have a close ?

and also lower the 20 bars to 10

Skrypt open-source

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Chcesz użyć tego skryptu na wykresie?
// cripto moves to much to use close so it use high and low
study(shorttitle="BBB", title="bitcoin Bollinger Bands", overlay=true)
length = input(10, minval=1)
src = input(high, title="Source")
mult = input(2.0, minval=0.001, maxval=50)
basis = sma(src, length)
dev = mult * stdev(src, length)
upper = basis + dev
p1 = plot(upper, color=blue)

src1 = input(low, title="Source")
mult1 = input(2.0, minval=0.001, maxval=50)
basis1 = sma(src1, length)
dev1 = mult1 * stdev(src1, length)

lower1 = basis - dev
p2 = plot(lower1, color=blue)