Stock Portfolio Organizer
The ultimate porfolio management solution.
Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
RSI with Bollinger Bands for Amibroker (AFL)
Copy & Paste Friendly
Back
_SECTION_BEGIN("Dynamic RSI"); T1=Param("RSI Period",14,1,200,1); T2=Param("BBand Period",50,1,200,1); T3=Param("BBand Standard Deviations",2.1,1,5,0.1); fn1=RSIa(C,T1); fn2=BBandBot(fn1,T2,T3); fn3=BBandTop(fn1,T2,T3); /* fn4=(fn1-fn2)/(fn3-fn2); Plot(fn4,"%b(RSI)",ParamColor( "Color", colorCycle ),ParamStyle("Style", styleLine )); */ Plot(fn1,"RSI",colorGreen); Plot(fn2,"BBBot",ParamColor( "Color", colorCycle ),ParamStyle("Style", styleLine )); Plot(fn3,"BBTop",ParamColor( "Color", colorCycle ),ParamStyle("Style", styleLine )); _SECTION_END(); _SECTION_BEGIN("RSI-70"); Plot(70, "RSI", ParamColor( "Color", colorGreen ), ParamStyle("Style", styleDashed )); _SECTION_END(); _SECTION_BEGIN("RSI-50"); Plot(50, "RSI", ParamColor( "Color", colorLightGrey ), ParamStyle("Style", styleDashed )); _SECTION_END(); _SECTION_BEGIN("RSI-30"); Plot(30, "RSI", ParamColor( "Color", colorRed ), ParamStyle("Style", styleDashed )); _SECTION_END();