Join our facebook group for Amibroker afl code discussion https://www.facebook.com/groups/603980776889348

Composite RSI Moving Average Indicator


Composite RSI Moving Average Indicator
Composite RSI Moving Average Indicator


//www.aflcode.com
_SECTION_BEGIN("MARSI");
MP = Param(" Period",13,3,100,1);
RP = Param("RSI",14,3,20,1);
UL= Param("Upper Limit",70,0,100,1);
LL= Param("Lower Limit",30,0,100,1);
PlotGrid(UL,colorBlue);    
PlotGrid(LL,colorBlue); 
R= RSIa( MA(C,MP), RP);
Plot(R, "RSI OF MA",  colorBlue, styleLine);


PlotOHLC( R,R,50,R, "", IIf( R > 50, colorLightOrange , colorSkyblue ), styleCloud | styleClipMinMax, LL, UL ); 


_SECTION_END();

Previous
Next Post »