bhala-srinivash/nse-trading-skills

stop-loss-strategies

Stop-loss placement strategies for NSE/BSE equity trades.

ソースを見る

使い方

  1. インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
  2. 必要なツール、認証情報、対応環境を原文で確認します。
  3. 入力と成果物を指定し、出力を資料と照合します。
npx skills add https://github.com/bhala-srinivash/nse-trading-skills --skill stop-loss-strategies

開始前の確認

  • 導入にはモデル契約、API枠、ファイルへのアクセス許可は含まれません。
  • スター数や導入数は活動の指標であり、独立した品質・安全性試験ではありません。
リポジトリの原文

見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。

Stop-Loss Strategies

A stop-loss is not optional. Every position needs one before entry. The purpose is to cap your maximum loss — not to predict where price will go.

Prerequisites

No dependencies required. Provide entry price and key levels manually. Enhanced with Groww MCP (candles, ATR, MAs) or yfinance (pip install yfinance).

Data Needed

  1. Entry price: Known or planned
  2. Recent candles: fetch_historical_candle_data (daily, last 60 days) or user-provided levels
  3. ATR(14): get_historical_technical_indicators from Groww, or calculate manually
  4. Key S/R levels: From technical-analysis skill or swing highs/lows
  5. Moving averages: SMA20, SMA50, SMA200

Stop Type Selection

MethodBest ForHow to Calculate
Structure-basedSwing trades, clear chart patternsBelow recent swing low (long) or above swing high (short)
ATR-basedVolatile stocks, no clear structureEntry - ATR(14) × 1.5 to 2.0
Support/ResistanceRange-bound markets, clear levelsBelow key support level + buffer
Moving AverageTrend-following tradesBelow SMA20 (aggressive) or SMA50 (conservative)

Structure-Based (Preferred)

Find the most recent swing low (for longs) that, if broken, would invalidate your trade thesis.

Stop = Recent swing low - buffer
Buffer = 0.5% for large-caps, 1% for mid/small-caps

ATR-Based

Adapts to the stock's natural volatility:

Stop (long) = Entry - ATR(14) × multiplier
Stop (short) = Entry + ATR(14) × multiplier

Multiplier: 1.5 (tight) to 2.0 (standard) to 2.5 (loose)

Support/Resistance-Based

Place stop just below a confirmed support level:

Stop = Support level × (1 - buffer%)
Buffer: 0.5% large-cap, 1.0% mid/small-cap

Only use levels with at least 2 historical touches.

Moving Average-Based

For trend-following positions:

Aggressive: Stop below SMA20 (for short-term trends)
Moderate: Stop below SMA50 (for medium-term trends)
Conservative: Stop below SMA200 (for long-term holds)

Best when MA is clearly sloping in your direction.

Buffer Rules

  • Round stop to nearest Rs.5 or Rs.10 for cleaner levels
  • Use closing price as trigger, not intraday wicks (unless day trading)
  • Add extra buffer if the stock has a history of stop-hunting wicks
  • For illiquid stocks (avg volume < 50K/day), use wider buffers (1.5-2%)

Hard Rules

These are non-negotiable:

  1. Max loss per trade: 2% of capital (1% if using leverage)
  2. Never move stop further away — only tighten or leave unchanged
  3. If stop hits: exit immediately at next open. No "let me wait for close"
  4. Pre-set the stop: Decide before entering. Don't adjust based on emotions after entry
  5. No mental stops: Use actual stop-loss orders on Groww if possible, or set hard price alerts

Stop Validation

Before finalizing, check:

  • [ ] Is the stop beyond normal noise? (At least 1× ATR away from entry)
  • [ ] Does the position size at this stop keep risk within limits?
  • [ ] Is the R:R ratio still acceptable? (→ check with risk-reward-ratio skill)
  • [ ] Is the stop below a meaningful technical level, not just a round number?
同じリポジトリから

関連する Skills

すべての Skills
bhala-srinivash
コミュニティ

fibonacci-trading

Fibonacci retracement and extension trading for NSE/BSE equities. Covers entry zones using retracement levels, profit targets using extension levels, and confluence zone identification. Use when the user asks: "fib levels for [stock]", "Fibonacci retracement", "fib extensions", "where to enter on pullback", "what are the retracement levels", "golden ratio level", "Fibonacci targets", or any question about Fibonacci-based trading levels for Indian equities.

1時間の導入数
1
GitHub Stars
63
更新日
3月5日
bhala-srinivash
コミュニティ

multi-timeframe-analysis

Multi-timeframe analysis using the 3-screen method for NSE/BSE equities. Higher timeframe sets bias, primary timeframe identifies setup, lower timeframe times the entry. Includes confluence scoring system. Use when the user asks: "what's the weekly trend", "daily vs weekly", "multi-timeframe check", "higher timeframe analysis", "3-screen analysis", "trend on different timeframes", "weekly bias for [stock]", or any question about analyzing a stock across multiple timeframes.

1時間の導入数
1
GitHub Stars
60
更新日
3月5日
bhala-srinivash
コミュニティ

nse-trading-toolkit

Master orchestrator for Indian NSE/BSE equity trading analysis via Groww broker. Routes to specialized framework skills: technical analysis, position sizing, stop-loss, trailing stops, risk-reward, multi-timeframe, RSI divergence, and Fibonacci trading. Use this skill whenever the user asks to: analyze a stock, check a position, decide buy/sell/hold, plan entries/exits, or do any comprehensive trading analysis for Indian equities. Triggers on: "analyze [stock]", "should I buy/sell [stock]", "che

1時間の導入数
1
GitHub Stars
60
更新日
3月5日
bhala-srinivash
コミュニティ

position-sizing

Calculate optimal position sizes for NSE/BSE equity trades using fixed fractional, ATR-based, and Kelly criterion methods. Includes portfolio constraints and leverage adjustments. Use when the user asks: "how many shares to buy", "position size for [stock]", "how much to invest in [stock]", "calculate lot size", "risk per trade", or any question about how much capital to allocate to a trade. Also triggers on portfolio allocation and leverage sizing questions.

1時間の導入数
1
GitHub Stars
60
更新日
3月5日