Stock Portfolio Organizer
The ultimate porfolio management solution.
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Pairs Ratio CCI for Amibroker (AFL)
Pairs Ratio CCI Indicator enter ticker in Parameters box
Similar Indicators / Formulas
Indicator / Formula
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 | _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
Leave Comment
Please login here to leave a comment.
Back
ther is error in afl plese see !!!!!
Hi wordastro, It is fixed please try it again.