StockFetcher Forums · Filter Exchange · ChatGPT Momentum Scan<< >>Post Follow-up
snappyfrog
745 posts
msg #161873
Ignore snappyfrog
7/4/2025 3:25:22 PM

Xarlor, thanks for getting me started with ChatGPT. I am testing everything that it spits out
that I have an interest in trying. So far it is nothing earth shattering, but this is just a start.

Here are the results of my question to help me write a momentum filter for StockFetcher.

Common Criteria for a Momentum Swing Trading Scan:
Price above moving averages (e.g., 20-day and 50-day MA) → shows bullish trend.
High relative strength (RSI), but not overbought (e.g., RSI(14) between 50 and 70).
High volume (volume spike or above average) → indicates strong interest.
Price breakout above recent resistance → suggests momentum breakout.
Optional filters: price range, ATR, market cap, etc.
Fetcher[
show stocks where
close is above MA(20)
and MA(20) is above MA(50)
and RSI(14) is above 50
and RSI(14) is below 70
and average volume(10) is above 500000
and volume is above average volume(10)
and close is above high 10 days ago
and close is between 5 and 150
and optionable
and market cap is above 500 million
sort by percent change(1 day) descending
]


Explanation:
close is above MA(20) → momentum is positive short-term.
MA(20) is above MA(50) → trend confirmation.
RSI(14) between 50 and 70 → strength but not overbought.
volume > avg vol(10) → confirming interest.
close above high 10 days ago → breakout.
close between 5 and 150 → price filter for liquidity.
optionable → ensures the stock has options available.
sort by % change(1 day) → shows strongest recent movers.

Variations You Can Add:
MACD bullish crossover
ADX above 20 or 25 for trend strength
Gap-up filter (e.g., open 3% above previous close)
Inside bars / consolidation patterns

Would you like me to adjust this scan to focus more on options trading, faster breakouts, or low-float stocks?

risjr
230 posts
msg #161874
Ignore risjr
7/4/2025 6:48:19 PM

Yes please

xarlor
604 posts
msg #161875
Ignore xarlor
7/5/2025 12:40:52 AM

I've yet to find a better momentum filter than Graftonian's Hull MA50. Just so much winning:

Fetcher[
/* Hull MA50 + momentum
https://www.stockfetcher.com/forums/Filter-Exchange/Hull-MA50-momentim/147214/99999 */

optionable
Average Volume(30) > 5000000
market not etf

/*HULL MA50 */
set{slow1, cwma(close, 25)}
set{slow2, 2 * slow1}
set{slow3, cwma(close, 50)}
set{valslow, slow2 - slow3}
set{H50, cwma(valslow, 7)}
draw H50 on plot price
/**/
set{trigger1, count(close crossed above H50, 1)}
set{trigger2, count(slope of H50 > 0.1, 1)}
set{trigger3, count(StochRSI(5,5) > .8, 1)}
set{trigger4, trigger1 * trigger2}
set{trigger, trigger4 * trigger3}
trigger equals 1
draw trigger

draw StochRSI(5,5)
draw StochRSI(5,5) line at .8
add column 2 day slope of H50
sort on column 5 descending
]



However, if you ask ChatGPT to analyze the filter and offer suggestions, it brings up some interesting ideas to pursue. One such is:

Look for Pullbacks Into Strength
You're chasing the initial breakout right now. That’s fine, but momentum strategies often benefit from buying the first pullback after the breakout. Consider a second filter variant where:

H50 slope is still positive
Price is near or slightly below H50
StochRSI is recovering from oversold (<0.2 to >0.5)

This can complement your current "fresh breakout" style.
I've not played around with any of its suggestions, but it can send you down so many rabbit holes that you may not have spotted before.

StockFetcher Forums · Filter Exchange · ChatGPT Momentum Scan<< >>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.