Indikator

Sequential Exhaustion Tracker [AGPro Series]Sequential Exhaustion Tracker
🔷 Overview
Sequential Exhaustion Tracker is a price-action based trend maturity tool built for traders who want to read how far a directional candle sequence has developed, when that sequence is becoming late-stage, and whether the market is more likely to recycle the move or fail back through its terminal zone.
The script is not an oscillator, not a crossover tool, and not a protected-brand sequential clone. It does not depend on classic overbought or oversold thresholds. Instead, it tracks qualified directional progress bar by bar, measures the quality of the active count, opens a visual exhaustion window when the run becomes mature, and then follows the next phase as either recycle, testing, or failure.
That makes the script useful for a very specific question:
Is the current directional run still building cleanly, or has it entered the kind of late-sequence area where follow-through, failure, and reset behavior need closer attention?
🔷 What The Script Measures
The engine combines four practical components:
1. Directional candle count
The script counts qualified progress candles in the active direction. A candle must show meaningful close-to-close progress, sufficient body commitment, and optional trend-filter alignment before it can advance the count.
2. Exhaustion threshold
The count becomes mature only after it reaches the selected threshold. This avoids treating every small move as exhaustion and keeps the tool focused on developed directional sequences.
3. Exhaustion quality
The quality model blends count maturity, ATR-normalized stretch from the baseline, opposing wick absorption, and body-efficiency fade. A high reading means the sequence is not only long enough, but also showing late-run characteristics.
4. Recycle/failure lifecycle
Once a qualified exhaustion window appears, the script continues tracking price behavior. Strong continuation through the terminal zone can classify the sequence as recycled. A break back through the zone can classify it as failed. This turns the indicator into a lifecycle tracker instead of a one-bar label generator.
🔷 Visual Design
The chart output is designed to stay premium and readable:
- Compact count labels use milestone-based defaults so the chart shows sequence progress without turning into a label wall.
- ATR-based label offsets keep labels away from candle bodies.
- Exhaustion zones are drawn as rectangular terminal windows, not generic support/resistance blocks.
- Recycle and failure markers are intentionally short and selective.
- Older labels and zones are automatically removed to protect chart performance.
- The summary panel uses the AGPro standard merged blue title row and a clean four-line state readout.
🔷 Panel Readout
The panel summarizes the active condition in a compact format:
Direction
Shows whether the current qualified run is bullish, bearish, or neutral.
Count
Shows the active sequential count against the selected exhaustion threshold.
Exhaustion Quality
Shows the maturity score and the current quality band.
Recycle Status
Shows whether the sequence is building, mature, testing an exhaustion window, recycling, recycled, failed, or waiting.
🔷 How This Differs From Other AGPro Scripts
This script is intentionally separated from AGPro oscillator exhaustion tools.
Stochastic Exhaustion Map focuses on stochastic behavior, momentum fatigue, and reset context inside an oscillator framework.
Williams %R Exhaustion Map focuses on Williams %R extension behavior and release-corridor logic.
Sequential Exhaustion Tracker focuses on the visible candle sequence itself: directional progress, count maturity, terminal exhaustion zone, and post-exhaustion lifecycle behavior.
It is also different from support/resistance reaction tools because the rectangles are not structural S/R zones. They are temporary terminal sequence windows created only when a mature count and exhaustion quality condition are present.
🔷 How This Differs From Common Sequential Count Scripts
Many sequential scripts focus mainly on printing a fixed count and stopping there. Sequential Exhaustion Tracker takes a different path.
It does not simply count bars for visual decoration. It asks whether the count is supported by meaningful directional progress, whether the run has become stretched relative to its own volatility, whether the candle structure is showing absorption, and what happens after the mature sequence appears.
The key difference is the lifecycle layer:
- Building sequence
- Mature count
- Exhaustion window
- Testing window
- Recycle build
- Recycled continuation
- Failed exhaustion window
This gives the script a cleaner analytical role than a basic numbered label tool.
🔷 Suggested Use
The script is best used as a chart-context layer for:
- identifying late-stage directional runs
- separating fresh continuation from mature extension
- watching terminal sequence zones
- studying continuation recycle behavior
- spotting failed late-run pressure
- keeping sequential count context visible without overcrowding the chart
It is designed to complement market structure, trend context, volatility conditions, and the trader's broader workflow.
🔷 Default Settings
The default settings are built for a balanced public-chart presentation:
- Count threshold: 8
- Quality threshold: 62
- Trend alignment: enabled
- Count label mode: Mature Milestones
- Count label start: 6
- Minimum label spacing: 8 bars
- Exhaustion zones: enabled
- Panel: enabled
- Label and panel font sizes: Normal
These defaults aim to keep the chart informative without turning it into a noisy label wall.
🔷 Why It Was Built
Directional markets often move in phases. Early movement can be clean and efficient. Middle movement can be supported and persistent. Late movement can still continue, but the character of the candles often starts to change.
Sequential Exhaustion Tracker was built to make that progression easier to read directly on the chart. The goal is not to call every top or bottom. The goal is to show where the current sequence sits in its own lifecycle and whether the post-exhaustion behavior is confirming continuation, stalling, or failing.
That narrow focus is what makes the tool distinct: it is not a general momentum dashboard, not an oscillator map, not a support/resistance engine, and not a signal checklist. It is a dedicated sequential maturity and lifecycle tracker.
Indikator

