NT SYS Lines for Amibroker (AFL)
Aviator1123 over 14 years ago Amibroker (AFL)
Simple Ema crossovers ..confirming trend with MA 200..best for positional traders, may be used for intraday also. Easy to use..just follow crossovers, arrows will indicate.Modified Slightly.
Uploading a one year chart..see how whipsaws are eliminated.
Screenshots
Indicator / Formula
Copy & Paste Friendly
_SECTION_BEGIN("MA Crossover Unicolor");
Plot(EMA(Close,10),"10-EMA",colorBrown,1);
Plot(EMA(Close,40),"40-EMA",colorBlack,4);
Plot(EMA(Close,200),"200-EMA",colorBlue,styleLine);
Plot(MA(Close,200),"200-MA",colorGreen,styleLine);
r=EMA(C,10);
a=EMA(C,40);
Buy = Cross(r,a) ;
Sell = Cross(a,r) ;
PlotShapes (IIf(Buy,shapeUpArrow,shapeNone),colorYellow,0,Graph0,-15);
PlotShapes (IIf(Sell,shapeDownArrow,shapeNone),colorCustom12,0,Graph0,-15);
_SECTION_END();
_SECTION_BEGIN("Price");
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", IIf(r>a,colorGreen,IIf(a>=r,colorRed,colorBlack)), styleBar | styleThick );
GfxSelectFont("Tahoma", Status("pxheight")/12 );
GfxTextOut( "RANJIT", Status("pxwidth")/2, Status("pxheight")/3 );
_SECTION_END();1 comments
Leave Comment
Please login here to leave a comment.
Good One, Thanks