Structure Probability Blocks [JOAT]Structure Probability Blocks
Introduction
Structure Probability Blocks is an open-source market structure and quality-zone overlay. It detects confirmed structure breaks, searches for the most relevant opposing candle, scores the resulting block, and highlights the strongest active block without filling the chart with redundant zones.
The problem it solves is order block clutter. Many zone tools draw every candidate equally. Structure Probability Blocks filters for impulse, candle quality, relative volume, recency, and overlap so the displayed blocks have cleaner context. The enhanced chart layer also projects BOS/CHoCH break rails, impulse guide lines, and compact score labels directly beside the structure event.
Core Concepts
1. Confirmed Pivot Tracking
Swing highs and lows are confirmed using symmetric pivots. Because pivots require bars on both sides, this is intentionally delayed and non-repainting.
2. Break Qualification
A structure break requires price to close through the tracked pivot and meet a minimum ATR-based impulse requirement.
3. Seed Candle Search
After a break, the script searches backward for the best opposing candle candidate. The score considers body quality, wick behavior, volume rank, and recency.
4. Strongest Active Block Highlight
Among active blocks, the highest-scored block receives stronger border and midline treatment. Weaker overlapping blocks can be removed when the overlap guard is enabled.
5. Break Rails and Impulse Guides
When a qualified BOS or CHoCH forms, the indicator can draw a dashed horizontal break rail from the pivot level to the right edge and a dotted impulse guide from the selected seed candle to the break close. The on-chart tag includes score, zone range, drive, RVOL, and break price.
6. Strongest Block Ribbon
The highest-scored active block is also projected as a subtle ribbon using plot/fill logic. This gives a clean strongest-zone read even when several historical boxes remain visible.
Features
Confirmed structure breaks: Breaks require closed-bar confirmation
Quality-scored blocks: Scores combine impulse, candle structure, relative volume, and recency
BOS/CHoCH context: Block labels identify continuation or character-shift context
BOS/CHoCH break rails: Dashed projected levels mark the exact pivot level that price broke
Impulse guide lines: Dotted guides connect the seed candle to the break close
Expanded score tags: Labels show score, zone range, drive, RVOL, and break level
Prime block highlight: Highest active score receives stronger visual emphasis
Strongest block ribbon: Highest active zone is projected as a lightweight filled band
Overlap guard: Keeps the stronger of overlapping active blocks
Prime candle tint: Candles can be softly colored by the strongest active structure bias
Broken block handling: Keep, fade, extend, or remove resolved blocks
Top-right dashboard: Active count, bull/bear count, best score, break state, last pulse, volume rank, and break mode
Alerts: New bullish and bearish quality block events
Input Parameters
Structure:
Pivot Length: Swing confirmation sensitivity
Search Span: Bars searched for a seed candle
Break Impulse: Minimum ATR expansion required for a break
Volume Span: Lookback used for volume rank
Min Score: Minimum block quality score required
How to Use This Indicator
Step 1: Use the dashboard to identify current bull/bear structural bias.
Step 2: Focus on the strongest highlighted active block first.
Step 3: Use the dashed BOS/CHoCH rail as the exact structural break reference.
Step 4: Treat broken/faded blocks as resolved context rather than fresh opportunities.
Step 5: Combine with a regime or pressure tool before making directional decisions.
Indicator Limitations
Pivot confirmation is delayed by the pivot length, which is intentional non-repainting behavior
A high block score does not imply a guaranteed reaction
Volume rank can be less useful on instruments with unreliable volume
The script identifies structural context, not complete risk-defined trades
Originality Statement
Structure Probability Blocks is original in its quality-scored seed selection, impulse qualification, overlap prioritization, prime block highlighting, and compact structural dashboard. It does not copy third-party source code.
Disclaimer
This open-source indicator is provided for educational and informational purposes only. It is not financial advice. Structural zones can fail, and traders should always use independent analysis and proper risk management.
-Made with passion by jackofalltrades
Indicator

IrishGOD PDH/PDL Zones + Pre-Market H/L + MA RibbonPDH/PDL Zones + Pre-Market H/L + MA Ribbon
A comprehensive overlay indicator for PulseWire (Pine Script v5) that combines three institutional-grade tools on a single chart: historical previous-day high/low zones drawn from full candle wicks, intraday pre-market extremes, and a fully configurable multi-timeframe moving average ribbon. Designed for intraday traders who need clean, actionable levels without switching between charts or timeframes.
Pine Script v5
Overlay
Intraday
Multi-Timeframe
Alerts Included
1
Previous Day High / Low Zones
Automatically identifies the highest and lowest candle of each prior session and draws a shaded zone that spans the full wick of that candle — from the wick tip (the session extreme) down to the candle body edge (max or min of open/close). This provides a realistically sized supply or demand zone rather than a single horizontal line, accurately representing the price range where the reversal originated. Zones are stored across up to 50 prior trading days and drawn efficiently on the last bar to avoid unnecessary repainting.
Lookback
Up to 50 previous days retained and displayed simultaneously
Zone geometry
Wick tip → candle body edge; minimum 4-tick thickness for doji candles
Extension
Most recent zone optionally extends to the right edge of the chart
Labels
PDH / PDL price labels on the latest zone; four size options
Color picker
Border width 0–4px
Adjustable opacity
Toggle on/off
2
Pre-Market High / Low
Tracks the highest high and lowest low recorded during the configurable pre-market window (default 4:00–9:30 AM Eastern Time) and draws horizontal lines at those levels the moment the regular session opens. These levels are widely watched by professional traders as the first potential support and resistance areas of the day, and are particularly relevant on gap-up or gap-down open days. All time calculations are anchored to America/New_York to handle daylight saving time correctly.
Session window
Fully configurable start hour, end hour, and end minute (24h ET)
Line style
Solid, dashed, or dotted; line width 1–4px
Extension
Lines optionally extend rightward through the rest of the session
Labels
"PM High" / "PM Low" labels with exact price values
Requires a PulseWire subscription that includes extended-hours data. Levels reset each new trading day.
3
Multi-Timeframe MA Ribbon
A ribbon of up to 8 independent moving averages rendered directly on the price chart. Each MA is fully self-contained: it has its own toggle, length, color, and — critically — its own timeframe selector. This allows a single ribbon to simultaneously display a short-term trend on the current chart timeframe alongside higher-timeframe MAs (e.g. a daily 21 EMA or a weekly 50 SMA) without opening additional chart panes. When an alternate timeframe is active, the value label automatically appends a tag for instant visual identification.
MA types available
SMA
EMA
WMA
VWMA
HMA
DEMA
TEMA
RMA
LSMA
Ribbon count
8 MAs; MAs 1–5 enabled by default (lengths 8, 13, 21, 34, 55)
Per-MA timeframe
Each MA resolves on its own timeframe via request.security(); blank = current chart
Fill
Gradient color fill between consecutive MA lines; adjustable opacity
Value labels
Live price labels pinned to the right edge; show tag for HTF MAs
Source
Configurable price source: close, open, high, low, hl2, hlc3, ohlc4, etc.
Line width
Global line width control (1–4px) applied to all active MAs
lookahead=barmerge.lookahead_off is enforced on all request.security() calls to prevent higher-timeframe data leakage into historical bars.
4
Alerts
Five built-in alert conditions, configurable from PulseWire's alert dialog:
Price enters the most recent PDH zone (within 0.1%)
Price enters the most recent PDL zone (within 0.1%)
Price enters either PDH or PDL zone
MA1 crosses above MA2 — bullish signal
MA1 crosses below MA2 — bearish signal
5
Technical notes
Compatibility
Intraday charts (1m – 4h). Requires extended-hours data for pre-market feature.
Object limits
max_boxes_count 500 · max_lines_count 500 · max_labels_count 200
Rendering
PDH/PDL boxes drawn only on barstate.islast to eliminate per-tick redraw overhead
DST handling
All session time logic uses America/New_York timezone natively Indicator