Breakout Volume Quality [AGPro Series]Breakout Volume Quality
🔷 OVERVIEW
Breakout Volume Quality is a chart-overlay indicator built to answer one specific question:
When price breaks a defended level, did that break carry real participation quality, or was it only a low-conviction move beyond the line?
Many breakout tools detect the level break itself. This script goes one layer deeper. It evaluates the breakout candle through relative volume, body efficiency, close location, distance beyond the broken level, expansion versus ATR, and the quality of the underlying support-resistance range. The output is a clean 0-100 breakout volume quality score, a visual confirmation band, a compact event label, and a retest state panel.
The goal is not to mark every possible breakout. The goal is to separate a cleaner participation-backed break from a weak level poke that deserves less visual attention.
🔹 CORE IDEA
A breakout is more useful when price does more than cross a line.
Breakout Volume Quality looks for a sequence:
1. A support or resistance reference is built from repeated pivot interaction.
2. Price closes beyond that defended level by an ATR-adjusted buffer.
3. The breakout candle is graded for relative volume participation.
4. Candle structure is checked for efficient body control and directional close quality.
5. The move is measured against ATR to understand displacement and expansion.
6. Confirmed events project a forward confirmation band.
7. The script then tracks whether the broken level produces a clean retest hold, expires, or fades back inside.
This creates a more complete event map than a simple arrow above or below a candle.
💠 UNIQUE EDGE
The edge of this script is the "volume verdict" layer.
It does not simply ask whether price broke resistance or support. It asks whether the break showed enough participation quality to deserve confirmation.
That distinction matters because visually similar breakouts can behave very differently:
- A break with elevated relative volume, strong body efficiency, and a close near the directional extreme usually communicates cleaner participation.
- A break with low relative volume, wick-heavy structure, and a weak close beyond the level may be more fragile.
- A move that breaks, confirms, and later holds the band is visually different from a move that immediately fades back inside.
Breakout Volume Quality turns those differences into a readable score and a structured chart layer.
🔶 WHAT MAKES IT DIFFERENT FROM OTHER AGPRO BREAKOUT TOOLS
This script was intentionally designed to avoid overlapping with the existing AGPro breakout family.
It is not a Donchian breakout tool.
It does not revolve around a rolling channel high or low as the main concept. The level reference comes from defended pivot interaction, and the main evaluation is the volume quality of the break.
It is not an Inside Bar breakout tool.
It does not require a parent candle compression pattern. The script can evaluate broader defended levels rather than only inside-bar structures.
It is not an Opening Range breakout tool.
There is no session opening window, no locked opening range, and no session-specific model.
It is not an ATR Envelope breakout tool.
It does not treat a dynamic volatility envelope as the breakout boundary. ATR is used for normalization, buffers, bands, and score scaling.
It is not a Break-Retest quality tool.
The retest state is included for workflow context, but the core score is assigned to the breakout candle and its participation quality. The first retest is not the central scoring event.
It is not a Failed Break or trap-reclaim tool.
Weak breaks are faded as failed confirmations, but the script does not rebuild the event into a reversal or reclaim model.
It is not a general RVOL pressure map.
Relative volume is used specifically to validate level breaks, not to classify all candles into broad pressure states.
This gives Breakout Volume Quality its own clear lane: breakout participation quality around defended levels.
📌 VISUAL COMPONENTS
Breakout Line
The broken level is extended forward so the user can see the exact structural reference being tested.
Decision Rails
Eligible defended support and resistance references are displayed as subtle forward rails. These rails keep the chart active while price is building around a level, without turning the script into a generic support-resistance map.
Volume Build-Up Windows
Compact boxes labeled BULL SETUP or BEAR SETUP can frame areas where price is building volume pressure near an eligible breakout level before confirmation. These windows are concept-native: they show pre-breakout participation pressure, not generic support-resistance zones.
Optional Advanced Layers
RVOL approach marks, quality candle glow, and pressure trail points are available for users who want more activity on the chart, but they are disabled by default so the main public view remains easy to read.
Confirmation Band
A rectangular band is projected around the broken level. Confirmed events use stronger visual emphasis, while weak confirmations are faded so the chart keeps important context without becoming noisy.
Failed-Confirmation Fade
When price breaks a level but fails the volume, score, candle structure, or close-quality model, the event can still be shown as a softer failed confirmation band. Cleaner weak confirmations can also print WEAK UP or WEAK DOWN labels through a minimum-score filter, so the chart gains more context without labeling every low-quality break.
Retest Hold Label
After a confirmed breakout, the script watches the band for a clean hold. A retest hold is labeled only once so the chart remains controlled.
Summary Panel
The panel displays the current breakout side, volume confirmation, expansion, retest state, and score. It is designed for quick chart reading without covering the price action.
⚙️ SCORING MODEL
The score is built from six components:
Relative Volume
Measures whether current participation is meaningfully above its volume baseline.
Body Efficiency
Measures how much of the candle range is represented by the real body.
Directional Close Location
Checks whether the candle closes toward the breakout side of its own range.
Break Distance
Measures how far the close finishes beyond the broken level in ATR terms.
Expansion
Measures the breakout candle range relative to ATR.
Range Quality
Rewards levels that come from a more defined structure rather than a loose oversized range.
Together, these components produce a transparent 0-100 score and a grade-style readout.
🧭 HOW TO USE
Use the script to study whether a breakout has participation quality.
A stronger event usually has:
- A clean close beyond the level.
- Relative volume above the confirmation threshold.
- A body-dominant candle.
- A close near the breakout-side extreme.
- Meaningful ATR-normalized displacement.
- A confirmation band that later holds during a retest.
A weaker event may show:
- Low relative volume.
- A wick-heavy breakout candle.
- A close barely beyond the level.
- Fast return back inside the broken structure.
- A faded failed-confirmation label instead of a confirmed event.
The script is best used as a structured chart-reading layer. It helps organize breakout quality, but it is not a complete trading system by itself.
🔷 KEY INPUTS
Pivot Strength
Controls how support and resistance references are confirmed.
Minimum Level Touches
Requires repeated interaction before a level becomes eligible.
Level Match Tolerance ATR
Groups nearby pivots into one defended level.
Close Beyond Level ATR
Controls how decisive the break must be beyond the level.
RVOL Confirmation Threshold
Defines the participation level required for volume confirmation.
Minimum Body Efficiency
Filters weak, wick-heavy breakout bars.
Directional Close Location
Requires the candle to close toward the breakout side.
Minimum Score To Confirm
Controls how selective confirmed breakout labels should be.
Confirmation Band ATR
Sets the height of the projected band around the broken level.
Retest Watch Window
Defines how long the script watches for a clean retest hold.
Panel Location / Theme / Font Size
Allows the panel to be adapted to different chart layouts.
Label Font Size / Label Offset
Keeps labels readable and away from candle bodies.
🔶 BEST USE CASE
Breakout Volume Quality works best when the chart has visible defended levels and the user wants a cleaner way to judge whether the break had enough participation behind it.
It is especially useful for:
- Breakouts through repeated swing highs or swing lows.
- Range exits where volume quality matters.
- Comparing strong break candles against weak level pokes.
- Reviewing whether a breakout level later behaves as a confirmation band.
- Keeping weak break attempts visible without giving them the same visual weight as confirmed events.
The script is intentionally restrained: no oversized dashboard, no heavy channel system, no session dependency, and no unnecessary signal spam. The chart stays focused on the level, the break, the volume verdict, and the retest state.
🔹 ALERTS
The script includes alert conditions for:
- Bullish breakout volume confirmation.
- Bearish breakout volume confirmation.
- Breakout failed volume confirmation.
- Breakout retest hold.
- Breakout failed back inside.
These alerts are event prompts for chart review and workflow organization.
💎 DESIGN PHILOSOPHY
Breakout Volume Quality is built to feel clean, premium, and practical on a public TradingView chart.
The visual hierarchy is deliberate:
- Confirmed breaks are visible but not loud.
- Cleaner weak confirmations are faded and labeled through a score filter, while low-quality weak breaks stay visually softer.
- Decision rails keep active levels visible between major events.
- Labeled setup windows explain where pre-breakout volume pressure is forming.
- Optional activity layers are available, but the default chart does not rely on unlabeled dots.
- Bands are long enough to make the level meaningful.
- Retest labels appear only when the state actually changes.
- The panel stays compact and focused on the fields that matter.
The result is a breakout tool that is easy to understand at first glance, but still has enough structure underneath to support serious review.
Indikator

Volume Absorption Zones [AGPro Series]Volume Absorption Zones
🔷 Overview
Volume Absorption Zones is a chart-overlay volume analysis tool built around one specific market condition: high effort with limited price result.
Instead of marking every high-volume candle as important, the script looks for candles where participation expands while the candle range stays compressed, the close location shows directional control, and the resulting price area can be tracked as a forward absorption zone.
When a valid event appears, the script draws a rectangular bullish or bearish absorption box, projects it forward, adds an invalidation level, and continues monitoring whether the zone is defended, failed, or left as active context.
The goal is to make absorption visible as a lifecycle on the chart rather than a one-bar marker.
🔹 Core Idea
Absorption is not the same thing as a volume spike.
A volume spike can appear during expansion, exhaustion, liquidation, news reactions, or ordinary session activity. This script focuses on a narrower structure:
- Volume expands relative to its recent baseline.
- Candle spread remains compressed relative to its recent range baseline.
- The close location shows directional control.
- The wick/body structure leaves a usable absorption range.
- The zone remains visible after the event so later defense or failure can be evaluated.
Bullish absorption is modeled as high participation absorbed near the lower side of the candle while the close finishes with upper-side control.
Bearish absorption is modeled as high participation absorbed near the upper side of the candle while the close finishes with lower-side control.
This makes the script an effort-versus-result zone model, not a generic volume highlight.
💎 What Makes This Script Different
Most volume absorption scripts and high-volume tools stop at one of three outputs:
- A candle color.
- A triangle or label.
- A simple high-volume marker.
Volume Absorption Zones goes further by converting the detected event into a managed chart zone.
The script keeps asking questions after the first signal:
- Where is the absorption range?
- Is the zone still active?
- Has price defended the zone?
- Has price closed beyond the invalidation level?
- Is follow-through improving or fading?
- How old is the zone?
- Is the current context bullish absorption, bearish absorption, defended, failed, or mature?
This lifecycle approach is the main design difference. The first event creates the zone; the later candles tell the story.
🧭 Difference From Other AGPro Scripts
This script was designed to sit in a separate lane from existing AGPro volume and price-action tools.
It is not Volume Climax Detector.
Volume Climax Detector focuses on extreme participation and climax-style events. Volume Absorption Zones focuses on compressed effort: elevated volume with limited spread and a forward zone that can later defend or fail.
It is not Relative Volume Pressure Map.
Relative Volume Pressure Map classifies broader relative-volume pressure and pressure efficiency. Volume Absorption Zones does not try to build a broad pressure regime. It isolates concrete absorption ranges and follows their lifecycle.
It is not Volume Delta Imbalance Map.
Volume Delta Imbalance Map is built around flow imbalance behavior. Volume Absorption Zones does not estimate bid/ask delta, CVD, or directional transaction flow. It stays OHLCV-native and uses candle structure plus relative volume effort.
It is not Volume Profile Acceptance Ladder or a POC tool.
This script does not build volume profile bins, value area, POC magnets, acceptance ladders, or auction distribution zones. Its zones come only from absorption-candle conditions.
It is not a general support/resistance drawer.
The boxes are not swing highs, swing lows, pivots, order blocks, or manually projected support/resistance areas. A box appears only when the absorption engine detects high effort, compressed result, close-location control, and sufficient quality.
That separation is important: the script is not a renamed version of another AGPro concept. Its role is absorption-zone lifecycle tracking.
⚙️ How The Engine Works
The script evaluates each candle through a structured sequence:
1. Volume Effort
Current volume is compared with a rolling volume baseline. The event must show elevated participation before any absorption zone can be created.
2. Spread Compression
The candle range is compared with a recent spread baseline. A qualifying event needs limited price travel relative to normal range behavior.
3. Close Location
Bullish absorption requires the close to finish in the upper part of the candle. Bearish absorption requires the close to finish in the lower part of the candle.
4. Absorbed Wick Share
The script checks whether the candle leaves enough absorbed-side structure to define a useful zone.
5. Absorption Quality
Effort, compression, and close-location behavior are blended into a quality score. This helps filter weaker events and keeps the chart focused on stronger absorption structures.
6. Zone Projection
When the event qualifies, the script draws a rectangular zone and extends it forward for the selected number of bars.
7. Invalidation Level
Each zone receives an ATR-buffered invalidation line beyond the absorption range.
8. Defense / Failure Tracking
After the zone is created, the script tracks whether price defends the range or closes beyond invalidation.
📦 Zone States
Active
The zone has been created and remains unresolved.
Defended
Price interacts with the zone and closes back in favor of the zone direction.
Failed
Price closes beyond the ATR-buffered invalidation level.
Mature
The zone remains active beyond the selected age threshold.
These states help the user understand whether an absorption zone is still relevant, has been respected, or has lost its structure.
📊 AGPro Panel
The dashboard summarizes the latest absorption context without requiring the user to inspect every box manually.
Panel fields:
- Absorption Side
- Effort Score
- Spread Compression
- Follow-through
- Zone Status
- Zone Age
The panel follows the AGPro publication layout:
- Single merged blue header row.
- Header contains only the script panel title.
- Adjustable panel location.
- Adjustable panel theme.
- Adjustable panel font size.
🎯 Visual Design
The script is designed to be readable on clean publication charts:
- Bullish zones use the AGPro teal state color.
- Bearish zones use the AGPro pink state color.
- Failed zones shift to the neutral state color.
- Defended zones shift to the accent state color.
- Invalidation lines are dotted and subtle.
- Event labels are offset from candles so they remain visible.
- Label cooldown and maximum-label settings keep density under control.
- Active zone count is capped for performance and readability.
The default visual style is intentionally active, because absorption is easier to understand when the zone lifecycle is visible on the chart.
🔔 Alerts
Included alert conditions:
- Bullish Absorption Zone
- Bearish Absorption Zone
- Absorption Zone Defended
- Absorption Zone Failed
These alerts are tied to the same lifecycle states shown on the chart.
🛠 Key Inputs
Volume Baseline Length
Controls the lookback used to normalize current volume.
High Effort Threshold
Defines how much relative volume expansion is required before a candle can qualify.
Spread Baseline Length
Controls the range baseline used for spread compression.
Maximum Spread Ratio
Defines how compressed the candle must be relative to its baseline.
Strong Close Location
Controls how strongly the candle must close toward the active side.
Minimum Absorbed Wick Share
Requires visible absorbed-side candle structure before a zone can be accepted.
Minimum Absorption Quality
Filters events by the combined effort, compression, and close-location score.
Zone Extension Bars
Controls how far absorption boxes project forward.
Max Active Zones
Caps the number of active boxes retained on the chart.
Invalidation Buffer ATR
Controls the ATR buffer used for each zone's invalidation level.
Mature Zone Age
Defines when an unresolved zone is considered mature.
Max Zone Memory Bars
Removes older zones so the chart remains focused on recent, visible absorption context.
Label Cooldown Bars
Controls spacing between event labels.
Max Event Labels
Controls the maximum number of retained labels.
Label Font Size / Panel Font Size
Both default to Normal and can be adjusted from settings.
🧩 Best Use
Volume Absorption Zones is designed for traders who want to study:
- High-effort, low-result candles.
- Absorption zones that remain visible after the initial event.
- Whether later price action defends or fails those zones.
- Market areas where volume expands but price travel remains compressed.
- Weekly, daily, and intraday absorption structures without needing a lower-pane volume dashboard.
The script can be used across symbols and timeframes where TradingView volume data is available. The quality of results depends on the instrument, session structure, liquidity, and reliability of the volume feed.
🔍 Limitations & Transparency
This script uses standard TradingView OHLCV data.
It does not access order book data, bid/ask data, footprint data, true delta, or exchange-native transaction flow.
The absorption model is rule-based. It approximates absorption through relative volume effort, spread compression, close-location behavior, wick/body structure, and later zone interaction.
It does not predict future price movement and it does not issue buy or sell commands. It organizes absorption context on the chart so users can evaluate how price behaves around those zones.
Different instruments and timeframes may require input adjustments. Thin markets, irregular volume feeds, major gaps, and unusual sessions can affect event quality.
✅ Chart Reading Guide
For the clearest view, use a clean chart with only this script loaded. The boxes, labels, dotted invalidation lines, and panel are designed to explain the absorption lifecycle without requiring additional overlays.
Indikator

