Trend-following pullback and breakout scanner
NSE Swing Trading Stock Scanner — Python / Google Colab The goal is to build a rule-based scanner that automatically finds promising NSE cash-market stocks, ranks them by trend strength and trading volume, and calculates entry, stop-loss, target, and position size for a capital base of ₹2–10 lakh. I recommend starting with a trend-following pullback and breakout scanner. Rather than buying every stock showing momentum, it looks for stocks in an established uptrend that are either breaking above resistance or pulling back towards support. The scanner will generate a shortlist for your review. It will not automatically place orders. 1. Scanner design The intended holding period is approximately 1–10 trading days, with daily candles used to generate signals after market close. 2. Screening rules These are the initial parameters. Treat them as hypotheses to validate through historical testing, not as proven profitable settings. Filter Initial rule Purpose Trend Close > 50 DMA >...