[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Relative Indicator Values



PureBytes Links

Trading Reference Links

To compare indicator X values with some reference stocks, run in AA 
the

X=StochD();
AddToComposite(X,"~StochD"+Name(),"C");
Buy=0;

All individual Stochastics are now separate tickers
~StochD^NDX
~StochDAAPL
~StochDMSFT
etc.
In IB paste

Plot(Foreign("~StochD^NDX","C"),"^NDX",4,8);
Plot(Foreign("~StochDMSFT","C"),"MSFT",1,1);
Plot(Foreign("~StochDINTC","C"),"INTC",2,1);
Plot(Foreign("~StochD"+Name(),"C"),Name(),7,2);

to compare each stock StochD with the 3 references ^NDX, MSFT, INTC.

X may be any complicated function. Just place
 
X=myFunction;
AddToComposite(X,"~myFunctionName"+Name(),"C");
Buy=0;

Dimitris Tsokakis


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs Online - Over 14,500 titles.
No Late Fees & Free Shipping.
Try Netflix for FREE!
http://us.click.yahoo.com/YoVfrB/XP.FAA/uetFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/