<https://www.traderji.com/community/threads/metatrader-code-for-modified-shs-315-strategy.94120/>
<http://schema.org/articleBody>
"Dear all,\r\n            I need metatrader mq4 format for Modified SH's 315 Strategy. Any one can convert this or create this strategy for mt4 ?\r\n\r\nCourtesy : SH & Santhosh\r\n\r\nAmibroker AFL\r\n=================================================\r\n//Modified SH's 315 Strategy \r\n//Amibroker AFL\r\n\r\ne1=EMA(C,3); \r\ne2=EMA(H,15); \r\ne3=EMA(L,15); \r\n\r\nPlot(e1,\"\",colorYellow,styleDashed |styleThick); \r\nPlot(e2,\"\",colorLightYellow,styleDots ); \r\nPlot(e3,\"\",colorLightYellow,styleDots ); \r\n\r\nb1=Cross(e1,e2); \r\ns1=Cross(e3,e1); \r\nBuysetup=Flip(b1,s1); \r\nShortsetup=Flip(s1,b1); \r\ntrend=IIf(BarsSince(Buysetup)<BarsSince(Shortsetup ),1,0); \r\nCol=IIf(trend==1,colorGreen,4); \r\nSetBarFillColor(Col); \r\nPlot(C,\"Close\",Col,64); \r\n\r\n_SECTION_END();  \r\n====================================================\r\n\r\nmodified SH315 Strategy :-\r\n======================\r\nBasic concept in modified SH315 Strategy,\r\n\r\nWe are using Total 3 Moving averages :-\r\n\r\nEma 15 based on High.\r\nEma 15 based on Low.\r\n\r\nEma 3 based on close.(signal line)\r\n\r\nEntry logic :-\r\n\r\nLong entry : when signal line (Ema 3) is cross (Ema 15,High)\r\nShort entry : when signal line (Ema,3) is cross (Ema 15,low)"
<https://www.traderji.com/community/threads/metatrader-code-for-modified-shs-315-strategy.94120/>