9034 просмотров
Mirocana.com strategy by pilotgsms - version 4.20 <<<< Edited by Seaside420 >>>> special thanks to 55cosmicpineapple
changes: strategy settings tweaked and Hull_MA_cross added to script
changes: strategy settings tweaked and Hull_MA_cross added to script
Информация о релизе:
The mirocana is a repainter and i cannot fix nor delete it, so i overwrite it.
Комментарии
try this instead
which still has repaint problem but less so, just refresh page, if signal remains after 1 or 2 bars, then all good.
HullMA-cross-Strategy EA for MT4 available:
Save your time by having a robot trade for you, http://ss420fx.blogspot.co.nz FREE 1 month demo to make sure it works with your broker and chosen pairs.
basically the new version
dt = input(defval=0.0010, title="Decision Threshold", type=float, step=0.0001)
keh=input(title="Double HullMA Cross",type=integer,defval=3, minval=1)
confidence=(security(tickerid, 'D', close)-security(tickerid, 'D', close))/security(tickerid, 'D', close)
prediction = confidence > dt ? true : confidence < -dt ? false : prediction
n2ma=2*wma(close,round(keh/2))
nma=wma(close,keh)
diff=n2ma-nma,sqn=round(sqrt(keh))
n2ma1=2*wma(close,round(keh/2))
nma1=wma(close,keh)
diff1=n2ma1-nma1,sqn1=round(sqrt(keh))
n1=wma(diff,sqn)
n2=wma(diff1,sqn)
plot(prediction and n1>n2? 1 : 0, color=lime, linewidth=1)