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 ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

CCI for better vizualization for Amibroker (AFL)

Rating:
5 / 5 (Votes 1)
Tags:
oscillator, amibroker

This CCI will give you better idea to understand the trend of the market.

Screenshots

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("CCIMinMax");
SetChartOptions(0,0,chartGrid30|chartGrid50|chartGrid70);
periods = Param( "Periods", 14, 2, 200, 1 );
maxClip = Param( "maxClip", 200, 1, 100, 1 );
minClip = Param( "minClip", -200, 1, 100, 1 );


 
Plot( CCI( periods), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ),
ParamStyle("Style") );
 
r = CCI(periods);
PlotOHLC( r,r,50,r, "", IIf( r > 50, colorRed, colorBrightGreen ), styleCloud |
styleNoLabel | styleClipMinMax, minClip, maxClip );

max1Clip = Param( "max1Clip", 100, 1, 100, 1 );
min1Clip = Param( "min1Clip", -100, 1, 100, 1 );

r = CCI(periods);
PlotOHLC( r,r,50,r, "", IIf( r > 50, colorBlue, colorOrange ), styleCloud |
styleNoLabel | styleClipMinMax, min1Clip, max1Clip );

max2Clip = Param( "max2Clip", 50, 1, 100, 1 );
min2Clip = Param( "min2Clip", -50, 1, 100, 1 );

r = CCI(periods);
PlotOHLC( r,r,50,r, "", IIf( r > 50, colorYellow, colorYellow ), styleCloud |
styleNoLabel | styleClipMinMax, min2Clip, max2Clip );

max3Clip = Param( "max3Clip", -50, 1, 100, 1 );
min3Clip = Param( "min3Clip", 50, 1, 100, 1 );

r = CCI(periods);
PlotOHLC( r,r,50,r, "", IIf( r > 50, colorGreen, colorRed ), styleCloud |
styleNoLabel | styleClipMinMax, min3Clip, max3Clip );

max4Clip = Param( "max4Clip", 50, 1, 100, 1 );
min4Clip = Param( "min4Clip", 70, 1, 100, 1 );

r = CCI(periods);
PlotOHLC( r,r,50,r, "", IIf( r > 50, colorBlue, colorBlue ), styleCloud |
styleNoLabel | styleClipMinMax, min4Clip, max4Clip );
_SECTION_END();

0 comments

Leave Comment

Please login here to leave a comment.

Back