Andrei Serdiuk

Triple CCI + MA

417 1 44
Triple CCI + MA
Remove from Favorite Scripts Add to Favorite Scripts
study(title="Triple CCI + MA", shorttitle="Triple CCI")
length1 = input(6, minval=1)
length2 = input(14, minval=1)
length3 = input(24, minval=1)
ma_length = input(50, minval=1)
src = input(close, title="Source")
ma1 = sma(src, length1)
ma2 = sma(src, length2)
ma3 = sma(src, length3)
cci1 = (src - ma1) / (0.015 * dev(src, length1))
cci2 = (src - ma2) / (0.015 * dev(src, length2))
cci3 = (src - ma3) / (0.015 * dev(src, length3))
plot(sma(cci1, ma_length), color=green)
plot(cci1, color=red)
plot(cci2, color=blue)
plot(cci3, color=black)
Vreg
2 years ago
Super!
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
France
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 Account and Billing Sign Out