Displacement Forge [JOAT]Displacement Forge
Introduction
Displacement Forge is an open-source order block detection engine built on Z-Score impulse analysis. It identifies statistically significant price displacements — moves that exceed a configurable standard deviation threshold relative to recent price change history — and marks the candle immediately preceding each displacement as an Order Block Zone. Order blocks represent the price ranges from which institutional order flow originates. Price regularly returns to these zones to fill remaining orders, and Displacement Forge identifies and tracks each one, monitors for zone reactions, and records cumulative rejection statistics.
The problem order block analysis solves is entry precision. A trend bias tells you direction. An order block tells you at what price the institutions that created that trend loaded their positions. Returning to those prices to enter alongside institutional flow — rather than chasing moves already in progress — is the conceptual foundation Displacement Forge is built on. The Z-Score gate ensures only statistically significant displacements qualify, filtering out small impulses caused by normal market noise.
Core Concepts
1. Z-Score Displacement Detection
Rather than using fixed ATR multiples to define a "significant" move, Displacement Forge computes the Z-Score of each bar's price change relative to the rolling distribution of recent price changes. The Z-Score measures how many standard deviations the current move is from the recent mean:
priceChg = close - close
avgChg = ta.sma(priceChg, zscoreLen)
stdChg = ta.stdev(priceChg, zscoreLen)
zscore = stdChg > 0 ? (priceChg - avgChg) / stdChg : 0.0
A positive Z-Score above the threshold with a bullish candle close and a higher close than recent highs — filtered by an EMA and VWAP trend context — constitutes a bullish displacement impulse. A negative Z-Score below the negative threshold with a bearish close and lower-than-recent lows in the opposing trend context constitutes a bearish displacement impulse.
2. Order Block Zone Identification
When a displacement impulse is detected, the indicator looks backward through the impulse lookback window for the last candle in the opposite direction — the candle just before the institutional move began. That candle's high and low define the order block zone. This captures the price range where institutional orders were being placed before the displacement candle consumed available liquidity:
if bullImpulse
for i = 1 to impulseLook
if close < open // Last bearish candle before the impulse
obLow := low
obHigh := high
break
Each zone is drawn as a box on the chart using the pre-impulse candle's range. Bull order blocks are drawn with a bullish tint (price expected to react bullishly when revisited). Bear order blocks with a bearish tint.
3. EMA and VWAP Trend Filter
Two independent trend filters gate displacement qualification. The EMA filter (200-period by default, configurable) requires bull displacements to occur above the EMA and bear displacements below it. The VWAP filter adds an intraday fair-value gate — bull displacements require price to be above the current VWAP, bear displacements require price to be below. Both filters can be independently enabled or disabled:
bullImpulse = zscore > threshold and close > open
and close > ta.highest(close, impulseLook)
and (not useEma or close > ema200)
and (not useVwap or close > ta.vwap)
4. Zone Reaction Detection and Rejection Counting
Active order block zones are continuously monitored for price reactions. A bullish reaction occurs when the candle low touches or enters the bull zone range with a bullish close. A bearish reaction occurs when the high touches or enters the bear zone range with a bearish close. Each confirmed reaction increments the independent bull and bear rejection counters displayed in the dashboard:
if ob.isBull and low <= ob.top and low >= ob.bottom and close > open
bullReactionDetected := true
totalBullRejections += 1
5. Zone Lifespan and Active Zone Management
Each zone carries an age counter that increments bar by bar. Zones exceeding the maximum age (configurable) are automatically removed as inactive. The active zone count and total tested zone count are tracked and displayed in the dashboard, giving a running picture of how many zones are currently relevant versus how many have been tested and absorbed.
Features
Z-Score impulse gate: Displacement qualification based on standard deviations from the rolling price-change distribution, not arbitrary fixed thresholds
Order block zone boxes: Pre-impulse candle ranges drawn as colored boxes on the chart for both bull and bear impulses
EMA trend filter: Configurable EMA length gates displacement direction relative to long-term trend
VWAP trend filter: Intraday VWAP provides a fair-value gate alongside the EMA for dual confirmation
Zone reaction monitoring: Active zones continuously checked for price reactions with independent bull and bear rejection counters
Zone age management: Configurable maximum zone age with automatic removal of expired zones
Active and tested zone counts: Dashboard tracks how many zones are live versus how many have been tested
Bull and bear rejection totals: Cumulative counts of all confirmed zone reactions by direction
Displacement markers: Labeled arrows at each confirmed displacement bar (BULL DISP, BEAR DISP) with size and style differentiation
Divergence detection: Z-Score divergence against price direction labeled (BULL DIV, BEAR DIV) and hidden divergence (H.BULL, H.BEAR)
Institutional dashboard (top right): 13-row table with Z-Score, displacement state, OB reactions, active zone count, tested zone count, EMA and VWAP filter status
Fully configurable: Z-Score length and threshold, impulse lookback, EMA length, VWAP toggle, zone max age, and zone visibility independently adjustable
Alerts: Separate alertconditions for bullish and bearish displacement impulses
Input Parameters
Displacement Detection:
Z-Score Length: Rolling window for mean and standard deviation calculation (default: 20)
Z-Score Threshold: Standard deviation threshold for displacement qualification (default: 1.5)
Impulse Lookback: Bars back to search for the pre-impulse order block candle (default: 5)
Trend Filters:
EMA Length: Trend EMA period (default: 200)
Use EMA Filter toggle (default: enabled)
Use VWAP Filter toggle (default: enabled)
Zone Management:
Max Zone Age (Bars): Maximum bar lifespan of active zones before automatic removal (default: 100)
Show OB Zones toggle
Display:
Show Dashboard toggle
Show Divergence Labels toggle
Bullish and Bearish color inputs
How to Use This Indicator
Step 1: Identify the Current Z-Score and Displacement State
The dashboard shows the live Z-Score value and displacement state (BULL IMPULSE, BEAR IMPULSE, or NEUTRAL). Use the Z-Score value as a real-time gauge of how statistically extreme the current price move is relative to recent history.
Step 2: Locate Active Order Block Zones
After any displacement, a colored box marks the pre-impulse candle range. These zones are the areas where institutional orders were accumulated before the move. The dashboard's Active Zones row shows how many live zones are currently on the chart.
Step 3: Wait for Price to Return to a Zone
When price retraces after a displacement and enters an active zone, watch for a reaction candle. A bullish close from within a bull zone or a bearish close from within a bear zone constitutes a zone reaction and increments the dashboard's rejection counter.
Step 4: Apply EMA and VWAP Context
The EMA filter status (ABOVE/BELOW) and VWAP filter status in the dashboard confirm whether the trend context supports the zone direction. An active bull zone with price above both the EMA and VWAP provides a higher-context long reaction than the same zone in a downtrend.
Step 5: Observe Divergence Labels
BULL DIV and BEAR DIV labels appear when the Z-Score diverges from price direction — Z-Score momentum and price momentum disagree. H.BULL and H.BEAR mark hidden divergence. These are secondary signals that may precede displacement reversals.
Indicator Limitations
The Z-Score is computed relative to the rolling price-change distribution of the configured lookback period. During regime changes or low-liquidity periods, the distribution can shift and cause the threshold to misfire
Order block identification looks backward from the displacement bar. The pre-impulse candle selection is algorithmic — it finds the last opposite-direction candle within the lookback. In some impulse structures this may not match the manually identified order block
Zone reaction detection requires the candle to touch the zone range in the same bar that a directional close occurs. Multi-bar zone entry sequences are not separately tracked
The VWAP calculation resets at daily boundaries. On instruments that trade across midnight or on continuous futures contracts, the VWAP reset behavior may differ from expectations
This indicator identifies order block zones and reactions. It does not generate trade entry signals, and zone reactions do not guarantee price continuation from the zone
Originality Statement
Displacement Forge is original in its application of Z-Score analysis to price change distribution as the gate for order block qualification, combined with a dual trend filter and automatic zone reaction monitoring with cumulative statistics. This indicator is published because:
Using the rolling Z-Score of bar-by-bar price changes — rather than raw ATR multiples — to define what constitutes a statistically significant displacement provides an adaptive, distribution-aware threshold that adjusts to current volatility rather than using fixed values
The pre-impulse candle lookback logic that identifies the order block as the last opposite-direction candle before the displacement provides a specific, repeatable rule for zone placement that eliminates the ambiguity of manual order block selection
The dual trend filter combining a configurable EMA with VWAP — both independently togglable — provides layered directional context that single-MA systems do not offer
Tracking cumulative bull and bear rejection counts alongside active and tested zone counts provides ongoing statistical feedback on how the order block zones are performing across the chart history
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss. Order block zones are identified using statistical and structural criteria but do not guarantee any particular price reaction when revisited. Z-Score thresholds are parameters that require adjustment to match specific instruments and timeframes. Past zone reactions do not guarantee future reactions. Always use proper risk management. The author is not responsible for any trading losses resulting from the use of this indicator.
-Made with passion by jackofalltrades
Indicator

Session Strata Mapper [JOAT]
Session Strata Mapper
Introduction
Session Strata Mapper is an overlay indicator that tracks three critical intraday price levels in real time: the Premarket session range (04:00-09:30 ET), the Initial Balance range (09:30-10:30 ET), and the Previous Day's high, low, and midpoint. These levels are rendered as dynamic zones that expand as each session progresses and extend as horizontal reference lines throughout the trading day. Extension projections above and below the Initial Balance provide potential target levels based on the established morning range.
Session-based levels represent areas where institutional participation was concentrated during distinct time periods. The premarket range reflects the overnight positioning of market participants before retail hours begin. The Initial Balance captures the price range set by the first hour of regular trading, a period often dominated by institutional order flow. Violations of these levels, especially when accompanied by volume, frequently signal meaningful directional commitment from large participants.
Core Concepts
1. Session Detection and Range Building
Sessions are detected using PulseWire's time() function with a configurable timezone (default: America/New_York). The premarket range builds bar by bar during the 04:00-09:30 window, tracking the running high and low. The Initial Balance does the same during 09:30-10:30. All objects (boxes, lines, labels) update in real time as each session progresses.
2. Initial Balance Extensions
The IB range can optionally project extension levels above and below at 0.5x IB multiples. Extensions are labeled IB +1x, IB +2x, etc. These project the IB range beyond the session boundaries and serve as potential continuation targets when price breaks from the IB.
3. Previous Day Levels
The previous trading day's high, low, and midpoint are tracked by detecting session-start bars and storing the completed day's range. These levels extend throughout the current session as dashed reference lines and are updated at the start of each new day.
4. Zone Boxes and Line Rendering
Each session's range is rendered as a filled zone box that expands during the session and then remains fixed after the session ends. Horizontal lines extend from the session boundaries into the future trading period, providing ongoing reference as price interacts with those levels throughout the day.
Features
Premarket Range Zone: Live-building box with high, low, and optional midpoint lines
Initial Balance Zone: Live-building box with high, low, midpoint, and extension projections
Previous Day Levels: Prior session high, low, and midpoint as dashed reference lines
Extension Lines: Up to 4 levels of IB extension projections with optional labels
Dashboard: Real-time level values and whether price is currently above or below each key level
Configurable Timezone: Works for multiple market sessions globally
Label Size and Line Width Controls
Input Parameters
Timezone: Market-specific timezone for session detection
Show Premarket, IB, Previous Day: Individual toggles
IB Extension Levels: Number of extension multiples to show (0-4)
Color inputs for each session type
Label size and line width settings
How to Use This Indicator
Premarket Range as Reference
Price trading above the premarket high at the regular session open is constructive. A break below the premarket low often draws bearish attention. The premarket midpoint frequently acts as intraday support or resistance.
Initial Balance Breakouts
When price breaks above the IB high with momentum, the extension levels provide natural targets. An IB high breakout that reaches IB +1x suggests continuation may carry to IB +2x. Reversals from IB extension levels are also common.
Previous Day Level Confluences
When the premarket or IB range aligns closely with the previous day's high or low, that confluence represents an area where two independent session-based reference points agree — a stronger potential reaction zone.
Limitations
Session detection requires intraday data. The indicator is not meaningful on daily or higher timeframes
Some brokers and data providers do not include premarket data. On charts without premarket bars, the premarket range will be empty
Extension levels are mechanical projections of the IB range. They are reference points, not guaranteed targets
The Previous Day tracking resets on each new session. On instruments that trade continuously (such as some crypto markets), the day boundary is user-defined by the timezone setting
Originality Statement
The integration of three distinct session types (premarket, initial balance, and previous day) within a single dynamically updating visualization system provides a consolidated view that would otherwise require multiple separate tools. The live-expanding zone boxes with simultaneous line extension represent a unified approach to session level tracking. The IB extension projection system is built around the specific multiples used by institutional traders who apply IB methodology.
Disclaimer
This indicator is for educational and informational purposes only. Session levels are historical reference points and do not predict future price reactions. Price can and regularly does pass through any level without reaction. Use in conjunction with other analysis and always apply proper risk management.
-Made with passion by officialjackofalltrades
Indicator

