try this for day trading (in 5min chart ) and swing trading details available in my thread something entirely new (technical analysis ).
here is amibroker afl
_SECTION_BEGIN ("ABHI GREAD FEAR ");
//////////////////////////////////////////////////////////////////
Plot(C, "", IIf( RSI(14)>55 , colorGreen, IIf(RSI(14)<45 ,colorRed, colorBlack)), ParamStyle("Price
Style",stylebar,stylethick));
//////////////////////////////////////////////////////////////////
Buy=Cross(RSI(14),55) ;
Sell=Cross(45,RSI(14)) ;
shape = Buy * shapeUpArrow + Sell * shapeDownArrow;
PlotShapes( shape, IIf( Buy, colorBlue, colorRed ));
MYcolor = IIf( RSI(14)>55 , colorGreen, IIf(RSI(14)<45,colorRed, colorBlack));
PlotOHLC( Open, High, Low, Close, "", Mycolor, styleBar);
_SECTION_END();
here is amibroker afl
_SECTION_BEGIN ("ABHI GREAD FEAR ");
//////////////////////////////////////////////////////////////////
Plot(C, "", IIf( RSI(14)>55 , colorGreen, IIf(RSI(14)<45 ,colorRed, colorBlack)), ParamStyle("Price
Style",stylebar,stylethick));
//////////////////////////////////////////////////////////////////
Buy=Cross(RSI(14),55) ;
Sell=Cross(45,RSI(14)) ;
shape = Buy * shapeUpArrow + Sell * shapeDownArrow;
PlotShapes( shape, IIf( Buy, colorBlue, colorRed ));
MYcolor = IIf( RSI(14)>55 , colorGreen, IIf(RSI(14)<45,colorRed, colorBlack));
PlotOHLC( Open, High, Low, Close, "", Mycolor, styleBar);
_SECTION_END();