Indikator

Institutional Candle Detector [AGPro Series]🕯️ Institutional Candle Detector
Every trader has stared at a massive candle and asked the same question: "Was that the start of a move, the end of one, or just noise?" Most indicators stop at detection — they paint the candle, drop a label, and walk away. This one keeps watching.
Institutional Candle Detector uses a dual-track engine. The body-driven track flags high-conviction candles where ATR-normalized body size and relative volume both expand together, then classifies each event by body/wick geometry. The independent absorption track captures a different signature entirely — low-body candles on extreme volume, the classic aggression-absorbed footprint that body-only detectors miss. Every detected event is then re-evaluated over the following bars to produce a measurable outcome scorecard.
🔹 OVERVIEW
The script scans each bar for two separate, mutually-exclusive institutional signatures:
• Body-driven events. Body must exceed a multiple of ATR AND volume must exceed a multiple of its rolling average. Classified by geometry into Continuation, Reversal or Exhaustion.
• Absorption events. Volume extremely elevated BUT body contained — the market paid for a big move and did not get one. Price was absorbed.
Every detected candle is then given a reaction zone projected forward, and its outcome is automatically tagged after the configured look-forward window — Follow-Through (FT), Reverse (RV) or Consolidation (CN). The panel accumulates aggregate statistics across the loaded chart so the trader can see which candle type actually works on their instrument and timeframe.
🔸 UNIQUE EDGE
What separates this tool from generic "big candle" or "volume spike" indicators:
• Dual-track detection. A single filter cannot capture both explosive moves and absorption. This script runs two engines in parallel with independent thresholds.
• Four-class geometric taxonomy, each backed by a distinct detection path. Continuation and Reversal fire from the body-driven track with different geometry. Exhaustion catches the mid-profile edge cases. Absorption runs entirely off its own volume-first track.
• Automatic after-behavior tracking. Each event is re-examined after N bars and tagged with an outcome code. This is the part most scripts omit — and it's where edge lives.
• Aggregate statistics panel. Follow-through rate, reverse rate, consolidation rate, and per-class counts are computed continuously. The panel tells you whether institutional candles on this asset actually extend, reverse, or fade.
• Forward-projected zones, colored by class. Body-driven bull/bear events use state colors. Absorption uses an indigo accent so the rarer signature is instantly recognizable. Reversal zones use the contrarian color to emphasize the expected directional flip.
🔹 METHODOLOGY
Body-Driven Track (produces CONT, REV, EXH)
– Body is measured as absolute (close − open) and required to exceed Body × ATR multiple.
– Volume is required to exceed a configurable multiple of its SMA average.
– An optional wick filter rejects candles where total wick exceeds the body beyond a given ratio, removing wide-range noise that looks institutional but is not.
– Continuation: body% ≥ configured threshold (clean directional close).
– Reversal: opposing wick% ≥ configured threshold (sharp rejection after initial push).
– Exhaustion: passes the dual-gate but falls into neither clean category — mid profile, often late in a move.
Absorption Track (produces ABS)
– Volume must exceed an independently configurable multiple (higher than body-driven default).
– Body must be small — below a max Body × ATR and below a max Body / Range.
– When absorption fires, it takes precedence over body-driven classification.
After-Behavior Layer
– After lookFwd bars, the script compares the extreme price move in each direction against the original body size.
– If same-direction extension ≥ ftPct × body → Follow-Through (FT).
– If opposite-direction retrace ≥ revPct × body → Reverse (RV).
– Otherwise → Consolidation (CN).
Aggregate counters accumulate across the loaded chart, producing a running scorecard visible in the panel.
🔸 SIGNALS, STATES & MARKERS
On-chart signals
• Institutional body recolored by class — bull/bear direction for CONT and EXH; contrarian color for REV; accent color for ABS.
• Directional triangle marker above/below the bar.
• Classification label: INST-Bull 3.2x CONT or INST-Bear 5.4xV ABS format, ASCII only. Labels offset from the candle to stay readable on dense charts.
• Reaction zone box projected forward from the candle's high-low range, color-coded by class.
• Outcome marker (FT / RV / CN) plotted lookFwd bars after the event.
Alerts available
• Institutional Continuation
• Institutional Reversal
• Institutional Absorption
• Institutional Exhaustion
All four alerts fire on confirmed bars only.
🔹 KEY INPUTS
Detection Core (body-driven track)
– ATR Length (default 14)
– Volume Average Length (default 20)
– Min Body × ATR (default 2.0)
– Min Volume Multiple (default 2.5)
– Wick filter toggle and max Wick/Body ratio (default 2.5)
Absorption Track
– Enable Absorption Detection
– Absorption Min Volume Multiple (default 4.0)
– Absorption Max Body × ATR (default 1.5)
– Absorption Max Body / Range (default 0.40)
Classification
– Continuation body% threshold (default 0.60)
– Reversal opposing-wick% threshold (default 0.40)
After-Behavior
– Look-forward bars (default 5)
– Follow-through threshold as fraction of body (default 0.50)
– Reverse threshold as fraction of body (default 0.60)
Visuals
– Show/hide zones, zone projection length, opacity, max active zones
– Label size (default Small; increase if labels feel too compact)
– Institutional border width
– Outcome marker toggle
Panel
– 8-position panel placement
– Dark / Light theme
– Font size (default Normal)
– Recent events mini-list toggle
🔸 HOW TO USE
1. Start with defaults on a liquid asset. 4H is a strong baseline; 1H for active traders; Daily for swing context. On Daily, consider lowering Min Body × ATR to 1.5 if events are too rare.
2. Watch the panel accumulate events over two to four weeks on your instrument. The follow-through rate tells you whether institutional candles on this chart tend to extend or fade.
3. Trade-context usage:
– Continuation with a high historical follow-through rate on this asset → trend trades in candle direction after pullback into the zone.
– Reversal with a high historical reverse rate → fade setups at key levels.
– Absorption → aggressive flow was met by an equal or greater defender; often precedes a reversal or compression phase.
– Exhaustion → proceed with caution; frequently a late-move signature where the trend is losing clean structure.
4. Reaction zones act as provisional supply/demand. A retest of a zone with another institutional event near it is a confluence worth noting.
5. Tune thresholds per asset. High-liquidity instruments may need Body × ATR of 2.5+ to keep events selective; low-liquidity pairs can go down to 1.5. Absorption volume multiple can also be adjusted upward on already-volatile instruments.
🔹 LIMITATIONS & TRANSPARENCY
• This is an analytical indicator, not a strategy. No entry, exit, or stop logic is defined and no performance claims are made.
• Aggregate statistics are computed over the loaded chart window and will shift as more bars load or as timeframes change.
• Volume quality depends on the data feed; exchange-reported volume differs across sources for the same asset.
• Follow-through evaluation uses a fixed look-forward window; real trade management will differ.
• All results are historical and descriptive. Past behavior of any candle class does not guarantee future behavior.
🔸 RISK DISCLOSURE
Trading carries substantial risk. This tool is provided for analytical and educational purposes. Do your own research. Use position sizing and risk management appropriate to your account. Nothing in this script constitutes financial advice. Indikator

