Logo van Stop Loss Strategies

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

Overzicht

UitgeverShubhamkumartrichy
Repositoryclaude-trading-skills-india
Skillnaamstop-loss-strategies
Sterren
57
Forks
11
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door Shubhamkumartrichy op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Stop Loss Strategies in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/Shubhamkumartrichy/claude-trading-skills-india/tree/main/skills/stop-loss-strategies
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Stop Loss Strategies in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Stop Loss Strategies automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Stop Loss Strategies niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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

Veelgestelde vragen

Wat doet de AI-skill 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 fo...

Waarom Stop Loss Strategies gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Stop Loss Strategies bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Stop Loss Strategies in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/Shubhamkumartrichy/claude-trading-skills-india/tree/main/skills/stop-loss-strategies. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Stop Loss Strategies gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Stop Loss Strategies gebruiken?

Zoveel als je wilt. Je kunt Stop Loss Strategies gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Stop Loss Strategies gratis?

Ja. Deze skill is door Shubhamkumartrichy op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