Stop Loss Strategies logo

Stop Loss Strategies

Community
Bhala-Srinivash
stop-loss-strategies

Stop-loss placement strategies for NSE/BSE equity trades. Covers structure-based, ATR-based, support/resistance-based, and moving average-based stops with buffer rules and hard limits. Use when the user asks: "where to set stop-loss", "stop-loss for [stock]", "how to protect this trade", "what's a good stop level", "risk management for [position]", or any question about initial stop-loss placement for Indian equity trades.

Overview

PublisherBhala-Srinivash
Repositorynse-trading-skills
Skill namestop-loss-strategies
Stars
59
Forks
25
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Bhala-Srinivash on GitHub. Read the source before you install it.

Installation

Install the Stop Loss Strategies AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Bhala-Srinivash/nse-trading-skills/tree/master/stop-loss-strategies
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Bhala-Srinivash/nse-trading-skills.git /tmp/nse-trading-skills
mkdir -p .claude/skills
cp -r /tmp/nse-trading-skills/stop-loss-strategies .claude/skills/stop-loss-strategies
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Stop Loss Strategies in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Stop Loss Strategies on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Stop Loss Strategies is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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?

Frequently asked questions

What does the Stop Loss Strategies AI skill do?

Stop-loss placement strategies for NSE/BSE equity trades. Covers structure-based, ATR-based, support/resistance-based, and moving average-based stops with buffer rules and hard limits. Use when the user asks: "where to set stop-loss", "stop-loss for [stock]", "how to protect this trade", "what's a good stop level", "risk management for [position]", or any question about initial stop-loss placement for Indian equity trades.

Why use Stop Loss Strategies on TypingMind?

Because you install it once and use it with any model. Stop Loss Strategies is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Stop Loss Strategies in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Bhala-Srinivash/nse-trading-skills/tree/master/stop-loss-strategies. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Stop Loss Strategies?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Stop Loss Strategies?

As many as you like. As long as a model supports skills, you can use Stop Loss Strategies with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Stop Loss Strategies AI skill free?

Yes. It is published on GitHub by Bhala-Srinivash under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