MTF Candle Bias TableMTF Candle Bias Table
Brought to my attention by Max Algo — credit and appreciation to them for sharing this.
A clean, at-a-glance multi-timeframe dashboard that tells you where price is biased across up to 7 timeframes simultaneously — no more flipping between charts.
What it shows:
For each timeframe you choose, the table displays:
Candle — whether the current candle is bullish or bearish (close vs. open)
Bias — directional bias based on whether price has breached the prior bar's high or low
Trend — whether price is trading above or below a configurable EMA (default 50)
Hold/Fade — whether price is holding the bias level or fading it
Score — a confluence score (0–3) combining candle, trend, and hold alignment
Accuracy % — a rolling back-tested accuracy rate showing how often the bias predicted the next candle's direction correctly, over a selectable lookback period (1 day to 1 month)
A Bias Score row at the bottom gives you an instant bull vs. bear count across all visible timeframes, color-coded green or red based on overall market lean.
A session label (NY Open, Midday, PM Close, Globex, Overnight) keeps you oriented in the trading day at all times.
Customization:
Enable/disable any of the 7 timeframes individually
Toggle columns on/off (Trend, Hold, Score, Accuracy)
Vertical or Horizontal table layout
Symbols-only mode for a more compact view
Full color and position control
Great for confluence-based trading — use it to quickly confirm whether multiple timeframes agree before entering a trade.
Here's a breakdown of each feature straight from the logic in the code:
TREND
The trend column compares the current closing price to an EMA (default 50, but you can change the length). If close is above the EMA, it shows "↑ ABOVE" (bullish). If close is below the EMA, it shows "↓ BELOW" (bearish). This is calculated on each timeframe independently, so your 1m and 1D can show completely different trend readings. It's essentially asking: is price on the right side of the moving average on this timeframe?
HOLD vs. FADE
This column is tied directly to the Bias. Once a bias is established (bull or bear), Hold/Fade tells you whether price is respecting that bias level or failing it.
If the bias is bullish (price broke the prior bar's high), Hold checks whether the current close is still above that prior bar's high. If yes → ✓ HOLD. If not → ✗ FADE.
If the bias is bearish (price broke the prior bar's low), it checks whether the current close is still below that prior bar's low. If yes → ✓ HOLD. If not → ✗ FADE.
If there's no bias (neutral), it just shows a dash.
Think of it as a confidence check — a bias that's holding is stronger than one that's already fading.
SCORE (0–3)
The score is a simple confluence counter that adds up how many things are aligned with the bias. It scores a point for each of the following:
Candle agrees with bias — the current candle is bullish and bias is bullish, or both bearish
Trend agrees with bias — price is on the correct side of the EMA relative to the bias direction
Hold is active — price is holding the bias level (not fading)
So a score of 3/3 means everything is aligned: the bias is set, the candle confirms it, the trend supports it, and price is holding the level. A score of 0 or a dash means the bias exists but nothing else is confirming it. Neutral biases always show a dash regardless.
ACCURACY %
This is the most unique feature. It tracks, historically, how often the bias on each timeframe correctly predicted the direction of the next completed candle. Here's how it works:
Each time a new bar closes on a given timeframe, the indicator looks back at what the bias signal was on the previous completed bar
It then checks whether that bias was correct — did a bullish bias lead to a bullish close? Did a bearish bias lead to a bearish close?
It keeps a rolling log of those results (1 = correct, 0 = wrong) and calculates the percentage of correct predictions
The lookback window is controlled by your Accuracy Period setting (1 Day, 3 Days, 1 Week, 2 Weeks, or 1 Month), and it automatically scales the number of bars based on the timeframe
The color coding gives you a quick read:
🟢 Green (60%+) — the bias signal has been reliably predictive
🟡 Yellow (50–59%) — marginally better than a coin flip
🔴 Red (below 50%) — the signal has been more wrong than right recently
This helps you know which timeframes are currently giving trustworthy signals and which ones to treat with skepticism. Indikator

ES Breakout Toolkit Breakout Candle Scanner Free=== PART OF THE ES BREAKOUT TOOLKIT ===
This is one of several free, standalone indicators that make up the ES Breakout Toolkit series. Each indicator isolates a single component used in the full ES London Breakout Pro strategy. They are designed to be useful on their own and educational for traders studying what makes a quality breakout candle.
=== WHAT THIS INDICATOR DOES ===
The Breakout Candle Scanner identifies candles that meet specific structural criteria for a high-quality breakout. Not every candle that crosses a level is worth trading — this indicator filters for candles with strong body-to-range ratios, directionally committed close positions, and confirmed breaks above or below a recent range.
When a candle breaks out of a defined range AND meets the body ratio and momentum close thresholds, it is marked with a BUY or SELL label. A detail label shows the exact body percentage and close position so you can see why it qualified. An optional mode also marks strong candles that did not produce a breakout, which can be useful for studying candle quality across different market conditions.
=== HOW TO USE IT ===
Apply this to an ES futures chart on a 5-minute timeframe. The indicator will scan every candle and mark those that qualify as breakout candles. You can adjust the body ratio threshold, close position thresholds, breakout buffer, and range lookback in the inputs.
Body Ratio measures how much of the candle's total range is real body vs wicks. Higher values mean more conviction. Close Position measures where price closed within the candle's range — a bullish candle closing near its high (70%+) or a bearish candle closing near its low (30% or below) indicates strong momentum commitment.
The dashboard tracks total bullish and bearish breakout candles as well as strong non-breakout candles, giving you a running count of candle quality during the session.
=== KEY FEATURES ===
- Breakout candle detection with body ratio and close position filters
- Configurable thresholds for all candle quality metrics
- ATR-based breakout buffer to filter false breaks
- Detail labels showing exact body% and close position% on each signal
- Optional mode to mark all strong candles (not just breakouts)
- Optional bar coloring for qualifying candles
- Optional London session filter
- Running stats dashboard
- Alerts for bullish and bearish breakout candles
=== ABOUT THE ES BREAKOUT TOOLKIT ===
This indicator is part of a free series that breaks down the building blocks of a London session ES futures breakout strategy. Other free indicators in the series cover session highlighting, consolidation range detection, ADX regime filtering, and momentum close analysis. Each is published separately on my profile.
The full ES London Breakout Pro indicator combines all of these components into a unified strategy with additional proprietary features including advanced risk management, trade qualification, and data tracking. It is available as an invite-only script on my profile. Use the access request instructions on that script's page if you are interested.
=== DISCLAIMER ===
This indicator is provided for educational and informational purposes only. It is NOT financial advice. It does not constitute a recommendation to buy, sell, or hold any financial instrument. Trading futures involves substantial risk of loss and is not suitable for all investors. Past performance of any indicator or strategy is not indicative of future results. Always conduct your own research and consult a qualified financial advisor before making any trading decisions. You are solely responsible for your own trading activity. Indikator

AG Pro Inside Bar Breakout Quality [AGPro Series]AG Pro Inside Bar Breakout Quality
Overview / What it does
AG Pro Inside Bar Breakout Quality is an overlay tool built to study one of the market’s most familiar compression structures: the inside bar. Instead of stopping at simple detection, the script evaluates what happens after the pattern forms and grades the breakout attempt with a structured quality model. The result is a workflow-oriented view of inside bar compression, breakout strength, and failed continuation behavior.
The script first identifies a strict inside bar condition, where the current bar remains fully contained within the previous bar’s range. That parent range becomes the active reference zone. From there, the script monitors whether price resolves above or below the structure, whether the move is confirmed by close, whether volume supports the breakout, and whether the breakout later fails and re-enters the range within a user-defined window.
This is not designed as a generic “any breakout” marker. Its purpose is narrower and more specific: it focuses on a compact volatility contraction event, then measures how decisively price leaves that compression. In practical chart work, this helps separate a low-commitment range poke from a more convincing expansion move.
The visual presentation is intentionally structured. Inside bar zones are boxed, breakout direction is marked, quality is scored, and fakeouts are labeled when the breakout reverses back into the monitored range. This makes the script suitable for traders who want a cleaner way to inspect inside bar behavior without manually drawing every structure.
Unique Edge
The main difference here is that the script does not treat every inside bar break as equally meaningful. Many tools stop at “pattern detected” or “level broken.” This script adds a second layer: breakout quality. That layer is derived from close position, volume context, candle body participation, and alignment with the parent candle’s directional bias.
A second differentiator is the built-in fakeout logic. After a breakout is detected, the script continues to watch price for a limited number of bars. If the move quickly returns back through the breakout boundary, the event is tagged as a fakeout. This adds post-event context instead of only marking the first directional move.
Another distinction is that the methodology is deterministic and chart-native. The logic is rule-based, visible, and reproducible from bar to bar. Users can decide whether to require close confirmation beyond the inside bar range, whether to require volume confirmation, and how strict they want the displayed threshold to be through the minimum score filter.
In short, this script is not only about finding compression. It is about ranking the quality of the expansion attempt that follows the compression, while also acknowledging that some breakouts fail quickly and should be read differently.
Methodology
1) Inside Bar Detection
An inside bar is identified when the current bar’s high is lower than the previous bar’s high and the current bar’s low is higher than the previous bar’s low. This creates a strict containment definition based on the previous candle’s full range.
2) Reference Zone
Once an inside bar is detected, the prior candle becomes the parent reference bar. Its high and low define the active breakout boundaries. That range can be visualized as a box, with an optional midpoint line to make the compression zone easier to read on chart.
3) Breakout Confirmation
A bullish breakout occurs when price moves above the parent high. A bearish breakout occurs when price moves below the parent low. Users can choose whether breakout confirmation should be based on close beyond the range or on a less restrictive intrabar break condition.
4) Quality Score
Each breakout can be scored on a 0–10 scale. The score is built from multiple components:
- close position relative to the inside bar boundary
- volume ratio versus the selected moving average
- body participation within the breakout candle’s total range
- directional alignment between the breakout and the parent candle bias
This scoring model is designed to estimate how committed the breakout candle appears, rather than assuming all breaks have equal informational value.
5) Fakeout Detection
If enabled, the script monitors a user-defined number of bars after breakout. A bullish breakout that returns back below the upper boundary within that window is labeled as a bull trap / fakeout. A bearish breakout that returns back above the lower boundary within that window is labeled as a bear trap / fakeout.
6) Visual Layer
The script can display the inside bar zone, midpoint, breakout arrows, score labels, and fakeout markers. A summary panel tracks aggregate statistics such as total inside bars, total breakouts, breakout direction counts, fakeouts, and the latest breakout score.
Signals & Alerts
The script can provide alert conditions for:
- bullish inside bar breakout
- bearish inside bar breakout
- fakeout detection
- high-quality breakout events
- any breakout event
These alerts are intended to help users monitor the pattern and its resolution more efficiently. They do not replace trade planning, confirmation from broader market context, or independent risk management.
Key Inputs
Min Score to Show Breakout
Filters displayed breakout labels by quality threshold. This can be useful for reducing low-quality visual noise.
Volume Confirmation Required
When enabled, breakout evaluation requires volume to be above its moving average threshold. This can help remove low-participation breaks.
Volume MA Period
Defines the lookback length for average volume comparison.
Require Close Beyond IB
When enabled, breakout confirmation depends on bar close beyond the parent range. This creates a more conservative and more stable breakout definition.
Max IBs to Display
Controls how many recent structures and related objects remain visible on chart.
Show IB Box / Midline / Breakout Arrow / Score Label
Lets users decide how much visual detail they want to keep on screen.
Glow Effect on High Score
Adds emphasis to stronger breakout events without changing the underlying logic.
Fakeout Window
Defines how many bars after breakout the script should continue monitoring for a return back through the breakout boundary.
Limitations & Transparency
This script studies inside bar compression and subsequent breakout behavior. It does not claim to identify all meaningful consolidations, and it does not attempt to classify every market regime. The methodology is intentionally focused on one structure.
The score is a rule-based quality model, not an objective measure of future outcome. A high score does not guarantee continuation, and a lower score does not guarantee failure. It simply reflects how the breakout candle and its context behave according to the script’s internal criteria.
Volume-based interpretation may vary across symbols and markets. On some instruments, especially those with inconsistent or synthetic volume data, volume confirmation may be less informative than on others. Users should evaluate whether volume filtering is appropriate for the asset they are studying.
Fakeout detection is also definition-dependent. The script labels a fakeout when price returns through the breakout boundary within the selected lookback window. Different traders may prefer a different timing window or a different failure definition.
As with any overlay, chart readability depends on market volatility, timeframe, and user settings. On lower timeframes or during highly active periods, more visual events may appear. The built-in filters and display controls are there to help manage that density.
Risk Disclosure
This script is an analytical tool for chart study. It is not financial advice, not a trade recommendation, and not a promise of future results.
Inside bar breakouts can behave differently across timeframes, instruments, and market regimes. Users should not rely on a single pattern, score, or alert in isolation. Context still matters, including trend condition, liquidity environment, nearby structure, volatility regime, and execution discipline.
Before using this script in any live decision process, it should be reviewed in the specific market and timeframe relevant to the user’s own approach. Testing, observation, and risk controls remain essential.
Indikator

