PureBytes Links
Trading Reference Links
|
Hi kk2628,
Friday, December 19, 2003, 11:29:25 AM, you wrote:
k> Hi Yuki,
k> Let me try...
k> Open the graph of NEC then type the following into the AA windows. You will
k> have the correlation of the past 100 days closing price for Fujitsu and NEC.
k> If your graph is Fujitsu then you should replace the Fujitsu to NEC for the
k> following code. If you want to do other correlation other than close price
k> then just change the "Close" to e.g "High". Hope this help.
k> Fujitsuclose=Foreign("Fujitsu","Close");
k> Corr=Correlation(Fujitsuclose,C,100);
k> Filter = 1;
k> addcolumn(Corr,"Corr",1.2);
I must be doing something really stupid. When I run this, I get a
line for each date in the database, the ticker is NEC (expected) and
no output at all under Corr.
I'm as lost as ever. Setting is Current Stock, all quotations.
Yuki
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
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|