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 ....
BEST RSI 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 37 38 39 40 41 42 43 44 45 46 47 48 | _SECTION_BEGIN ( "Background_Setting" ); SetChartBkGradientFill ( ParamColor ( "BgTop" , colorBlack ), ParamColor ( "BgBottom" , colorBlack ), ParamColor ( "titleblock" , colorBlack )); _SECTION_END (); _SECTION_BEGIN ( "price channel" ); /*Price Channel*/ MaxGraph=10; T0=10; F0= MA ( ( H + L +2* C )/4, T0); UF0= MA (( H + L +2* C )/4,T0) + MA (( H - L ),T0); LF0= MA (( H + L +2* C )/4,T0) - MA (( H - L ),T0); K0= IIf ( C > UF0, 100 , IIf ( C <LF0 , -100 ,0)); Graph0=0; Graph0Color=7; T1=20; F1= MA ( ( H + L + C )/3, T0); UF1= MA (( H + L + C )/3,T1) + MA (( H - L ),T1); LF1= MA (( H + L + C )/3,T1) - MA (( H - L ),T1); K1= IIf ( C > UF1, 100 , IIf ( C <LF1 , -100 ,0)); PR= MA ((K1+K0)/2,3); Graph1=PR; Graph1Style=8; upbar= PR> Ref (PR,-1) ; downbar= PR< Ref (PR,-1) ; barcolor = IIf ( downbar,4, IIf ( upbar, 5, 7)); Graph1BarColor = ValueWhen ( barcolor != 0, barcolor ); Title= EncodeColor ( colorWhite )+ "Best RSI :" + EncodeColor ( colorRed )+ WriteVal (PR)+ WriteIf (PR>98, " {Overbought}" , EncodeColor ( colorRed )+ WriteIf (PR<- 98, " {Oversold}" , " " ))+ EncodeColor ( colorWhite )+ " Trend : " + WriteIf (PR>0, EncodeColor ( colorBlue )+ " Bullish" , EncodeColor ( colorRed )+ " Bearish" )+ EncodeColor ( colorWhite )+ " Trade : " + EncodeColor ( colorBlue )+ WriteIf (upbar, "Buy" , EncodeColor ( colorRed )+ WriteIf (downbar, "Sell" , " " ));; _SECTION_END (); |