Stop Loss Strategies logo

Stop Loss Strategies

Community
Shubhamkumartrichy
stop-loss-strategies

Initial stop-loss placement and execution for NSE/BSE stocks and F&O: structure, ATR, S/R and moving-average stops with buffers, plus Indian execution realities — SL vs SL-M vs GTT, DAY validity of stop orders, gap and circuit risk, closing-basis stops on a 30-minute VWAP close, stop-hunting around round numbers and OI strikes, and option premium vs underlying stops. Use when the user asks: "where should I put my stop-loss", "stop for X", "how do I protect this trade", "GTT or SL order", "my stop didn't trigger / got skipped", "stop on my option", or anything about initial stop placement for Indian equity or F&O trades.

Add to TypingMind

Overview

PublisherShubhamkumartrichy
Repositoryclaude-trading-skills-india
Skill namestop-loss-strategies
Stars
57
Forks
11
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 Shubhamkumartrichy 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/Shubhamkumartrichy/claude-trading-skills-india/tree/main/skills/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/Shubhamkumartrichy/claude-trading-skills-india.git /tmp/claude-trading-skills-india
mkdir -p .claude/skills
cp -r /tmp/claude-trading-skills-india/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

Decide the stop before entry. It caps loss when the trade thesis is wrong. It is not a price prediction.

1. Where (method)

MethodBest forLong-side rule
Structure (preferred)Swing trades with clear swingsBelow the swing low that invalidates the idea − buffer
ATRNo clean structure, volatile namesEntry − 1.5–2.5 × ATR(14)
S/RRanges, well-tested levels (≥2 touches)Below support × (1 − buffer)
Moving averageTrend-followingDaily close below SMA20 (fast), SMA50 (medium), SMA200 (positional)

Buffers: 0.5% for large caps, 1% for mid/small caps, and 1.5–2% for illiquid names (under about ₹5 crore daily value). Don't place the stop exactly at round numbers (₹1,000, NIFTY 24,500) or at the biggest put-OI strike. Those are where everyone else's stops sit and where stop-hunting wicks reach. Go beyond them.

Get levels and ATR from ta.py summary. It prints ATR stops and the structure stop with buffer.

2. Validation

  • At least 1 ATR from entry (otherwise it sits inside daily noise).
  • Wider than the typical overnight gap (ta.py summary prints 60-day gap statistics).
  • The resulting size keeps risk ≤ 1–2% of capital (risk.py size).
  • R:R ≥ 1.5–2 after costs (risk.py rr).
  • It sits beyond a real technical level, not at a convenient round number.

3. How (Indian execution mechanics)

  • SL orders are DAY orders. A stop-loss order for a delivery (CNC) holding expires at 15:30. For a stop that lives across days, place a GTT (good-till-triggered; Zerodha, Groww, Upstox, Dhan and others support it), or re-enter the SL every morning.
  • GTT on trigger places a LIMIT order. If the stock gaps below both trigger and limit, it won't fill. Set the GTT limit 1–2% below the trigger in volatile names, and watch results days manually.
  • SL (stop-limit) needs a limit beyond the trigger, for example trigger ₹980 and limit ₹975. A zero-gap SL often fails to fill in fast moves.
  • SL-M (stop-market) is blocked by many brokers for options and illiquid contracts, and has caused freak fills. Prefer SL-limit.
  • Closing-basis stops use the daily close, which on NSE is the VWAP of 15:00–15:30. Check near 15:20–15:25 and exit in the closing session if the stop is breached. The post-close session (15:40–16:00) trades only at the official close.
  • Circuits. In a lower circuit there are no buyers, so no stop executes. For band-limited stocks, size smaller instead of trusting the stop.
  • MIS positions auto-square around 15:15–15:25 regardless of your stop, often for a fee. Exit yourself first.

4. F&O stops

  • Futures: stop on the underlying or futures chart with the same methods. Use SL-limit with a buffer. Freeze-quantity limits apply to large orders.
  • Long options: stop on the underlying level that invalidates the view, not a fixed premium %, because premium moves are non-linear and theta erodes it. Add a time stop: exit if the move hasn't happened within N sessions.
  • Short options: define the exit as underlying crossing a level, or premium reaching 1.5–2× the credit. Use hedges (spreads) so the worst case is capped even if the stop fails on a gap.
  • Illiquid strikes have wide spreads. Market stops there can fill far away.

5. Hard rules

  1. Max loss per trade is 1–2% of capital (≤1% with leverage).
  2. Never widen a stop. Only tighten it or leave it.
  3. When the closing-basis stop is breached, exit in the closing session or at the next open. Don't wait for "one more day".
  4. Set the stop before entry. Don't move it on emotion after entry.
  5. Put the stop in the system (GTT or SL). A mental stop plus an alert is acceptable only if you will actually watch the market.

Output

Stop: ₹S (method: structure below swing low ₹L dd-mmm − 0.5% buffer)
Distance: ₹d (x% | y ATR) | wider than 60-day max gap? yes/no
Execution: GTT trigger ₹S, limit ₹S−b (or SL trigger/limit for today), closing-basis check at 15:25
Validation: size ok (risk r%) | R:R after costs z

Frequently asked questions

What does the Stop Loss Strategies AI skill do?

Initial stop-loss placement and execution for NSE/BSE stocks and F&O: structure, ATR, S/R and moving-average stops with buffers, plus Indian execution realities — SL vs SL-M vs GTT, DAY validity of stop orders, gap and circuit risk, closing-basis stops on a 30-minute VWAP close, stop-hunting around round numbers and OI strikes, and option premium vs underlying stops. Use when the user asks: "where should I put my stop-loss", "stop for X", "how do I protect this trade", "GTT or SL order", "my stop didn't trigger / got skipped", "stop on my option", or anything about initial stop placement fo...

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/Shubhamkumartrichy/claude-trading-skills-india/tree/main/skills/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 Shubhamkumartrichy 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 👇