Market Structure Navigator [JOAT]Market Structure Navigator
Introduction
Market structure is one of the most widely discussed concepts in technical analysis, yet most tools that attempt to visualize it reduce swing highs and swing lows to single price points. In practice, price rarely reverses at a precise tick level — it reacts within a zone , which may span several ATR units depending on the instrument and timeframe. This distinction matters: treating a level as a point rather than a zone leads to false breaks being mistaken for genuine structural shifts.
The Market Structure Navigator addresses this by modeling every significant swing high and swing low as an ATR-based zone with measurable thickness. It tracks two layers of structure simultaneously — external (major) pivots that define the larger-degree trend, and internal (minor) pivots that provide context within that trend. Each zone passes through a three-state lifecycle, and structural breaks are automatically classified as either Break of Structure (BOS) or Change of Character (CHoCH), giving you an immediate read on whether a break confirms the existing trend or signals a potential reversal.
This is an overlay indicator — all elements are drawn directly on the price chart.
---
Core Concepts
Dual-Layer Structure: External and Internal
The indicator identifies two categories of structural pivots using PulseWire's built-in pivot functions:
External structure (major): Pivots requiring a configurable number of bars on each side (default 20). These are the significant swing highs and lows that define the broader trend context. They update less frequently and represent the higher-degree market structure.
Internal structure (minor): Pivots requiring fewer bars on each side (default 7). These fire more frequently and capture the sub-swings that occur within the larger structural moves.
This dual-layer approach mirrors how institutional analysis treats structure: external levels define the direction of the larger trend; internal levels provide precision context for entries and exits within that trend.
Zone Geometry and ATR Thickness
Rather than marking a pivot as a single horizontal line, each pivot is rendered as a rectangular zone. The zone's top and bottom are calculated as:
zoneTop = pivotPrice + (ATR * zoneAtrMult)
zoneBottom = pivotPrice - (ATR * zoneAtrMult)
The default ATR multiplier is 0.5, meaning the zone extends half an ATR above and below the pivot price. This thickness is dynamic — it adjusts to the current volatility of the instrument rather than using a fixed pip or point value. Zones extend to the right as new bars form, keeping them visible as price approaches.
Three-State Zone Lifecycle
Every zone passes through three possible states:
Active (State 0): The zone has formed and not yet been tested. It extends to the right as bars pass, representing untested support or resistance. This is the most significant state — an active zone has not had its interest absorbed.
Swept (State 1): Price has reached the midpoint of the zone (configurable as either a wick touch or a close through the midpoint). A swept zone has been tested and shows that some activity occurred at that level. It may have weakened but is not yet confirmed as broken.
Broken (State 2): Price has closed decisively beyond the zone boundary (above the top for a resistance zone, below the bottom for a support zone). A broken zone stops extending. This state marks the structural failure of that level.
This lifecycle gives actionable information that a single horizontal line cannot. An active zone is very different from a swept zone even if they appear at the same price level.
BOS and CHoCH Classification
When price breaks through the last significant external high or low, the indicator determines whether the break is:
Break of Structure (BOS): The break occurs in the same direction as the current trend. A bullish BOS is a higher high that extends a confirmed uptrend; a bearish BOS is a lower low extending a downtrend. BOS signals trend continuation.
Change of Character (CHoCH): The break occurs against the current trend direction. A CHoCH in a downtrend means price has broken above the last significant swing high — a structural signal that the trend may be reversing. CHoCH signals a potential regime shift, not a confirmed reversal.
Both external and internal structural breaks are tracked separately. An internal CHoCH during an external downtrend, for example, may represent a short-term countertrend move within a larger bearish structure — context that a single-layer tool would miss.
Momentum Normalization
Momentum is calculated as the normalized price change:
momentum = priceChange / stdev(close, lookback)
This expresses the size of recent price movement in terms of its own standard deviation, making the momentum reading comparable across different instruments and volatility regimes.
Target Arrows
When an internal structural break occurs, the indicator draws a directional arrow label pointing toward the next significant external level. This provides a visual read on where price may be targeting within the larger structural context.
---
Features
Dual-layer structure detection: external major pivots and internal minor pivots tracked independently
ATR-dynamic zone thickness — zones adapt to current instrument volatility
Three-state zone lifecycle: Active, Swept, Broken — each visually distinct
Automatic BOS vs. CHoCH classification for both external and internal breaks
Configurable sweep mode: wick-based (high/low touches midpoint) or close-based (close through midpoint)
Equal high/low detection with configurable ATR tolerance to flag double tops/bottoms
Target arrows on internal breaks pointing toward the next external level
Dashboard table showing trend state, momentum, active zone counts, last known structural levels, and last break type
Full visual toggle controls for all overlay elements
Maximum zone count cap per type to maintain chart performance
---
Dashboard Table
A table displayed at the top-right of the chart provides a live summary of structural conditions:
Ext Trend: Current external trend direction (Bullish / Bearish)
Int Trend: Current internal trend direction
Momentum: Normalised momentum value
Ext Zones Active: Number of currently active external zones
Int Zones Active: Number of currently active internal zones
Last Ext High / Low: Price level of the most recent significant external pivot high and low
Last Break: The most recent break type (eBOS, eCHoCH, iBOS, iCHoCH)
---
Color System
External high zones: red
External low zones: white
Internal high zones: teal
Internal low zones: blue
BOS labels: green
CHoCH labels: red
This color separation allows you to immediately distinguish between the two structural layers without reading labels.
---
Input Parameters
External Pivot Length (default 20) — bars required on each side for a major pivot to confirm
Internal Pivot Length (default 7) — bars required on each side for a minor pivot to confirm
ATR Length (default 14) — ATR period used for zone thickness calculation
Zone ATR Multiplier (default 0.5) — controls how wide each zone is relative to ATR
Equal H/L Tolerance (default 0.3 ATR) — how close two pivots must be to be considered equal highs or lows
Sweep Mode (Wick / Close) — whether zone sweeps are triggered by wick touch or candle close through the midpoint
Max Zones Per Type (default 40) — caps the number of active zones drawn per category to preserve chart performance
BOS Lookback (default 30) — bars looked back when checking for structural breaks
Visual Toggles — individual controls for zones, BOS/CHoCH labels, target arrows, and the dashboard table
---
How to Use
Apply to any chart. The indicator will begin plotting zones as enough bars form to confirm pivots at the chosen lengths.
Allow sufficient historical bars to load so that the external pivots have time to confirm — with extLen set to 20, a pivot requires 20 bars after the swing point before it is officially plotted.
Read the external layer first. The external trend (eBOS/eCHoCH sequence) tells you the larger-degree direction. Trade in alignment with this unless you have strong reason to fade it.
Use the internal layer for timing. Internal CHoCH events within an external uptrend can signal pullback entries; internal BOS events in the direction of the external trend can confirm continuation.
Active zones are the most significant. A first-touch of an active zone is generally more meaningful than a return to a swept or broken zone.
When price approaches a zone, check the sweep mode setting and monitor whether price is reaching the midpoint (sweep) or closing through the boundary (break).
The target arrow on an internal break shows the next external level — this is a reference, not a guaranteed target.
---
Limitations
Pivot detection is inherently lagging. A pivot at bar N is only confirmed after N + extLen (or intLen) additional bars have formed. This means zones appear after the fact — the exact pivot price was in the past by the time the zone is drawn.
With longer pivot lengths, the indicator requires more historical bars to display meaningful structure. On short lookback windows or when first applied to a chart, the initial display may show few or no zones until sufficient pivot confirmation has accumulated.
ATR-based zone thickness means zone width changes with volatility. During high-volatility periods, zones become wider and may overlap. During compressed volatility, zones are narrower. Adjust the ATR multiplier if zones are too wide or too narrow for your preferred trading style.
The BOS/CHoCH classification is based on the direction of the previous break relative to the current one. In choppy, range-bound markets, rapid BOS/CHoCH alternation is possible and does not necessarily indicate a trend — it may simply reflect noise.
Zone lifecycle states reflect price behavior relative to the zone midpoint and boundary. They do not predict whether a swept zone will hold or whether a broken zone will become a new support/resistance level.
Maximum zone count limits (default 40 per type) are necessary to maintain chart performance. On instruments or timeframes with many pivot formations, older zones will be removed as new ones are added.
No indicator can classify market structure with certainty in real time. CHoCH signals a potential reversal; it does not confirm one. Always apply additional judgment.
---
Originality Statement
The distinguishing design decisions in this indicator are: zone-based pivot modeling, the three-state lifecycle, and the integrated dual-layer structure system.
Most structure tools mark a swing high or low as a horizontal line at a single price. This indicator models each pivot as a zone with ATR-derived thickness, acknowledging that price reactions do not occur at a tick but within a range that varies with the instrument's current volatility. A 0.5 ATR zone around a pivot is a more honest representation of where liquidity and interest are likely to cluster.
The three-state lifecycle (Active → Swept → Broken) adds information that static horizontal lines cannot convey. An active zone that has never been tested is categorically different from one that has seen a wick test — and both are different from a zone that has been fully broken. Treating these three states identically discards relevant context.
The dual-layer architecture (external major + internal minor) is not simply running the same algorithm twice at different sensitivities. The external layer provides the trend framework; the internal layer provides the tactical sub-structure within it. The BOS/CHoCH classification connects these two layers — an internal CHoCH is interpreted in the context of the external trend direction, not in isolation.
---
Disclaimer
This indicator is provided for educational and informational purposes only. It does not constitute financial advice, investment advice, or a recommendation to buy or sell any security. All trading involves risk, including the possible loss of principal. Past indicator performance does not guarantee future results. Always conduct your own research and consult a qualified financial professional before making any trading decisions.
-Made with passion by officialjackofalltrades
Indicator

