T
Traderoid

IMI Node

Intra-Bar Momentum Index

IndicatorMomentumOscillator

Overview

The Intra-Bar Momentum Index (IMI) measures directional strength WITHIN each bar using the relationship between high, low, close, and open prices. Rather than looking at close-to-close changes, IMI examines internal price structure within the bar - how much buying pressure exists relative to the bar's total range. This micro-level analysis reveals investor conviction hidden in traditional OHLC data.

IMI is particularly valuable for gap detection and breakout validation. A breakout with high IMI shows strong conviction - the close is far from the open within the range. A breakout with low IMI shows weak conviction - the close barely moved up from the open despite the breakout appearance. Perfect for separating real from fake breakouts.

Formula

IMI measures intra-bar momentum using price relationships:

1. Calculate Intra-Bar Momentum
IF Close > Open: Momentum = (Close - Open) / (High - Low)
IF Close < Open: Momentum = (Close - Open) / (High - Low) (negative)
Measure close position within the bar's range
2. Sum Positive and Negative Bars
Up Bars = Sum of momentum where Close > Open over period
Total Bars = Total number of bars in period
Count how many up bars vs total bars
3. Calculate IMI Percentage
IMI = 100 * (Up Bars with Momentum) / Total Bars
Normalize to 0-100 percentage representing bullish bars
Interpretation
IMI > 70: Strong buying pressure internally
IMI < 30: Strong selling pressure internally
High IMI with gap up = Real breakout conviction
Low IMI with gap up = False, weak breakout

The elegance of IMI is using data that's always available (OHLC) to measure something traders care about deeply - is this bar driven by real buying or just algorithmic gap filling?

Parameters

ParameterTypeDefaultDescription
periodnumber14Number of bars to analyze for IMI calculation.
sourceNodeAutoThe root data source node.

💡 Tip: Shorter periods (7-10) show recent intra-bar momentum. Longer periods (14-21) smooth the indicator. For gap analysis, use period of 5 - just look at the current bar's IMI alone. Most traders watch IMI crossing above 70 or below 30 as directional signals.

Common Use Cases

1. Gap Breakout Validation

Gap up opened but close near open = IMI will be low (20-40 range). Gap up with close near high = IMI will be high (70-90 range). High IMI on gap-up validates the move. Low IMI warns it's false. This single filter can save you from terrible gap trading losses.

2. Reversal Detection

When IMI consistently stays in oversold (below 30) over multiple bars, selling pressure is exhausted. Conversely, consistent overbought (above 70) for multiple bars shows buying pressure is unsustainable. These extremes often precede reversal bars with wide ranges and reversal candles.

3. Volume and Conviction Analysis

High volume with high IMI = conviction buying. High volume with low IMI = conviction selling. Low volume with extreme IMI = weak reversal setup. This combination reveals whether the market's internal structure supports price moves or contradicts them.

4. Intraday Trend Confirmation

On intraday charts, IMI crossing above 50 (more up bars than down) confirms uptrend. Crossing below 50 confirms downtrend. This works especially well on 1-hour and 4-hour charts where bar structure matters. Combine with moving average for powerful zone entries.

Advantages & Limitations

Advantages

  • Uses only OHLC data - always available
  • Excellent for breakout and gap validation
  • Reveals internal bar structure and conviction
  • Works well on all timeframes
  • Simple to understand and backtest
!

Limitations

  • Doesn't account for momentum magnitude
  • Can be choppy in narrow range days (doji-heavy)
  • Less effective in markets with frequent gaps
  • Should be combined with other confirming indicators
  • Less well-known than traditional oscillators

Tips & Best Practices

💡 Examine Current Bar IMI on Gaps

Don't average IMI over 14 bars on gap days. Look at the current bar's IMI alone. Gap up with IMI above 70 = move driven by real buying. Gap up with IMI below 40 = weak fake gap. This current-bar perspective is more valuable than period averages for gap analysis.

📊 Combine with Volume

High IMI without high volume is suspicious. High volume with high IMI is confirmation. This two-indicator combination filters many false setups. IMI shows structure, volume shows weight behind that structure.

⚡ Use Extreme Readings Conservatively

IMI extremes (above 80 or below 20) signal reversal potential but not immediate reversal. Wait for follow-up confirmation. A reversal bar, volume divergence, or price pattern that opposes the extreme IMI reading is your best trigger.

⚠️ Watch Narrow Range Days

On days with tiny ranges (like doji days or inside bars), IMI becomes unreliable - small movements create extreme readings from low denominator. In narrow-range markets, look for bars with actual range before trusting IMI signals.

Example Strategy

Gap validation strategy using IMI:

Gap Conviction Strategy with IMI

1Setup

  • Daily chart with 5-minute extended hours allowed
  • Add IMI with period 5 (current bar focus)
  • Add Volume indicator for confirmation

2Entry Rules

  • Gap up with current IMI > 70 + Volume surge = BUY
  • Gap down with current IMI < 30 + Volume surge = SELL
  • Enter at market or on pullback to gap level

3Exit Strategy

  • Stop: Behind recent extreme (opposite side of gap)
  • Target: First resistance level above gap
  • Exit if IMI collapses on large volume

4Risk Management

  • Only trade gaps with high IMI (70+) + volume
  • Skip if no volume confirmation
  • Risk 1-2% on gap trade per position

Related Nodes