repo32

Bollinger Band Touch

3627 visualizzazioni
839
This script simply colors the background when price hits or exceeds the bollinger bands . Just a nice visual cue.
Rimuovi dagli script preferiti Aggiungi agli script preferiti
//Created by Robert Nance 7/5/15
//This script simply colors the background when price hits or exceeds the bollinger bands
//Works nice if you need a quick cue when you are playing the bounce.
study(shorttitle="BB", title="Bollinger Band Touch", overlay=true)
length = input(20, minval=1)
src = input(close, title="Source")
mult = input(2.0, minval=0.001, maxval=50)
basis = sma(src, length)
dev = mult * stdev(src, length)
upper = basis + dev
lower = basis - dev
plot(basis, color=red)
p1 = plot(upper, color=red)
p2 = plot(lower, color=green)
fill(p1, p2)
toptouch = high >= upper ? red : na
bottouch = low <= lower ? green : na

bgcolor(toptouch, transp=75)
bgcolor(bottouch, transp=75)


Commenti



Very useful tool, thanks for sharing.
+1 Rispondi
repo32 cooney_s
Nice! I love to see how others use the scripts. Everyone has there own ideas of how to do things.
Rispondi
Can I use this in MT4? I applied it, but it is not working at all for me.
Rispondi
repo32 tomatojava01
@tomatojava01, Unfortunately, no. It is a different language
Rispondi
@repo32, I see... Thanks for the reply!
Rispondi
Can I use this in MT4? I applied it, but not working at all for me.
Rispondi
Home Screener azioni Screener forex Screener cripto Calendario economico Come funziona Caratteristiche Grafico Costi Invita un amico Regolamento Centro di supporto Soluzioni per broker & siti web Widget Librerie grafiche Libreria grafica leggera Blog & Novità Twitter
Profilo Impostazioni profilo Account e fatturazione Invita un amico I miei ticket di supporto Centro di supporto Idee pubblicate Follower Seguiti Messaggi Privati Chat Esci