FX:EURUSD   Euro Fx/U.S. Dollar
257 3 12
Bollinger bands smoothed with hlc3. Based on Sylvain Vervoort’s article “Within The Volatility Band.
More info and implemented platforms here : http://www.traders.com/Documentation/FEEDbk_docs/2013/08/TradersTips.html
2 years ago
It seems to be a nice indicator. Unfortunately I got a script error. I'm going to look at it closer to find a fix.
Thx for your works man !

Best Regards,
+1 Reply
Mirandole Mirandole
2 years ago
Fix :
study(title="SVE Bands", shorttitle="SVE Bands", overlay=true)
source = close
price = hlc3
averagelength = input(8, minval=1)
volatilitylength = input(13, minval=1)
deviationfactor = input(3.55)
lowbandadjust = input(0.9)

typical = iff(price >= price, price - low, price - low)
dev = deviationfactor * stdev(typical, volatilitylength)
devhigh = ema(dev, averagelength)
devlow = lowbandadjust * devhigh
medianavg = ema(price, averagelength)

midline = sma(medianavg, averagelength)
upperband = midline + devhigh
lowerband = midline - devlow

-- plot(midline, color=red)
++ plot(midline)
p1 = plot(upperband, color=white)
p2 = plot(lowerband, color=white)
-- fill(p1, p2)
++ plot(p1,p2, color=red)
+1 Reply
glaz Mirandole
2 years ago
Iv tested it and works fine, maybe bad/empty characters during the Copy/Paste
+1 Reply
Ideas Scripts Chart
United States
United Kingdom
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Billing Sign Out