agentleFS
Bhala-SrinivashBhala-Srinivash/nse-trading-skills/multi-timeframe-analysis/SKILL.md

multi-timeframe-analysis

Skill36 starsChanged 8 months agoMITView on GitHub

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.

  • Installs packages

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    No dependencies required. Framework applies to any timeframe data.

    line 32
  2. Distinctive:

    When data tools are available:

    line 36
  3. Distinctive:

    Check these on the weekly chart:

    line 47

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Multi-Timeframe Analysis

Higher timeframes set the direction. Lower timeframes refine the entry. Never trade against the higher timeframe trend unless you have very strong reasons.

The 3-Screen Method

ScreenTimeframePurposeWhat to Look For
Screen 1WeeklyTrend biasPrimary trend, major S/R, 200-week MA
Screen 2DailySetupPattern formation, indicator signals, entry zone
Screen 34H / 1HEntry timingPrecise entry price, tight stop placement

How to use it:

  1. Weekly decides direction — only take trades in the weekly trend's direction
  2. Daily identifies the setup — pullback to support in uptrend, rally to resistance in downtrend
  3. Hourly/4H times the entry — wait for the lower TF to confirm reversal in your direction

Prerequisites

No dependencies required. Framework applies to any timeframe data. Enhanced with Groww MCP (multi-interval candles) or yfinance (pip install yfinance) for weekly/monthly history.

Fetching Multi-TF Data

When data tools are available:

Weekly:  fetch_historical_candle_data with interval=1w
Daily:   fetch_historical_candle_data with interval=1d
Hourly:  fetch_historical_candle_data with interval=1h (limited to ~30 days)

For weekly indicators via yfinance: yf.download("SYMBOL.NS", period="2y", interval="1wk")

Screen 1: Weekly Analysis

Check these on the weekly chart:

  • Trend: Series of higher highs/lows (up) or lower highs/lows (down)?
  • Position vs MAs: Price relative to 20W and 50W SMA
  • RSI(14) weekly: Above 50 = bullish bias, below 50 = bearish bias
  • Major S/R: Horizontal levels with multiple weekly touches
  • Volume trend: Rising into the trend direction = healthy

Weekly verdict: Bullish / Bearish / Neutral — this sets your trading bias.

Screen 2: Daily Analysis

With the weekly bias established:

  • Look for setups that align: Pullbacks to buy in uptrend, rallies to sell in downtrend
  • Pattern identification: Flags, wedges, double bottoms/tops, breakouts
  • Indicator signals: RSI, MACD, Bollinger on daily
  • Volume: Confirmation of the setup (declining volume on pullback = healthy)

Daily verdict: Setup present / No setup / Counter-trend setup (risky)

Screen 3: Entry Timeframe (4H / 1H)

Once weekly bias + daily setup align:

  • Wait for lower TF confirmation: A candlestick reversal pattern, RSI bounce, or MACD cross
  • Place entry: At the confirmation signal
  • Set stop: Based on lower TF structure (tighter = better R:R)
  • Target: From daily/weekly levels

Confluence Scoring

Award 1 point for each alignment. This keeps you honest about setup quality.

FactorPoint
Weekly trend agrees with trade direction+1
Daily shows valid setup pattern+1
RSI supports on daily timeframe+1
MACD supports on daily timeframe+1
Key S/R level provides clear stop or target+1
Volume confirms the move+1
ScoreAction
5-6Strong setup — full position size
4Good setup — full position size
3Marginal — half position size
2Weak — skip or paper trade only
0-1No setup — do not trade

Common Mistakes

  • Trading against the weekly trend hoping for a reversal — the weekly trend wins most of the time
  • Using only one timeframe — you miss context and enter with poor timing
  • Forcing alignment — if timeframes disagree, the answer is "no trade" not "trade anyway"

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.