Posts

Trend-following pullback and breakout scanner

Image
  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 >...

NIFTY Trend-Pullback Options System: Intraday: Rules-based · Long calls and puts

NIFTY Options Intraday Trading Strategy Rule-based trading plan · NSE India NIFTY Options Intraday Trading System A trend-following pullback strategy for intraday NIFTY call (CE) and put (PE) buying, with defined entry conditions, risk controls, position sizing, and a Python backtesting blueprint. Important: This is a strategy framework to test, not a live trading signal or a promise of profitability. Options can lose the entire premium paid. Risk per trade 0.25% Starting test setting Daily loss limit 0.75% Of trading capital Maximum trades 3/day Including re-entries Target / risk 1.5 : 1 Minimum planned ratio Market context: Sunday, October 18, 2026, is not a regular NSE trading session. The prior session's levels are historical references only. Re-check the exchange calendar, live prices, opening gap, volatility, and fresh price action before trading the next session. 1. Strategy overview and market bias The system combines trend di...

Risk Management Rules in Trading

  Risk Management Rules in Trading: Protect Your Capital with Python Introduction: Why Risk Management Is More Important Than Entry Signals Most traders spend hours searching for the perfect entry signal. They study RSI, MACD, moving averages, Bollinger Bands, candlestick patterns, and breakout strategies. But even a good trading strategy can lose money when risk is not controlled. Consider two traders. Trader A enters a trade without a predefined stop-loss and keeps holding a losing position in the hope of a recovery. Trader B calculates the maximum acceptable loss, determines the correct position size, and exits when the trading setup becomes invalid. Both traders may make the same initial mistake, but their final financial outcomes can be very different. The purpose of risk management is to control how much capital is exposed to potential losses, preserve the ability to trade again, and make decisions consistently. This tutorial explains ten practical risk management rules for...

AI NIFTY 50 Stock Scanner with Python

  AI NIFTY 50 Stock Scanner with Python – Complete Beginner's Guide Build Your Own AI Stock Scanner in Google Colab Imagine opening your computer every morning and asking: Which NIFTY 50 stocks currently have the strongest technical and AI-based setup? Instead of manually checking 50 stocks one by one, Python can do much of this work automatically. The AI NIFTY 50 Stock Scanner presented in this tutorial downloads historical stock-market data, calculates technical indicators, trains machine-learning models, predicts the probability of a positive 5-day return, applies trend and volume filters, calculates entry/stop-loss/target levels, ranks stocks and finally exports the results to Excel. The complete program is designed to answer a question such as: "Which NIFTY 50 stocks currently have the strongest combination of AI probability, expected return, trend, momentum and volume?" This article explains the uploaded Python program from the ground up so that even someone with v...