LazyBear

Indicator: STARC Bands

STARC (Stoller Average Range Channels) bands make use of ATR to form the bands, giving it a more in-depth snapshot of market volatility compared to Bollinger Bands.

When a price curve penetrates a Bollinger Band, it may indicate the continuation of a price move; in contrast, the STARC bands tend to define upper and lower limits for normal price action.



List of my free indicators: bit.ly/1LQaPK8
List of my indicators at Appstore: blog.tradingview.com/?p=970
Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?
// 
// @author LazyBear
//
// If you use modify / use this code, appreciate if you could drop me a note. 
//
study(title = "STARC Bands [LazyBear]", shorttitle="StarcBands_LB", overlay=true)
src = close
length=input(15)
tr_custom() => 
    x1=high-low
    x2=abs(high-close[1])
    x3=abs(low-close[1])
    max(x1, max(x2,x3))
    
atr_custom(x,y) => 
    sma(x,y)
    
tr_v = tr_custom()
basis=sma(src, 6)
acustom=(2*atr_custom(tr_v, length))
ul=basis+acustom
ll=basis-acustom
m=plot(basis, linewidth=2, color=navy, style=circles, linewidth=2, title="Median")
l=plot(ul, color=red, linewidth=2, title="Starc+")
t=plot(ll, color=green, linewidth=2, title="Star-")
fill(t,l, silver, title="Region fill")