INVITE-ONLY SCRIPT

Orderblock Multi-Timeframe (HuntsPip)

37
Orderblock Multi-Timeframe (HuntsPip) detects order blocks validated by market structure breaks across three timeframes simultaneously - higher, intermediate, and chart - with independent mitigation tracking and display controls for each layer. It allows traders to map institutional supply and demand zones across the full market hierarchy on a single chart, highlighting powerful confluence areas where order blocks from multiple timeframes stack together and enabling traders to anchor their entries at higher-timeframe zones while using chart-timeframe blocks for refined risk management and stop placement.


────────────────────

CONCEPTS

An order block is a candle that precedes a break of market structure. In a bullish break, the last bearish candle before price moves above the prior swing high is identified as the order block. In a bearish break, the last bullish candle before price moves below the prior swing low is marked. These zones represent areas where significant positioning may have occurred just before the structural shift.

Viewing order blocks across multiple timeframes adds depth to this analysis. Higher timeframe order blocks tend to represent broader zones of interest, while lower timeframe order blocks provide more precise levels. When order blocks from different timeframes overlap or cluster in the same price area, some traders interpret this as a zone of stronger confluence. Each timeframe runs its own market structure detection internally, so order blocks are validated by the structural context of their respective timeframe rather than the chart timeframe alone.


────────────────────

WHAT IT DOES

This tool runs market structure analysis independently on three timeframes and identifies order blocks at each break of structure. Each timeframe layer detects its own swing points and structural breaks, then finds the last opposing candle before each break to define the order block zone. The zones are displayed as colored boxes that extend forward on the chart, with optional labels showing the timeframe and "OB" text.

Each layer uses its own colors and transparency levels so traders can visually distinguish which timeframe an order block belongs to. Active zones prioritize display by proximity to the current price, and when mitigation tracking is enabled, the tool monitors whether price returns to interact with each zone according to the selected condition. Mitigated zones change to a neutral color and stop extending. An error message is displayed if the timeframes are configured incorrectly (HTF must be greater than MTF, which must be greater than the chart timeframe).


────────────────────

FEATURES AND USAGE

ORDER BLOCKS (HIGHER / INTERMEDIATE / CHART)

Three separate settings groups control order block detection for each timeframe. All three share the same settings layout:
  • Display OBs of Timeframe - Toggles detection on or off. For the Higher and Intermediate groups, a timeframe selector sets which timeframe to scan. The Chart group uses the current chart timeframe.

  • Detection Mode - Controls how strictly a break of structure is confirmed.
      - Conservative - Requires a candle close beyond the swing level.
      - Aggressive - Triggers on any high or low beyond the swing level, including wicks.

  • OB Type - Determines the boundaries of each zone.
      - Wick - Zone spans from the candle's high to its low.
      - Body - Zone spans from the candle's open to its close.

  • Mitigate OB when - Toggle and dropdown for mitigation tracking.
      - Close Outside - Price closes beyond the far edge of the zone.
      - Wick Outside - Price wicks beyond the far edge of the zone.
      - Close > 50% - Price closes past the midpoint of the zone.
      - Wick > 50% - Price wicks past the midpoint of the zone.
      - Close Inside - Price closes inside the zone.
      - Wick Inside - Price wicks into the zone.

  • Show Label - Toggles the timeframe and OB label on each zone.

  • Colors - Three color pickers controlling the bullish, bearish, and mitigated zone colors.

  • Display maximum of - Controls how many active order blocks are shown for this timeframe. The indicator prioritizes zones closest to the current price.

  • Max Mitigated - Controls how many mitigated zones remain visible for this timeframe.

  • Extend forward by - Controls how far active zone boxes extend to the right. Max: 200 bars.


This tool works on any instrument and any timeframe, provided the HTF is set higher than the MTF, which must be higher than the chart timeframe. Traders who want a top-down view can enable all three layers with progressively lower transparency for higher timeframes so the most significant zones stand out visually. Order blocks are best used as confluence with other analysis - such as fair value gaps, premium/discount zones, or session levels - rather than as standalone entry triggers.

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

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