OPEN-SOURCE SCRIPT

Market Zone [Jannu]

554
1. Description
Markets do not move in straight lines. Price frequently departs from equilibrium through gaps, rapid displacement, or impulsive expansion from compressed bases. These departures leave behind areas of unresolved imbalance; zones where the auction process was incomplete. Market Zone [Jannu] is the foundational Imbalance component of the ET Massif Framework research suite. It identifies three distinct forms of such imbalance and renders them as dynamic, self-managing zones on the chart. لقطة
2. Features
The indicator combines three detection methods:
  • Fair Value Gaps (FVGs)
    Three-candle imbalances where a qualifying middle candle displaces price fast enough that the gap between the outer candles remains unfilled. Detection requires ATR expansion, minimum gap size, VWAP position relative to the gap, volume, and candle body proportion.
  • Session Gaps
    Price discontinuities between consecutive session closes and opens, filtered by ATR magnitude.
  • Points of Interest (POI)
    The consolidation base that preceded a significant impulsive move. Once an impulse exceeding a defined ATR multiple is confirmed, the indicator locates the tight-range candle immediately before the expansion and uses its high/low as the zone boundary.
لقطة
3. Detection Logic

A. Fair Value Gaps (FVG)
Detected using a qualified three-candle imbalance structure.
Criteria:
  • Low > High[2] (Bullish) or High < Low[2] (Bearish)
  • Middle candle range > 1.1× ATR
  • Gap size > 1.0× ATR
  • Middle candle VWAP above High[2] (Bullish) or below Low[2] (Bearish)
  • Volume > 1.2× 180-bar average volume
  • Candle body > 65% of total range
Qualifying FVGs display a diamond marker at the middle candle VWAP. Diamond size scales with relative volume. Boxes extend forward with each new bar and contract as candle bodies close into the zone. Zones are removed once fully covered.لقطة
B. Session Gaps (FVG)
Detects price discontinuities between the current open and the prior close.
Criteria:
  • Absolute gap > 1.5× ATR
Gap boxes are drawn between the prior close and the current open, extend forward, and contract as candle bodies close into them. Zones are removed once fully covered.لقطة
C. Points of Interest (POI)
Identifies the consolidation base preceding a significant directional expansion.
Criteria:
  • An impulsive move within the previous 5 bars exceeding 2.0× ATR
  • Majority of bars within the move are directional
Once an impulse is confirmed, the indicator searches the preceding bars for the first candle whose range is below 0.5× ATR. That candle's high and low define the POI zone. A 20-bar cooldown prevents overlapping detections. Zones are invalidated when a candle body closes through the zone boundary. Invalidated zones remain on the chart in grey.لقطة All criteria are configurable via settings. Use stricter rules for lower timeframes or volatile assets.

4 . Use
Jannu is a structural reference tool. The zones mark where price departed from equilibrium; Determining which outcome is unfolding requires the broader analytical context in which the indicator is used.
لقطة
The same zone type can carry different interpretations depending on context. On the CRWD daily chart in early 2026, a cluster of large bearish FVGs formed during a sharp sell-off, yet price reversed immediately and never returned to those zones. The imbalance was not evidence of sellers in control; it was the mechanism through which aggressive selling exhausted supply before buyers drove price upward.لقطة Contrast this with the series of bearish FVGs that formed during ADBE's long decline from late 2024. Same structure, different character. The indicator marks the zone; contextual analysis is required.لقطة
日本語概要 (Japanese Summary)
Jannuは、価格が均衡から乖離した領域を可視化するリファレンス指標であり、ET Massifインジケーターフレームワークの一部として開発されました。セッションギャップ、フェアバリューギャップ(FVG)、ポイント・オブ・インタレスト(POI)の3種類の価格不均衡を検出し、動的なゾーンとしてチャート上に表示します。これらのゾーンは、ローソク足の実体が内部に進入するにつれて縮小し、完全に埋まった時点で自動的に削除されます。市場構造の参照フレームワークとして機能します。

中文概要(Chinese Summary)
Jannu 是一款將價格偏離均衡的區域進行視覺化呈現的參考指標,作為 ET Massif 指標框架的一部分所開發。本指標可偵測三種價格失衡類型:開盤缺口(Session Gap)、合理價值 gap(FVG)以及關注區域(POI),並將其作為動態區間顯示於圖表上。這些區間會隨著 K 線實體進入而縮減,並在完全填補時自動刪除。本指標作為市場結構的參考框架使用。

Disclaimer:
This script is a research tool for market structure analysis and educational purposes only. It does not constitute financial advice. Trading involves risk.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.