Statistical Zone Engine [JOAT]Statistical Zone Engine
Introduction
Statistical Zone Engine is an open-source overlay indicator that builds pivot-cluster support and resistance zones with walk-forward statistical scoring. Each zone is backed by a full expected value computation: the indicator counts historical touches and bounces from the zone's price range over a configurable lookback, computes a win rate, and derives an EV score in units of R. Zones are tiered into four strength categories — Weak, Moderate, Strong, and Institutional — based on their live touch count, with border thickness and fill opacity scaling proportionally to the EV and tier. Labels display R:R, win rate, EV, and touch count, all updated live each bar.
The core problem this indicator solves is that conventional support and resistance drawing tools are entirely qualitative — the trader decides what is significant by eye. The SZE replaces that subjective judgment with a quantitative framework: zone strength is computed from actual price behavior over the lookback window, not from the visual prominence of the swing. A zone that has been tested eight times with seven bounces carries an objectively different statistical weight from one that was tested twice with one bounce, and the SZE communicates that difference through its tier system, border rendering, and live EV label. Cluster merging prevents adjacent pivots at nearly the same price from spawning overlapping zones that would misrepresent true strength.
Core Concepts
1. Pivot Cluster Zones
The indicator uses ta.pivothigh and ta.pivotlow with a configurable swing length. When a new pivot high is confirmed and no existing resistance zone is within ATR * clusterTol of the pivot price, a new zone is created. The cluster merge check prevents nearby pivots from generating duplicate zones at the same structural level — if a zone already exists within the tolerance radius, no new zone is spawned. This means zones represent genuinely distinct price levels, not just the most recent pivot above an existing zone.
2. Walk-Forward Expected Value Computation
For each new zone, the indicator scans the prior lookback bars and counts every bar where the high-low range overlapped with the zone. For each touch, it checks whether the close exited the far side of the zone — if so, it counts as a bounce. Win rate = bounces / touches. EV = winRate * tpRR - (1 - winRate) * slRR. A positive EV means the zone has historically resolved in the bounce direction more often than not, weighted by the configured R:R ratio.
3. Four-Tier Strength System
Zone tier is determined by live touch count:
Weak: 1-2 touches — thin border (width 1), low opacity fill
Moderate: 3 touches — medium border (width 1), moderate opacity fill
Strong: 4-5 touches — thicker border (width 2), more opaque fill
Institutional: 6+ touches — widest border (width 3), most opaque fill
Both the border width and the border transparency scale with tier, producing a visual system where the most historically significant zones dominate the chart. The fill opacity also scales with EV — zones with positive EV are more opaque, zones with negative EV are more transparent.
4. Live Label Updates
Each zone carries a label at its right edge displaying: type (RES/SUP), tier name, touch count, win rate percentage, and EV in R units. The label is recalculated and updated every bar when price is inside the zone, ensuring the statistics reflect current behavior. The label text color also scales with tier — more significant zones use brighter text.
5. Sweep Detection
When price closes fully through a zone boundary — above the top for resistance, below the bottom for support — the zone is marked as mitigated. If volume exceeds 1.4x the SMA(20) at the mitigation bar, a BREAK label fires above or below the zone. The total sweep count accumulates in the dashboard. After a break, zone fill fades to near-transparent, clearly communicating that the level has been closed through.
Features
Pivot-Cluster Zone Detection: Swing-pivot based zone creation with ATR-cluster merge deduplication — nearby pivots do not spawn overlapping zones
Walk-Forward EV Computation: Historical touch/bounce counting over configurable lookback produces win rate and R-unit EV scores for each zone
Four-Tier Strength System: Weak / Moderate / Strong / Institutional tiers based on touch count — border width and opacity scale with tier
EV-Scaled Fill Opacity: Positive EV zones are more opaque, negative EV zones are more transparent — fill intensity communicates statistical quality
Live Label Updates: Type, tier, touch count, win rate %, and EV in R units update every bar when price is inside the zone
Sweep Detection with Volume Filter: BREAK label fires on zone close-through when volume exceeds 1.4x SMA(20)
Post-Break Zone Fade: Broken zones fade visually, clearly delineating active versus mitigated levels
Proximity Markers: Diamond plotchar fires when price first enters a zone neighborhood
Min Touches Filter: Only zones with at least the configured minimum historical touches are displayed, eliminating freshly-formed single-touch zones
Zone Trim Management: Oldest zones are removed when arrays exceed the maximum zone count, keeping memory bounded
9-Row Dashboard: Active resistance and support zone counts, near-zone states, total sweep count, TP and SL R:R ratios, ATR
4 Alertconditions: Zone entry for resistance and support, new zone creation for both sides
Input Parameters
Zone Detection:
Swing Length: Pivot confirmation lookback period — higher values detect fewer, more significant pivots (default 10)
Cluster ATR Tolerance: Pivots within ATR * this of an existing zone are merged rather than spawning a new zone (default 0.4)
Zone ATR Width: Half the zone height as an ATR multiple — controls vertical thickness (default 0.35)
Max Active Zones: Maximum concurrent zones per direction before oldest are trimmed (default 12)
Min Touches To Show: Minimum historical touches required to display a zone (default 2)
Statistics:
EV Lookback (bars): Historical bar window for touch/bounce counting (default 200)
TP R:R Ratio: Take-profit distance in R units used for EV calculation (default 2.0)
SL R:R Ratio: Stop-loss distance in R units used for EV calculation (default 1.0)
Visuals:
Toggles for zone labels, sweep labels, and dashboard
Resistance Color (default orange #f97316), Support Color (default sky blue #38bdf8)
How to Use This Indicator
Primary Setup — Statistical Zone Entry:
Look for Institutional or Strong zones with positive EV — these are the levels with the longest bounce history weighted by your R:R parameters. When price enters a zone, the live label shows the current win rate. Enter at the zone edge with a stop beyond the far edge and a target at your TP R:R ratio from entry.
EV as a Selection Filter:
Multiple zones may be on the chart simultaneously. Prioritize zones with positive EV labels (e.g., EV: 1.25R) over zones with negative EV. A zone with 4 touches and 75% win rate at 2R:1R produces an EV of +1.25R per trade — objectively worth trading. A zone with 3 touches and 33% win rate at the same R:R produces EV of -0.33R — not worth trading regardless of how prominent it looks.
Using the Sweep Count:
The total sweep count on the dashboard accumulates every time a zone break is detected with high-volume momentum. Rising sweep counts in one direction indicate the market is consistently breaking through levels on that side — a sign of trending pressure rather than range behavior. Adjust bias accordingly.
Cluster Merge and Fresh Zones:
When a new pivot forms near an existing zone and is merged rather than spawning a new zone, the existing zone's historical statistics remain unchanged. A fresh zone with no historical data will show EV close to 0 — treat these as unproven until more touches accumulate.
Indicator Limitations
EV computation scans up to the full lookback on every qualifying pivot — on very long lookback settings and active pivot instruments, this can increase calculation time
The walk-forward EV uses the same zone size (ATR * width at creation time) for historical counting. If ATR changes significantly between creation time and the historical scan, the touch count may include bars where the equivalent zone boundaries would have been different
Cluster merging uses the current ATR at detection time. In periods of sharply rising or falling ATR, two zones that appear to merge at one ATR level may have been distinct at a different level, potentially underrepresenting zone density
The touch count displayed on the label is the live count updated each bar. The historical bounce count used for EV is computed at creation time and is not re-scanned dynamically — the label win rate reflects creation-time statistics
The minimum touches filter removes zones with fewer historical touches than the threshold. On fresh instruments or small lookbacks, most zones may be filtered out, especially on less-traded timeframes
Originality Statement
This indicator is original in its walk-forward EV scoring framework, four-tier visual strength system driven by live touch counts, and the cluster merging deduplication approach. The publication is justified because:
Walk-forward EV computation in R units provides a quantitative quality signal not found in standard support/resistance tools — each zone is backed by a historically derived expected value, enabling objective zone selection
The four-tier visual system (border width and opacity scaling with tier and EV) embeds the statistical quality directly into the zone appearance, eliminating the need to read labels to gauge significance
ATR-cluster merge deduplication prevents pivot-dense markets from generating overlapping zones at the same structural level, producing a cleaner, more meaningful map than raw pivot-based zone tools
Live label updates during zone interaction show the evolving win rate and EV as each new touch is counted, providing real-time statistical feedback not present in static zone indicators
The post-break fade combined with the total sweep count dashboard provides a structural memory of how many levels have been invalidated, enabling a directional bias gauge derived from zone lifecycle data
Disclaimer
This indicator is provided for educational and informational purposes only and does not constitute financial advice or a recommendation to buy or sell any financial instrument. Past performance of any pattern or signal does not guarantee future results. All trading involves substantial risk. Always use proper risk management and conduct your own independent analysis.
— Made with passion by officialjackofalltrades
Indicator

Adaptive Trend Ribbon [JOAT]Adaptive Trend Ribbon
Introduction
The Adaptive Trend Ribbon is an advanced open-source trend-following indicator that combines multi-layer moving average analysis with real-time volatility adaptation, momentum weighting, and volume confirmation. This indicator transforms traditional ribbon systems into an institutional-grade tool by dynamically adjusting to market conditions, providing traders with a comprehensive view of trend strength, direction, and potential reversals across all timeframes.
Unlike static ribbon indicators that use fixed parameters, this system continuously adapts to volatility percentiles, momentum shifts, and volume surges, creating a responsive framework that works equally well in ranging, trending, and explosive market conditions. The indicator is designed for traders who understand that market regimes change and that adaptive systems outperform static ones in real-world trading.
Why This Indicator Exists
This indicator addresses critical limitations in traditional moving average systems by introducing adaptive intelligence that responds to market microstructure. The core innovation lies in combining multiple adaptation mechanisms:
Volatility Adaptation: Ribbon parameters adjust based on ATR percentile ranking, expanding during high volatility and contracting during consolidation
Momentum Adaptation: RSI-based momentum weighting modifies ribbon sensitivity to capture acceleration and deceleration phases
Volume Adaptation: Volume ratio analysis confirms trend validity and filters false signals during low-participation moves
Multi-Timeframe Alignment: Higher timeframe trend confirmation across three customizable periods validates directional conviction
Ribbon Compression Detection: Identifies coiling patterns that precede explosive breakouts with statistical precision
Twist Reversal System: Detects ribbon layer crossovers that signal potential trend exhaustion or reversal
Each adaptation layer provides unique intelligence. Volatility adaptation ensures the ribbon remains relevant across different market regimes, momentum adaptation captures trend acceleration, volume adaptation confirms institutional participation, MTF alignment validates conviction, compression detection anticipates breakouts, and twist detection warns of reversals.
Core Components Explained
1. Adaptive Multiplier System
The indicator calculates three distinct adaptation factors that combine into a unified multiplier:
Volatility Multiplier: Based on ATR percentile ranking over 100 bars, this factor increases ribbon responsiveness during high volatility periods and decreases it during low volatility. The calculation uses percentile ranking rather than raw ATR to normalize across different instruments and timeframes.
Momentum Multiplier: Derived from RSI deviation from the 50 midpoint, this factor amplifies ribbon sensitivity during strong momentum phases and dampens it during consolidation. The normalization ensures the multiplier remains bounded and predictable.
Volume Multiplier: Calculated as the ratio of current volume to 20-period average volume, capped at 2x to prevent extreme distortions. This factor confirms that price movements are supported by genuine participation rather than thin-market noise.
The combined adaptive multiplier averages these three factors, creating a balanced response to multiple market dimensions simultaneously. This multi-factor approach prevents over-optimization to any single market characteristic.
2. Multi-Layer Ribbon Construction
The ribbon consists of 3 to 20 customizable moving average layers (default 12) spanning from a fast length (default 5) to a slow length (default 55). The indicator supports five moving average types:
EMA (Exponential Moving Average): Responsive to recent price action, ideal for trending markets
SMA (Simple Moving Average): Equal weighting, provides stable trend identification
WMA (Weighted Moving Average): Linear weighting favoring recent data
VWMA (Volume-Weighted Moving Average): Incorporates volume into price averaging
HMA (Hull Moving Average): Reduced lag through weighted calculations and square root periods
Each ribbon layer is calculated with evenly distributed periods between fast and slow lengths. The spacing ensures smooth gradient transitions and prevents clustering that can create false signals. The ribbon can optionally use Heikin Ashi candles as the source, providing additional smoothing for noisy instruments.
3. Trend Detection and Classification
The indicator employs multiple trend detection mechanisms:
Ribbon Trend: Determined by comparing the fastest MA to the slowest MA. When fast > slow, the ribbon trend is bullish; when fast < slow, it's bearish.
Price Trend: Determined by comparing current price to the middle ribbon layer. This provides confirmation that price is aligned with the ribbon structure.
Aligned Trend: Occurs when both ribbon trend and price trend agree, indicating high-probability directional moves.
Trend strength is measured using percentile ranking of ribbon width over 50 bars. Higher percentile rankings indicate stronger trends with greater separation between ribbon layers, while lower rankings suggest consolidation or trend exhaustion.
4. Ribbon Metrics and Analysis
The indicator calculates comprehensive ribbon metrics:
Ribbon Width: Absolute distance between fastest and slowest MAs, providing a raw measure of trend strength.
Ribbon Width Percent: Width expressed as a percentage of current price, normalizing across different price levels and instruments.
Ribbon Strength: Percentile ranking of width percent over 50 bars, showing relative strength compared to recent history.
Compression Detection: Identifies when ribbon width falls below its 20-period average, signaling potential energy buildup before breakouts.
Expansion Rate: Measures the rate of change in ribbon width, identifying acceleration or deceleration in trend development.
These metrics work together to provide a complete picture of trend dynamics, from initiation through maturation to exhaustion.
5. Twist Detection System
The twist detection system identifies potential reversals by counting crossovers between adjacent ribbon layers. When multiple layers cross simultaneously (threshold: 50% of total layers), it signals a "twist" - a condition where the ribbon is reorganizing its structure, often preceding significant directional changes.
The system tracks twist count cumulatively, allowing traders to identify instruments or timeframes experiencing frequent regime changes versus those in stable trends. High twist counts suggest choppy, range-bound conditions, while low twist counts indicate clean trending environments.
6. Trend Acceleration Detection
Trend acceleration is measured using rate-of-change calculations on the middle ribbon layer:
Trend Momentum: 5-period rate of change of the mid-ribbon MA
Trend Acceleration: 3-period rate of change of trend momentum (second derivative)
When acceleration exceeds one standard deviation of its 20-period history, the indicator flags accelerating conditions. This early warning system helps traders identify when trends are gaining steam versus when they're losing momentum, even if price continues in the same direction.
7. Multi-Timeframe Alignment
The indicator requests ribbon trend data from three higher timeframes (default: 15m, 60m, 240m) and calculates an alignment score. The score ranges from -1 (all timeframes bearish) to +1 (all timeframes bullish), with values near zero indicating mixed or transitional conditions.
MTF alignment above 0.75 or below -0.75 indicates strong multi-timeframe conviction, suggesting high-probability directional moves. This feature is particularly valuable for swing traders who need confirmation that their trade direction aligns with higher timeframe structure.
Visual Elements
Ribbon Lines: Up to 20 gradient-colored MA lines with transparency increasing from fast to slow, creating a visual "ribbon" effect
Cloud Fill: Filled area between fastest and slowest MAs, colored based on trend direction and strength
Signal Labels: Text-based labels for crossovers, twists, compression breakouts, and extreme conditions
Background Heatmap: Optional gradient background showing ribbon strength intensity
Compression Zones: Subtle background highlighting during ribbon compression periods
MTF Alignment Background: Very subtle background when multi-timeframe alignment is strong
Comprehensive Dashboard: Real-time metrics table showing trend, strength, width, compression status, acceleration, twist count, volatility, momentum, volume ratio, expansion rate, adaptive factor, and MTF alignment
The dashboard displays 12 key metrics with color-coded values and status indicators, providing at-a-glance assessment of all ribbon dimensions simultaneously.
Input Parameters
Core Settings:
Ribbon Count: Number of MA layers (3-20, default 12)
Fast Length: Shortest MA period (2-50, default 5)
Slow Length: Longest MA period (10-200, default 55)
MA Type: EMA, SMA, WMA, VWMA, or HMA (default EMA)
Adaptation Settings:
Adapt to Volatility: Enable/disable ATR-based adaptation (default enabled)
Adapt to Momentum: Enable/disable RSI-based adaptation (default enabled)
Adapt to Volume: Enable/disable volume ratio adaptation (default enabled)
Use Heikin Ashi: Calculate ribbon using HA candles instead of regular OHLC (default disabled)
Display Options:
Show Cloud: Toggle ribbon cloud fill (default enabled)
Show Ribbon Lines: Toggle individual MA lines (default enabled)
Show Signals: Toggle entry/exit signal labels (default enabled)
Show Twists: Toggle twist reversal markers (default enabled)
Show Compression: Toggle compression breakout signals (default enabled)
Show Dashboard: Toggle metrics table (default enabled)
Show Heatmap: Toggle strength-based background gradient (default enabled)
Multi-Timeframe:
Enable MTF: Toggle multi-timeframe analysis (default enabled)
HTF 1/2/3: Three higher timeframe selections (default 15m, 60m, 240m)
Colors:
All colors are fully customizable including bull ribbon (neon cyan), bear ribbon (neon pink), twist (gold), compression (neon purple), and acceleration (neon green).
How to Use This Indicator
Step 1: Assess Ribbon Direction and Alignment
Check the dashboard "Trend" field and observe ribbon color. Bullish ribbon (cyan) indicates uptrend, bearish ribbon (pink) indicates downtrend. Verify that price is aligned with ribbon direction - price above ribbon in uptrends, below in downtrends.
Step 2: Evaluate Trend Strength
Monitor the "Strength" metric in the dashboard. Values above 70 indicate strong trends with high conviction, 40-70 suggests moderate trends, below 40 indicates weak or developing trends. Strong trends typically offer better risk/reward for trend-following entries.
Step 3: Watch for Compression Breakouts
When the dashboard shows "Compression: YES" and "Width" is contracting, prepare for potential breakout. Compression breakout signals appear when ribbon expands after coiling, often marking the start of new trend legs. These setups offer excellent risk/reward as stops can be placed tight to the compression zone.
Step 4: Identify Twist Reversals
Twist signals (gold labels) indicate ribbon layers are crossing, suggesting potential trend exhaustion or reversal. High twist counts in the dashboard suggest choppy conditions where trend-following strategies may underperform. Use twists as warnings to tighten stops or reduce position size.
Step 5: Confirm with Multi-Timeframe Alignment
Check MTF alignment in the dashboard. "ALIGNED" status with high percentage (>75%) confirms that higher timeframes support your trade direction. "MIXED" status suggests caution as higher timeframes may be in conflict with current timeframe trend.
Step 6: Monitor Acceleration Signals
Acceleration labels (neon green) indicate trend momentum is increasing. These often appear early in new trend legs and can signal optimal entry timing. Lack of acceleration in mature trends may warn of impending exhaustion.
Step 7: Use Volume Confirmation
Check "Volume Ratio" in dashboard. Ratios above 1.5x confirm strong participation, while ratios below 0.8x suggest weak participation. Volume-confirmed signals (labeled "STRONG BUY/SELL") offer higher probability than signals on low volume.
Best Practices
Use on liquid instruments with consistent volume patterns for most reliable adaptation
Combine with price action analysis - ribbon shows trend, price action shows entry timing
In ranging markets, reduce ribbon count and increase fast/slow length spread to filter noise
In trending markets, increase ribbon count for finer gradient visualization
Pay attention to compression zones near key support/resistance levels for high-probability breakout setups
Use MTF alignment as a filter - only take trades when alignment exceeds 75% in your direction
Twist signals are most reliable when they occur at extreme ribbon strength levels (>70 or <30)
Monitor adaptive factor in dashboard - values above 1.3 indicate high adaptation, below 0.9 indicate low adaptation
Heikin Ashi mode reduces noise but adds lag - use for very choppy instruments only
Acceleration signals work best in early trend phases, less reliable in mature trends
Volume ratio below 0.5 suggests thin liquidity - avoid new positions during these periods
Ribbon width expansion rate above 5% indicates strong trend acceleration
Indicator Limitations
Moving average-based systems inherently lag price action - ribbon confirms trends but doesn't predict them
Adaptation mechanisms require sufficient historical data - may be less reliable on newly listed instruments
MTF analysis requires data availability on all selected timeframes - some instruments may not support all timeframes
Compression detection can produce false signals in extremely low volatility environments
Twist detection sensitivity depends on ribbon count - too few layers may miss twists, too many may over-signal
Volume adaptation assumes volume data is accurate and representative - some instruments have unreliable volume
Heikin Ashi mode adds significant lag and should be used cautiously
Adaptive multiplier can become extreme during unusual market conditions - monitor dashboard values
The indicator shows what is happening, not why - fundamental catalysts can override technical ribbon signals
Ribbon crossovers can whipsaw in ranging markets - use compression detection to filter range-bound periods
Technical Implementation
Built with Pine Script v6 using:
Custom MA calculation function supporting five MA types with dynamic length parameters
Multi-factor adaptive multiplier combining volatility, momentum, and volume dimensions
Percentile-based strength calculations for normalized cross-instrument comparison
Compression detection using rolling average width comparison
Twist detection via adjacent layer crossover counting
Multi-timeframe security requests with proper lookahead settings to prevent future data leakage
Trend acceleration using rate-of-change and second derivative calculations
Dynamic color gradients based on strength percentile ranking
Comprehensive dashboard with 12 real-time metrics and color-coded status indicators
Persistent label system to prevent label proliferation and maintain chart clarity
The code is fully open-source and extensively commented for educational purposes and customization.
Originality Statement
This indicator is original in its comprehensive adaptive approach to ribbon analysis. While moving average ribbons are an established concept, this indicator is justified because:
It introduces multi-factor adaptation (volatility + momentum + volume) not found in standard ribbon indicators
The compression detection system provides statistical breakout anticipation beyond simple width measurement
Twist detection quantifies ribbon reorganization to identify reversal conditions systematically
Multi-timeframe alignment scoring provides conviction measurement across temporal dimensions
Trend acceleration tracking using second derivatives offers early momentum shift detection
The adaptive multiplier system creates a self-adjusting framework that works across all market regimes
Integration of five MA types with Heikin Ashi option provides unprecedented flexibility
The comprehensive dashboard synthesizes 12 distinct metrics into a unified intelligence panel
Persistent label system prevents chart clutter while maintaining signal visibility
Volume confirmation layer filters false signals during low-participation moves
Each component contributes unique intelligence: adaptation ensures relevance across regimes, compression detects energy buildup, twists warn of reversals, MTF alignment validates conviction, acceleration identifies momentum shifts, and the dashboard synthesizes everything into actionable intelligence. The indicator's value lies in combining these complementary perspectives into a cohesive, adaptive trend-following system.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss and is not suitable for all investors.
Moving average-based systems are lagging indicators that confirm trends rather than predict them. Strong ribbon signals do not guarantee profitable trades. Past ribbon performance does not guarantee future ribbon performance. Market conditions change, and strategies that worked historically may not work in the future.
The metrics displayed are mathematical calculations based on current market data, not predictions of future price movement. Ribbon alignment, compression breakouts, and twist signals do not guarantee profitable trades. Users must conduct their own analysis and risk assessment before making trading decisions.
Always use proper risk management, including stop losses and position sizing appropriate for your account size and risk tolerance. Never risk more than you can afford to lose. Consider consulting with a qualified financial advisor before making investment decisions.
The author is not responsible for any losses incurred from using this indicator. Users assume full responsibility for all trading decisions made using this tool.
-Made with passion by officialjackofalltrades Indicator

Pressure Zone Analyzer [JOAT]Pressure Zone Analyzer
Introduction
The Pressure Zone Analyzer is an advanced open-source support/resistance indicator that combines dynamic pivot-based zone detection, Fibonacci level analysis, institutional level tracking, zone strength scoring, and multi-timeframe analysis into a comprehensive pressure zone intelligence system. This indicator helps traders identify where significant buying and selling pressure exists, where institutional levels act as magnets for price, and which zones have the highest probability of holding.
Unlike basic support/resistance indicators that draw static horizontal lines, this analyzer dynamically tracks pressure zones based on pivot points, calculates zone strength using volume, touches, and age, integrates Fibonacci golden zone analysis, monitors institutional weekly/daily levels, and provides real-time position assessment. The indicator is designed for traders who understand that not all support/resistance levels are equal and that zone quality determines trading success.
Why This Indicator Exists
This indicator addresses the challenge of identifying high-quality support and resistance zones in real-time. Markets respect some levels and ignore others. By systematically analyzing zone characteristics, this indicator reveals:
Dynamic Pressure Zones: Identifies support and resistance zones based on pivot points with automatic updates
Zone Strength Scoring: Calculates zone quality (0-100%) using volume, touch count, and age
Fibonacci Integration: Tracks key Fibonacci levels (23.6%, 38.2%, 50%, 61.8%, 78.6%) and golden zone (50-61.8%)
Institutional Levels: Monitors weekly and daily highs/lows that act as institutional reference points
Premium/Discount Zones: Identifies institutional buying zones (discount 0-30%) and selling zones (premium 70-100%)
Multi-Timeframe Analysis: Tracks higher timeframe levels for additional confluence
Position Assessment: Provides real-time analysis of price position relative to all zones
Each component provides different zone intelligence. Pivot-based zones show where price reversed, strength scoring shows zone quality, Fibonacci shows mathematical levels, institutional levels show reference points, premium/discount shows institutional bias, and position assessment shows current market context. Together, they create a comprehensive pressure zone system.
Core Components Explained
1. Dynamic Pivot-Based Zone Detection
Pressure zones are identified using pivot highs and lows:
float pivotHigh = ta.pivothigh(high, pivotLength, pivotLength)
float pivotLow = ta.pivotlow(low, pivotLength, pivotLength)
When a pivot high is detected, a resistance zone is created:
if not na(pivotHigh) and barstate.isconfirmed
PressureZone newZone = PressureZone.new()
newZone.zoneLine := line.new(bar_index - pivotLength, pivotHigh, bar_index + 50, pivotHigh,
color=resistanceColor, width=2, extend=extend.right)
newZone.price := pivotHigh
newZone.startBar := bar_index - pivotLength
newZone.zoneType := "resistance"
newZone.volumeAtZone := volume
Similarly for support zones with pivot lows. Zones are stored in arrays and automatically managed (old zones are removed when maximum count is reached).
Zone thickness is calculated as a percentage of price:
calcZoneThickness(float price, float thicknessPercent) =>
float thickness = price * (thicknessPercent / 100)
Default thickness is 0.5% of price, creating a zone rather than a single line. This accounts for the fact that support/resistance is a zone, not a precise price level.
2. Zone Strength Scoring System
Zone strength is calculated using three weighted components:
calcZoneStrength(int touches, float volAtZone, int age, float volWeight, float touchWeight, float ageWeight) =>
// Volume score (0-1)
float avgVolume = ta.sma(volume, 50)
float volScore = avgVolume > 0 ? math.min(volAtZone / avgVolume, 3.0) / 3.0 : 0.5
// Touch score (0-1)
float touchScore = math.min(touches / 5.0, 1.0)
// Age score (0-1) - newer zones score higher
float ageScore = math.max(1.0 - (age / 500.0), 0.0)
// Weighted combination
float strength = (volScore * volWeight) + (touchScore * touchWeight) + (ageScore * ageWeight)
Default weights:
Volume Weight: 40% - Higher volume at zone formation indicates institutional interest
Touch Weight: 30% - More touches indicate stronger zone
Age Weight: 30% - Newer zones are more relevant than old zones
Strength interpretation:
> 70%: Strong zone - high probability of holding
50-70%: Moderate zone - decent probability of holding
< 50%: Weak zone - lower probability of holding
The indicator tracks touches in real-time:
for zone in resistanceZones
if inZone(high, zone.price, thickness)
zone.touches += 1
zone.volumeAtZone := math.max(zone.volumeAtZone, volume)
Each touch increases zone strength, and high-volume touches increase it further.
3. Fibonacci Level Analysis
Fibonacci levels are calculated based on recent swing range:
calcFibLevels(float high, float low) =>
float priceRange = high - low
float fib236 = low + (priceRange * 0.236)
float fib382 = low + (priceRange * 0.382)
float fib500 = low + (priceRange * 0.500)
float fib618 = low + (priceRange * 0.618)
float fib786 = low + (priceRange * 0.786)
The indicator focuses on key levels:
50% (0.5): Equilibrium level - often acts as support/resistance
61.8% (0.618): Golden ratio - strongest Fibonacci level
Golden Zone is calculated as the area between 50% and 61.8%:
calcGoldenZone(float high, float low) =>
float priceRange = high - low
float goldenTop = low + (priceRange * 0.618)
float goldenBottom = low + (priceRange * 0.5)
The golden zone represents optimal entry area with best risk:reward ratio. Entries in the golden zone allow tight stops below 50% with targets at swing high.
4. Institutional Level Tracking
The indicator monitors key institutional reference levels:
Weekly High/Low:
float lastWeekHigh = request.security(syminfo.tickerid, "W", high ,
barmerge.gaps_off, barmerge.lookahead_off)
float lastWeekLow = request.security(syminfo.tickerid, "W", low ,
barmerge.gaps_off, barmerge.lookahead_off)
Daily High/Low:
float yesterdayHigh = request.security(syminfo.tickerid, "D", high ,
barmerge.gaps_off, barmerge.lookahead_off)
float yesterdayLow = request.security(syminfo.tickerid, "D", low ,
barmerge.gaps_off, barmerge.lookahead_off)
These levels act as magnets for price because:
Institutional algorithms reference these levels for order placement
Retail traders watch these levels for breakouts/breakdowns
Options and futures contracts often reference these levels
Previous day/week ranges provide context for current price action
5. Premium/Discount Zone System
Based on weekly range, the indicator calculates institutional bias zones:
float weekRange = lastWeekHigh - lastWeekLow
// Premium Zone (70-100% of range) - Institutional selling zone
float premiumTop = lastWeekHigh
float premiumBot = lastWeekLow + (weekRange * 0.7)
// Discount Zone (0-30% of range) - Institutional buying zone
float discountTop = lastWeekLow + (weekRange * 0.3)
float discountBot = lastWeekLow
// Golden Zone (50-61.8% of range) - Optimal entry zone
float goldenTop = lastWeekLow + (weekRange * 0.618)
float goldenBot = lastWeekLow + (weekRange * 0.5)
Trading logic:
In Discount Zone: Look for long entries - institutions are likely buying
In Premium Zone: Look for short entries - institutions are likely selling
In Golden Zone: Optimal risk:reward for entries in direction of trend
Between Zones: Neutral area - wait for price to reach discount or premium
This concept is based on institutional order flow: institutions buy in discount zones (value area) and sell in premium zones (overvalued area).
6. Multi-Timeframe Level Analysis
The indicator tracks higher timeframe levels for additional confluence:
float htfHigh = request.security(syminfo.tickerid, htfTimeframe, high ,
barmerge.gaps_off, barmerge.lookahead_off)
float htfLow = request.security(syminfo.tickerid, htfTimeframe, low ,
barmerge.gaps_off, barmerge.lookahead_off)
HTF timeframe is customizable (default: Daily). When current timeframe zones align with HTF levels, confluence increases zone strength.
7. Real-Time Position Assessment
The indicator continuously assesses price position:
// Check if in golden zone
bool inGoldenZone = close >= goldenBottom and close <= goldenTop
// Check if near resistance
bool nearResistance = false
for zone in resistanceZones
if inZone(close, zone.price, thickness * 2)
nearResistance := true
// Check if near support
bool nearSupport = false
for zone in supportZones
if inZone(close, zone.price, thickness * 2)
nearSupport := true
Position status:
AT RESISTANCE: Price near strong resistance zone - consider shorts or exits
AT SUPPORT: Price near strong support zone - consider longs or exits
GOLDEN ZONE: Price in optimal entry area - look for entries in trend direction
NEUTRAL: Price not near any significant zones - wait for better positioning
Visual Elements
Pressure Zone Lines: Horizontal lines showing resistance (red) and support (green) zones
Zone Strength Boxes: Filled boxes showing only strongest zones (strength > 60%) with strength percentage
Fibonacci Lines: Key Fibonacci levels (50% and 61.8%) with distinct colors
Golden Zone Fill: Shaded area between 50% and 61.8% Fibonacci levels
Institutional Lines: Weekly high/low (purple, thick) and Daily high/low (yellow, medium)
HTF Lines: Higher timeframe high/low (cyan) for additional confluence
Premium/Discount Fills: Shaded zones showing premium (red), discount (green), and golden (orange) areas
Position Markers: Visual alerts when price enters golden zone or approaches strong zones
Comprehensive Table: Dashboard showing top 2 resistance zones, top 2 support zones, institutional levels, Fibonacci levels, and current position status
Input Parameters
Pressure Zone Settings:
Zone Detection Length: Period for swing range calculation (default: 50, range: 20-200)
Pivot Length: Period for pivot detection (default: 10, range: 5-50)
Max Zones: Maximum zones to display (default: 8, range: 4-20)
Zone Thickness Percent: Zone width as percentage of price (default: 0.5%, range: 0.1-2.0%)
Fibonacci Settings:
Show Fibonacci Levels: Toggle Fib lines (default: enabled)
Show Golden Zone: Toggle golden zone fill (default: enabled)
Institutional Levels:
Show Last Week High/Low: Toggle weekly levels (default: enabled)
Show Yesterday High/Low: Toggle daily levels (default: enabled)
Strength Scoring:
Show Zone Strength: Toggle strength boxes (default: enabled)
Volume Weight: Weight for volume component (default: 0.4, range: 0.0-1.0)
Touch Weight: Weight for touch component (default: 0.3, range: 0.0-1.0)
Age Weight: Weight for age component (default: 0.3, range: 0.0-1.0)
Multi-Timeframe:
HTF Timeframe: Higher timeframe for level tracking (default: Daily)
Show HTF Levels: Toggle HTF lines (default: enabled)
Colors:
All colors are fully customizable including resistance, support, Fibonacci, golden zone, HTF levels, and institutional levels.
How to Use This Indicator
Step 1: Identify Strongest Zones
Look at the table to see top 2 resistance and support zones with strength percentages. Focus on zones with strength > 70%.
Step 2: Check Institutional Levels
Monitor weekly and daily highs/lows. These act as magnets for price and often provide strong support/resistance.
Step 3: Assess Premium/Discount Position
Determine if price is in premium zone (look for shorts), discount zone (look for longs), or golden zone (optimal entries).
Step 4: Look for Fibonacci Confluence
When pressure zones align with Fibonacci levels (especially 50% and 61.8%), zone strength increases significantly.
Step 5: Monitor Position Status
Check the table's position row. "AT RESISTANCE" or "AT SUPPORT" signals potential reversal or bounce areas.
Step 6: Wait for Zone Tests
Don't chase price. Wait for price to return to strong zones before entering. The best entries occur when price tests a zone and shows rejection.
Step 7: Use HTF Confluence
When current timeframe zones align with HTF levels, probability of zone holding increases. Look for these high-confluence areas.
Best Practices
Use on 15-minute to 4-hour timeframes for optimal zone clarity
Focus on zones with strength > 70% - these have highest probability of holding
Multiple touches increase zone strength - zones that held before are likely to hold again
Golden zone entries offer best risk:reward - tight stops with large targets
Premium/discount zones work best in trending markets
Weekly levels are stronger than daily levels - prioritize weekly when they conflict
Wait for price to reach zones - don't anticipate, react
Look for volume confirmation when zones are tested - high volume rejections are strongest
Combine with price action - zones show where, price action shows when
HTF confluence significantly increases zone strength - prioritize these areas
Indicator Limitations
Zones don't always hold - even strong zones can break during major news or trend changes
Zone strength is relative to recent history - not absolute
Pivot-based detection requires sufficient price history - may not work on newly listed instruments
Maximum zone limits (8 default) mean some valid zones may not be displayed
Zone thickness is a percentage - may be too wide or narrow for some instruments
Premium/discount zones are relative to weekly range - not absolute value areas
Fibonacci levels are based on recent swing - may not align with longer-term structure
The indicator shows zones, not direction - requires trader interpretation
Works best on liquid instruments with clear support/resistance behavior
Zone strength scoring is a guide, not a guarantee - strong zones can still fail
Technical Implementation
Built with Pine Script v6 using:
Custom type definition for PressureZone with strength tracking
Array-based storage for resistance and support zones
Pivot-based zone detection with confirmation
Multi-component zone strength scoring
Touch and volume tracking for each zone
Fibonacci level calculations
Golden zone identification
Multi-timeframe security requests for institutional levels
Premium/discount zone calculations based on weekly range
Real-time position assessment
Dynamic table with 13 rows showing all metrics
Overlap prevention for visual clarity
Automatic zone cleanup when maximum count is reached
The code is fully open-source and can be modified to suit individual trading styles and preferences.
Originality Statement
This indicator is original in its comprehensive pressure zone analysis. While individual components (pivot-based S/R, Fibonacci, institutional levels) are established concepts, this indicator is justified because:
It synthesizes five distinct zone analysis methodologies into a unified system
Zone strength scoring combines volume, touches, and age with customizable weights
Automatic zone management prevents clutter while highlighting strongest zones
Integration of Fibonacci golden zone with pivot-based zones
Premium/discount zone system based on institutional order flow concepts
Multi-timeframe level tracking for confluence analysis
Real-time position assessment provides actionable trading context
Comprehensive table shows all metrics simultaneously for holistic analysis
Overlap prevention ensures clean charts without sacrificing information
Each component contributes unique zone intelligence: pivot zones show where price reversed, strength scoring shows zone quality, Fibonacci shows mathematical levels, institutional levels show reference points, premium/discount shows institutional bias, HTF levels show confluence, and position assessment shows current context. The indicator's value lies in presenting these complementary perspectives simultaneously with quantitative strength scoring and intelligent display management.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss and is not suitable for all investors.
Pressure zone analysis is a tool for identifying potential support and resistance areas, not a crystal ball for predicting future price movement. Strong zones, high strength scores, and institutional levels do not guarantee profitable trades. Past zone behavior does not guarantee future zone behavior. Market conditions change, and strategies that worked historically may not work in the future.
The zones and levels displayed are mathematical calculations based on current market data, not predictions of future price movement. High-strength zones can break, golden zone entries can fail, and institutional levels can be violated. Users must conduct their own analysis and risk assessment before making trading decisions.
Always use proper risk management, including stop losses and position sizing appropriate for your account size and risk tolerance. Never risk more than you can afford to lose. Consider consulting with a qualified financial advisor before making investment decisions.
The author is not responsible for any losses incurred from using this indicator. Users assume full responsibility for all trading decisions made using this tool.
-Made with passion by officialjackofalltrades Indicator

Indicator

Momentum Shift [Bigbeluga]
This indicator identifies momentum shifts using a smoothed momentum calculation. It plots dynamic shift zones consisting of five levels that expand or contract based on price action. When momentum rises, the indicator creates an upward shift zone, and when momentum falls, it generates a downward shift zone. The shift zones dynamically react to price, stopping extension when a level is crossed.
🔵Key Features:
Smoothed Momentum Calculation:
➣ Utilizes a Hull Moving Average (HMA) to smooth momentum and reduce noise.
➣ Identifies momentum shifts with crossovers between the current momentum value and its previous state.
➣ Uses a gradient color scheme to highlight momentum strength.
Dynamic Shift Zones:
➣ When momentum rises, the indicator plots an upper shift zone with five incremental levels.
➣ When momentum falls, a lower shift zone is formed with five descending levels.
➣ Each level within the shift zone represents a progressively stronger momentum shift.
Level Extension Control:
➣ Shift zones stop extending once a level is crossed by price.
➣ Levels closer to price act as key momentum resistance or support zones.
➣ If price retraces after a shift, the remaining levels stay intact for further reference.
Momentum Direction Indications:
➣ Labels (▲ and ▼) appear at momentum shift points to indicate rising or falling momentum.
🔵Usage:
Momentum-Based Entries: Identify momentum shifts early by using shift zones as confirmation for trade entries.
Trend Continuation & Exhaustion: Observe which shift levels price respects—if momentum shift zones hold, the trend may continue; if they break, momentum may reverse.
Dynamic Support & Resistance: Use the five-level shift zones as temporary support and resistance areas that adapt to momentum shifts.
Momentum Strength Analysis: If price moves through multiple shift levels in one direction, it signals strong momentum in that direction.
Momentum Shift is a powerful tool for traders looking to analyze momentum shifts with structured visual zones. By combining smoothed momentum calculations with dynamic shift zones, this indicator provides a clear view of market momentum and helps traders navigate price action effectively. Indicator

Unmitigated 50% of the RangeThis indicator is designed to display unmitigated 50% zones of price ranges within two swing (High and Low) points. The 50% level serves as a probable target for retracements before the price resumes its movement in the direction of the most recent swing. The underlying theory is that Price Action tends to correct unbalanced price zones by returning to 50% of the range.
The indicator identifies highs and lows utilizing the “Left Swing Sensitivity” setting, which detects the high/low points within the specified number of bars. It then ensures that the zone meets a minimum size requirement, configured via the “Minimum Leg Size” setting, to filter out smaller legs/zones that would not provide sufficient profit and loss opportunities for entries at 50% and take profit at the most recent swing point.
To prevent duplication of zones when the price is gradually moving up, an "Auto Adjust Levels" setting is available. Enabled by default, this feature automatically cleans up smaller zones, retaining only the primary zone between the most recent swing point and the outer swing.
Additionally, the indicator automatically removes mitigated zones where the price has returned to the 50% level, thus maintaining clean charts.
There are several visualization settings available, offering comprehensive control over what is displayed on the charts:
Control the color and style of the lines representing the 1, 0, and 50% levels.
Choose whether to display labels and if they should show the price at the rendered levels.
Optionally extend the lines/labels to the right for each level.
Indicator

Breaker Blocks + Order Blocks confirm [TradingFinder] BBOB Alert🔵 Introduction
In the realm of technical analysis, various tools and concepts are employed to identify key levels on price charts. These tools assist traders in analyzing market trends with greater precision, enabling them to optimize their trading decisions. Among these tools, the Order Block and Breaker Block hold a significant place, serving as effective instruments for analyzing market structure.
🟣 Order Block
An Order Block refers to zones on a chart where large financial institutions and high-volume traders place their orders. Due to the substantial volume of buy or sell orders in these areas, they are often regarded as pivotal points for potential price reversals or temporary pauses in a trend. Order Blocks are particularly crucial when prices react to these zones after a strong market move, acting as strong support or resistance levels.
🟣 Breaker Block
On the other hand, a Breaker Block refers to areas on a chart that previously functioned as Order Blocks but where the price has managed to break through and continue in the opposite direction. These zones are typically recognized as key points where market trends might shift, helping traders identify potential reversal points in the market.
🟣 Overlapping Block (BBOB)
Now, imagine a scenario where these two essential concepts in technical analysis—Order Blocks and Breaker Blocks—overlap on a chart. Although this overlap is not specifically discussed within the ICT (Inner Circle Trader) trading framework, exploring and utilizing this overlap can provide traders with powerful insights into strong support and resistance zones. The combination of these two robust concepts can highlight critical areas in trading, potentially offering significant advantages in making informed trading decisions.
In this article, we will delve into the concept of this overlap, explaining how to utilize it in trading strategies. Additionally, we will analyze the potential outcomes and benefits of incorporating this concept into your trading decisions.
Bullish Overlapping Block (BBOB) :
Bearish Overlapping Block (BBOB) :
🔵 How to Use
The overlap between Order Blocks and Breaker Blocks is a compelling and powerful concept that can help traders identify key levels on the chart with a high probability of success. This overlap is particularly valuable because it combines two well-regarded concepts in technical analysis—zones of high order volume and critical market shifts.
🟣 Here’s how to effectively use this overlap in your trading
1. Dentifying the Overlapping Block : To make the most of the overlap between Order Blocks and Breaker Blocks, begin by identifying these zones separately. Order Blocks are areas where price typically reacts and reverses after a strong market move.
Breaker Blocks are areas where a previous Order Block has been breached, and the price continues in the opposite direction. When these two zones overlap on a chart, it’s crucial to pay close attention to this area, as it represents a high-probability reaction zone.
2. Analyzing the Overlapping Block : After identifying the overlap zone, carefully analyze price action within this region. Candlestick patterns and price behavior can provide essential clues.
If the price reaches this overlap zone and strong reversal patterns such as Pin Bars or Engulfing patterns are observed, it’s likely that this zone will act as a pivotal reversal point. In such cases, entering a trade with confidence becomes more feasible.
3. Entering the Trade : When sufficient signs of price reaction are present in the overlap zone, you can proceed to enter the trade. If the overlap zone is within an uptrend and bullish reversal signals are evident, a long position might be appropriate.
Conversely, if the overlap zone is in a downtrend and bearish reversal signals are observed, a short position would be more suitable.
4. Risk Management : One of the most critical aspects of trading in overlap zones is managing risk. To protect your capital, place your stop loss near the lowest point of the Order Block (for buy trades) or the highest point (for sell trades). This approach minimizes potential losses if the overlap zone fails to hold.
5. Price Targets : After entering the trade, set your price targets based on other key levels on the chart. These targets could include other support and resistance zones, Fibonacci levels, or pivot points.
Bullish Overlapping Block :
Bearish Overlapping Block :
🟣 Benefits of the Overlapping Block Between Order Block and Breaker Block
1. Enhanced Precision in Identifying Key Levels : The overlap between these two zones usually acts as a highly reliable area for price reactions, increasing the accuracy of identifying entry and exit points.
2. Reduced Trading Risk : Given the high importance of the overlap zone, the likelihood of making incorrect decisions is reduced, contributing to overall lower trading risk.
3. Increased Probability of Success : The overlap between Order Blocks and Breaker Blocks combines two powerful concepts, enhancing the likelihood of success in trades, as multiple indicators confirm the importance of the area.
4. Creation of Better Trading Opportunities : Overlap zones often provide traders with more robust trading opportunities, as these areas typically represent strong reversal points in the market.
5. Compatibility with Other Technical Tools : This concept seamlessly integrates with other technical analysis tools such as Fibonacci retracements, trend lines, and chart patterns, offering a more comprehensive market analysis.
🔵 Setting
🟣 Global Setting
Pivot Period of Order Blocks Detector : Enter the desired pivot period to identify the Order Block.
Order Block Validity Period (Bar) : You can specify the maximum time the Order Block remains valid based on the number of candles from the origin.
Mitigation Level Order Block : Determining the basic level of a Order Block. When the price hits the basic level, the Order Block due to mitigation.
Mitigation Level Breaker Block : Determining the basic level of a Breaker Block. When the price hits the basic level, the Breaker Block due to mitigation.
Mitigation Level Overlapping Block : Determining the basic level of a Overlapping Block. When the price hits the basic level, the Overlapping Block due to mitigation.
🟣 Overlapping Block Display
Show All Overlapping Block : If it is turned off, only the last Order Block will be displayed.
Demand Overlapping Block : Show or not show and specify color.
Supply Overlapping Block : Show or not show and specify color.
🟣 Order Block Display
Show All Order Block : If it is turned off, only the last Order Block will be displayed.
Demand Main Order Block : Show or not show and specify color.
Demand Sub (Propulsion & BoS Origin) Order Block : Show or not show and specify color.
Supply Main Order Block : Show or not show and specify color.
Supply Sub (Propulsion & BoS Origin) Order Block : Show or not show and specify color.
🟣 Breaker Block Display
Show All Breaker Block : If it is turned off, only the last Breaker Block will be displayed.
Demand Main Breaker Block : Show or not show and specify color.
Demand Sub (Propulsion & BoS Origin) Breaker Block : Show or not show and specify color.
Supply Main Breaker Block : Show or not show and specify color.
Supply Sub (Propulsion & BoS Origin) Breaker Block : Show or not show and specify color.
🟣 Order Block Refinement
Refine Order Blocks : Enable or disable the refinement feature. Mode selection.
🟣 Alert
Alert Name : The name of the alert you receive.
Alert Overlapping Block Mitigation :
On / Off
Message Frequency :
This string parameter defines the announcement frequency. Choices include: "All" (activates the alert every time the function is called), "Once Per Bar" (activates the alert only on the first call within the bar), and "Once Per Bar Close" (the alert is activated only by a call at the last script execution of the real-time bar upon closing). The default setting is "Once per Bar".
Show Alert Time by Time Zone :
The date, hour, and minute you receive in alert messages can be based on any time zone you choose. For example, if you want New York time, you should enter "UTC-4". This input is set to the time zone "UTC" by default.
🔵 Conclusion
The overlap between Order Blocks and Breaker Blocks represents a critical and powerful area in technical analysis that can serve as an effective tool for determining entry and exit points in trading.
These zones, due to the combination of two key concepts in technical analysis, hold significant importance and can help traders make more confident trading decisions.
Although this concept is not specifically discussed in the ICT framework and is introduced as a new idea, traders can achieve better results in their trades through practice and testing.
Utilizing the overlap between Order Blocks and Breaker Blocks, in conjunction with other technical analysis tools, can significantly improve the chances of success in trading.
Indicator

Stoch RSI, Div, Zone S3 by Gammaprod>> How to use this indicator :
1. Set your teadingview theme to dark theme.
2. My indicator is valid for forex, stock and but more valid for crypto.
3. Use three timeframe for more validation (choose between those, that fit to your trading style) :
- Timeframe 1m, 5m, and 15m for Scalping
- Timeframe 30m, 1h and 4h for Intraday
- Timeframe 4h, 1D and 1W for Swing Trading
4 . Always use THREE INDICATORS FROM GAMMAPROD, those three indicators is back to back each other, by the way, I only made those three indicators only (for now) :
- Trendlines Boll Ichi Crypto by Gammaprod
- Stoch RSI Divs Zone Crypto by Gammaprod
- MACD Volume Crypto by Gammaprod
>> How to setting :
1. Trendlines Boll Ichi Crypto by Gammaprod
A. Support and Resistence
- Well if you familiar with this indicator you can add it, but recommended for Timeframe 30m or more
B. Trendlines Primary or Trendlines Secondary
- Timeframe 1m you DON'T NEED Trendlines Primary or Trendlines Secondary
- Timeframe 5m you DON'T NEED Trendlines Secondary, but you CAN ADD Trendlines Primary if you fell it helpful (for me, it is helpful to find where the candles start or the end trend or a consolidation or where the candles will surpass a resistance or a support).
- Timeframe 15m you DON'T NEED Trendlines Secondary, DEFENITELY add Trendlines Primary it will help to find where the candles stop or a consolidation or where the candles will surpass a resistance or a support).
- Timeframe 30m or more, DEFENITELY NEED BOTH Trendlines Primary and Secondary Trendlines, it will help to find where the candle stop or consolidation or where the candle will surpass a resistance or support).
C. Bolinger, Ichimoku Cloud and Lagging Span
- Please DON'T CHANGE IT at all, it's really helpful to know when and where to make an entry decesion or a trend or a consolidation, if you don't understand how to read it, you better to learn it first (on "how to read" section and "How to OPEN position" the section below)
2. Stoch RSI Divs Zone Crypto by Gammaprod (DON'T CHANGE IT)
3. MACD Volume Crypto by Gammaprod (DON'T CHANGE IT)
>> How to read :
1. Sell or Buy Priority :
A. Buy Priority
- Color background on macd and stoch rsi is pink or purple sell is the priority, (if you're not sure to buy, just wait until the best moment to sell)
B. Buy Priority
- Color background on macd and stoch rsi Teal or light green buy is the priority, (if you're not sure to sell, just wait until the best moment to buy)
C. Indecision / Golden Moment
- Color background on stoch rsi yellow is indecision / golden moment of reversal pattern (wait until it formed background only on Stoch RSI), please becareful at this moment.
2. Trend / Consolidation :
A. BULLISH trend
- When Stoch RSI and MACD have teal or light green background that's means BULLISH trend, better to confirm by the candle is above green cloud and lagging span (red line) is also above the candle.
B. BEARISH trend
- When Stoch RSI and MACD have the Pink or purple background that's means BEARISH trend, better to confirm by the candle is above purple cloud and lagging span (red line) is also below the candle.
C. CONSOLIDATION
- When Stoch RSI have the mix background that's means CONSOLIDATION, better to confirm by the candle is in or near to green / purple cloud and lagging span (red line) is also on the candle.
3. Special Mark
A. Ideal Bullish :
- Near line 20 and green / teal background = When Stoch RSI have the char R / H on lime color label, that's means divergence or hidden divergence for buy position, if you not see this label that's means just a standard confirmation for buy
B. Not an Ideal Bullish :
- Near line 80 and green / teal background = if this happens make sure you know what happen, it could be a false signal or bullish continual pattern
C. Ideal Bearish :
- Near line 80 and pink / purple background = When Stoch RSI have the char R / H on lime color label, that's means divergence or hidden divergence for buy position, if you not see this label that's means just a standard confirmation for sell position.
D. Not an Ideal Bearish:
- Near line 20 and pink / purple background = if this happens make sure you know what happen, it could be a false signal or bearish continual pattern
E. The Beginning of Reversal (from BEARISH to BULLISH) :
- When Stoch RSI line shaping GREEN position is near 20.
- MACD lines still PINK, position lines is UNDER the HISTOGRAM, but the HISTOGRAM start to SHAPE FALL PINK (light pink) and the BACKGROUND still PINK / PURPLE.
- Position CANDLES NEAR BLUE line, NEAR PURPLE CLOUD, and lagging span (red line) STILL ON the area candle. (it used to be confirmed with the golden moment).
F. The Beginning of Reversal (from BULLISH to BEARISH) :
- When Stoch RSI line shaping PINK position is near 80.
- MACD lines still GREEN, position lines is ABOVE the HISTOGRAM, but the HISTOGRAM start to SHAPE FALL GREEN (light green) and the BACKGROUND still TEAL / GREEN.
- Position CANDLES NEAR WHITE line, NEAR TEAL CLOUD, and lagging span (red line) STILL ON the area candle. (it used to be confirmed with the golden moment).
G. False Signals, or It could be a Golden Moment (better to see it on TF 15 or bigger):
- Near line 20 or 80 and yellow background = When Stoch RSI have the char R / H on color label, that's means divergence or hidden divergence for buy / sell position, if you not see this label that's means just a standard confirmation for buy / sell depends on where the Stoch RSI line if near 20 that's means buy, near 80 means sell
>> How to OPEN position:
A. Bullish
1. Trendlines Boll Ichi Crypto by Gammaprod
- The candles above the green cloud.
- Lagging span (red line) above the candles.
- then open buy near yellow line (the first option) / blue line (the second option) (always confirm the position with two other indicators below).
2. Stoch RSI Divs Zone Crypto by Gammaprod
- Teal or Green background.
- The lines is shaping green.
- Better if on the bottom (at a range 20).
3. MACD Volume Crypto by Gammaprod
- Teal or Green background.
- The lines is shaped or shaping green.
- Better if at the green histogram.
B. Bearish
1. Trendlines Boll Ichi Crypto by Gammaprod
- The candles below the purple cloud.
- Lagging span (red line) below the candles.
- then open buy near yellow line (the first option) / white line (the second option) (always confirm the position with two other indicators below).
2. Stoch RSI Divs Zone Crypto by Gammaprod
- Pink or purple background.
- The lines are shaping pink.
- Better if the line on the top (at a range 80).
3. MACD Volume Crypto by Gammaprod
- Pink or purple background.
- The lines are shaped or shaping green.
- Better if at the pink histogram.
C. Consolidation
1. Trendlines Boll Ichi Crypto by Gammaprod
- The candles on the cloud (green or purple).
- Lagging span (red line) on the candles.
- then open buy near the white or blue line (always confirm the position with two other indicators below).
2. Stoch RSI Divs Zone Crypto by Gammaprod
- Mix background specially on a timeframe 15m or more.
- The line move fast up and down.
- Better if on the bottom or the top of the lines (at a range 20 or 80).
3. MACD Volume Crypto by Gammaprod
- Changing the background.
- The line is near the middle line.
- Have small Histogram.
>> The secret ingridient is comparing the timeframe :
The example scalping (Timeframe 1m, 5m and 15m)
- TF 1m is for making an open position.
- TF 5m is for making a judgement of the trend market.
- TF 15m is to confirm that judgement from TF 5m, be careful if it not similar then it used to be a consolidation or the beginning of the reversal.
There's a lot a way to open the position than above information that i gave it to you, but consider there are a limit char on this column, I hope it will help your trading and make a more profit on it. Indicator

MTF Order Block FinderAn Order Block is a special type of pivot point that satisfies the following requirement:
A Bull/Bear candle followed by X consecutive candles in the opposite direction.
Order Blocks are interesting areas that are frequently revisited and can be treated as Support/Resistance levels.
Often, you can see explosive price rejection of these areas via long wicks, high volume, and rapid price change.
Features
Choose from two themes:
- LIGHT: a classic Red and Green representing Bearish and Bullish OBs, respectively
- DARK: a clean Blue and White scheme
Choose from two drawing styles:
- LINE: three lines representing the High, Low, and Mid price levels of the OB candle
- BOX: a bounded area similar to the "rectangle" tool
Chose a custom timeframe:
- From 1 Minute (useful for Seconds interval) up to 1 Month
Note, this setting is experimental and choosing a timeframe that is extraordinarily large may not function properly.
Filter order blocks with two settings:
- Number of consecutive bars
- Minimum % change of the potential OB bar (default 0.25%)
Keep your charts clean and show only relevant OBs
- Maximum number of Bullish zones to show
- Maximum number of Bearish zones to show
FAQ
Q: How do I trade with this indicator?
A:Personally, I use a fast entry indicator to confirm Long/Short position when price is rejected. I set my SL and TP based on the current Zone and the next one, if available.
Q: Does this repaint?
A:Yes and this is okay! The "Bear" and "Bull" signals are not meant for taking positions, only showing which candle reveals the Order Block. The Zone is much more useful to us and can result in several successful trades in the near future when treated as a support/resistance area.
Q What's the winrate?
A:Hard to say - this isn't a standalone strategy and I haven't been able to properly backtest it quite yet. Indicator

Indicator

Automatic FibonacciFibonacci retracements are popular among technical traders. In technical analysis, a Fibonacci retracement is created by taking two extreme points (usually a peak and a trough) on a stock chart and dividing the vertical distance by the key Fibonacci ratios of 23.6%, 38.2%, 50%, 61.8%, and 100%. Basic fibo levels are often known to be 14.6%, 23.6%, 38.2%, 50%, 61.8%, 76.4%, 88.6% and 100%.
This indicator will draw the fibonacci levels automatically. Once these levels are identified, horizontal lines are drawn and used to identify possible support and resistance levels including zones. The fibo levels on this indicator gives you the option to use basic fibo or new paradigm fibo levels. New paradigm fibo levels may be new to most traders, however, the application of new paradigm fibo does allow one to trade with least risk due to the precision of the price action surrounding the fibo levels and zones.
One of the most efficient and great ways to apply this auto fibo indicator and the new paradigm fibo is by only leaving the fibo levels that do have hits and un-selecting the fibo levels that do not have any. You can further remove any other levels so you can trade the zones that these fibo levels create.
In addition, you can also switch the timeframe of the fibo from 1D to different number of days to 1W. Indicator
