glgene 616 posts msg #94850 - Ignore glgene |
7/17/2010 1:15:28 PM
Having trouble with the 'set' command.
Here is my script (I'm just trying to make sure that I'm using 'set' properly. If I am, I should get identical results. I'm not (see results below). Here's my test script:
Here are my results (after the July 16, 2010 close on VTI).
RSI(10) = 44.46, R1=55.14. I want them to be the same.
RSI(30) = 44.95, R2=56.06. I want them to be the same.
What did I do wrong with the script? This is just part of my desired script. First, I've got to get this segment working properly.
Thanks in advance to anyone who can shed light on my scripting problem.
|
welliott111 98 posts msg #94851 - Ignore welliott111 |
7/17/2010 1:41:54 PM
r1 and r2 are StockFetcher abbreviations for pivot points, just change the variable to something else.
|
glgene 616 posts msg #94853 - Ignore glgene |
7/17/2010 3:01:23 PM
Yep, that did it! Changed R1 to R3, and R2 to R4. Got the identical results I needed. Thanks.
That said, have you seen any scripts using R1 and R2 for pivot points?
|
welliott111 98 posts msg #94854 - Ignore welliott111 |
7/17/2010 4:32:04 PM
click
|
glgene 616 posts msg #94860 - Ignore glgene |
7/17/2010 7:32:16 PM
That's 2 for 2 positive responses from you in a VERY timely manner. Thanks... I really appreciate it.
Zack
|