SpreadEagle71

High Low Bollinger Bands

1513 views
252
1513 1
Better than Bollinger Bands for finding extreme points timed by an oscillator where the price is statistically likely to stay inside the boundaries.
Good for setting credit spreads such as call and put vertical spreads.
Von Favorisierten Skripten entfernen Zu Favorisierten Skripten hinzufügen
study(shorttitle="HL BB", title="High Low Bollinger Bands", overlay=true)
length = input(20, minval=1)
src = input(low, title="Source")
src2 = input(high, title="Source2")
mult = input(3.0, minval=0.001, maxval=50)
mult2 = input(3.0, minval=0.001, maxval=50)
basis = sma(src, length)
basis2 = sma(src2, length)
dev = mult * stdev(src, length)
dev2= mult2 * stdev(src2,length)
upper = basis2 + dev2
lower = basis - dev
plot(basis, color=orange)
plot(basis2,color=orange)
p1 = plot(upper, color=red)
p2 = plot(lower, color=blue)
fill(p1, p2)
Nice job !
But how can you give also a alert when it reach the lower bollinger band ? How is the script then ?
Can you help me. Thank you.
Antworten
DE Deutsch
EN English
EN English (UK)
EN English (IN)
FR Français
ES Español
IT Italiano
PL Polski
SV Svenska
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
HE עברית
Startseite Aktien-Screener Forex-Screener Krypto-Screener Wirtschaftskalender So funktioniert es! Chartmerkmale Hausregeln Moderatoren Webseite & Brokerlösungen Widgets Stock Charting Bibliothek Feature-Anfrage Blog & Nachrichten FAQ - Häufige Fragen & Antworten Hilfe & Wiki Twitter
Profil Profileinstellungen Konto und Abrechnung Feedback senden Veröffentlichte Ideen Followers Ich folge Private Nachrichten Chat Abmelden