cmharkey

UO_30-50-70

146 1 25
Ultimate Oscillator with bands present at the 30, 50, and 70 pt levels.
Personally use this every time, created a script to hard code these lines so I wouldn't need to redraw them all the time.
Enjoy
Remove from Favorite Scripts Add to Favorite Scripts
study(title="Ultimate Oscillator", shorttitle="UO")
length7 = input(7, minval=1), length14 = input(14, minval=1), length28 = input(28, minval=1)
average(bp, tr_, length) => sum(bp, length) / sum(tr_, length)
high_ = max(high, close[1])
low_ = min(low, close[1])
bp = close - low_
tr_ = high_ - low_
avg7 = average(bp, tr_, length7)
avg14 = average(bp, tr_, length14)
avg28 = average(bp, tr_, length28)
out = 100 * (4*avg7 + 2*avg14 + avg28)/7
plot(out, color=red, title="UO")
band1 = hline(70)
band2 = hline(50,color=yellow)
band0 = hline(30)
fill(band1, band0, color=orange, transp=90)
MONEYMENOW PRO
6 months ago
this is the best oscillator ever created. Thanks for sorting the line issues.. Good work. Another request and suggestion for both of us and all others to benefit from. I do not know programming but I know how to trade, Can u please write a code for Ultimate Oscillator with Ema of Ultimate oscillator in it. PLEASE...
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
Italia
Brasil
Россия
Türkiye
日本
한국
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