StockFetcher Forums · Filter Exchange · \'Set\' command problem<< >>Post Follow-up
glgene
613 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:

Fetcher[symlist(vti)
set{r1,rsi(10)}
set{r2, rsi(30)}
add column rsi(10)
add column r1
add column rsi(30)
add column r2
]



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
613 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
613 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

StockFetcher Forums · Filter Exchange · \'Set\' command problem<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2022 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.