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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | _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 (); |