AG Pro Pin Bar Quality Filter [AGPro Series]AG Pro Pin Bar Quality Filter
Overview / What it does
AG Pro Pin Bar Quality Filter is a price-action overlay built to detect pin bar candles and then separate higher-quality rejection candles from weaker or noisier ones.
The script does not treat every long-wick candle as equally meaningful. Instead, it evaluates the internal candle structure first, then applies a compact quality framework around volume, recent momentum, and local support/resistance context. The result is a filtered pin bar workflow designed for traders who want cleaner chart annotation rather than a raw pattern dump.
This tool focuses on one specific job: identifying rejection candles with a measurable structure and presenting them with a readable quality label directly on the chart. It is intended to help users inspect potential reaction points, not to replace broader market context or execution rules.
The visual design is intentionally simple at the core: pin bar body highlighting, wick emphasis, directional markers, and compact quality labels. This makes the script suitable for traders who want candle-based context without converting the chart into a full market-structure dashboard.
Unique Edge
The distinctive feature of this script is that it does not stop at pattern detection.
A standard pin bar script often marks candles only because they have a long wick. This script goes further by checking whether the wick is large enough relative to the body, whether the body itself is small enough relative to the full candle range, and whether one wick clearly dominates the other. That combination helps reduce ambiguous candles that visually resemble pin bars but do not express clean rejection.
After the structural test, the script applies a three-part quality model:
- volume confirmation
- momentum context
- support/resistance proximity
This creates a practical quality hierarchy rather than a binary pattern label. In other words, the script is not only asking “Is this a pin bar?” but also “How much contextual support does this pin bar have?”
An optional piercing check is also available for users who want stricter validation. This adds another layer of selectivity by requiring the candle body to show stronger positional behavior relative to the prior bar.
Methodology
The script starts by measuring the current candle:
- candle body size
- full candle range
- upper wick length
- lower wick length
- dominant wick versus body ratio
A raw pin bar candidate requires:
- a minimum wick/body ratio
- a maximum body percentage of full range
- directional wick dominance
This helps define whether the candle is a legitimate bullish or bearish rejection structure.
Bullish pin logic is based on lower-wick dominance.
Bearish pin logic is based on upper-wick dominance.
Once a raw pin bar is detected, the script evaluates three contextual filters.
1) Volume filter
The current volume can be compared against a moving average of volume. This helps identify candles that form with relatively stronger participation.
2) Momentum confirmation
The script can check whether recent candles were moving in the opposite direction of the current pin bar. For example, a bullish pin bar becomes more meaningful when it forms after short-term downward pressure, while a bearish pin bar becomes more meaningful after short-term upward pressure.
3) Support / resistance proximity
The script tracks pivot-based reference levels and checks whether the pin bar forms close to a recent local support or resistance area, using an ATR-based distance threshold.
Each passed filter contributes to the final quality score. This produces a compact tiered output instead of a single undifferentiated signal stream.
Signals & Alerts
The script can identify:
- bullish pin bars
- bearish pin bars
- higher-quality pin bars based on the selected minimum score
Visual elements may include:
- body highlighting on detected pin bars
- wick emphasis
- directional arrow markers
- quality labels with contextual details
- an information panel summarizing the active state
The quality label can display the signal tier and relevant confirmations such as:
- wick/body ratio
- volume confirmation
- momentum confirmation
- support/resistance proximity
Alert conditions are available for:
- bullish pin bars
- bearish pin bars
- prime-quality pin bars
- any valid pin bar that meets the selected score threshold
This allows users to align alerts with their own strictness settings rather than monitoring every possible candle manually.
Key Inputs
Important user controls include:
- minimum wick/body ratio
- maximum body percentage of full range
- wick dominance threshold
- optional piercing requirement
- volume filter enable/disable
- momentum filter enable/disable
- support/resistance filter enable/disable
- minimum quality score
- label size
- panel display
- maximum number of displayed signals
These settings make the script adaptable across different instruments and chart styles. Users who prefer a broader scan can lower the strictness, while users who want fewer but cleaner signals can raise the thresholds.
Limitations & Transparency
This script is a rule-based candle-quality filter. It is not a market prediction engine, and it does not attempt to classify broader trend structure, liquidity behavior, or macro regime by itself.
A pin bar can still fail even when all filters pass. A visually strong rejection candle is not automatically a durable reversal. Context such as higher-timeframe structure, trend state, volatility regime, session behavior, and instrument-specific character still matters.
Support and resistance detection in this script is pivot-based and proximity-based. It is designed as a practical contextual filter, not as a complete structural mapping model.
Volume behavior also varies by asset and market type. On some instruments, especially where centralized volume data is limited or interpreted differently, the volume filter should be treated as a supplementary input rather than a universal truth test.
The momentum check is intentionally compact and local. It is meant to improve candle context, not to replace broader directional analysis.
For these reasons, the script is best used as a chart-reading assistant within a larger process, not as a standalone decision framework.
Risk Disclosure
This script is provided for technical analysis and chart annotation purposes only.
It highlights selected pin bar conditions based on user-defined structural and contextual rules. It does not provide financial advice, investment advice, or guaranteed trade outcomes. Markets can remain irrational, trend continuation can invalidate rejection candles, and false positives can occur in all timeframes and asset classes.
Users should validate the script on their own instruments, timeframes, and risk models before relying on it in live conditions. Position sizing, stop placement, execution discipline, and overall trade management remain the responsibility of the user.
In summary, AG Pro Pin Bar Quality Filter is designed to help traders study rejection candles with more structure, more selectivity, and cleaner on-chart presentation than a basic pin bar marker, while remaining transparent about what the script does and does not do.
Indikator

