glgene 616 posts msg #60935 - Ignore glgene |
4/1/2008 11:49:27 AM
Having trouble with a simple script that would show stocks that crossed above StochRSI(14) at .20
The .20 is messing me up. ?????
|
maxreturn 745 posts msg #60936 - Ignore maxreturn |
4/1/2008 12:00:55 PM
Gene, this seems to work for me:
Regards
Max
|
glgene 616 posts msg #60970 - Ignore glgene |
4/2/2008 6:53:37 AM
Thanks. Don't know why I didn't try that.
|
glgene 616 posts msg #60972 - Ignore glgene |
4/2/2008 10:04:08 AM
Max,
When I use the script, "StochRSI(14) crossed above .20"
the chart reflects StochRSI(14,3). What does the 3 mean? How would I get around the 3?
|
maxreturn 745 posts msg #60973 - Ignore maxreturn |
4/2/2008 10:13:07 AM
Hello Gene. Go to the home page and on the right hand side of the page you'll find the "Help" section underneath the "MyAccount" section. Click on "Indicator Index". Locate StochRSI and click on it. That will give you an explanation of the construction of this indicator.
|
nikoschopen 2,824 posts msg #60977 - Ignore nikoschopen |
4/2/2008 11:40:08 AM
By definition, the StochRSI is constructed by applying the formula used for the stochastic on the RSI. So my guess is that the StochRSI(14,3) refers to the 3-period stochastic setting applied to the RSI(14).
Note that you can also change the second parameter to any other number beside 3 (eg. StochRSI(14,7) above 30).
|
glgene 616 posts msg #60995 - Ignore glgene |
4/2/2008 4:46:36 PM
Niko, Thanks, too, for your help.
I simply get different charting results. One I use StochRSI(14) and the other (inside Stockfetcher) at StochRSI(14,3). The example in the Stockfetcher manual uses StochRSI(14,14). Do you think StochRSI(14) and StochRSI(14,14) would produce the same results?
|
glgene 616 posts msg #60997 - Ignore glgene |
4/2/2008 4:51:58 PM
Here are the results for today:
stochrsi(14) crossed above .20 === 584 matches
stochrsi(14,3) crossed above .20 === 584 matches
stochrsi(14,14) crossed above .20 == 414 matches
Thus, stochrsi(14) must have an implied 3 as the second integer
I still don't understand what the 2nd number represents.
|
nikoschopen 2,824 posts msg #61004 - Ignore nikoschopen modified |
4/2/2008 6:14:17 PM
If you break down the StochRSI(14,3), you would essentially get the following:
code
StochRSI(14,3) =(Today's RSI(14) - lowest RSI(14) over the last 3 days) 覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧 (highest RSI(14) over the last 3 days - lowest RSI(14) over the last 3 days) | |
---|
|