RSI Cloud afl for amibroker
Relative Strength Index
The Relative Strength Index (RSI) was developed by J. Welles Wilder in the 1970′s. It is a very useful and popular momentum oscillator that compares the magnitude of a stock’s recent gains to the magnitude of its recent losses
_SECTION_BEGIN("RSI_LONG 30 mt Intraday");
Plot (EMA (RSI(7),5), "SmoothRSI", colorBrightGreen,styleThick);
A=EMA (RSI(10),5);
B=EMA (RSI(21),5);
Plot(A,"",colorPink, styleLine|styleThick);
Plot(B,"",colorPink, styleLine|styleThick);
PlotOHLC( 0, A , B ,B , "Cloud", IIf(A > B ,colorBrightGreen,ColorRGB(150,0,50)), styleCloud|styleNoLabel);
Color30=IIf(V>EMA(V,10),colorBrightGreen,colorRed);
Color50=IIf(V>1.5*EMA(V,10),colorBrightGreen,colorRed);
Color70=IIf(V>2*EMA(V,10),colorBrightGreen,colorRed);
Plot (50, "", colorWhite,styleDots, styleThick);
Plot (30, "", colorOrange, styleThick);
Plot (70, "", colorYellow, styleThick);