Indikator

Candle Bracket - Mark Any HTF Candle's Range at a Specific TimeWhat It Does
Candle Bracket draws a visual range box using the High and Low of any higher timeframe candle at a user-defined time of day. Set it to the 9:30 AM 15-minute candle and you get the Opening Range. Set it to the London open, the New York open, or any key session candle — the indicator marks it automatically, every day.
Use Cases
- Opening Range Breakout (ORB) - Mark the 9:30 or 9:45 AM candle as your initial range
- Session Opens - London (3:00 AM ET), New York (9:30 AM ET), Asia (8:00 PM ET)
- News Candles - Mark a recurring economic release time (e.g. 8:30 AM CPI/NFP candle)
- Custom Reference Ranges - Any time-based candle you want as a daily anchor
Settings
- Fixed Timeframe - The HTF candle to pull from (e.g. 15, 30, 60, D)
- Target Hour / Minute - The exact time of the candle you want to mark
- Timezone - Defaults to America/New_York. Adjustable for any global session
- Rectangle Width (Bars) - How far the box extends to the right
- Box Color + Opacity Full visual customization
How to Use It
1. Set the timeframe to match your candle of interest (e.g. '15' for a 15-minute candle)
2. Set the target time to the candle's open time (e.g. '9:30' for the NY open candle)
3. The box draws automatically on every matching candle going back in history
4. Use the High and Low of the box as your key levels breakout, rejection, or retest
Notes
- Works on any asset and any chart timeframe
- Keeps the last 20 boxes by default to manage memory efficiently
- Best used on intraday charts (1m, 5m, 15m) when targeting session-level candles Indikator

Bullish-Bearish Candle PowerBullish Bearish Candle Power
What Does This Code Do For You?
Saves you from the hassle of constantly scanning for candlestick patterns on the screen.
Measures whether price action is supported by volume.
Provides an emotion-free, mathematical momentum report.
Part 1: Measuring the Candle Anatomy
The code breaks down every new candlestick into precise components:
Candle Range: The difference between the highest and lowest price.
Body Size: The net difference between the open and close price.
Wicks (Upper and Lower): Shows how much the price was rejected at the top and bottom.
Part 2: Pattern Recognition Engine
This is the smartest part of the code. It automatically scans for popular technical analysis candlestick patterns. If a candle meets the rules, it awards Bonus Points to that direction's strength.
Bullish (Uptrend) Patterns and Criteria:
Hammer: Long lower wick, short upper wick (Buyers bought the dip). +25 points.
Bullish Engulfing: The green candle's body is larger than the previous red candle's body. +30 points.
Bullish Marubozu: A solid green candle with almost no wicks. +35 points.
Morning Star, Tweezer Bottom, Harami: Other classic reversal patterns.
Bearish (Downtrend) Patterns and Criteria:
Shooting Star: Long upper wick, short lower wick (Sellers hit from the top). +25 points.
Bearish Engulfing: The red body engulfs the previous green body. +30 points.
Bearish Marubozu: A solid, full red candle. +35 points.
Evening Star, Tweezer Top, Hanging Man: Classic bearish reversal patterns.
Part 3: Volume Confirmation
Low-volume rallies are usually traps. To solve this, the code divides the current candle's volume by the volume average of the last 20 candles (SMA). If the volume is above the average, the power is multiplied; if it is below, it reduces the score.
Part 4: Final Strength Calculation
The code aggregates all this data (Position in the candle + Volume + Bonus Points) and creates two pools: Raw Bullish Power and Raw Bearish Power. It then converts them into percentages:
Bullish Percentage = (Bullish Score / Total Score) * 100
For example, at the end of the calculation, the system tells you: "There is 80% Buying and 20% Selling pressure on this candle."
Part 5: Visualization, Tables, and Alerts
It displays the results on your screen for easy reading:
Sub-chart Lines: Draws dynamic Green and Red lines to show instantly who is in control.
Top-Right Table: Shows the real-time percentage status of the candle and the detected pattern name (e.g., Hammer).
Background Colors and Alerts: If either side exceeds a threshold you set in the settings (for example 75%), it paints the background of the screen and sends an automatic alert to your phone or computer.
GOOD LUCK!
Author:Rmzn4406 Indikator

HTF Volume Spike & Imbalance Projection [LuxAlgo]The HTF Volume Spike & Imbalance Projection indicator provides a comprehensive multi-timeframe analysis tool that projects higher timeframe (HTF) candle structures, volume spikes, and volume profiles directly onto the current chart. This script aims to bridge the gap between different time horizons, allowing traders to identify institutional interest, supply/demand zones, and significant order flow imbalances within an HTF context without ever switching timeframes.
🔶 USAGE
🔹 The Core Concept
While standard charts only show the OHLC of a candle, this indicator deconstructs a single large candle (e.g., a 1-hour candle) into its individual internal components. It looks for Volume Spikes (moments of high activity) and Stacked Imbalances (where aggressive participants stepped in repeatedly) to reveal the "story" inside the bar.
🔹 Reading the Projection
The indicator projects two visual blocks to the right of your current price action:
Ghost Bar (Left Block): This represents the previous completed HTF candle. It is faded out to provide historical context and show where the previous "value" was established. Current Bar (Right Block): This represents the HTF candle currently forming and updates in real-time as new data arrives.
Each block is divided into three distinct visual sections:
HTF Candle: A standard candle representation of the higher timeframe (Open, High, Low, Close). Scatter Plot (The Bubbles): Every bubble represents a volume spike that occurred on the lower timeframe (LTF) granularity. The size of the bubble indicates higher volume, while the color indicates buying (Green) or selling (Red) pressure. Dotted lines connect the High and Low of the candle to this zone for reference. Volume Profile (The Histogram): Displays the total distribution of volume across the entire HTF candle, highlighting high-volume nodes.
🔹 Key Feature: Stacked Imbalances
Look for the solid colored boxes behind the scatter plot bubbles. These "Stacked Imbalances" appear when 3 or more volume spikes of the same direction occur at the same price level within one HTF candle.
Bullish Imbalance (Green Box): Indicates a strong area of buying interest. These often act as support levels. Bearish Imbalance (Red Box): Indicates a strong area of selling interest. These often act as resistance levels.
🔹 On-Chart Bubbles
The bubbles visible on the actual candles of your chart are the same spikes shown in the projection.
A cluster of large bubbles at the top of a candle indicates exhaustion or heavy selling at the highs. Large bubbles at the bottom indicate a strong floor being built by buyers.
🔶 DETAILS
The indicator uses
request.security_lower_tf()
to pull granular data. By analyzing volume at this "Spike Granularity," the script can pinpoint specific price levels where volume exceeded a moving average by a user-defined multiplier.
🔹 Trading Tips
Identify Point of Control: Use the Volume Profile in the projection to see where the "Value" is. Trading usually gravitates back to high-volume areas. Trade the Imbalances: When price returns to a previously formed "Stacked Imbalance" box from the Ghost Bar, look for a reversal. These are high-probability areas where institutional activity was detected. Volatility Detection: If the scatter plot is empty, the current move is "low conviction" (low volume). If it's filled with large bubbles, big players are active.
🔶 SETTINGS
🔹 Higher Timeframe (Anchor)
HTF Anchor Timeframe: Defines the timeframe of the main projection. The "Auto" setting selects a logical HTF based on your current chart.
🔹 Volume Spike Detection
Spike Granularity: The lower timeframe used to find individual spikes. Volume Spike Multiplier: The threshold used to define a "spike" relative to the volume average. Volume MA Length: The lookback period for the volume average.
🔹 Advanced Features
Show Ghost (Previous) Bar: Toggles the visualization of the previous HTF period. Highlight Stacked Imbalances: Enables detection of price zones with high-frequency aggressive volume. Show Anchor Connection Lines: Toggles lines connecting chart levels to the projection block. Show Bubbles on Chart Candles: Toggles the LTF volume spikes directly on the main chart bars. Indikator

