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 ....
bharathy5 for Amibroker (AFL)
Copy & Paste Friendly
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | _SECTION_BEGIN ( "X T L" ); SetChartBkColor ( ParamColor ( "Outer panel color " , colorWhite )); tgt = 37; a = CCI (20) < -tgt; b = CCI (20) > tgt; state = IIf (a>b,-1, IIf (a==b,0,1)); Color = IIf (state == 0, colorBlue , IIf (state == 1, colorGreen , IIf (state == -1, colorRed , 0))); //Plot(state, "", color, styleHistogram); SetChartOptions ( 0, chartShowDates | chartShowArrows | chartLogarithmic | chartWrapTitle ); _N (Title = StrFormat ( "{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}" , O , H , L , C , SelectedValue ( ROC ( C , 1 ) ) )); Plot ( C , "Close" , color, styleNoTitle | styleBar | styleThick ); _SECTION_END (); |