StockFetcher Forums · General Discussion · Is there a way to store historical values of user defined variables<< >>Post Follow-up
alkamyst
1 posts
msg #139739
Ignore alkamyst
12/2/2017 1:42:59 PM

I'm trying to see if there is a way to do store historical values.

It might be to do something similar to the following in the filters:

1) Example 1

Price crosses above MA(20)
and price is greater than the value of MA(20) the last time price crossed above MA(20)

I understand that set { } can be used to create user defined variables but can't figure out how to store the "value of MA(20) the last time price crossed above MA(20)"

Similarly, lets say we want to create a counter that adds to itself.

2) Example 2:
Set {value1, value1 + 1}

but that gives an error so I tried
Set {value1, value1 of 1 days ago + 1}

How would I do example (1) and example(2)?


StockFetcher Forums · General Discussion · Is there a way to store historical values of user defined 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.