Ether

3BBands (3 Spirolinas)

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.

סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?
//
// @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)