StockFetcher Forums · General Discussion · Calculate Indicator SINCE an Event<< >>Post Follow-up
jared_lee_miller@yahoo.com
5 posts
msg #158743
Ignore jared_lee_miller@yahoo.com
3/7/2022 12:14:23 PM

Hey friends. Really love these forums. Question: If I wanted to calculate an indicator since an event occurred - how would I do this? For instance - assume volume spike 180 days ago and I want to calculate volume since then, or volume for the last 179 days - how would I do this? I believe this is a simple case on a stock-by-stock basis, ie, sum(Volume, 179). However - how do I do this in the general case for all stocks in a scan, when they would have had their event at different times and the sum would be for different amounts of days?

Thank you so much.

J

jared_lee_miller@yahoo.com
5 posts
msg #158750
Ignore jared_lee_miller@yahoo.com
3/8/2022 11:38:03 AM

Any thoughts anyone? I appreciate any feedback.

Mactheriverrat
2,983 posts
msg #158751
Ignore Mactheriverrat
3/8/2022 11:46:31 AM

I think the only way you can do what your asking is through visual looking at charts

draw Average Volume(30)
chart-time is 7 months

nibor100
938 posts
msg #158762
Ignore nibor100
3/9/2022 12:22:37 PM

@jared_lee_miller@yahoo.com,

Since the SF SUM function does not take a variable for its number of days to sum up, it makes what you want to achieve nearly impossible in SF.

If you are only interested in cumulative Volume totals for a specified number of days for each different stock in the filter results; there might be a possible workaround using the SF variable Offset command in combination with the SF accumulation distribution command and some math manipulations but it will be messy if it can be made to work...

Ed S.

jared_lee_miller@yahoo.com
5 posts
msg #158766
Ignore jared_lee_miller@yahoo.com
3/9/2022 4:06:34 PM

Thank you. I appreciate the responses. I've played with a lot of routes but haven't quite solved this properly yet.

Eman93
4,749 posts
msg #158943
Ignore Eman93
4/6/2022 12:55:56 PM

This is what is needed, the ability to make your own custom indicator, you could create a screen and plot out the results over time, 10 results yesterday 15 results today.... ect.

you could use that custom indicator on other screens, it would be hugely valuable in order to see what other market participants are doing across the entire market, running a screen on the SPY is just to latent you cant see what is going on inside the index.

Imagen if you could plot a custom indicator, for example the leaders closing up or down... follow the smart money.

StockFetcher Forums · General Discussion · Calculate Indicator SINCE an Event<< >>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.