Buy EMA13>MA20
Sell EMA13<MA20
AFL Code Below:
//Disclaimer:
//All the AFL’s posted in this section are for learning purpose.
//I do not necessarily own these AFL’s and I don’t have any intellectual property rights on them. I might copy useful AFL’s from public forums
//and post it in this section in a presentable format. The intent is not to copy anybody’s work but to share knowledge.
//If you find any misleading or non-reproducible content then please disregard this AFL_SECTION_BEGIN("");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
_SECTION_END();
_SECTION_BEGIN("EMA13-MA20 Crossover");
Buy = Cross( EMA( Close, 13), MA( Close, 20 ) );
Sell = Cross( MA( Close, 20 ), EMA( Close, 13 ) );
PlotShapes(IIf(Sell==1, shapeDownArrow, shapeNone), colorRed, 0,High, Offset=-15);
PlotShapes(IIf(Buy==1, shapeUpArrow , shapeNone), colorGreen, 0,Low, Offset=-15);
_SECTION_END();
Plot( EMA( Close,13 ),"EMA13",colorRed,styleLine);
Plot( MA( Close,20),"MA20",colorBlue,styleLine);
Technical Analysis For Forex, Cryptocurrency and Stocks.
No Hype...No Tsismis... No Drama.... Just Chart!!!!
Join FB Group Here: https://www.facebook.com/groups/155055288511760/
any link on how to use amibroker and how to upload pse quotes?
ReplyDeletehttps://www.youtube.com/watch?v=iMe0l304aSU
DeleteThis comment has been removed by the author.
ReplyDelete