Outside Bar & 2-Bar Reversal Alerts + SystemOutside Bar & 2-Bar Reversal — Price Action Reversal Detection with Integrated Trade Management
Hello friends and traders!
🔹 Introduction
This indicator — Outside Bar & 2-Bar Reversal — automatically identifies two of the most structurally sound price action reversal patterns and overlays a complete trade management system directly on your chart.
The patterns this indicator detects are rooted in a simple but powerful idea: momentum exhaustion followed by full absorption. When price makes an aggressive directional push and is then completely engulfed by the opposing side, it often signals that the prevailing move has run out of willing participants.
The indicator also includes an optional suite of confluence filters — VWAP, swing sweeps, and time-of-day — so you can isolate the highest-quality setups rather than trading every signal blindly.
I'll cover the pattern logic, the trade management system, and all filters in detail throughout this description.
🔹 The Premise
🔸 Why Reversal Candles Work
Price moves because of imbalance. When more aggressive buyers than sellers are active, price rises. When more aggressive sellers than buyers are active, price falls.
Reversal candle patterns are useful because they attempt to identify the moment that imbalance flips — where one side that was previously dominant is fully overcome by the other.
The key word is fully. A simple bearish candle after a bullish candle tells you very little. What's meaningful is when the opposing candle completely engulfs the prior move — taking out its low, closing above its open, and reaching above its high. That's not just a pause. That's a statement.
This is the foundation of both patterns this indicator detects.
🔸 What Is an Outside Bar?
An outside bar is a candle that completely engulfs the prior candle — its range exceeds the prior candle's range on both sides.
But not all outside bars are created equal. A random outside bar on a quiet consolidation bar means very little. The patterns this indicator targets require context and directionality before the signal fires.
Bullish Outside Bar — Full Conditions:
Candle 1 must be bearish — it closes below its open
Candle 1 must close below the prior candle's close — a genuine continuation of selling
Candle 1's low must be below the prior candle's low — it must make a lower low, showing directional commitment
Candle 2 (signal candle) must have a lower low than Candle 1 — extending the flush
Candle 2 must close above Candle 1's open — full absorption of the bearish candle
Candle 2 must have a higher high than Candle 1 — completing the engulf
The result: a setup where price made a committed bearish push, and then a single candle came in, swept below it, and closed above the entire prior move. Buyers didn't just show up — they overwhelmed every seller from the prior candle.
Bearish Outside Bar — Full Conditions:
The exact mirror. A committed bullish candle that makes a higher high, followed by a signal candle that sweeps above it and closes below its entire range. Sellers overwhelmed every buyer.
🔸 What Is a 2-Bar Reversal?
The 2-Bar Reversal is a related but distinct pattern. Rather than requiring full range engulfment, it focuses on close-to-close extremity.
Bullish 2-Bar Reversal:
Candle 1 closes entirely below the low of the candle before it — an aggressive, committed flush
Candle 2 closes above the open of Candle 1 — a full reclaim of the prior candle's starting point
The logic: if price closes below a prior candle's entire range, sellers were aggressive. If the very next candle reclaims all of that, buyers responded even more aggressively. The speed of the reversal is what makes this significant.
Bearish 2-Bar Reversal:
Candle 1 closes above the prior candle's high. Candle 2 closes below Candle 1's open. Immediate and full rejection of the breakout.
🔹 Integrated Trade Management
Every signal automatically places three levels on your chart so you never have to manually calculate a trade again.
🔸 Entry
The open of the candle immediately following the signal candle. You're not chasing — you're entering at the next structured open after confirmation is complete.
🔸 Stop Loss
The open of the signal candle itself. The reasoning: if price returns to where the signal candle opened, the reversal thesis is structurally compromised.
🔸 Take Profit
Fully user-adjustable R multiple. Default is 2R — meaning for every dollar risked, you're targeting two dollars of reward. Adjustable from 0.1R to any value via the settings panel.
🔸 Line Behavior
All three lines extend to the right in real time and automatically terminate the moment price hits either the TP or SL level. No manual cleanup. No cluttered leftover lines. Every historical trade remains visible on the chart so you can review setups at a glance.
🔹 Live Performance Table
A built-in stats table tracks every closed trade automatically:
Total Trades — all resolved trades
Wins — trades that reached the TP level
Losses — trades that hit the SL level
Win Rate — displayed as a percentage, color coded green above 50% and red below
Load any chart, any timeframe, any market — the table populates in real time and gives you an instant read on how the patterns have performed under your current filter settings.
🔹 Confluence Filters
Each filter is independently toggleable. Use one, all, or none — the indicator works standalone without any filters active.
🔸 VWAP Filter
VWAP (Volume Weighted Average Price) is widely used by institutional participants as an intraday benchmark. Price trading above VWAP is generally considered a bullish market structure for the session; below VWAP is bearish.
When enabled, this filter requires:
Bullish signals: the signal candle must close above VWAP
Bearish signals: the signal candle must close below VWAP
This keeps you aligned with the intraday institutional bias rather than trading reversals against the dominant order flow of the session.
🔸 Swing Sweep Filter
One of the most reliable contexts for a reversal pattern is when it occurs after a liquidity sweep — price briefly trading through a prior swing point before reversing. This is often where stop orders from trapped traders trigger, adding fuel to the reversal.
When enabled:
Bullish signals only show if the signal candle's low swept below a recent pivot low
Bearish signals only show if the signal candle's high swept above a recent pivot high
Both the lookback window and the pivot strength (number of bars required on each side to qualify as a swing) are fully adjustable.
🔸 Time Window Filter
Not all hours of the trading day are equal. The highest-quality price action signals tend to occur during periods of genuine institutional participation — typically the first few hours of the New York session when volume, spread, and volatility are all at their daily peak.
When enabled, signals are restricted to a user-defined time window. Default is 8:00 AM – 11:00 AM EST, covering the New York open. The start and end times are individually adjustable by hour and minute. Uses the America/New_York timezone, so EST/EDT daylight saving transitions are handled automatically.
🔹 Settings Overview
SettingDescriptionShow Bullish / Bearish SignalsToggle each direction independentlyShow Outside BarsToggle OB pattern on/offShow 2-Bar ReversalsToggle 2BR pattern on/offTake Profit R MultipleAdjustable TP target (default 2R)Show Trade LinesToggle entry/SL/TP linesLine ColorsIndependently customizableTime Window FilterOn/off + start/end timeVWAP FilterOn/offSwing Sweep FilterOn/off + lookback + pivot strength
🔹 Works On Any Market & Timeframe
The patterns are purely price-action based — no volume dependency, no indicator inputs. They apply equally to equities, futures, forex, and crypto. Most effective on intraday timeframes (1m–15m) during high-liquidity sessions, but the logic holds on higher timeframes for swing traders as well.
🔹 Closing Remarks
The Outside Bar and 2-Bar Reversal are not new concepts. Traders have been observing these patterns for decades. What this indicator adds is precision in definition — ensuring every signal meets a strict structural checklist rather than firing on any loosely engulfing candle — combined with a fully automated trade management overlay and a real-time performance table.
The filters exist because context matters. The same pattern in the middle of a choppy afternoon session, below VWAP, with no liquidity sweep, is a different proposition to the same pattern at the New York open, above VWAP, after a clean sweep of a prior swing low.
Use the filters to build a ruleset that matches your edge, and use the performance table to validate it.
Drop a comment below with the market and timeframe you're testing this on — always interested to see how different traders apply price action tools. Indikator

Higher High / Lower Low Probability IndicatorOverview
The "Higher High / Lower Low Probability Indicator" is an original statistical tool designed to help traders assess the likelihood of trend continuation in price action. By analyzing historical candles, it calculates the probability that the next candle will form a higher high (HH) or lower low (LL) based whether the previous candle expanded higher or lower.
This indicator uniquely incorporates handling for inside candles, where it falls back to the bias of the prior candle to maintain continuity in probability assessments. It's particularly useful for momentum traders, swing traders, or those incorporating probabilistic edges into their strategies, providing data-driven insights into potential bullish or bearish continuations without relying on complex oscillators or moving averages.
Features
Probability Calculations: Tracks occurrences and successes of higher highs and lower lows across the chart's history. For HH: If the previous candle had a higher high than the one before it, it computes the percentage chance the current candle will continue that pattern. The same logic applies to LL for downward trends.
Inside Candle Handling: Detects inside bars (where the high is lower and low is higher than the previous candle) and intelligently uses the bias from the candle before the inside bar, ensuring the indicator doesn't skip potential signals.
Visual Plotting: Displays the relevant probability (HH in green, LL in red) as a line plot only when the condition is met, helping users quickly identify active probabilities without clutter.
Informative Table: A customizable table in the chart shows HH and LL occurrences alongside their respective probabilities, formatted for easy reading.
User Inputs:
Table Position: Choose from options like "Top Right" (default), "Bottom Left", etc., to place the table where it suits your chart layout.
Text Size: Select from "Auto", "Tiny", "Small", "Normal" (default), or "Large" for optimal visibility.
All calculations are performed in real-time using Pine Script's historical data access, ensuring efficiency without repainting.
How to Use
Add the indicator to your chart via TradingView's indicator search.
Adjust the "Table Position" and "Text Size" inputs to fit your preferences.
Monitor the plotted probability line: Green indicates a potential HH continuation with the displayed percentage; red signals LL probability.
Refer to the table for cumulative stats—higher occurrences provide more reliable probabilities over time.
Combine with other tools like support/resistance levels or volume for confirmation. For example, a high HH probability (>70%) in an uptrend might signal a buy opportunity.
This indicator works on any timeframe and symbol but performs best on charts with sufficient historical data (e.g., daily or higher) to build meaningful statistics. Note that probabilities are historical and not predictive guarantees—always use risk management.
Limitations
Relies on available historical bars; on very short histories (e.g., new symbols), probabilities may start at 0% until patterns accumulate.
Does not account for external factors like news events or volatility spikes.
The table updates only on the last bar for performance reasons.
This script is open-source for community review and customization. Indikator

BASCOOL_LibBASCOOL Library v1
Range–Body Structure Analysis Toolkit for Intraday Trading
The BASCOOL Library provides high-quality, reusable Pine Script components for structural conviction analysis based purely on price action. It is designed for intraday traders who rely on volatility-adjusted range expansion and candle-body efficiency to identify strong, weak, or choppy market conditions.
Included Functions
rbm_from_ohlc() – Range–Body Measure (RBM)
A volatility-normalized structure indicator that evaluates:
Range Expansion:
Smooth EMA of (High–Low), normalized by ATR
→ captures strength of movement relative to volatility
Body Efficiency:
Body-to-Range ratio smoothed with EMA
→ measures how much of the candle’s range is “directional”
The RBM output is a smooth structural strength score typically between 0 and 1, where:
High RBM → strong structure, clean movement, trend-friendly conditions
Low RBM → compressed ranges, weak bodies, low-quality structure
Flat RBM → choppy environment, avoid directional trades Perpustakaan

