Dear all,
I need metatrader mq4 format for Modified SH's 315 Strategy. Any one can convert this or create this strategy for mt4 ?
Courtesy : SH & Santhosh
Amibroker AFL
=================================================
//Modified SH's 315 Strategy
//Amibroker AFL
e1=EMA(C,3);
e2=EMA(H,15);
e3=EMA(L,15);
Plot(e1,"",colorYellow,styleDashed |styleThick);
Plot(e2,"",colorLightYellow,styleDots );
Plot(e3,"",colorLightYellow,styleDots );
b1=Cross(e1,e2);
s1=Cross(e3,e1);
Buysetup=Flip(b1,s1);
Shortsetup=Flip(s1,b1);
trend=IIf(BarsSince(Buysetup)<BarsSince(Shortsetup ),1,0);
Col=IIf(trend==1,colorGreen,4);
SetBarFillColor(Col);
Plot(C,"Close",Col,64);
_SECTION_END();
====================================================
modified SH315 Strategy :-
======================
Basic concept in modified SH315 Strategy,
We are using Total 3 Moving averages :-
Ema 15 based on High.
Ema 15 based on Low.
Ema 3 based on close.(signal line)
Entry logic :-
Long entry : when signal line (Ema 3) is cross (Ema 15,High)
Short entry : when signal line (Ema,3) is cross (Ema 15,low)
I need metatrader mq4 format for Modified SH's 315 Strategy. Any one can convert this or create this strategy for mt4 ?
Courtesy : SH & Santhosh
Amibroker AFL
=================================================
//Modified SH's 315 Strategy
//Amibroker AFL
e1=EMA(C,3);
e2=EMA(H,15);
e3=EMA(L,15);
Plot(e1,"",colorYellow,styleDashed |styleThick);
Plot(e2,"",colorLightYellow,styleDots );
Plot(e3,"",colorLightYellow,styleDots );
b1=Cross(e1,e2);
s1=Cross(e3,e1);
Buysetup=Flip(b1,s1);
Shortsetup=Flip(s1,b1);
trend=IIf(BarsSince(Buysetup)<BarsSince(Shortsetup ),1,0);
Col=IIf(trend==1,colorGreen,4);
SetBarFillColor(Col);
Plot(C,"Close",Col,64);
_SECTION_END();
====================================================
modified SH315 Strategy :-
======================
Basic concept in modified SH315 Strategy,
We are using Total 3 Moving averages :-
Ema 15 based on High.
Ema 15 based on Low.
Ema 3 based on close.(signal line)
Entry logic :-
Long entry : when signal line (Ema 3) is cross (Ema 15,High)
Short entry : when signal line (Ema,3) is cross (Ema 15,low)
Attachments
-
96.8 KB Views: 160