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

Woodies CCI for Amibroker (AFL)
duyqpc
almost 5 years ago
Amibroker (AFL)

Rating:
2 / 5 (Votes 3)
Tags:
oscillator, trading system, amibroker

Red = Overbought
Green = Oversold
_ _ _From Ha Noi , Viet Nam

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("Woodies CCI ");
Title = " ..:: tamvipvietnam.com ::.. - Woodies CCI " + " " + FullName() + " " + Date( ) ;
// Chuyen doi tu MT4 sang.
A=Param("CCI TURBO PERIODS",6,3,14,1);
A1=Param("CCI 14 PERIODS",14,7,20,1);
A2=ParamColor("CCI TURBO",colorBrightGreen);
A3=ParamColor("CCI 14",colorRed);
A4=CCI(A);
A5=CCI(A1);
A6=IIf(A5<0,colorBlue,colorRed);
A7=IIf(Ref(A5,-5) <0 AND Ref(A5,-4) <0 AND Ref(A5,-3) <0 AND Ref(A5,-2) <0 AND Ref(A5,-1) <0,colorRed,A6);
A8=IIf(Ref(A5,-5) >0 AND Ref(A5,-4) >0 AND Ref(A5,-3) >0 AND Ref(A5,-2) >0 AND Ref(A5,-1) >0,colorBrightGreen,A7);
Plot(A5,"CCI TURBO HISTOGRAM",A8,styleHistogram);
Plot(A4,"CCI TURBO",A2,styleThick); r=A4;
PlotOHLC( r,r,50,r, "", IIf( r > 50, colorRed, colorGreen ), styleCloud | styleClipMinMax, -100, 100 ); 
Plot(A5,"CCI 14",A3,styleLine); r1=A5;
PlotOHLC( r1,r1,50,r1, "", IIf( r1 > 50, colorPink, colorAqua ), styleCloud | styleClipMinMax, -100, 100 ); 
Plot(0,"ZERO LINE",colorBlack,styleLine);
Plot(100,"HUNDRED LINE",colorBlack,styleLine);
Plot(-100,"MINUS LINE",colorBlack,styleLine);

//Loc//
x = BarsSince( Cross( A2, 0));
y = BarsSince( Cross( 0, A2));
Buy = x;
Sell = y;
Graph8 = ( x == 0 OR y == 0 ) * 20;

_SECTION_END();

0 comments

Leave Comment

Please login here to leave a comment.

Back