Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
bhala-srinivash avatar

Trailing Stops

  • 85 installs
  • 32 repo stars
  • Updated March 5, 2026
  • bhala-srinivash/nse-trading-skills

Trailing Stops is an agent skill that explains progressive NSE/BSE trailing-stop methods to lock in profits while letting winners run.

About

Trailing Stops is an agent skill for Indian equity traders who want disciplined profit protection on NSE and BSE positions without guessing when to tighten risk. It walks through ATR-based trails, structure-based trails, moving-average trails, chandelier exits, and a recommended hybrid approach that stages behavior as unrealized profit grows—from holding the initial fixed stop through breakeven, ATR trailing, and structure-based protection. You can supply entry, current price, and ATR manually, or enrich the workflow with Groww MCP or yfinance for indicators and candles. Solo builders automating trading assistants or journaling tools install it so agents answer “how to trail,” “when to move to breakeven,” and stock-specific trailing questions with a consistent playbook instead of one-off chat advice.

  • Hybrid progressive system: fixed stop until 1R, breakeven at 1R, ATR trail from 2R, structure trail at 3R+
  • Five methods documented: ATR trail, structure trail, MA trail, chandelier exit, and recommended hybrid
  • Data inputs: entry/current price, ATR(14), swing lows/highs, SMA20/EMA50, and initial 1R risk
  • Optional Groww MCP or yfinance for live ATR, candles, and moving averages
  • Trigger phrases: trail my stop, lock in profits, breakeven stop, chandelier exit

Trailing Stops by the numbers

  • 85 all-time installs (skills.sh)
  • Ranked #538 of 1,106 Finance & Trading skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/bhala-srinivash/nse-trading-skills --skill trailing-stops

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs85
repo stars32
Security audit3 / 3 scanners passed
Last updatedMarch 5, 2026
Repositorybhala-srinivash/nse-trading-skills

What it does

Dynamically adjust stop-losses on profitable NSE/BSE equity positions using ATR, structure, MA, chandelier, and hybrid trailing rules.

Who is it for?

Developers or traders scripting NSE/BSE equity assistants who already have entry, stop, and price context and want hybrid trailing rules.

Skip if: Anyone seeking automated order placement, options-only strategies, or fundamentals research without an open profitable position.

When should I use this skill?

User asks how to trail a stop, trailing stop for a stock, lock in profits, breakeven stop, chandelier exit, or protecting gains on a favorable trade.

What you get

You get a staged trailing-stop plan (fixed, breakeven, ATR, structure) with concrete data inputs for your stock and position.

  • Recommended trailing method for current profit stage
  • Concrete stop level guidance using ATR, swings, or MAs

By the numbers

  • Five trailing methods: ATR, structure, MA, chandelier, and hybrid
  • Hybrid table stages profit from 0–1R through 3R+ with distinct trailing methods
  • ATR(14) and initial 1R risk are core inputs

Files

SKILL.mdMarkdownGitHub ↗

Trailing Stops

Once a trade is profitable, trailing stops protect your gains while letting winners run.

Prerequisites

No dependencies required. Provide entry, current price, and ATR manually. Enhanced with Groww MCP (live ATR, candles, MAs) or yfinance.

Data Needed

1. Entry price and current price: Known or from get_quotes_and_depth 2. ATR(14): get_historical_technical_indicators from Groww, or user-provided 3. Recent swing lows/highs: fetch_historical_candle_data (daily) 4. Moving averages: SMA20, EMA50 from indicators 5. Initial risk (1R): Entry - original stop-loss

The Hybrid Approach (Recommended)

This progressive system adapts as the trade matures:

Trade StageProfit LevelTrailing Method
Just entered0 to 1RFixed stop — don't trail yet, use initial stop-loss
Early profit1R gainedMove to breakeven — stop at entry price (eliminates risk)
Building profit2R gainedATR trail — highest close minus ATR(14) × 1.5
Strong runner3R+ gainedStructure trail — below most recent swing low

This works because:

  • Below 1R: Moving stop too early gets you shaken out on noise
  • At 1R: Breakeven means you can't lose money — psychological freedom to hold
  • At 2R: ATR trail gives the stock room to breathe while protecting most profit
  • At 3R+: Structure trail is tighter, appropriate when you have a large cushion

Individual Methods

ATR Trail

Trailing stop = Highest close since entry - ATR(14) × multiplier
Multiplier: 1.5 (tight), 2.0 (standard), 3.0 (loose)

Recalculate daily at market close. Only move stop up, never down.

Structure Trail

Trailing stop = Below the most recent higher low

Identify swing lows on the daily chart. Each new higher low becomes the new stop reference. Best for stocks making clear stair-step patterns.

Moving Average Trail

Aggressive: Trail below SMA20 (for fast trends)
Moderate: Trail below EMA50 (for steady trends)
Conservative: Trail below SMA200 (for long-term holds)

Use closing price vs MA — if daily close is below the MA, exit next day.

Chandelier Exit

Trailing stop = Highest high since entry - ATR(14) × 3.0

More aggressive than standard ATR trail. Good for volatile runners where you want to ride big swings.

Trailing Stop Rules

1. Only move up, never down — a trailing stop is a ratchet 2. Check daily at market close — don't adjust intraday (noise) 3. Use closing prices for triggers — ignore intraday wicks 4. When stop is hit: exit at next day's open, no exceptions 5. Don't overtighten: If you're trailing too tight, you'll get stopped out on normal pullbacks. Give the stock room proportional to its ATR.

Choosing Your Method

Stock BehaviorBest Trail Method
Strong uptrend, clear swing lowsStructure trail
Trending but volatileATR trail (2.0×) or Chandelier
Steady grinder, low volatilityMA trail (EMA50)
Explosive mover, unsure of topChandelier exit (3.0× ATR)
Long-term investmentMA trail (SMA200)

Related skills

How it compares

Use for post-entry risk management on Indian equities—not for scanning ideas or building a full backtest engine.

FAQ

Who is trailing-stops for?

Indian equity traders and developers building trading copilots who need clear trailing-stop playbooks for NSE/BSE cash positions.

When should I use trailing-stops?

Use when a trade is in profit and you ask how to trail stops, move to breakeven, use chandelier exit, or protect gains on a named stock.

Is trailing-stops safe to install?

Treat it as educational trade-management guidance, not financial advice; review the Security Audits panel on this page before trusting any bundled repo or MCP hooks.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.