bhala-srinivash/nse-trading-skills

fibonacci-trading

Fibonacci retracement and extension trading for NSE/BSE equities.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/bhala-srinivash/nse-trading-skills --skill fibonacci-trading

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

Fibonacci Trading

Fibonacci levels identify high-probability zones where price tends to react — for entries on pullbacks and targets on extensions.

Prerequisites

No dependencies required. Just provide a swing high and swing low price — Claude calculates all Fib levels instantly. Enhanced with Groww MCP (auto-identifies swings from candles) or yfinance.

Data Needed

  1. Swing high and swing low: From fetch_historical_candle_data or user-provided prices
  2. Current price: get_quotes_and_depth from Groww, or user-provided
  3. For precise calculation, you can compute in Python:
python
   diff = swing_high - swing_low
   levels = {
       "23.6%": swing_high - diff * 0.236,
       "38.2%": swing_high - diff * 0.382,
       "50.0%": swing_high - diff * 0.500,
       "61.8%": swing_high - diff * 0.618,
       "78.6%": swing_high - diff * 0.786,
   }

Retracement Levels (Entry Zones)

After a significant move up, price often pulls back to these levels before continuing:

LevelCharacterTrading Implication
23.6%Shallow pullbackStrong trend — buyers eager, enter aggressively
38.2%Normal pullbackHealthy trend — standard entry zone
50.0%Deep pullbackTrend weakening but viable — enter with caution
61.8%Golden ratioLast stand for the trend — high reward if it holds
78.6%Very deepTrend likely failed — avoid or use tight stop

For downtrend retracements (price bouncing up):

Same levels but inverted — measure from swing high down to swing low.

Extension Levels (Profit Targets)

After a retracement completes and price resumes the trend:

LevelUse
100%Measured move — equal to the prior swing
127.2%Conservative target — good for partial profit
161.8%Standard target — most common for swing trades
200.0%Extended target — for strong trends
261.8%Full extension — rare, only in powerful moves

Calculating Extensions

python
# For uptrend: price resumed from point C (retracement low)
ext_127 = C + (swing_high - swing_low) * 1.272
ext_161 = C + (swing_high - swing_low) * 1.618
ext_200 = C + (swing_high - swing_low) * 2.000

How to Draw Fibs

  1. Identify the swing: Find the most recent significant high and low (at least 5% move)
  2. Direction matters:
  • Uptrend retracement: Anchor at swing low, drag to swing high
  • Downtrend retracement: Anchor at swing high, drag to swing low
  1. Use the right swing: The most recent completed swing, not one still in progress
  2. Multiple swings: You can draw Fibs from different timeframes. When levels from different swings overlap, that's a confluence zone (very strong).

Confluence Zones

The most powerful Fibonacci levels are where they align with other technical factors. These zones have the highest probability of price reaction.

Confluence CombinationStrength
Fib level aloneModerate
Fib + horizontal S/RStrong
Fib + moving average (SMA50/200)Strong
Fib + trendlineStrong
Fib + S/R + MAVery strong
Fib from multiple timeframes overlappingVery strong

Practical Examples

  • Fib 38.2% from daily swing aligns with SMA50 → strong buy zone
  • Fib 61.8% from weekly swing aligns with horizontal support from 3 months ago → high-probability entry
  • Fib extension 161.8% aligns with a round number (Rs.2,000) → likely profit target

Fibonacci Trading Rules

  1. Don't use Fibs in isolation — they work best as confirmation alongside S/R, volume, and indicators
  2. Zone, not line — treat each level as a zone (±1-2%), not a precise price
  3. Wait for reaction — don't blindly buy at a Fib level. Wait for a reversal candle (hammer, engulfing, etc.)
  4. Strongest entries: Fib 38.2% to 61.8% zone in a healthy trend with volume confirmation
  5. If 78.6% breaks: The trend is likely over — exit or reverse
来自同一仓库

更多 Skills

全部 Skills
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.

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日