StockFetcher Forums · General Discussion · Static Variables for Count ?<< >>Post Follow-up
chasS
7 posts
msg #139147
Ignore chasS
11/7/2017 7:40:44 PM

Hi,

I'm new to stockfetcher and am quite impressed; of course it's a problem, though, that triggers a first post.

Several forum posts in the past concluded that it's not possible to for Count() to evaluate a variable that remains static during Count() execution, the most recent of these posts is from 2012 --

http://www.stockfetcher.com/forums2/Filter-Exchange/How-to-count-number-of-times-a-stock-made-the-same-change-as/108908/-1/108909

DATE was introduced in 2016, so I tried to get Count to eval a var statically as below, but that also failed.

set { l_lower_by_d01, DATE(20171103,low) - 0.01 }
set {l_count, count(low > l_lower_by_d01,5) }

In the 5 years since the most recent post I found on this subject, is there any way to get Count() to evaluate a variable statically ?

byebyemoney
31 posts
msg #144350
Ignore byebyemoney
8/8/2018 4:36:09 PM

I believe a lot of people are frustrated that variables can not be stored statically/constants/by value

StockFetcher Forums · General Discussion · Static Variables for Count ?<< >>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.