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
نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الكود في منشور تحكمه قواعد الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟
// 
// @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")