.

Triple Momentum Indicator AFL - Amibroker AFL Code

Click Image To Enlarge. Please Rate And Comment.

Triple Momentum Indicator AFL

_SECTION_BEGIN("");
x = ROC (C,5);
y = ROC (C,15);
Z = ROC (C,25);

AROC=x+y+z;

Plot (AROC, "Triple Momentum Indicator", colorRed);
Plot (4, "", 3, styleThick, styleNoLabel);

Buy = Cross (AROC,4);
Sell = Cross (4, AROC);
PlotShapes(Buy*shapeUpArrow,colorGreen,0,Graph0);
PlotShapes(Sell*shapeDownArrow,colorRed,0,Graph0);

_SECTION_END();

Buy  = Cross( AROC, -30 );
Sell = Cross( 30, AROC );
PlotShapes(Buy*shapeUpArrow,colorGreen,0,Graph0);
PlotShapes(Sell*shapeDownArrow,colorRed,0,Graph0);
Previous Post Next Post