StockFetcher Forums · General Discussion · Help with script scan to be scanning for "2 days ago"<< >>Post Follow-up
traderedcheong
1 posts
msg #160974
Ignore traderedcheong
3/24/2024 4:16:19 AM

Hi, i like this "Gap Up on Volume" scan that was provided.
However i want to modify it to find the stocks search result if it was done 2days ago.
I tried changing the "days" and it doesnt seems to work.
Can anyone point out what is wrong? Thank you

Original
Gap Up On Volume

show stocks where open is more than 5% above close 1 day ago
and volume is more than 100% above average volume(30) 1 day ago
and draw MA(50)
and draw MA(200)
set{market_cap, shares outstanding * close}
show stocks where market_cap is above 30000
and add column market_cap


I tried changing to
Gap Up On Volume_2DaysAgo

show stocks where open is more than 5% above close 3 day ago
and volume is more than 100% above average volume(30) 3 day ago
and draw MA(50) 2 day ago
and draw MA(200) 2 day ago
set{market_cap, shares outstanding * close}
show stocks where market_cap is above 30000
and add column market_cap


xarlor
587 posts
msg #160976
Ignore xarlor
3/24/2024 10:22:48 AM

You forgot to compare against the open and the volume 2 days ago:

Fetcher[
show stocks where open 2 days ago is more than 5% above close 3 days ago
and volume 2 days ago is more than 100% above average volume(30) 3 days ago
and draw MA(50)
and draw MA(200)
set{market_cap, shares outstanding * close}
show stocks where market_cap is above 30000
and add column market_cap
]



StockFetcher Forums · General Discussion · Help with script scan to be scanning for "2 days ago"<< >>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.