multi-timeframe-analysis — Claude Code skill for chart analysis
The multi-timeframe-analysis Claude Code skill reads a stock or index across multiple timeframes. It compares the higher-timeframe bias with a daily setup and entry timing on shorter bars.
MIT ★ 69 updated 2026-11-13
/plugin marketplace add Shubhamkumartrichy/claude-trading-skills-india
/plugin install india-trading-skills@india-trading-skillsWhat multi-timeframe-analysis does
The skill sets a directional bias from a higher timeframe, looks for a daily setup, then checks lower-timeframe bars for entry timing. Positional trades use monthly and weekly views; shorter swing analysis uses weekly and daily charts. Its ta.py mtf command builds weekly and monthly bars from daily data, reports structure and indicators, and scores long and short setups.
The score covers six inputs, including trend alignment, RSI, MACD, support or resistance, and volume. A score of 3 maps to half size; 0–1 means no trade. It needs Python 3 and ../technical-analysis/scripts/ta.py. For intraday entry analysis, supply candles from a broker MCP or use ta.py summary with the 15m interval. The current weekly bar stays partial until Friday’s close.
What it helps with
- check whether a daily setup agrees with the weekly trend
- score a long or short setup using six factors
- separate trend, setup, and entry timeframes
- time an entry with lower-timeframe candles
Example prompts for the agent
- Compare the weekly and daily trend for HDFCBANK.
- Check whether NIFTY’s daily setup matches its weekly direction.
- Score a long setup across multiple timeframes.
How to install multi-timeframe-analysis
1Plugin marketplace
/plugin marketplace add Shubhamkumartrichy/claude-trading-skills-india/plugin install india-trading-skills@india-trading-skillsThis installs the whole india-trading-skills plugin with all its skills
2Skills CLI (Vercel)
npx skills add Shubhamkumartrichy/claude-trading-skills-india --skill multi-timeframe-analysis -a claude-code3Manually: put the files in place
~/.claude/skills/multi-timeframe-analysis/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/multi-timeframe-analysis/
1Skills CLI (Vercel)
npx skills add Shubhamkumartrichy/claude-trading-skills-india --skill multi-timeframe-analysis -a codex2Manually: put the files in place
.agents/skills/multi-timeframe-analysis/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add Shubhamkumartrichy/claude-trading-skills-india --skill multi-timeframe-analysis -a cursor2Manually: put the files in place
.cursor/skills/multi-timeframe-analysis/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install Shubhamkumartrichy/claude-trading-skills-india skills/multi-timeframe-analysis2Manually: put the files in place
.github/skills/multi-timeframe-analysis/SKILL.md1Skills CLI (Vercel)
npx skills add Shubhamkumartrichy/claude-trading-skills-india --skill multi-timeframe-analysis -a gemini-cli2Platform CLI
gemini skills install https://github.com/Shubhamkumartrichy/claude-trading-skills-india --path skills/multi-timeframe-analysisManually: put the files in place
.devin/skills/multi-timeframe-analysis/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about multi-timeframe-analysis
How do I install multi-timeframe-analysis in Claude Code?
Add the marketplace with /plugin marketplace add Shubhamkumartrichy/claude-trading-skills-india, then install the skill using /plugin install india-trading-skills@india-trading-skills.
What does multi-timeframe-analysis do?
It connects the higher-timeframe bias with a daily setup and lower-timeframe entry timing. The skill also scores setups across six factors.
What does multi-timeframe-analysis require?
It needs Python 3 and ../technical-analysis/scripts/ta.py. Intraday analysis can use candles from a broker MCP or data collected with ta.py summary.
Source text
SKILL.md · MIT
--- name: multi-timeframe-analysis description: | Three-screen multi-timeframe analysis for NSE/BSE stocks and indices: weekly (or monthly) sets the bias, daily finds the setup, and 75-minute / 15-minute bars time the entry, with a 6-factor confluence score that sets position size. Uses ta.py mtf to resample daily data into weekly and monthly views automatically. Use when the user asks: "weekly vs daily trend", "multi-timeframe check", "higher timeframe view", "3-screen analysis", "is the daily setup aligned with weekly", "what's the bigger trend on X", or wants a quality score for a setup. --- # Multi-Timeframe Analysis Higher timeframes decide direction; lower timeframes refine timing. Trading against the weekly trend needs a much stronger reason than trading with it. ## The three screens (Indian session adaptation) | Screen | Positional / swing | Short-term swing | Intraday | |---|---|---|---| | 1 — Bias | Monthly + **weekly** | Weekly | Daily | | 2 — Setup | **Daily** | Daily / 125-min | 75-min | | 3 — Entry | 75-min / 60-min | 15-min | 5-min / 3-min | The NSE session is 375 minutes (09:15–15:30). **75-minute candles** divide it into exactly five bars, and **125-minute** into three, so many Indian traders use them instead of 1h/4h, which leave a stub bar. Most Indian charting tools (Kite, TradingView, Groww) offer custom intervals. ## Run it ```bash python3 ../technical-analysis/scripts/ta.py mtf --symbol HDFCBANK # or --csv / --candles python3 ../technical-analysis/scripts/ta.py mtf --csv nifty.csv --json ``` The script builds weekly and monthly bars from daily data, using ISO weeks for Monday–Friday sessions. The current week is partial until Friday's close. For each timeframe it gives structure, the indicator dashboard and a bias. It then scores a long and a short setup. For screen 3, fetch intraday candles from the broker MCP, or with `ta.py summary --symbol X --interval 15m --period 1mo`. ## Screen 1 — weekly bias - Swing structure (HH/HL or LH/LL) and price vs 20- and 50-week SMA. - Weekly RSI above or below 50; weekly MACD histogram direction. - Major horizontal levels with multiple weekly touches and the 52-week range. - Verdict: **bullish / bearish / neutral**. Neutral weekly means smaller size or range tactics only. ## Screen 2 — daily setup (in the weekly direction) - Uptrend: look for pullbacks to SMA20/50, prior breakout levels, or Fib 38.2–61.8% on declining volume. Downtrend: the mirror image. - Patterns: flags, bases, double bottoms or tops, breakouts with volume and rising delivery %. - Verdict: setup present / no setup / counter-trend (risky). ## Screen 3 — entry timing - Wait for the lower timeframe to turn in your direction: a reversal candle at the level, a 75-min close back above VWAP or EMA20, an RSI hook from 40, or a MACD cross. - The stop goes beyond the lower-timeframe swing, which tightens risk and improves R:R. - Avoid entries in the first 15 minutes (pre-open imbalance) and the last 30 minutes (closing-VWAP window) unless that is your method. ## Confluence score (1 point each; the script computes it) | Factor | | |---|---| | Weekly trend agrees with direction | +1 | | Daily shows a valid setup (pullback to MA/level in trend) | +1 | | Daily RSI supports (rising 40–70 for longs) | +1 | | Daily MACD histogram improving | +1 | | Clear S/R within ~2 ATR for stop or target | +1 | | Volume confirms (up-day expansion or quiet pullback) | +1 | | Score | Action | |---|---| | 5–6 | Strong: full planned size | | 4 | Good: full size | | 3 | Marginal: half size | | 2 | Weak: skip or paper trade | | 0–1 | No trade | The score is mechanical. Sanity-check it visually and override with stated reasons. ## Common mistakes - Fighting the weekly trend because the daily RSI is oversold. - Using one timeframe only, or switching timeframes until one agrees. - Ignoring the index: on big index days most large caps move with NIFTY. Check NIFTY's weekly bias as screen 0. - Treating a partial current week as a completed weekly candle.
© Shubham Kumar · MIT · Shubhamkumartrichy/claude-trading-skills-india