How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Feature Request FAQ Help & Wiki Twitter

# 3BBands (3 Spirolinas)

313 0
The script combines 3 single Bollinger bands into one script for easy plotting and range modification. It can be used for analyzing a market with multiple time frames and ranges using Fibonacci series as the range.
```//
// @author Ether/Spirolina/JavaHut/Krill
study(shorttitle="3BBands", title="3 Spirolinas(3BBands)", overlay=true)
source = close
length = input(13, minval=1), mult = input(2.0, minval=0.001, maxval=50)
basis = sma(source, length)
dev = mult * stdev(source, length)
upper = basis + dev
lower = basis - dev
plot(basis, color=red)
p1 = plot(upper, color=blue)
p2 = plot(lower, color=blue)
fill(p1, p2)
// bband2
length2 = input(21, minval=1), mult2 = input(2.0, minval=0.001, maxval=50)
basis2 = sma(source, length2)
dev2 = mult2 * stdev(source, length2)
upper2 = basis2 + dev2
lower2 = basis2 - dev2
plot(basis2, color=purple)
p3 = plot(upper2, color=green)
p4 = plot(lower2, color=green)
fill(p3, p4)
// bband3
length3 = input(34, minval=1), mult3 = input(2.0, minval=0.001, maxval=50)
basis3 = sma(source, length3)
dev3 = mult3 * stdev(source, length3)
upper3 = basis3 + dev3
lower3 = basis3 - dev3
plot(basis3, color=lime)
p5 = plot(upper3, color=fuchsia)
p6 = plot(lower3, color=fuchsia)
fill(p5, p6)```
United States
United Kingdom
India
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia

한국
Home Stock Screener Forex Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter