Justin

Evo System CMO

104 0 16
This is the Evolution System CMO             using the HMA's as the source.
Remove from Favorite Scripts Add to Favorite Scripts
//@version=2
study(title = "Evo CMO", overlay = false)
//HMA's
n=input(title="HMA for CMO Must Match",type=integer,defval=9)
n2ma=2*wma(close,round(n/2))
nma=wma(close,n)
diff=n2ma-nma
sqn=round(sqrt(n))
c=input(title="HMA 2 for CMO Must Match",type=integer,defval=9)
n2ma6=2*wma(open,round(c/2))
nma6=wma(open,c)
diff6=n2ma6-nma6
sqn6=round(sqrt(c))
a1=wma(diff6,sqn6)
a=wma(diff,sqn)
//CMO
len = 1
gains= sum(a1>a, len)
losses = sum(a1<a, len)
cmo = 100 * (gains - losses) / (gains + losses)
plot(cmo, color=teal)
upper = hline(50, color=orange)
lower = hline(-50, color=orange)

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