SeaSide420

ZendicatoR

Hull MA cross & Daily close cross



+ 3 MA's
Remove from Favorite Scripts Add to Favorite Scripts
//@version=2
study("ZendicatoR", overlay=true)
dt = input(defval=0.0010, title="Decision Threshold", type=float, step=0.0001)
keh=input(title="Double HullMA Cross",type=integer,defval=14, minval=1)
che1=input(title="MA 1",type=integer,defval=34,minval=1)
che2=input(title="MA 2",type=integer,defval=144,minval=1)
che3=input(title="MA 3",type=integer,defval=377,minval=1)
amnt=input(title="TP ($)",type=integer,defval=4200,minval=1)
wma1=wma(close,che1)
wma2=wma(close,che2)
wma3=wma(close,che3)
A=security(tickerid, 'D', close)
B=security(tickerid, 'D', close[1])
C=A>B?green:red
D=wma2>wma3?green:red
plot(wma1,style=line,color=C,linewidth=4,title="MA1")
p1=plot(wma2,style=line,color=D,title="MA2")
p2=plot(wma3,style=line,color=D,title="MA3")
fill(p1, p2, color=D, transp=75)
n2ma=2*wma(close,round(keh/2))
nma=wma(close,keh)
diff=n2ma-nma,sqn=round(sqrt(keh))
n2ma1=2*wma(close[2],round(keh/2))
nma1=wma(close[2],keh)
diff1=n2ma1-nma1,sqn1=round(sqrt(keh))
n1=wma(diff,sqn)
n2=wma(diff1,sqn)
E=n1>n2?green:red
plot(n1,style=line,color=E,title="hull_MA1")
plot(n2,style=line,color=E,title="Hull_MA2")
plot(cross(n1, n2) ? n1 : na, style = circles,color=E, linewidth = 3,title="Hull_MA Cross")
plot(cross(A, B) ? A : na, style = circles,color=C, linewidth = 5,title="DailyClose Cross")
Another one, thanks man.
Reply
Thank you. May I can use this indicator on other pair?
Reply
SeaSide420 Akhmatbek
yes
Reply
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out