[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [system-traders] display_indicator.pl and RSquare
Hi Alex,
welcome to the list.
I really don't have much knowledge about the RSquare indicator, but I'll try to help anyway.
I believe the 14 you talk about, is nothing more than the period used to calculate the Beta coefficient needed for the R-Squared calculation.
It's only a parameter, it's not really being compared against anything else.
You can change the default value, for instance:
display_indicator.pl I:RSquare MSFT 21
Would calculate the RSquare value for Microsoft stock, using 21 as the number of periods used in the calculation.
I'm not really sure how you'd compare different stocks, as this indicator is pretty much new to me.
But you may want to try the developers list, as there are more users over there.
Regards,
João
-----Original Message-----
From: Alex Akselrod [mailto:alex
AT
ultracheapstuff.com]
Sent: Tuesday, May 18, 2004 4:36 AM
To: system-traders
AT
geniustrader.org
Subject: [system-traders] display_indicator.pl and RSquare
Hi all,
I just stumbled across GeniusTrader and I have a question...
When I run display_indicator.pl on a stock with RSquare as the indicator, it
compares it to "14." What does this mean exactly, and how do I get it to
compare the stock to another stock to tell the correlation between the
movements of the two stocks?
I'd really like to learn GT in-depth, because I want to start contributing to
it - I know some Perl, and I know some OO, but not much in the way of OO in
Perl. I'll meander to the devel list eventually, when I figure out how to
use GT so I can fiddle with the internals.
Thanks,
Alex