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

Pairs Ratio CCI for Amibroker (AFL)
aucn
over 14 years ago
Amibroker (AFL)

Rating:
3 / 5 (Votes 4)
Tags:
oscillator, amibroker, pairs ratio

Pairs Ratio CCI Indicator enter ticker in Parameters box

Similar Indicators / Formulas

RSI of Pairs ratio
Submitted by aucn over 14 years ago
VIDYA
Submitted by johnhaber almost 15 years ago
3 Days Track
Submitted by janet0211 over 14 years ago
KILL THE OPERATOR MACD
Submitted by prasadmuni over 12 years ago
Debu Market Efficiency Ratio
Submitted by agent301 over 12 years ago
%R ++
Submitted by reb over 14 years ago

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("pairs cci");
Ticker= ParamStr("Short ticker", "type in ticker");//short stock

tickersc=Foreign( ticker, "C");//Short stock
tickerso=Foreign( ticker, "O");//Short stock
tickersh=Foreign( ticker, "H");//Short stock
tickersl=Foreign( ticker, "L");//Short stock

/////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////
spreadc=C/(tickersc);
spreado=O/(tickerso);
spreadh=H/(tickersh);
spreadl=L/(tickersl);
////////////////////////////////////////////////////////////////
aaa=(spreado+spreadh+spreadl+spreadc)/4;


CCIi=Param("cci",21,1,100,1);

Color=IIf(CCIa(aaa,14)<=0,4,5);
///////////////////////////////////////////////////////////////////
Plot(0,"",5,5);
Plot(CCIa(aaa,CCIi),"",Color,5);
Plot(CCIa(aaa,CCIi),"",Color,styleHistogram+styleThick);
Plot(CCIa(aaa,55),"",6,5);
_SECTION_END();

2 comments

1. worldastro

ther is error in afl plese see !!!!!

2. administrator

Hi wordastro, It is fixed please try it again.

Leave Comment

Please login here to leave a comment.

Back