I built a stage 2 stock screener in TradingView and am contemplating if buy & hold is better after all
TLDR: I am an amateur to swing trading. Know almost zero about coding or algo trading as well. My goal is to generate some sort of monthly income and beat S&P500 returns from trading. Tried reading a few books by Mark Minervini + Stan Weinstein and decided to try something fun with the AI tools out there. Spent weeks building a "perfect" trading strategy, backtested it, and got destroyed by buy & hold. Learned that stock selection >> timing. Pivoted to building a screening tool instead and am having serious doubts on whether if buy and hold strategy of quality stocks is better after all. Please rain me with all your brutal honest feedback on whether if I'm heading in the right or wrong direction.
The Process:
-
Went on reddit and searched for "the best books to learn swing trading".
-
Downloaded all the ebooks listed there
-
Asked ChatGPT what it needs to build a perfect swing trading strategy on TradingView (Pine script). ChatGPT came up with parameters like Entry Conditions, Stop Loss rules, etc etc.
-
Went to NotebookLLM, uploaded all the ebooks into 1 conversation, pasted the parameters requested by ChatGPT and asked it to answer those based on the information from those books.
-
Pasted NotebookLLM's response back to ChatGPT. Only from there i realised ChatGPT sucks at coding pine scripts (had so many error messages) and Claude was better.
-
Turned to Claude and from there had a LENGTHY conversation (the below summarised by Claude):
What I Tried to Build
A Pine Script strategy using Mark Minervini/William O'Neil methods:
- 8-criteria Trend Template
- VCP patterns
- Volume confirmation
- Pivot breakouts
- Stop losses and targets
Problem 1: Tested on NVDA and AAPL. Got zero trades.
Too many filters required perfect alignment. That never happened.
Problem 2: Losing Money
Relaxed the filters. Got trades but lost money.
- Win rate: 60%+
- Still negative P&L
Why? Exits were terrible:
- 7.5% stops hit on normal pullbacks
- 20% targets rarely reached
- Small losses > occasional wins
Problem 3: Can't Beat Buy & Hold
Backtested 2015-2025:
NVDA:
- Buy & Hold: +1,500%
- Strategy: +47%
AAPL:
- Buy & Hold: +300%
- Strategy: +26%
By the time all criteria aligned, stocks had already moved 30-50% from base. Entering late = missing the best gains.
-----------
The Realization
Trying to time NVDA in 2024 is pointless. Should be finding the next NVDA in 2015. The problem wasn't timing. It was stock selection.
What we privoted to build Instead
A Stage 2 Qualifier Indicator that:
- Scores stocks 0-100 on 8 trend criteria
- Shows green label when Stage 2 confirmed (100/100)
- Color backgrounds: green = hold, yellow = caution, orange = danger, red = exit
- Warning system before major breakdowns
The Scoring System
🟢 100/100: Stage 2 active, hold
🟡 87.5-100: Weakening, watch closely
🟠 50-75: Stage 3 probable, prepare exit
🔴 <50: Exit now
Usage:
-
Screen small/mid-caps with good fundamentals
-
Apply indicator
-
Buy when score = 100/100
-
Hold through pullbacks
-
Exit on red signals (death cross or 200MA break)
The 8 Criteria
- Price > 150 MA and 200 MA
- 150 MA > 200 MA
- 200 MA trending up
- 50 MA > 150 MA and 200 MA
- Price > 50 MA
- Price ≥ 30% above 52-week low
- Price within 25% of 52-week high
- Outperforming SPY
All 8 met = Stage 2 confirmed = 100/100 score
Manually Screened:
- Market Cap: $500M - $50B (small to mid-cap sweet spot)
- Sector: Focus on growth sectors (Tech, Healthcare, Consumer)
- Price: $5 - $200 (avoid penny stocks)
- Average Volume: > 500,000 shares/day
- 52-Week Performance: +30% to +200% (showing momentum but not parabolic)
- Institutional Ownership: < 50% (still undiscovered)
- Revenue Growth: > 20% YoY (last 2 quarters)
- Earnings Growth: Positive and accelerating
- Profit Margins: Expanding (not contracting)
- Debt/Equity: < 0.5 (strong balance sheet)
--------
What I Learned
- More filters ≠ better. Over-optimization kills performance.
- Exits matter more than entries.
- Moving averages lag. Late entries = missed gains.
- Finding the right stock >> perfect timing.
- Buy & hold is hard to beat on strong trends.
- The edge is finding emerging leaders early, not timing obvious ones.
--------
What the screener does well
- Quick screening
- Identifies Stage 2 trends
- Early exit warnings
- Keeps you out of declining stocks
What it doesn't do
-
Catch the earliest entries
-
Beat buy & hold on mega-caps
-
Work in choppy markets
-
Replace fundamental research
Bottom Line of all of this?
Based on all these information and the stocks i tested on so far, swing trading isn't beating buy and hold. The key here seems to be that it's more crucial to find "yet to be discovered" superperformers and then enter just when they are breaking out into stage 2. I know what I said may be sounding like an idiot and that I just went one whole round to realise what was already said in the books. But this is definitely making me second guess whether if it's better to go back to DCA-ing in index funds or try day trading instead.
Happy to share the code if anyone wants to take a deeper look at it and provide feedback. Thanks guys.
Posted Dec 1, 2025, 3:59 AM UTC