HTF Candle Dynamics [LuxAlgo]The HTF Candle Dynamics indicator provides traders with a comprehensive view of Higher Timeframe (HTF) price action and volume distribution directly on their lower timeframe charts. By projecting the current developing HTF candle and its internal volume characteristics to the right of the price, users can maintain high-level context without switching tabs.
Note: Ensure the chart timeframe is lower than the selected HTF setting for the indicator to function correctly.
🔶 USAGE
This tool is designed to bridge the gap between execution timeframes and higher-level market structures. It is particularly useful for scalpers and day traders who need to stay aware of Daily or Weekly levels while trading on 1-minute or 5-minute charts.
🔹 HTF Candle Projection
Visualizes the current HTF period (e.g., Daily, Weekly) as a dynamic candle on the right side of the chart. It includes projections for the HTF Open, High, Low, and Close levels. These levels often act as significant psychological barriers where price might find support or resistance.
🔹 Intraday Volume Profile
Generates a volume profile specifically for the current HTF period. This allows traders to see where the most volume is being transacted within the developing candle. Identifying "High Volume Nodes" within the current HTF candle can signal where institutional interest is concentrated.
🔹 Dynamic POC Tracking
A polyline tracks the movement of the Point of Control (POC) throughout the HTF period, showing how the most traded price level has shifted over time. If the POC is trending upward alongside price, it confirms a healthy bullish trend; if price moves away from a static POC, it might indicate a potential mean reversion back to that high-volume level.
🔹 How to Use
Traders can utilize this indicator to align their intraday trades with the broader market direction:
Identifying Value : Use the Intraday Volume Profile to spot the Point of Control. If the price is trading above the POC, the market is currently in a premium zone for that HTF. If it is below, it may be considered "discounted" relative to the volume transacted so far.
Breakout Confirmation : When price breaks the High or Low of the projected HTF candle, traders look for volume expansion within the profile to confirm if the breakout has significant participation.
Mean Reversion : The Dynamic POC line acts as a magnet. If price overextends significantly from the POC line, traders often look for signs of exhaustion to play a move back toward the high-volume area.
🔶 DETAILS
The indicator uses security calls to fetch historical HTF data while calculating the current developing period in real-time. A dedicated status table ensures the selected HTF is valid relative to the chart timeframe to prevent calculation errors.
🔹 History Dashboard
The dashboard provides a statistical breakdown of the previous three HTF candles (T-1, T-2, T-3). This is crucial for "Contextual Trading." By seeing the OHLC values and Volume Delta of the previous periods, you can determine if the market is experiencing "Expansion" (increasing volume and candle size) or "Contraction" (decreasing volume and tighter ranges).
🔹 Volume Delta
The Volume Delta shown in the history dashboard is an approximation calculated by summing volume based on the direction of individual intraday candles.
🔶 SETTINGS
HTF Setting : Defines the timeframe for the candle projection and volume profile (default is "D").
Right Offset : Adjusts the horizontal position of the projected candle and labels to avoid overlapping with price.
Visuals : Full control over bullish/bearish colors, POC lines, and projection offsets.
Volume Profile : Toggle the profile visibility and customize the number of rows or the maximum width of the bars.
History Dashboard : Toggle the history dashboard and adjust its position (Top Right, Bottom Right, etc.) or size.
Indikator

HTF PO3 [LuxAlgo]The HTF PO3 indicator is a professional visualization tool designed to project Higher Timeframe (HTF) Power of 3 (Accumulation, Manipulation, Distribution) price action directly onto your current chart by "grid-locking" HTF candle structures to the price scale.
🔶 USAGE
The indicator is primarily used by SMC (Smart Money Concepts) and Price Action traders to identify the state of a higher timeframe candle without switching charts. By projecting the HTF candle into the right margin, traders can observe the development of the Open, High, Low, and Close (OHLC) in real-time.
🔹 Mapping & Origin Lines
A standout feature of this tool is the direct mapping system. Dashed lines originate from the exact lower timeframe (LTF) bars that established the HTF Open, High, and Low. This allows you to see precisely where the "Manipulation" (wick) and "Accumulation" (body) phases occurred within the HTF cycle.
🔹 Running Volume Delta
Below each projected candle, the indicator displays the "Running Delta." This calculates the cumulative difference between buying and selling volume (based on bar polarity) throughout the HTF period, providing an extra layer of confluence for directional bias.
🔶 DETAILS
The indicator is engineered to be "grid-locked" to the chart's native coordinate system. Unlike standard overlays that might appear to "float," this tool uses absolute price and bar index anchoring.
Vertical Synchronization : The HTF candle wicks and bodies are tied to the Y-axis. If you stretch or compress the price scale, the projected candle scales perfectly in sync with your chart.
Horizontal Anchoring : Mapping lines are pinned to the specific bar_index where levels were created, ensuring they stay "glued" to the correct candles even when scrolling or zooming.
Projection Logic : The tool projects the current forming candle and a customizable number of previous candles into the future space (right offset), keeping your main workspace clean.
🔶 SETTINGS
🔹 Higher Timeframe Settings
HTF Timeframe : Sets the timeframe for the projected candles (e.g., 60m, 4H, Daily).
Candles to Show : Determines how many historical HTF candles are projected alongside the live one.
Right Offset (Bars) : Controls how far into the right margin the projection is drawn.
🔹 Visual Style
Bullish/Bearish Color : Customizes the colors for the HTF candle bodies and wicks.
Live Body Transparency : Adjusts the opacity of the current developing candle.
Show Price Labels : Toggles the visibility of the OHLC price tags next to the live projection.
Show Running Delta : Toggles the cumulative volume delta display below the candles.
Indikator

Indikator

Indikator

HTF Candle Projections [LuxAlgo]The HTF Candle Projections indicator projects recent and current higher timeframe candles onto the right side of the chart, providing a clear visualization of macro trends and internal candle composition.
🔶 USAGE
The tool is designed to bridge the gap between lower timeframe execution and higher timeframe context. By projecting HTF candles into the future space (right of the current bar), traders can maintain a clear perspective on the larger trend without constantly switching tabs.
🔹 HTF Trend Alignment
Traders can use the projected candles to ensure their lower timeframe (LTF) entries align with the broader market direction. For instance, a scalp trader might only look for long setups if the current projected Daily candle is bullish. This "Top-Down" filter helps traders avoid "fighting the trend" by providing a constant visual reminder of the HTF candle's polarity and momentum.
🔹 Anticipating Reversals & Level Origins
The indicator includes connection lines that trace back from the projected HTF wicks to the exact LTF bars that established the High and Low of that period. This allows traders to pinpoint the specific price action or "order block" responsible for the HTF extrema. If price returns to the origin of an HTF wick, traders can watch for a reaction, as these levels often represent areas of significant supply or demand.
🔹 Internal Sentiment Divergence
A unique feature of this script is the "Internal Sentiment Bars." These small bars inside the HTF candle body show the ratio of bullish vs. bearish LTF bars that make up that specific HTF candle.
If a bullish HTF candle has a high bearish sentiment bar, it suggests a "weak" or "grinding" trend where sellers are actively fighting the move, potentially signaling exhaustion.
Conversely, if the sentiment bars align strongly with the HTF candle direction (e.g., a bullish candle with almost entirely bullish sentiment), it indicates a high-conviction "power move" with little resistance.
🔹 Range Play & Breakouts
The indicator highlights the absolute highest high and lowest low of the entire projected sequence with solid connection lines. These lines define the current HTF trading range. Traders can use these boundaries to identify mean reversion opportunities within the range or to prepare for high-probability breakout trades once price moves beyond these absolute levels.
🔹 Visualizing Wick Development
By observing the live development of the current HTF candle, traders can see "wicking" behavior as it happens. If the current price is far from the HTF high but the connection line remains anchored there, it visually confirms a rejection from that level. This real-time feedback is crucial for identifying if an HTF candle is closing as a "Pin Bar" or "Shooting Star" before the timeframe actually expires.
🔶 DETAILS
The script uses a custom data structure to track the Open, High, Low, and Close of the selected timeframe. It also tracks the specific bar index of the highs and lows to draw the connection lines accurately. The absolute high and low of the entire projected sequence are highlighted with solid lines to identify the "Range High" and "Range Low" of the projected window.
🔶 SETTINGS
HTF Timeframe: Sets the higher timeframe to be projected (e.g., Daily, Weekly, Monthly).
Candle Width (Bars): Determines how many bars wide each projected candle appears on the right side of the chart.
Gap Between Candles: Sets the horizontal spacing between the projected HTF candles.
Number of HTF Candles: The total number of candles to project (previous completed candles + current live candle).
Show Internal Sentiment Bars: Toggles the visibility of the internal bull/bear composition bars.
🔹 Colors
HTF Bull/Bear Body: Adjusts the colors and transparency of the main projected candle bodies.
Sentiment Bull/Bear: Sets the color for the internal composition bars (ratio of LTF closes).
Wick Color: Customizes the color of the projected candle wicks.
Connection Line: Sets the color for the dotted lines connecting HTF wicks to their LTF origins.
Absolute High/Low Connection: Sets the color for the solid lines marking the highest and lowest points of the projected set.
Indikator

Indikator
