I have been playing with AddToComposite to make a chart that is an 
average of a few other tickers.

I have been using the example given in - 
www.amibroker.org/3rdparty/IntroToAtc.pdf

which has been quite helpful but when i create the chart the bars are 
MASSIVE, even though i have been dividing the composite by the amount 
of tickers used 


[URL=http://img90.imageshack.us/my.php?
image=combinedhc5.jpg][IMG]http://img90.imageshack.us/img90/721/combin
edhc5.th.jpg[/IMG][/URL]


my code so far is as follows - 


AddToComposite(Close, "~MyIndex", "X" );
AddToComposite( 1, "~MyIndex", "I" );
Buy=0;
Graph0=Foreign("~MyIndex", "C" )/Foreign("~MyIndex", "I");

Any help would be greatly appreciated




Reply via email to