[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<FONT 
face="Times New Roman">();<FONT 
face="Times New Roman">
AddToComposite(X,<FONT 
size=2>"~StochD"+Name<FONT 
size=2>(),"C"<FONT 
face="Times New Roman">);
Buy=0<FONT 
face="Times New Roman">;
 
All individual 
Stochastics are now separate tickers
<FONT 
face="Times New Roman">~StochD^NDX
<FONT 
face="Times New Roman">~StochDAAPL
<FONT 
face="Times New Roman">~StochDMSFT
<FONT 
face="Times New Roman">etc.
In IB 
paste
<FONT color=#800080 face=Verdana 
size=2> 
Plot(Foreign<FONT 
size=2>("~StochD^NDX",<FONT 
size=2>"C"),"^NDX"<FONT 
size=2>,4,<FONT 
size=2>8<FONT 
face="Times New Roman">);<FONT 
face="Times New Roman">
Plot(Foreign<FONT 
face="Times New Roman">(<FONT 
size=2>"~StochDMSFT","C"<FONT 
size=2>),"MSFT",<FONT 
size=2>1,1<FONT face=Verdana 
size=2>);<FONT face=Verdana 
size=2>
Plot(Foreign<FONT 
size=2>("~StochDINTC",<FONT 
size=2>"C"),"INTC"<FONT 
size=2>,2,<FONT 
size=2>1<FONT 
face="Times New Roman">);<FONT 
face="Times New Roman">
Plot(Foreign<FONT 
face="Times New Roman">("~StochD"<FONT 
size=2>+Name<FONT 
size=2>(),"C"),<FONT 
size=2>Name<FONT 
size=2>(),7,<FONT 
size=2>2<FONT 
face="Times New Roman">);
 
to compare each 
stock StochD with the 3 references ^NDX, MSFT, INTC.
 
X may be any 
complicated function. Just place
 
X=myFunction;<FONT 
size=2>
AddToComposite(X,<FONT 
size=2>"~myFunctionName"+<FONT 
size=2>Name(),"C"<FONT 
size=2>);<FONT 
face="Times New Roman">
Buy=0;
 
Dimitris Tsokakis
 






Yahoo! Groups Sponsor












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 the Yahoo! Terms of Service.