StockFetcher Forums · General Discussion · Bug in variables?<< >>Post Follow-up
sammyn
81 posts
msg #145167
Ignore sammyn
modified
11/1/2018 8:42:57 AM

don't know quite where to put this, but this appears to be a concerning bug in variables.

If I set a variable to "90", the "0" is dropped, and the value of the variable is only "9".

is this a known issue?

For example:
Fetcher[apply symlist(spy)
set{lrdays, 90}
draw Linear Regression(lrdays,1)
chart-time is 4 months
]



and here is "90" hard coded
Fetcher[apply symlist(spy)
draw Linear Regression(90,1)
chart-time is 4 months
]



and here is "9" hard coded

Fetcher[apply symlist(spy)
draw Linear Regression(9,1)
chart-time is 4 months
]





sammyn
81 posts
msg #145168
Ignore sammyn
11/1/2018 9:10:01 AM

In case anyone else is interested, just heard back from SF.

You cannot use variables as parameters in indicators

StockFetcher Forums · General Discussion · Bug in variables?<< >>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.