SMC EngineSMC Engine
Overview
SMC Engine is a market-context indicator designed to identify potential liquidity sweeps and directional pressure around a selected session range.
The indicator combines an open-based NY range, candle spread analysis, and lower-timeframe volume pressure to classify market conditions such as Stop Hunts, directional aggression, and breakouts.
The default session is 09:30–10:30 New York time, but the session and timezone can be adjusted from the settings.
Key Features
Open-based NY session range
Automatic range box visualization
Projected range levels after the session
Candle spread anomaly detection
Lower-timeframe volume pressure
Stop Hunt High detection
Stop Hunt Low detection
Bullish Aggression detection
Bearish Aggression detection
Breakout Up/Down classification
Real-time sentiment dashboard
How It Works
1. Open-Based NY Range
During the selected session, the indicator tracks the highest and lowest candle opening prices.
These levels form the open-based range used by the sentiment engine.
Note: This is an open-based range, not a conventional opening range calculated from candle highs and lows.
2. Spread Analysis
The indicator compares the current candle's spread (High - Low) with its average spread over the selected baseline period.
Default settings:
Spread Baseline: 50 bars
Spread Anomaly Multiplier: 2.0
When the current spread exceeds the baseline multiplied by the anomaly multiplier, it is classified as a spread anomaly.
3. Volume Pressure
The indicator uses lower-timeframe candle data to estimate directional volume pressure.
Lower-timeframe close > open → volume is counted as positive
Lower-timeframe close < open → volume is counted as negative
Lower-timeframe close = open → volume is ignored
The resulting value is used as a volume-pressure proxy.
This is not true bid/ask volume delta.
Sentiment Conditions
Stop Hunt High
A Stop Hunt High is identified when:
The candle has an unusually large spread
Price trades above the open-based range high
The candle closes back at or below that level
Lower-timeframe volume pressure is negative
The signal is displayed with an orange downward triangle.
This can be viewed as a potential bearish liquidity-sweep setup.
Stop Hunt Low
A Stop Hunt Low is identified when:
The candle has an unusually large spread
Price trades below the open-based range low
The candle closes back at or above that level
Lower-timeframe volume pressure is positive
The signal is displayed with an orange upward triangle.
This can be viewed as a potential bullish liquidity-sweep setup.
Bullish / Bearish Aggression
When a spread anomaly occurs without meeting the Stop Hunt conditions, the indicator evaluates candle direction and volume pressure to identify:
Bullish Aggression
Bearish Aggression
Air Pocket/Uncertain
Breakouts
When the spread is not classified as an anomaly, the indicator can identify:
Breakout Up
Breakout Down
These classifications are based on price closing beyond the open-based range together with corresponding volume pressure.
How to Use It
The indicator is primarily intended as a market-context and confirmation tool, rather than a standalone buy/sell system
A simple way to use the Stop Hunt signals is:
Bullish Setup
Stop Hunt Low → wait for confirmation → consider long
When an orange Stop Hunt Low appears, avoid entering immediately. Observe the following price action and look for bullish confirmation before considering a long trade.
Bearish Setup
Stop Hunt High → wait for confirmation → consider short
When an orange Stop Hunt High appears, avoid entering immediately. Observe the following price action and look for bearish confirmation before considering a short trade.
The Stop Hunt signal should therefore be treated as a setup/area of interest, not an automatic entry signal.
Traders can combine the signal with their own market structure, price action, risk management, and higher-timeframe analysis.
Dashboard
The dashboard displays:
VSA Price Spread — current candle spread in ticks
Baseline Spread — average spread used for anomaly detection
Volume Pressure — calculated lower-timeframe directional volume pressure
Current Sentiment — current classification produced by the engine
Recommended Usage
The default configuration is designed around using a lower timeframe for volume-pressure analysis, such as a 1-minute lower timeframe on a 5-minute chart.
The appropriate settings can vary by market, symbol, and timeframe, so traders should test the indicator under the conditions in which they intend to use it.
Important Limitations
The range is based on candle opens, not highs and lows.
Volume Pressure is a directional-volume proxy and should not be interpreted as true bid/ask delta.
A Stop Hunt signal does not guarantee a reversal or profitable trade.
Breakout classifications do not guarantee that a breakout will continue.
The indicator does not determine stop-loss placement, take-profit levels, or position sizing.
Market conditions, liquidity, and data-feed characteristics can affect the behavior of lower-timeframe calculations.
Traders should independently test and validate the indicator before using it in live trading.
SMC Engine is intended for market analysis and educational purposes and should be used together with appropriate risk management. อินดิเคเตอร์

Structure Participation Matrix [MQLSoftware]OVERVIEW
Structure Participation Matrix turns confirmed structure breaks into auditable records. It shows price-travel and chart-feed participation context, then compares endpoints across frozen score buckets. Each record has four readings, a score, and one delayed observation. It is research, not entries, stops, targets, sizing, execution, or forecasts.
Its distinct contribution is the complete frozen event ledger: strict delayed pivots, four disclosed measurements fixed at the break close, explicit UNSCORED handling, and one outcome check aggregated by frozen bucket. It links structure, participation, and later observation rather than merely combining standard indicators.
CONCEPTS
Strict symmetric pivots require a unique extreme on both sides; ties are rejected. A pivot becomes eligible only after its full right-side delay. A break requires a confirmed close beyond the armed level plus the ATR buffer; a wick alone is not an event.
Four 0-100 components freeze at that close. PATH measures displacement against the leg's total path. CLOSE averages directional close location over its final bars. REL VOL compares average leg volume with a rolling median. BALANCE weights volume by close location. The fixed score is 30% EFF/PATH, 25% CLOSE, 25% RVOL/REL VOL, and 20% BAL/BALANCE, normalized once for displays, buckets, and alerts.
RVOL uses reported or tick volume; BAL is an OHLCV proxy. They are not bid/ask delta, order flow, or a footprint; neither proves participant identity or predicts future behavior. Missing leg volume or bounded history makes an event UNSCORED and excludes it from bucket statistics.
After exactly N confirmed bars, the close is checked once. HELD N means the endpoint is beyond the broken level; FAILED N means it is not. HELD does not mean price stayed beyond the level throughout. The result is fixed.
FEATURES
Confirmed BREAK UP and BREAK DOWN events
Latest-event PATH, CLOSE, VOL, BAL rail
LOW, MODERATE, HIGH, and VERY HIGH score bands
HELD N or FAILED N endpoint checks
Sample-aware count and held-at-N rate by bucket
Break, direction, score-60+, and outcome alerts
HOW TO USE
Start with defaults. Higher Strict Swing Strength gives fewer pivots and a longer delay. Break Buffer sets the required closing distance in ATR units. Maximum Measured Leg Bars bounds history; an older leg remains a visible UNSCORED break.
Read the latest label first. In the rail, PATH describes travel efficiency; CLOSE, final-bar commitment; VOL, relative chart activity versus baseline; and BAL, a directional OHLCV proxy. The score summarizes a frozen event, not an instruction or probability.
The newest event keeps its expanded label and rail. Older events become compact labels; Historical Detailed Rails restores detail. Visual switches and retention affect drawings only, not calculations, counts, or alerts.
The matrix uses events recalculated from the history currently loaded on the chart. Counts and rates change with symbol, timeframe, inputs, or the history boundary. Small buckets remain collecting. HELD N rates are historical endpoint observations, not future estimates.
CONCLUSION
The result is an inspectable break record with transparent measurements, compact history, one timed outcome, and visible data limits. อินดิเคเตอร์

Volume DNA [StrixEDGE]📊 WHAT IT DOES
StrixEDGE Volume DNA produces a single score from 0-100 that reveals whether the current price movement has genuine volume support. It synthesizes four independent volume metrics — OBV slope, Chaikin Money Flow, Relative Volume, and Volume-Price Alignment — into one easy-to-read composite. Think of it as a health check for any price move.
🔬 WHY IT'S DIFFERENT
Individual volume indicators each tell part of the story. OBV shows cumulative flow. CMF shows bounded pressure. RVOL shows participation levels. None alone gives the full picture. Volume DNA combines all four with equal weighting into a normalized 0-100 score — something no existing public indicator does. The optional breakdown mode lets you see exactly which component is driving the overall score.
⚙️ HOW IT WORKS
Four components, each scored 0-25 points:
• OBV Slope (0-25): Linear regression slope of On-Balance Volume, normalized by ATR. Rising OBV = accumulation = high score.
• CMF Score (0-25): Chaikin Money Flow mapped to 0-25 range. Positive CMF = buying pressure.
• RVOL Score (0-25): Current volume vs 20-period average. Above-average volume = higher conviction.
• Volume-Price Alignment (0-25): Are price and volume moving together? Rising price + rising volume = healthy. Rising price + falling volume = dangerous divergence.
The composite is smoothed with a 3-period EMA to reduce noise.
📈 HOW TO USE
• Score 80-100 (GREEN): Price move is well-supported — hold positions, trail stops
• Score 60-80: Adequate support — normal trading
• Score 40-60 (YELLOW): Mixed signals — reduce position size, tighten stops
• Score 20-40 (ORANGE): Weak support — avoid new entries in move direction
• Score 0-20 (RED): Critical — the move is unsupported and likely to reverse
• Enable "Show Breakdown" to identify which specific component is weak
🎛️ INPUTS & DEFAULTS
OBV Regression: 14 | CMF Period: 20 | RVOL Baseline: 20
Price Alignment LB: 5 | Smoothing: 3 | Breakdown: OFF
═══════════════════════════════════════════════════════
🔧 CUSTOMIZATION
All parameters are fully adjustable through the indicator settings panel. Inputs are grouped logically:
• ⚙️ Core Parameters — main calculation settings
• 📊 Table Settings — table size (Tiny to Huge), position (4 corners), visibility toggle
• 🎨 Visual Settings — colors, show/hide elements
• 🔔 Alert Settings — threshold values for notifications
📊 DATA TABLE
A built-in data table displays all key metrics in real-time. Adjust the table size from Tiny to Huge to match your chart layout. Position it in any corner. Toggle visibility on/off.
🔔 ALERTS
Pre-built alert conditions for all major signals. Set up alerts via TradingView's alert dialog — select this indicator and choose from the available conditions.
⏱️ RECOMMENDED TIMEFRAMES
Works on all timeframes. Recommended: 1H, 4H, Daily for best signal quality. Lower timeframes produce more signals but with higher noise. Weekly/Monthly for position trading context.
✅ COMPLIANCE
• No repainting — all signals based on confirmed bar close data
• No future data references
• Open-source code — verify the logic yourself
⚠️ DISCLAIMER
This indicator is a technical analysis tool, not financial advice. It does not predict future price movements. Past patterns and signals do not guarantee future results. Trading involves substantial risk of loss. Always use proper risk management, including stop losses and appropriate position sizing. Never risk more than you can afford to lose. อินดิเคเตอร์

Echo Vector PVSRA Volume### Credits and licence
The starting point for the relative-volume and volume-spread classification framework was the open-source “Traders Reality PVSRA Volume Suite,” originally created by infernix with library integration by peshocore, under the Mozilla Public License 2.0.
This derivative is independently named and does not use the Traders Reality or Pattern Watchers names as its branding.
The imported library calculation has been replaced with script-level calculations. This implementation adds configurable volume tiers, price-extension filters, volume divergence, optional divergence lines, extreme-volume event detection, body-recovery measurements, expanded alerts, and simplified historical outcome tables.
### Overview
Echo Volume Structure is a volume-analysis indicator that classifies candles according to:
* reported volume;
* candle direction;
* candle range;
* volume multiplied by candle range;
* body size;
* price extension from a configurable EMA.
The classifications are displayed as colour-coded volume columns in a separate pane.
Users can optionally apply the same classification colours to the candles on the main price chart.
The script also includes:
* regular bullish and bearish volume divergence;
* divergence markers and configurable lines;
* extreme-volume event diamonds;
* body-recovery tracking;
* simplified divergence target/stop outcomes;
* recovery statistics;
* configurable alerts.
The indicator identifies when its mathematical conditions are present. It does not establish why the activity occurred and does not predict what price will do afterward.
### Data source
By default, the indicator uses OHLC and volume data from the active chart symbol and timeframe.
The requested values include:
* open;
* high;
* low;
* close;
* volume.
The data is requested with lookahead disabled.
### Symbol override
Users can optionally analyze data from a different symbol instead of the active chart symbol.
The override can also contain a combination of compatible feeds, such as multiple exchange symbols added together.
Adding several data feeds can increase processing requirements.
When symbol override is enabled, users should confirm that the selected source is meaningfully related to the active chart.
Differences in exchange activity, trading hours, price scale, market structure, and volume reporting can cause the classifications to differ from those produced by the chart symbol.
### Volume-spread calculation
The script calculates a volume-spread value by multiplying candle volume by the candle’s high-to-low range.
This allows the classification process to consider both:
* the amount of reported volume;
* the price range produced during that volume.
A candle may qualify for an elevated classification because its volume is unusually high, its volume-spread value is unusually large, or it meets a combination of volume, body-size, and price-extension conditions.
### Candle-classification hierarchy
The script applies a fixed priority hierarchy.
When a candle qualifies for more than one classification, the highest active tier determines its colour.
The hierarchy from highest to lowest is:
1. Echo Peak Up or Echo Valley Down;
2. Ultra Up or Ultra Down;
3. Echo Surge Up or Echo Surge Down;
4. Echo Pulse Up or Echo Pulse Down;
5. Normal Up or Normal Down.
The classifications are internal analytical categories. They are not measurements of trade quality and do not guarantee reversal or continuation.
### Default colour key
The default candle classifications and colours are:
* Echo Peak Up — bright green;
* Echo Valley Down — bright red;
* Ultra Up — dark green;
* Ultra Down — dark red;
* Echo Surge Up — lime green;
* Echo Surge Down — light red;
* Echo Pulse Up — blue;
* Echo Pulse Down — fuchsia;
* Normal Up — light grey;
* Normal Down — dark grey;
* Extreme Volume Event — yellow diamond;
* Bullish Volume Divergence — turquoise upward triangle;
* Bearish Volume Divergence — coral-red downward triangle.
All classification, divergence, and line colours can be adjusted in the indicator settings.
### Echo Peak Up — bright green
An Echo Peak Up candle is bright green by default.
It requires:
* an up candle;
* volume at or above the selected multiple of the longer-term average volume;
* a candle body above the selected multiple of its average body size;
* price above the selected EMA by more than the configured standard-deviation distance.
The longer-term volume, body, EMA, and deviation settings are independently configurable.
Echo Peak Up identifies an unusually large bullish candle occurring while price is extended above its recent mean.
It may be examined as possible climactic or blow-off activity, but it does not prove that a market top has formed.
Price may continue rising after an Echo Peak Up candle.
### Echo Valley Down — bright red
An Echo Valley Down candle is bright red by default.
It requires:
* a down candle;
* volume at or above the selected multiple of the longer-term average volume;
* a candle body above the selected multiple of its average body size;
* price below the selected EMA by more than the configured standard-deviation distance.
Echo Valley Down identifies an unusually large bearish candle occurring while price is extended below its recent mean.
It may be examined as possible climactic or exhaustion activity, but it does not prove that a market bottom has formed.
Price may continue falling after an Echo Valley Down candle.
### Ultra Up — dark green
An Ultra Up candle is dark green by default.
It occurs when:
* the candle closes above its open;
* volume reaches the selected Ultra multiple of the longer-term average;
* the candle does not meet all the additional body-size and price-extension requirements of Echo Peak Up.
Ultra Up identifies exceptionally high reported volume on an up candle relative to the selected baseline.
It does not determine whether the activity represents accumulation, distribution, continuation, short covering, or reversal.
### Ultra Down — dark red
An Ultra Down candle is dark red by default.
It occurs when:
* the candle closes at or below its open;
* volume reaches the selected Ultra multiple of the longer-term average;
* the candle does not meet all the additional body-size and price-extension requirements of Echo Valley Down.
Ultra Down identifies exceptionally high reported volume on a down candle relative to the selected baseline.
It does not determine whether the activity represents accumulation, distribution, liquidation, continuation, or reversal.
### Echo Surge Up — lime green
An Echo Surge Up candle is lime green by default.
It is an up candle that meets at least one of the following conditions:
* volume reaches the selected Surge multiple of the recent average volume;
* the candle’s volume-spread value reaches or exceeds the highest previous volume-spread value within the selected lookback.
The candle must not already qualify for Echo Peak Up or Ultra Up.
Echo Surge Up identifies elevated volume or volume-spread activity on an up candle.
It is not an automatic bullish entry signal and does not guarantee that price will continue rising.
### Echo Surge Down — light red
An Echo Surge Down candle is light red by default.
It is a down candle that meets at least one of the following conditions:
* volume reaches the selected Surge multiple of the recent average volume;
* the candle’s volume-spread value reaches or exceeds the highest previous volume-spread value within the selected lookback.
The candle must not already qualify for Echo Valley Down or Ultra Down.
Echo Surge Down identifies elevated volume or volume-spread activity on a down candle.
It is not an automatic bearish entry signal and does not guarantee that price will continue falling.
### Echo Pulse Up — blue
An Echo Pulse Up candle is blue by default.
It occurs when:
* the candle closes above its open;
* volume reaches the selected Pulse multiple of the recent average;
* the candle does not qualify for Echo Peak Up, Ultra Up, or Echo Surge Up.
Echo Pulse Up represents moderately elevated volume on an up candle relative to the selected lookback.
It does not guarantee that upward movement will continue.
### Echo Pulse Down — fuchsia
An Echo Pulse Down candle is fuchsia by default.
It occurs when:
* the candle closes at or below its open;
* volume reaches the selected Pulse multiple of the recent average;
* the candle does not qualify for Echo Valley Down, Ultra Down, or Echo Surge Down.
Echo Pulse Down represents moderately elevated volume on a down candle relative to the selected lookback.
It does not guarantee that downward movement will continue.
### Normal Up — light grey
A Normal Up candle is light grey by default.
It closes above its open but does not meet any enabled elevated-volume classification.
A normal classification does not mean that the candle is unimportant. It means only that the selected relative-volume and volume-spread thresholds were not reached.
### Normal Down — dark grey
A Normal Down candle is dark grey by default.
It closes at or below its open but does not meet any enabled elevated-volume classification.
A normal classification does not mean that the candle is unimportant. It means only that the selected relative-volume and volume-spread thresholds were not reached.
### How to interpret the colours
The colour describes the candle’s direction and the relative-volume tier detected by the script.
For example:
* bright green identifies Echo Peak Up;
* bright red identifies Echo Valley Down;
* dark green identifies Ultra Up;
* dark red identifies Ultra Down;
* lime green identifies Echo Surge Up;
* light red identifies Echo Surge Down;
* blue identifies Echo Pulse Up;
* fuchsia identifies Echo Pulse Down;
* light grey identifies Normal Up;
* dark grey identifies Normal Down.
The colour should be interpreted together with price location and market structure.
An elevated-volume up candle near resistance may have a different context from the same classification during a breakout.
An elevated-volume down candle near support may have a different context from the same classification during an established decline.
The colour identifies the configured mathematical condition. It does not identify the intent of market participants and is not an instruction to buy or sell.
### How to use the indicator
Apply the indicator to a liquid symbol with usable volume data.
A practical workflow is:
1. Review the broader price trend and market structure.
2. Observe the normal volume behaviour of the selected symbol and timeframe.
3. Identify where elevated-volume colours appear relative to support, resistance, breakouts, failed breakouts, and extended price movement.
4. Compare the direction of each classified candle with subsequent price behaviour.
5. Note whether the event is isolated or part of a sequence of elevated-volume candles.
6. Review any bullish or bearish divergence marker while accounting for its pivot-confirmation delay.
7. Inspect yellow extreme-volume diamonds and whether price later crosses their recovery level.
8. Use the historical tables only as simplified chart-based measurements.
9. Test alerts on the intended symbol and timeframe.
10. Combine the indicator with independent price, volatility, liquidity, and risk analysis.
Do not treat an individual colour, triangle, diamond, ratio, or alert as an automatic trade instruction.
### Example use of an Echo Peak Up candle
When a bright-green Echo Peak Up candle appears, consider:
* whether price is already extended above its recent mean;
* whether the candle appears near established resistance;
* whether the candle closes strongly or leaves a large wick;
* whether subsequent candles continue higher or fail to maintain progress;
* whether similar high-volume activity appeared earlier;
* whether a bearish divergence is also present.
The condition identifies unusual volume, body size, and price extension. It does not prove a reversal.
### Example use of an Echo Valley Down candle
When a bright-red Echo Valley Down candle appears, consider:
* whether price is already extended below its recent mean;
* whether the candle appears near established support;
* whether the candle closes strongly or leaves a large wick;
* whether subsequent candles continue lower or recover;
* whether similar high-volume activity appeared earlier;
* whether a bullish divergence is also present.
The condition identifies unusual volume, body size, and price extension. It does not prove a reversal.
### Example use of Surge and Pulse candles
Echo Surge and Echo Pulse candles identify lower relative-volume tiers than Echo Peak, Echo Valley, and Ultra candles.
A sequence of lime-green or blue up candles during a breakout can show repeated elevated activity.
A sequence of light-red or fuchsia down candles during a decline can show repeated elevated activity.
The same colours near failed breakouts or important support and resistance may have a different context.
The classifications describe relative volume and direction, not future price outcomes.
### Main-chart candle colouring
When main-chart candle colouring is enabled, the script applies the classification colour to the corresponding candles on the price chart.
When disabled, the original price-chart colours remain unchanged while the classified volume columns continue to appear in the indicator pane.
### Background preset
The Dark Background and Light Background options adjust the table text colour for visibility.
The preset does not change the candle-classification colour palette.
Individual candle and line colours can be changed separately.
### Volume moving average
An optional simple moving average can be displayed over the volume columns.
The moving-average period is configurable.
The visible moving average provides an additional reference for current volume, but it is separate from some of the internal classification averages.
Changing the visible moving-average period does not automatically change the internal Peak, Valley, Ultra, Surge, or Pulse thresholds.
### Regular volume divergence
The divergence module compares confirmed pivots in price with confirmed pivots in volume.
It identifies two regular divergence conditions:
* bullish volume divergence;
* bearish volume divergence.
The conditions show structural disagreement between price pivots and volume pivots.
They do not guarantee that price will reverse.
### Bullish volume divergence — turquoise upward triangle
A turquoise upward triangle marks a confirmed bullish volume divergence.
The condition requires:
* price to form a lower confirmed low;
* volume to form a higher confirmed low.
This means price reached a lower pivot while the volume pivot did not form a corresponding lower low.
Users may examine the condition together with:
* nearby support;
* reduced downward progress;
* candle structure;
* broader trend;
* subsequent volume classifications.
Price can continue lower after bullish volume divergence is confirmed.
### Bearish volume divergence — coral-red downward triangle
A coral-red downward triangle marks a confirmed bearish volume divergence.
The condition requires:
* price to form a higher confirmed high;
* volume to form a lower confirmed high.
This means price reached a higher pivot while the volume pivot did not form a corresponding higher high.
Users may examine the condition together with:
* nearby resistance;
* reduced upward progress;
* candle structure;
* broader trend;
* subsequent volume classifications.
Price can continue higher after bearish volume divergence is confirmed.
### Divergence pivot strength
The Divergence Pivot Strength setting is applied to both the left and right sides of each pivot.
Higher values generally produce:
* fewer pivots;
* broader pivot structures;
* later confirmation;
* fewer divergence markers.
Lower values generally produce:
* more pivots;
* narrower structures;
* earlier confirmation;
* greater sensitivity to short-term noise.
There is no universal pivot value that is suitable for every symbol and timeframe.
### Divergence confirmation delay
A divergence is not known on the exact historical pivot bar.
The script must wait for the selected number of right-side bars before the pivot can be confirmed.
Once confirmed, the triangle is displayed on the earlier pivot bar.
For example, a pivot strength of 5 requires five later bars before confirmation.
The marker therefore appears earlier on the historical chart than the time at which the condition became available.
### Divergence lines in the indicator pane
Optional panel lines connect the previous and current volume pivots associated with the divergence structure.
Users can configure:
* bullish line colour;
* bearish line colour;
* line width;
* solid, dashed, or dotted style.
These lines help users inspect the change in volume pivots.
They do not project future movement.
### Divergence lines on the price chart
Optional price-chart lines provide a visual reference between price points associated with the volume-pivot locations.
Users can configure their colour, width, and style independently from the panel lines.
These lines are visual aids and should not be interpreted as projected support, resistance, or a forecast of future price movement.
### Extreme Volume Event — yellow diamond
A yellow diamond identifies an Extreme Volume Event.
The condition requires a combination of:
* an already elevated-volume classification;
* volume at least four times the rolling average of recent qualifying elevated-volume candles;
* the highest volume within the recent 50-bar period;
* a candle range above the recent average range.
The rolling event-volume average becomes available only after the script has collected 30 qualifying elevated-volume observations.
The diamond identifies an unusually large volume-and-range event under the selected rules.
It does not prove:
* manipulation;
* institutional activity;
* accumulation;
* distribution;
* liquidation;
* an imminent reversal.
### Extreme-event recovery level
When an Extreme Volume Event occurs, the script calculates a configurable level inside the candle’s body.
At the default 50% setting, the recovery level is the midpoint between the candle’s open and close.
It is not the midpoint of the full high-to-low candle range.
A recovery is counted when closing price crosses the body-based level within the selected recovery lookback.
A wick touching the level without a qualifying close-to-close crossing does not count as a recovery.
A recorded recovery does not guarantee continued movement beyond the level.
### Recovery lookback
The Recovery Lookback setting controls how many bars are allowed for price to cross the active recovery level.
If the level is not crossed within the selected number of bars, that event is no longer tracked as unresolved.
The script tracks only one unresolved recovery event at a time.
If a new yellow-diamond event appears before the earlier event is resolved, the active recovery level is replaced by the newer event.
### Historical divergence outcome table
The left table displays:
* Wins;
* Losses;
* Ratio.
When no earlier hypothetical outcome is active, a confirmed bullish or bearish divergence creates a new measurement.
The script records the confirmation-bar closing price and calculates:
* a fixed percentage target;
* a fixed percentage stop.
For a bullish divergence:
* the target is above the recorded close;
* the stop is below the recorded close.
For a bearish divergence:
* the target is below the recorded close;
* the stop is above the recorded close.
The script records which threshold is detected first.
Only one hypothetical divergence outcome is tracked at a time.
A new divergence is ignored while an earlier outcome remains unresolved.
### Same-bar target and stop behaviour
The target is checked before the stop.
If both the target and stop are reached during the same chart bar, the script records the case as a win.
The script does not reconstruct the lower-timeframe path within that candle, so it cannot determine which level was actually reached first.
This is a material limitation of the table.
### Meaning of the win ratio
The displayed ratio is the number of recorded wins divided by the total number of recorded wins and losses.
It is a simplified historical chart measurement.
It is not equivalent to TradingView Strategy Tester results and does not model:
* commissions;
* slippage;
* spread;
* realistic order execution;
* position sizing;
* portfolio equity;
* liquidity;
* overlapping trades;
* all intrabar sequencing possibilities.
The ratio depends on:
* the symbol;
* timeframe;
* available chart history;
* divergence pivot strength;
* target percentage;
* stop percentage.
The displayed results do not imply future performance.
### Extreme-event recovery table
The right table displays:
* Recovered;
* Ratio.
Recovered is the number of yellow-diamond events for which closing price crossed the configured body-recovery level within the selected lookback.
The ratio is the number of recovered events divided by the total number of detected yellow-diamond events.
This is a simplified event measurement.
It is not:
* a reversal probability;
* an accuracy score;
* a trading win rate;
* evidence that future events will behave similarly.
### Alerts
Alerts are available for:
* any elevated-volume candle;
* Echo Peak Up;
* Echo Valley Down;
* Ultra Up or Ultra Down;
* Echo Surge Up or Echo Surge Down;
* Echo Pulse Up or Echo Pulse Down;
* bullish volume divergence;
* bearish volume divergence.
The general elevated-volume alert activates when any non-normal classification is detected.
### Current-bar behaviour
Volume, high, low, and close can continue changing while the current chart candle remains open.
As a result, candle classifications may appear, change tier, change colour, or disappear before the candle closes.
Extreme Volume Event conditions may also change while the current candle remains open.
Pivot divergence requires right-side confirmation, but the confirmation bar itself may still be open when the condition first becomes true.
Users seeking stable alerts should generally configure TradingView alerts for bar-close execution.
### Suggested starting settings
A practical starting process is:
1. Begin with the default settings on a liquid symbol.
2. Observe how frequently each colour appears.
3. Review the relationship between elevated-volume candles and nearby price structure.
4. Keep the default volume multiples until several historical examples have been inspected.
5. Enable chart-candle colouring only if it improves readability.
6. Enable the volume moving average for additional context.
7. Review divergence triangles while accounting for their confirmation delay.
8. Treat yellow diamonds as extreme-volume markers rather than proof of manipulation.
9. Treat both tables as simplified research measurements.
10. Test alerts before relying on them.
### Adjusting the volume tiers
Increase a tier’s volume multiple to make that classification less frequent.
Decrease the multiple to make it more frequent.
Changing the Echo Peak and Echo Valley body, EMA, or deviation settings affects how strictly the script defines price extension and candle size.
More restrictive values generally produce fewer classifications.
Less restrictive values generally produce more classifications.
Settings should be reviewed separately for each market and timeframe.
### What this implementation adds
Compared with the referenced open-source starting framework, this implementation adds or replaces:
* script-level volume calculations;
* script-level volume-spread calculations;
* configurable multi-tier candle classifications;
* longer-term extreme-volume thresholds;
* candle-body filters;
* EMA-extension filters;
* standard-deviation extension measurements;
* independently configurable classification colours;
* dark- and light-background table presets;
* optional main-chart candle colouring;
* regular price-versus-volume divergence;
* configurable divergence markers and lines;
* optional price-chart divergence references;
* Extreme Volume Event diamonds;
* body-based recovery measurements;
* recovery statistics;
* simplified divergence target/stop outcomes;
* expanded alert conditions.
These modules are combined to study relative volume, price response, divergence, and subsequent recovery within one indicator.
### Limitations
* Reported volume differs between exchanges, brokers, markets, and symbols.
* Some markets provide tick volume rather than centralized transaction volume.
* Combined or overridden data feeds can produce different results from the active chart.
* The classification tiers depend on configurable averages, lookbacks, and thresholds.
* An elevated-volume candle does not reveal the identity or intent of market participants.
* Echo Peak Up does not confirm a market top.
* Echo Valley Down does not confirm a market bottom.
* Ultra, Surge, and Pulse classifications are relative-volume categories, not trade-quality grades.
* Candle classifications may change before the current candle closes.
* Pivot divergence is delayed by the selected right-side confirmation length.
* Confirmed divergence markers are displayed on earlier pivot bars.
* Price-chart divergence lines are visual references and not projections.
* Extreme volume does not prove manipulation.
* Extreme-event detection requires sufficient qualifying historical samples.
* The recovery calculation uses body-based levels and closing-price crossings.
* Only one unresolved recovery event is tracked at a time.
* The historical tables are simplified measurements and not full strategy backtests.
* Only one unresolved divergence outcome is tracked at a time.
* Same-bar target and stop sequencing is not reconstructed.
* The outcome tracker checks the target before the stop.
* The indicator does not account for commissions, slippage, spread, liquidity, position sizing, or realistic execution.
* The indicator should not be used as the sole basis for a trading decision.
This indicator is an analytical tool and does not provide financial advice or guaranteed trading outcomes.
อินดิเคเตอร์

อินดิเคเตอร์

อินดิเคเตอร์

Exhaustion Fuel Gauge [AGPro Series]Exhaustion Fuel Gauge
🧠 Core Idea
Is the current move still powered by real participation, or is the trend running on exhausted fuel?
📌 Overview / What it does
Exhaustion Fuel Gauge is a premium TradingView overlay that evaluates trend fuel, participation strength, extension pressure, wick reaction, and momentum efficiency to map whether a directional move is still active, fading, or entering exhaustion territory.
The script produces a forward-projected fuel zone, compact state labels, current context tags, and an AGPro-style panel that summarizes the active gauge state. It is designed to help users read whether a move has enough internal fuel to continue or whether the chart is showing signs of weakening participation and exhaustion risk.
It does not predict price direction, automate trades, or provide guaranteed signals. It is a visual decision-support map for market context.
🎯 Purpose & Design Philosophy
This script was built to fill the gap between simple momentum indicators and real chart context. Many tools show whether price is moving fast, but they do not clearly explain whether the move still has fuel or whether the movement is becoming fragile.
Exhaustion Fuel Gauge helps discretionary traders, swing traders, intraday traders, and market-structure readers evaluate the quality of a move before overreacting to a single candle.
The design philosophy is simple: trend continuation should be judged by fuel, participation, efficiency, and reaction quality together.
⚡ Why This Script Is Different
Most tools focus on overbought or oversold readings.
This script does NOT treat exhaustion as a single oscillator value or a generic reversal signal.
Instead, it combines directional persistence, participation strength, range behavior, move efficiency, wick pressure, and extension risk into a clean overlay that explains whether the current move still has usable fuel.
⚙️ Methodology
1. Context Detection
The script identifies the active directional context using recent price movement and trend baseline behavior.
2. Fuel Evaluation
It measures persistence, participation, range expansion, and efficiency to estimate how much usable fuel remains in the move.
3. Exhaustion Risk Mapping
It evaluates extension, fuel fade, wick pressure, and participation fade to estimate whether the move is becoming vulnerable.
4. Visual Output
The script displays a forward-projected fuel zone, event labels, right-side context tags, and a structured AGPro panel.
🗺️ How to Read the Chart
Zones represent the current fuel reference area where the active move should be evaluated.
Labels mark important changes such as fuel activation, fuel fading, exhaustion watch, exhaustion hit, or reset build.
Colors represent state context:
• Green = active fuel
• Pink = exhaustion risk or exhaustion hit
• Yellow = caution / watch state
• Indigo = fading or reset context
The panel summarizes the current gauge state, direction, fuel score, exhaustion risk, participation, extension, and next context.
🚦 Signals & States
• FUEL ACTIVE → directional move still has usable internal fuel
• FUEL FADING → move is still present, but internal support is weakening
• EXHAUSTION WATCH → extension and reaction pressure are elevated
• EXHAUSTION HIT → exhaustion evidence is strong and fuel has weakened
• RESET BUILD → no clean directional fuel is currently confirmed
🔔 Alerts Logic
Alerts trigger when the script detects a new fuel-active state, fuel-fading state, exhaustion-watch state, exhaustion-hit state, or reset-build state.
Alerts are attention markers only. They are not trade instructions and should not be interpreted as guaranteed outcomes.
🧩 Confluence Logic
The strongest exhaustion context appears when extension pressure, participation fade, wick reaction, and weak fuel score align.
The strongest continuation context appears when fuel score remains high while exhaustion risk stays contained.
📊 When to Use
• Trending markets where continuation quality matters
• Extended moves where exhaustion risk needs to be evaluated
• Breakout follow-through analysis
• Swing-trading context review
• Intraday movement quality checks
⚠️ When NOT to Use
• Extremely low-liquidity markets
• Randomly choppy symbols with poor structure
• News spikes where normal participation behavior is distorted
• Very low timeframes with excessive noise
🎛️ Key Inputs
• Trend Length → adjusts the baseline used to define directional context
• Fuel Lookback → controls how many bars are used for fuel evaluation
• Exhaustion Threshold → adjusts how strict exhaustion detection is
• Fuel Fade Threshold → defines when a move is considered fuel-fading
• Zone Projection Bars → keeps the active zone visible for publication screenshots
• Panel and label settings → control visual readability
🖥️ Interface & Visual Design
The interface is built for quick visual interpretation.
The panel provides structured context without dominating the chart. The fuel zone gives the main story visually, while compact labels and right-side tags provide the current state without clutter.
The goal is a premium, publication-ready TradingView chart.
🧪 Practical Usage Workflow
1. Read the panel state.
2. Check whether fuel is active, fading, or exhausted.
3. Observe the active fuel zone and current right-side tags.
4. Compare exhaustion risk with participation and extension.
5. Use broader market structure before making any decision.
🔍 Interpretation Guidelines
High fuel with low exhaustion risk suggests the move still has internal support.
High exhaustion risk with weak fuel suggests the move may be vulnerable to reaction or reset.
Fuel fading does not mean reversal. It means continuation quality is weakening.
Exhaustion hit does not guarantee a top or bottom. It marks a context that deserves caution.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not financial advice.
It is not an automated trading system.
It does not provide guaranteed buy or sell signals.
It does not replace risk management or independent analysis.
⚠️ Limitations & Transparency
The script is rule-based and depends on market conditions.
Different timeframes may produce different readings.
Volatility, liquidity, gaps, and news-driven moves may affect signal quality.
Outputs should always be interpreted with broader market context.
🧠 Market Context Notes
Exhaustion is not only about price distance.
It also depends on whether participation remains strong, whether candles still close efficiently, and whether wick pressure begins to appear against the current direction.
This script is designed to make those conditions easier to read visually.
🧾 Use Case Examples
When price extends strongly but fuel remains high and exhaustion risk is contained, the move may still have continuation quality.
When price extends while participation fades and wick pressure increases, the chart may be entering exhaustion-watch territory.
When exhaustion risk rises while fuel drops, the context becomes more fragile.
🧱 System Philosophy
AGPro Series tools are designed as professional visual maps, not signal machines.
The goal is to make complex market context easier to interpret without reducing it to a simplistic buy or sell label.
🔐 Non-Promise Statement
No script can guarantee future price movement.
This tool provides structured context, not certainty.
📉 Risk Disclosure
Trading involves risk.
Past behavior does not guarantee future results.
Users are responsible for their own decisions, position sizing, and risk management.
This script does not provide financial advice.
📚 Educational Note
Use this script as a learning and analysis tool to better understand momentum quality, trend fuel, and exhaustion behavior across different market conditions.
อินดิเคเตอร์

Candle Intent Map [AGPro Series]Candle Intent Map
🧠 Core Idea
Does this candle show initiative, absorption, rejection, indecision, or a real shift in intent?
📌 Overview / What it does
Candle Intent Map is a candle behavior and market reaction tool designed to read the internal message of price candles beyond simple bullish or bearish color.
The script evaluates body pressure, wick reaction, close location, volume context, short follow-through, and recent intent changes to classify whether the market is showing initiative, absorption, rejection, indecision, or an intent shift.
It produces compact labels, a visible intent pressure zone, right-side context tags, and a clean AG Pro panel. It does not predict price, automate decisions, or promise that a candle pattern will continue.
🎯 Purpose & Design Philosophy
This script was built because many candlestick tools stop at basic pattern recognition.
A candle is not only a shape. It is a relationship between body commitment, wick reaction, volume participation, close location, and what happens immediately after that candle forms.
Candle Intent Map helps traders who want to read candle quality, initiative pressure, reaction zones, and follow-through context without turning the chart into a crowded pattern scanner.
⚡ Why This Script Is Different
Most candle tools focus on named formations such as engulfing candles, pin bars, doji candles, or simple color changes.
This script does NOT treat every candle pattern as an automatic signal.
Instead, it studies whether the candle has enough internal pressure, reaction quality, volume context, and follow-through to deserve attention.
The goal is not to label more candles. The goal is to label the candles that tell a clearer market story.
⚙️ Methodology
1. Context Detection
The script measures body-to-range ratio, upper wick pressure, lower wick pressure, close location, and relative volume participation.
2. Intent Classification
Candles are classified into initiative, absorption, rejection, indecision, or intent shift conditions based on body pressure, wick behavior, and directional commitment.
3. Reaction Evaluation
The script builds a reaction-quality score using body strength, wick reaction, close placement, volume context, and short follow-through behavior.
4. Visual Output
The strongest current candle intent context is mapped as a visible intent zone, compact event labels, right-side state tags, and a structured AG Pro panel.
🗺️ How to Read the Chart
Zones represent the most recent candle intent pressure area.
Labels show important candle intent events such as bullish intent, bearish intent, absorption, rejection, indecision, or intent shift.
Colors separate constructive pressure, defensive pressure, neutral reaction, and absorption-style behavior.
The panel summarizes current intent, direction, body pressure, wick reaction, follow-through, quality score, and next context.
🚦 Signals & States
• BULL INTENT → bullish body pressure with meaningful close location and participation
• BEAR INTENT → bearish body pressure with meaningful close location and participation
• ABSORPTION → strong reaction behavior with compressed body and meaningful volume
• LOWER REJECT → lower wick reaction suggesting downside rejection
• UPPER REJECT → upper wick reaction suggesting upside rejection
• INDECISION → low body commitment with balanced wick behavior
• INTENT SHIFT → recent candle intent changes direction with enough pressure to matter
🔔 Alerts Logic
Alerts trigger when the script detects bullish candle intent, bearish candle intent, candle absorption, or candle intent shift.
These alerts are attention markers only. They highlight a candle context that may deserve review, not a trade instruction.
🧩 Confluence Logic
The strongest context appears when candle body pressure, wick reaction, close location, volume participation, and follow-through point in the same direction.
When these components align, the candle intent quality score becomes stronger.
📊 When to Use
• During active trend continuation phases
• Around reaction zones and pullback areas
• Near support, resistance, VWAP, or liquidity references
• When evaluating whether a candle has real participation behind it
• When comparing initiative candles against absorption or rejection candles
⚠️ When NOT to Use
• Extremely illiquid markets
• Very noisy low-timeframe environments
• News-driven candles with abnormal spreads
• Symbols with unreliable volume data
• Situations where broader market context is ignored
🎛️ Key Inputs
• Volume Context Length → controls the relative volume comparison window
• Follow-Through Length → controls how short-term continuation is measured
• Initiative Body Ratio → changes how strict the initiative candle filter is
• Reaction Wick Ratio → changes how strict wick-based rejection and absorption filters are
• Visible Zone Bars → controls how much of the recent chart the intent zone covers
• Label and Panel Font Size → controls visual readability
🖥️ Interface & Visual Design
The interface is designed to stay clean, readable, and publication-friendly.
The chart focuses on one main intent zone, compact event labels, right-side context tags, and a structured panel.
The visual hierarchy is intentional: zone first, current state second, historical intent events third.
🧪 Practical Usage Workflow
1. Read the panel to understand the current candle intent state
2. Check the intent zone and its position relative to price
3. Review recent labels to understand whether initiative, absorption, or rejection has dominated
4. Compare the quality score with current follow-through
5. Interpret the output inside broader market context
🔍 Interpretation Guidelines
A strong intent label does not mean price must continue.
A rejection label does not mean reversal is guaranteed.
An absorption label means the candle structure showed reaction and participation, but confirmation still depends on the following market behavior.
The best interpretation comes from combining candle intent with structure, liquidity, volatility, and timeframe context.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not financial advice.
It is not an auto-trading system.
It does not provide guaranteed buy or sell signals.
It does not replace risk management or independent analysis.
⚠️ Limitations & Transparency
Candlestick interpretation changes across timeframes.
Volume quality may differ between markets and exchanges.
Fast volatility expansion can make recent candle intent less stable.
Low-liquidity conditions may create misleading wick or body readings.
Users should always interpret outputs within broader market context.
🧠 Market Context Notes
Candle intent is most useful when combined with structure, liquidity, trend quality, volatility, and acceptance behavior.
One candle rarely tells the whole story. The value comes from understanding whether candle pressure is supported or rejected by what comes next.
🧾 Use Case Examples
When price reaches a known support area and the script prints a lower rejection label with improving quality, the trader can study whether downside pressure is being rejected.
When a strong body candle prints with high quality and follow-through, the trader can evaluate whether initiative pressure is entering the market.
When absorption appears inside a range, the trader can watch whether trapped pressure develops or fades.
🧱 System Philosophy
Candle Intent Map is part of the AGPro Series approach: clean visual tools that focus on market context, reaction quality, and decision support rather than prediction claims.
The script is designed to make candle behavior easier to read while keeping the trader responsible for interpretation.
🔐 Non-Promise Statement
No script can know the future.
No candle label guarantees continuation or reversal.
This tool provides structured visual context only.
📉 Risk Disclosure
Trading involves risk.
Market conditions can change quickly.
All decisions remain the responsibility of the user.
This script does not provide financial advice or guaranteed trading outcomes.
📚 Educational Note
Use this script as an educational and analytical companion for studying candle behavior, reaction quality, and short-term intent context.
อินดิเคเตอร์

Volume Spike Aftershock Planner [AGPro Series]Volume Spike Aftershock Planner
🧠 Core Idea
After a volume spike, is price actually defending the impulse, absorbing it, or losing control completely?
📌 Overview / What it does
Volume Spike Aftershock Planner is designed to evaluate what happens after an abnormal volume expansion candle appears on the chart. Instead of stopping at the spike itself, the script studies the post-impulse behavior and organizes that structure into a readable decision-support framework.
The script maps a spike anchor, an active aftershock band, a failure boundary, and a target-room reference. It also produces contextual labels, right-side price tags, and a compact information panel that summarizes the current aftershock condition with a rule-based score.
This script does not attempt to predict the next candle, automate entries, or generate guaranteed continuation signals. It is an analytical visualization tool that helps users judge whether the spike is still being respected, partially absorbed, or fully invalidated.
🎯 Purpose & Design Philosophy
This script was built to solve a common gap in volume analysis.
Most traders can see when volume suddenly expands. The harder question is what to do with that information after the impulse bar closes. A large volume candle can lead to continuation, rejection, absorption, or complete failure, and those outcomes do not deserve the same interpretation.
This tool helps traders who want a more structured way to read post-spike behavior. It supports a patient, evidence-based mindset by focusing on participation quality, impulse defense, failure thresholds, and available room rather than hype or prediction.
⚡ Why This Script Is Different
Most volume tools focus on spike detection, raw histogram expansion, or one-bar climax alerts.
This script does NOT stop at identifying unusual participation.
Instead, it tracks the aftershock environment that forms after the spike, measures whether price is holding the impulse anchor, maps when the move is being absorbed, and highlights when the context has either matured or failed. The result is not just a volume event marker, but a structured framework for interpreting what the spike still means.
⚙️ Methodology
1. Context Detection
The script scans for abnormal volume participation and range expansion relative to recent behavior. It also reviews body quality so that weak, indecisive candles are filtered more carefully.
2. Reference Mapping
Once a valid spike is confirmed, the script establishes a spike anchor and builds an aftershock band around that reference. It also defines a failure boundary and a room projection.
3. Reaction Evaluation
Price is then evaluated relative to the anchor and surrounding rails. The script checks whether the impulse is being defended, fading back through the anchor, or failing beyond the allowed structure.
4. Visual Output
The final output includes the aftershock band, anchor reference, room line, failure line, event labels, right-side tags, optional bar coloring, and a dashboard panel that summarizes the current state.
🗺️ How to Read the Chart
Zones:
The aftershock band represents the active post-spike area where the market is being evaluated. It is the main structure zone for interpreting whether the impulse still matters.
Labels:
Labels mark important contextual events such as bull spike, bear spike, holding behavior, absorbed behavior, target review, and failure.
Colors:
Teal highlights constructive bullish behavior or defended impulse structure.
Pink highlights bearish structure, invalidation, or failed context.
Gold highlights review areas such as absorption or target-room interaction.
Indigo highlights the spike anchor reference.
Panel:
The panel summarizes the spike state, the Aftershock Score, participation quality, available room, and the current action state.
🚦 Signals & States
• Bull Spike → A bullish high-participation impulse anchor has been detected.
• Bear Spike → A bearish high-participation impulse anchor has been detected.
• Holding → Price is still defending the impulse structure after the spike.
• Aftershock Ready → The post-spike condition is strong enough to deserve active attention.
• Absorbed → Price has moved back through the anchor and the impulse is losing control.
• Target Review → The projected first room objective has been reached and context should be reassessed.
• Failed → The active aftershock structure has broken down beyond the allowed limit.
• Wait Spike → No valid active spike context is currently available.
• Expired → The spike is too old to remain actionable within the current framework.
🔔 Alerts Logic
Alerts can trigger when a new bullish or bearish spike is detected, when price begins to hold the impulse, when the aftershock condition becomes ready, when the move becomes absorbed, when target room is reached, or when the context fails.
These alerts are attention markers only. They highlight a structural event inside the script logic. They are not trade instructions, automated entries, or guarantees of follow-through.
🧩 Confluence Logic
The context becomes stronger when multiple conditions align at the same time.
For example, a high relative-volume spike with strong candle expansion, defended anchor structure, stable participation decay, and clear room beyond the band creates a much stronger environment than a spike that immediately collapses back through its reference level.
This confluence logic is what separates a meaningful aftershock structure from a noisy one-bar event.
📊 When to Use
• Markets with reliable volume behavior
• Crypto pairs with clean participation swings
• Stocks and indices with readable impulse candles
• Breakout or breakdown follow-through evaluation
• Continuation review after a strong reaction candle
• 1H, 4H, and 1D chart studies where impulse quality matters
⚠️ When NOT to Use
• Illiquid symbols with distorted or unreliable volume
• Extremely noisy low-range environments
• Symbols where volume feed quality is poor
• Isolated one-bar anomalies with no structural follow-through
• Extreme volatility conditions where impulse rails become unstable too quickly
🎛️ Key Inputs
• Relative Volume Length → Controls the participation baseline used for spike comparison.
• Minimum Relative Volume → Controls how large the volume expansion must be before the candle qualifies as a spike.
• Minimum Range Ratio → Controls how much price expansion is required.
• Minimum Body Ratio → Filters out weak spike candles with poor body commitment.
• Aftershock Band ATR → Controls the depth of the active aftershock zone.
• Failure Buffer → Controls how far price can move before the spike idea is considered broken.
• Minimum Ready Score → Controls how strict the script is before showing stronger actionable states.
• Visual Settings → Control labels, panel location, theme, font size, and optional chart styling.
🖥️ Interface & Visual Design
The visual design is built around clarity at first glance.
The panel gives a fast structural summary without forcing the user to inspect every line manually. The chart layer uses premium contrast and a clear hierarchy so the aftershock band, anchor, failure boundary, and room references remain readable without overwhelming the candles.
The goal is not decoration. The goal is clean interpretation under live market conditions.
🧪 Practical Usage Workflow
1. Read the panel to understand the current spike state and score.
2. Check whether a valid spike anchor and aftershock band are active.
3. Evaluate whether price is holding, absorbed, or failing relative to the anchor.
4. Review available room and decide whether the current context is mature, early, or already extended.
5. Use labels and tags as structured context markers, not as automatic commands.
🔍 Interpretation Guidelines
Treat the script as a structured reading framework.
A stronger score suggests that the spike had better participation, cleaner range expansion, and more stable post-spike structure. A weaker score suggests that the move may be losing informational value.
An absorbed state does not mean reversal is guaranteed. It means the original impulse is no longer being defended as cleanly as before.
A target-review state does not mean the move must stop. It means the first projected room objective has already been reached and the user should reassess the context rather than assuming endless continuation.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not a financial advice tool.
It is not an automated trading system.
It is not a broker integration.
It does not place orders.
It does not guarantee continuation, reversal, or profitability.
⚠️ Limitations & Transparency
This script is rule-based and depends on the quality of the underlying market data.
Timeframe changes can materially alter how spikes, bands, and room projections appear. High-volatility environments can also reduce the stability of post-spike structures. In thin or distorted markets, volume expansion may look meaningful while carrying very little analytical value.
The script should always be interpreted in broader market context rather than in isolation.
🧠 Market Context Notes
Volume spikes are often strongest when they appear at meaningful structure transitions, liquidity shifts, or expansion points where the market is forced to reveal intent.
That said, not every spike represents sustainable conviction. Some are exhaustion bursts, some are absorption events, and some are temporary reactions inside a larger opposing structure. The aftershock behavior is often more important than the spike itself.
🧾 Use Case Examples
Example 1:
Price breaks above a local range with a large bullish volume surge. The script marks a bull spike, price holds above the anchor, and the panel shifts into a stronger aftershock state. This suggests the impulse still deserves attention.
Example 2:
Price prints a large bearish impulse, but then quickly moves back through the anchor. The script shifts into an absorbed condition, signaling that the original downside impulse is losing control.
Example 3:
A high-volume move expands sharply, then reaches the target-room area. The script marks target review, reminding the user to reassess the move rather than assuming continuation is still efficient.
🧱 System Philosophy
AGPro Series tools are designed as decision-support frameworks, not signal vending machines.
The philosophy is simple: map structure clearly, make states readable, reduce noise, and help the user think better around live price behavior.
🔐 Non-Promise Statement
This script does not promise certainty.
It does not promise that a volume spike will continue, reverse, hold, or fail in any predetermined way. It simply organizes the available structure so the user can evaluate the situation with more clarity.
📉 Risk Disclosure
Trading and investing involve risk.
Market conditions can change quickly, and any analytical tool can produce outputs that become invalid under new volatility, liquidity, or structural conditions. Users remain fully responsible for their own decisions, risk management, and execution.
This script is provided for educational and analytical purposes only. It is not financial advice.
📚 Educational Note
This tool is most useful when treated as a market-reading assistant.
The best results usually come from combining it with broader structure analysis, liquidity awareness, and disciplined risk management rather than using it as a standalone trigger system.
อินดิเคเตอร์

Volume Dry-Up Reversal Planner [AGPro Series]Volume Dry-Up Reversal Planner
🧠 Core Idea
Is the market losing participation before a reversal attempt?
📌 Overview / What it does
Volume Dry-Up Reversal Planner detects low-participation pockets where relative volume contracts and candle range compresses.
The script maps a dry-up pocket, tracks whether price attempts to reverse out of that pocket, and displays reversal rails, failure shelves, follow-through references, event labels, and a compact AG Pro dashboard.
It does not predict reversals. It helps organize participation, compression, reaction quality, failure risk, and current action state around a potential dry-up reversal context.
🎯 Purpose & Design Philosophy
Many reversal tools focus on dramatic exhaustion candles or high-volume climaxes.
This script was built for a quieter but important condition: participation drying up before the next reaction.
It helps traders evaluate whether the market is simply inactive, compressing before movement, or beginning a structured reversal attempt from a low-participation pocket.
⚡ Why This Script Is Different
Most volume indicators highlight high-volume events.
This script does NOT chase volume climax or generic reversal signals.
Instead, it focuses on volume dry-up, range compression, reversal rails, failure shelves, follow-through context, and a 0-100 readiness score.
⚙️ Methodology
1. Participation Detection
The script compares current volume against recent average volume to identify low-participation candles.
2. Compression Mapping
Current candle range is compared with recent average range. A dry-up pocket requires both lower participation and controlled range compression.
3. Reversal Evaluation
After a dry-up pocket appears, the script watches whether price breaks beyond the pocket with enough quality to form a reversal attempt.
4. Visual Output
The chart receives a dry-up pocket, reversal rail, failure shelf, follow-through rail, right-side tags, event labels, optional bar coloring, and a dashboard panel.
🗺️ How to Read the Chart
The dry-up pocket marks the area where participation and range compressed.
The reversal rail shows the level price must clear to begin a reversal attempt.
The failure shelf marks where the active reversal context fails.
The follow-through rail marks the first reaction reference after a reversal attempt.
Labels highlight dry-up pockets, bullish reversal attempts, bearish reversal attempts, follow-through, and invalidation.
Colors represent context:
• Teal → bullish reversal attempt
• Pink → bearish reversal attempt or invalidation
• Gold → follow-through or waiting context
• Indigo → dry-up pocket / monitoring context
The panel summarizes:
• Dry-Up state
• Reversal Score
• Participation
• Failure Risk
• Action
🚦 Signals & States
• Dry-Up Pocket → relative volume and range both contracted
• Bull Reversal → price broke above the dry-up pocket
• Bear Reversal → price broke below the dry-up pocket
• Follow-Through → price reached the first reaction rail
• Invalidated → price crossed the failure shelf after a reversal attempt
• READY → reversal context has enough score quality to monitor
• MONITOR → reversal attempt is active but not fully ready
• WAIT → no strong active context exists
• EXPIRED → the dry-up pocket is too old to remain active
🔔 Alerts Logic
Alerts can trigger when a dry-up pocket appears, when a bullish or bearish reversal attempt begins, when the context reaches READY state, when follow-through appears, or when invalidation occurs.
Alerts are attention markers only. They are not trade instructions.
🧩 Confluence Logic
The context becomes stronger when relative volume contraction, range compression, close response, rejection quality, and volatility fit align.
For example, a low-volume compression pocket followed by a strong close outside the pocket can create a more structured reversal context than a random low-volume candle.
📊 When to Use
• Potential reversal areas after participation fades
• Pullback zones where volume dries up
• Ranging markets before directional reaction
• Trend pauses where continuation or reversal depends on participation
• Liquid crypto, indices, forex, and equities with readable volume behavior
⚠️ When NOT to Use
• Very low-liquidity symbols
• Markets with unreliable volume data
• News spikes and unstable spread conditions
• Extremely noisy candles without structure
• Situations where low volume simply means no meaningful market participation
🎛️ Key Inputs
• Relative Volume Length → controls the volume baseline
• Dry-Up Volume Threshold → controls how strict low-participation detection is
• Range Compression Length → controls the range baseline
• Maximum Range Ratio → controls how compressed the candle must be
• Dry-Up Pocket Window → controls how the pocket is mapped
• Reversal Buffer ATR → controls how far price must clear the pocket
• Failure Shelf ATR → controls where the reversal context fails
• Follow-Through ATR → controls the first reaction reference
• Visual settings → control pockets, rails, labels, tags, panel, and bar colors
🖥️ Interface & Visual Design
The interface is designed to make participation shifts visible without turning the chart into a noisy signal board.
The dry-up pocket defines context, the reversal rail defines the first reaction threshold, the failure shelf defines risk, and the panel summarizes the current state.
The goal is a premium, readable visual map for traders who care about participation and reaction quality.
🧪 Practical Usage Workflow
1. Check whether a dry-up pocket is active
2. Read the panel score and action state
3. Watch the reversal rail
4. Compare follow-through with failure risk
5. Confirm the context with broader market structure and timeframe alignment
🔍 Interpretation Guidelines
A dry-up pocket means participation and range compressed. It does not mean a reversal must happen.
A reversal attempt means price broke out of the pocket with enough reaction to monitor.
A READY state means the rule-based score has enough quality for attention.
Failure risk helps keep the reversal context grounded instead of treating every low-volume area as important.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not a guaranteed reversal system.
It is not a high-volume climax detector.
It is not an automated trading tool.
It does not provide financial advice.
It does not guarantee reversal, continuation, profit, or a specific target.
⚠️ Limitations & Transparency
Volume behavior differs across markets, exchanges, sessions, and timeframes.
Some dry-up pockets may lead to no meaningful reaction.
Some reversals may begin without a clean dry-up pattern.
The score is a rule-based context score, not a certainty model.
🧠 Market Context Notes
Volume dry-up can represent hesitation, absorption, exhaustion, or simple inactivity.
The important question is not whether volume is low by itself, but whether price reacts cleanly after participation contracts.
Use the pocket as context, not confirmation by itself.
🧾 Use Case Examples
When price pulls back with shrinking volume and compressed candles, the script can map a dry-up pocket.
If price later breaks above that pocket, the script marks a bullish reversal attempt and tracks follow-through.
If price breaks below the failure shelf after a reversal attempt, the script marks invalidation.
🧱 System Philosophy
This script follows the AGPro Series approach: turn a specific market condition into a structured decision-support map.
The focus is not prediction. The focus is participation, compression, reaction quality, failure awareness, and visual clarity.
🔐 Non-Promise Statement
No script can remove uncertainty from markets.
This tool does not promise accuracy, profitability, or future price movement.
Its purpose is to organize volume dry-up context so the user can interpret the chart more clearly.
📉 Risk Disclosure
Trading involves risk.
Market conditions can change quickly, and any analytical output can fail.
Users are responsible for their own decisions, risk management, and trade execution.
This script is for educational and analytical purposes only and does not provide financial advice.
📚 Educational Note
Low volume is not automatically bullish or bearish.
The best reads usually come when volume dry-up, range compression, reaction quality, and market structure all support the same context.
อินดิเคเตอร์

Order Flow Imbalance Recovery Planner [AGPro Series]Order Flow Imbalance Recovery Planner
🧠 Core Idea
Can a high-volume displacement pocket recover with enough absorption and follow-through to become actionable chart context?
📌 Overview / What it does
Order Flow Imbalance Recovery Planner maps high-volume displacement candles, converts them into practical imbalance recovery pockets, and evaluates whether price can recover that pocket with measurable response.
The script produces imbalance pockets, recovery rails, continuation corridors, invalidation shelves, target reference rails, event labels, and a compact AG Pro dashboard with a 0-100 recovery score.
This script does not read live order book data, footprint data, bid/ask tape, or true exchange-level order flow. It uses chart-available volume, relative volume, candle displacement, wick response, and recovery behavior as a practical visual proxy.
🎯 Purpose & Design Philosophy
The script was built for traders who want a structured way to study volume imbalance recovery instead of reacting to every large candle.
Many displacement candles look important at first, but the useful question is whether price can return to the pocket, absorb pressure, and recover the key rail.
The design supports a context-first workflow: identify the imbalance, observe the test, evaluate the recovery quality, and then read the current state.
⚡ Why This Script Is Different
Most tools mark volume spikes or wide candles as isolated events.
This script does NOT treat every high-volume candle as a signal.
Instead, it builds a recovery pocket, scores the reaction around that pocket, separates test conditions from READY conditions, and keeps invalidation visible.
⚙️ Methodology
1. Context Detection
The script searches for directional displacement candles with elevated relative volume, meaningful candle range, and sufficient body commitment.
2. Reference Mapping
When a valid imbalance is found, the script maps a recovery pocket and a recovery rail around the displacement body.
3. Reaction Evaluation
Price interaction with the pocket is evaluated through retest behavior, close location, wick response, relative volume, freshness, and failure distance.
4. Visual Output
The script displays the active pocket, recovery rail, target rails, invalidation shelf, event labels, bar state color, and dashboard state.
🗺️ How to Read the Chart
Zones represent the active imbalance recovery pocket.
The recovery rail marks the key level price needs to reclaim or lose before the context improves.
Labels highlight new imbalance pockets, pocket tests, ready recovery events, invalidations, and expirations.
Colors:
• Teal = bullish recovery context
• Pink = bearish recovery context or failed context
• Gold = neutral or wait state
• Indigo = monitor or reference state
The panel summarizes imbalance state, recovery score, flow response, risk, and action.
🚦 Signals & States
• Bull Imbalance → a bullish high-volume displacement pocket has been mapped
• Bear Imbalance → a bearish high-volume displacement pocket has been mapped
• Pocket Test → price is interacting with the active imbalance pocket
• Ready Recovery → the recovery score has reached the required threshold
• Invalidated → price has moved beyond the active failure edge
• Expired → the imbalance pocket is too old to remain active
🔔 Alerts Logic
Alerts can trigger when a new imbalance pocket is locked, when price tests the active pocket, when recovery reaches READY status, or when the context is invalidated.
Alerts are attention markers only. They are not trade instructions and do not guarantee future price behavior.
🧩 Confluence Logic
The context becomes stronger when high relative volume, large displacement, clean pocket retest, wick absorption, and recovery close align around the same pocket.
📊 When to Use
• After high-volume displacement candles
• During pullback and recovery phases
• Around breakout continuation attempts
• When studying absorption after aggressive movement
• On liquid symbols with reliable volume data
⚠️ When NOT to Use
• Very low-liquidity markets
• Symbols with unreliable volume data
• Extremely noisy sideways sessions
• News-driven spikes with unstable spreads
• Markets where chart volume does not represent meaningful participation
🎛️ Key Inputs
• Minimum Displacement Range → controls how large a candle must be relative to ATR
• Minimum Body Ratio → filters weak candles with too much wick noise
• Minimum Relative Volume → controls how much volume confirmation is required
• Minimum Ready Score → controls how strict the READY state is
• Projection Bars → controls how far active pockets and rails extend
• Visual Settings → control labels, zones, right-side tags, panel, font size, and bar colors
🖥️ Interface & Visual Design
The dashboard is designed as a quick decision-support panel, not a separate oscillator.
The chart uses a clear hierarchy: pocket first, recovery rail second, labels third, and targets only after recovery context becomes relevant.
The goal is to keep the chart premium, readable, and useful at first glance.
🧪 Practical Usage Workflow
1. Read the panel state
2. Locate the active imbalance pocket
3. Check whether price is testing or recovering the pocket
4. Review the recovery score and risk
5. Compare the output with broader market structure
🔍 Interpretation Guidelines
A READY state means the script has detected enough recovery behavior around the imbalance pocket to mark the context as worth attention.
It does not mean price must continue.
Use the output as structured context together with trend, liquidity, volatility, and higher-timeframe conditions.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not a true order book, footprint, or bid/ask delta tool.
It is not an automated trading system.
It does not provide guaranteed signals.
It is not financial advice.
⚠️ Limitations & Transparency
The script uses chart-available data only.
Volume quality differs between markets, brokers, exchanges, and asset classes.
Timeframe changes may alter the appearance and timing of imbalance pockets.
Extreme volatility may produce rapid invalidation or repeated displacement events.
🧠 Market Context Notes
Order-flow style interpretation should always consider liquidity, volatility, structure, and session context.
A strong recovery pocket in a clean trend may carry more practical meaning than the same pocket inside a noisy range.
🧾 Use Case Examples
When price creates a high-volume bullish displacement candle and later retests the pocket, the script evaluates whether the retest shows enough absorption and recovery strength to become a READY context.
When price loses the recovery edge, the script marks invalidation rather than keeping the setup visually alive.
🧱 System Philosophy
AGPro Series tools are designed as decision-support engines.
The goal is not to simplify markets into blind signals, but to organize complex price behavior into readable structure, state, and risk context.
🔐 Non-Promise Statement
No script can provide certainty.
No signal guarantees continuation, reversal, or profit.
Outputs should be interpreted as analytical context only.
📉 Risk Disclosure
Trading involves risk.
Users are responsible for their own decisions, risk management, and trade execution.
This script is for educational and analytical purposes only and does not provide financial advice.
📚 Educational Note
Use this tool to study how volume displacement, imbalance pockets, absorption, and recovery behavior interact across different markets and timeframes.
อินดิเคเตอร์

Volume Follow-Through Planner [AGPro Series]Volume Follow-Through Planner
🧠 Core Idea
Did high volume create real continuation, or was it only a one-bar event?
📌 Overview / What it does
Volume Follow-Through Planner is a decision-oriented volume analytics overlay built to evaluate what happens after a qualified high-volume candle appears.
Instead of only marking volume spikes, the script opens a follow-through review window, measures next-bar progress, spread quality, close location, trend-side alignment, risk-rail defense, target-room progress, and converts the result into a 0-100 follow-through score.
It produces volume event labels, a forward follow-through box, a centered box label, a risk rail, a target-room guide, continuation/failure state labels, optional target-review labels, alert conditions, and a compact AGPro planning panel. It does not predict future price, automate execution, or claim that a high-volume event must continue.
🎯 Purpose & Design Philosophy
This script was built for traders who want volume to answer a practical planning question: did the event actually create usable continuation context?
Many volume tools stop at detection. They show that volume was high, but they do not explain whether later candles accepted, extended, failed, or faded after the event.
Volume Follow-Through Planner fills that gap by treating volume as the start of a review process, not the final answer. The goal is a cleaner decision layer: event quality, follow-through quality, risk edge, bias context, and next action.
⚡ Why This Script Is Different
Most volume tools focus on identifying spikes, climaxes, absorption, or simple participation changes.
This script does NOT try to clone Volume Climax Detector, Volume Absorption Zones, Breakout Volume Quality, or a generic breakout scanner.
Instead, it focuses on post-event behavior. The volume event must be strong enough to matter, but the main question is what happens next: continuation, weak follow-through, risk building, target review, or failure.
⚙️ Methodology
1. Context Detection
The script measures local relative volume against a rolling volume baseline, normalizes candle spread by ATR, checks body quality, close location, and trend-side alignment.
2. Reference Mapping
When a qualified event appears, the script anchors a follow-through box from the event close toward a target-room guide and places a risk rail beyond the event candle.
3. Reaction Evaluation
During the review window, the planner measures next-bar progress, favorable movement, adverse movement, follow-through closes, rail defense, and time efficiency.
4. Visual Output
The result is converted into a 0-100 follow-through score, chart labels, centered box text, guide lines, panel rows, and alert conditions.
🗺️ How to Read the Chart
Zones = the follow-through box projected from the event close toward the target-room guide.
Labels = volume event, follow-through ready, one-bar event, target review, or failed event states.
Colors = teal for constructive bullish context, pink for constructive bearish context, yellow for caution, and indigo for target/strong review states.
Panel = compact decision summary showing Volume Event, Follow-Through, Spread Quality, Bias, and Action.
Risk rail = the invalidation reference behind the event candle. A confirmed close beyond it marks the active event as failed.
🚦 Signals & States
• Volume Event → a qualified high-volume candle opened a follow-through review.
• FT WATCH → the event is active but still needs more progress.
• FT READY → follow-through quality reached the planner threshold.
• RISK BUILDING → adverse movement is rising while the event is still active.
• ONE-BAR EVENT → volume appeared, but follow-through did not develop enough inside the review window.
• FAILED → price closed beyond the risk rail.
• TARGET REVIEW → the event reached the target-room guide and should be reviewed in context.
🔔 Alerts Logic
Alerts trigger when a qualified volume event appears, when follow-through reaches the ready threshold, when the risk rail is broken, when the target-room guide is reached, and when an event becomes a one-bar event.
Alerts are attention markers. They are not trade instructions, entry rules, or automated execution logic.
🧩 Confluence Logic
The strongest context appears when relative volume, spread quality, close location, next-bar progress, follow-through closes, and trend-side bias align.
When the event has strong participation but weak progress, the planner reduces the follow-through score instead of treating volume alone as enough.
📊 When to Use
• After noticeable participation expansion
• During directional continuation attempts
• Around strong candle events that need confirmation from later bars
• On liquid instruments with reliable volume data
• When the main question is whether volume created continuation or only temporary attention
⚠️ When NOT to Use
• Very low-liquidity symbols
• Charts with unreliable or missing volume data
• Extremely noisy micro timeframes
• Markets where one candle can distort volume baselines
• Conditions where the user needs a full volume profile, absorption zone, or climax detector instead
🎛️ Key Inputs
• Sensitivity → controls how demanding the volume event gate is.
• Volume Lookback → defines the baseline used for relative volume.
• Minimum Planner Score → sets the FT READY threshold.
• Follow-Through Window → controls how many bars are used for early review.
• Risk Rail Buffer → adjusts the invalidation reference behind the event candle.
• Target Guide ATR → controls the projected target-room guide.
• Cooldown Bars → limits repeated events around the same move.
• Visual settings → control labels, optional target-review labels, boxes, guide lines, panel location, panel theme, and font sizes.
🖥️ Interface & Visual Design
The panel is designed as a compact planning cockpit rather than a data dump.
The first row uses the AGPro blue merged header style, while the rows below focus only on the decision fields needed for fast interpretation.
The chart visuals are intentionally moderate: enough labels to make the chart feel active, but controlled by cooldown, maximum visible objects, and spacing settings.
🧪 Practical Usage Workflow
1. Read the panel and check whether a volume event is active.
2. Inspect the follow-through box and risk rail.
3. Watch whether price progresses beyond the event close or fades back toward the rail.
4. Use the Follow-Through score and Action row as context for further review.
5. Confirm the broader market structure, volatility, and liquidity environment separately.
🔍 Interpretation Guidelines
Think of the first volume event as a question, not an answer.
Strong follow-through means the event received continuation support. Weak follow-through means volume did not yet translate into useful directional progress. A failed event means the risk rail was broken and the original event context should be rejected.
The score is a planning aid. It should be interpreted with market structure, higher-timeframe context, and risk controls.
🚫 What This Script Is NOT
• Not a prediction engine
• Not financial advice
• Not auto trading
• Not guaranteed signals
• Not a volume climax detector
• Not an absorption zone map
• Not a generic support/resistance tool
⚠️ Limitations & Transparency
Volume quality depends on the chart symbol and exchange feed.
Timeframe changes can materially alter event frequency, volume baselines, and follow-through behavior.
Extreme volatility can make the risk rail or target-room guide less stable.
The script is rule-based and cannot understand news, liquidation cascades, macro events, or hidden order flow.
🧠 Market Context Notes
High volume is most useful when later candles confirm that participation had directional effect.
If price cannot progress after the event, the volume may represent temporary effort, late participation, absorption-like behavior, or simple noise.
This script focuses on that after-event evaluation.
🧾 Use Case Examples
When a strong bullish volume event appears and later candles close above the event close, the follow-through score can improve toward FT READY.
When a bearish volume event appears but price immediately reclaims the event area and breaks the rail, the state can shift to FAILED.
When volume expands but price stays trapped near the event close, the state can become ONE-BAR EVENT.
🧱 System Philosophy
The AGPro planner style is built around decision quality.
A chart tool should not only show what happened. It should help the user evaluate validity, strength, risk, target room, and the next state to monitor.
🔐 Non-Promise Statement
No script can provide certainty.
No signal, state, score, label, or alert guarantees a future outcome.
📉 Risk Disclosure
Trading involves risk.
Users are responsible for their own analysis, execution, risk management, and decisions.
This script is for educational and analytical purposes only and does not provide financial advice.
📚 Educational Note
Use the planner to study how volume events behave after they appear. The most important information is often not the event itself, but whether later candles confirm, weaken, or invalidate it.
อินดิเคเตอร์

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.
อินดิเคเตอร์

Buy/Sell Pressure Meter [AGPro Series]Buy/Sell Pressure Meter
🔹 Overview
Buy/Sell Pressure Meter is a volume-flow analytics tool that quantifies the tug-of-war between buyers and sellers on every bar and on a rolling basis. Unlike traditional volume delta indicators that only plot raw bar-level buy minus sell, this tool layers four complementary lenses into a single oscillator: rolling pressure trend, imbalance streak tracking, intraday pressure shift count, and session-accumulated dominance. A subtle price-pane background tint gives a Bookmap-light read on intraday participation that works across crypto, futures, and liquid equities — without requiring tick-level order flow data.
🔹 Unique Edge
Most volume-delta scripts answer the question "which side was bigger on this bar?" This one answers a different, more useful question for intraday traders: "who has been in control, and how stable is that control?"
• Rolling Pressure Trend — a moving average of buy and sell pressure separately (dual histogram), so you see structural bias, not just bar-to-bar noise.
• Imbalance Streak Tracking — counts consecutive same-side dominant bars and labels only the final length of each significant streak at the moment the streak breaks. No per-bar label spam, one clean marker per event.
• Intraday Pressure Shift Count — how many times the rolling dominant side has flipped since session open. High shift count = rotational day. Low shift count = trending day.
• Session-Accumulated Net Delta — cumulative bull vs bear contribution since the day began, independent of the rolling window.
• Price-Pane Bookmap-Light Tint — a very high-transparency background tint paints the main chart pane when one side is rolling-dominant, so you see control visually without leaving the price chart.
These five lenses together are deliberately designed not to overlap with raw volume-delta or cumulative-volume-delta indicators. They describe the character of participation, not just its magnitude.
🔹 Methodology
Because standard chart data does not include true tick-level order flow, this script uses a widely-accepted proxy: up-bar volume is attributed to buy pressure, down-bar volume to sell pressure, and doji volume is split evenly. This is explicitly a simulated bias — not real bid/ask flow — and the script labels it as such in the panel.
From that proxy:
1. Current-bar bull pressure percentage = buyPressure / (buyPressure + sellPressure) × 100.
2. Rolling pressure = SMA of buy and sell pressure over the user-defined window (default 20 bars).
3. A bar is classified bull-dominant when its bull pressure percent exceeds the dominance threshold (default 55%), and bear-dominant at the mirror level.
4. Streaks count consecutive bars of the same classification and reset when a neutral or opposite bar prints. Peak length is captured at the moment of reset and optionally labelled on chart.
5. Pressure shifts compare the current rolling dominant side against the last confirmed non-neutral dominant side; a change increments the intraday shift counter (only on intraday timeframes).
6. Session delta is the cumulative net delta since the last daily rollover.
🔹 Signals & States
• Dual histogram — buy pressure (teal, upward) and sell pressure (pink, downward) plotted as rolling averages.
• Net delta center line — accent-colored line showing rolling buy minus sell.
• Price-pane background tint — subtle teal or pink when one side is rolling-dominant, gives a Bookmap-light feel without obscuring candles.
• Oscillator-pane echo tint — even more subtle tint mirroring the dominant side in the indicator pane.
• Shift markers — triangles on the pane when the dominant side flips.
• Streak peak labels — plotted only at streak termination, showing final length (e.g. "Bull 7").
• Alerts — pressure shift to bull, pressure shift to bear, bull imbalance streak, bear imbalance streak.
🔹 Key Inputs
Calculation:
• Rolling Pressure Length — default 20. Higher = smoother, slower reaction.
• Minimum Streak To Highlight — default 3. Used for alerts.
• Dominance Threshold — default 55%. Share of total pressure needed to classify a bar as dominant.
Visuals:
• Tint Price Pane On Dominance — toggles the Bookmap-light effect on the main chart.
• Show Streak Peak Labels + Minimum Streak Length To Label (default 5) — controls chart cleanliness.
• Show Pressure Shift Events — triangle markers on shifts.
• Background Tint Transparency — default 94, adjustable 80-99.
Panel:
• Panel Location, Theme (Dark / Light), Font Size, Label Font Size — all default to Normal and fully configurable.
🔹 How To Use
This is an analytical tool, not a standalone trading system. Typical use cases:
• Confirmation — when price breaks a structure level while the rolling net delta is strongly in the break direction and a streak is in progress, the break has participation behind it.
• Exhaustion — a long bull streak peak followed by a rolling shift to bear, or vice versa, often marks the end of the current impulse.
• Regime read — a day with many intraday pressure shifts is rotational; a day with 0-1 shifts is directional. Adjust your playbook accordingly.
• Companion to S/R, supply/demand, and volume profile tools — use the streak peak and shift events as a participation filter when price interacts with a zone.
Best results on liquid instruments with meaningful bar-to-bar volume variation. Low-volume illiquid tickers produce noisier readings.
🔹 Limitations & Transparency
• The buy vs sell attribution is a proxy derived from bar direction and bar volume. It is not real order flow, Level 2, or tick data. Bookmap, CVD from exchange feeds, and footprint tools access information that bar-level scripts structurally cannot replicate.
• On instruments or timeframes where many bars close near their open (doji-heavy regimes), proxy-based attribution becomes less informative.
• The intraday shift counter is only meaningful on intraday timeframes; on daily-and-above timeframes the panel explicitly shows this as n/a.
• The script is non-repainting on closed bars. Intrabar values update in real time and may change until the bar confirms.
• Pressure shifts and streaks describe past and current state. They are not predictions of future price.
🔹 Risk Disclosure
This script is provided as an analytical tool for educational and research purposes. It does not constitute financial advice, a trading signal, or a recommendation to buy or sell any asset. Past performance of any pattern, streak, or shift event does not guarantee future results. Users are solely responsible for their own trading decisions and risk management. Always combine any indicator with broader market context, position sizing discipline, and your own due diligence. อินดิเคเตอร์

Volume Climax Detector [AGPro Series]Volume Climax Detector
Volume Climax Detector is an advanced volume analytics tool that identifies extreme institutional volume events using a three-filter VSA (Volume Spread Analysis) methodology. Rather than triggering on simple volume multiples, the script combines Volume Z-Score statistics, Spread analysis, and Close Location to isolate genuine climax bars — the kind of exhaustion moves Wyckoff and VSA traders look for at trend tops and bottoms.
🔹 OVERVIEW
Volume alone is a noisy signal. A "high volume bar" on one instrument is a quiet bar on another, and most volume-based indicators either miss real climaxes or fire on every uptick. This script takes a statistical approach: it measures how extreme each bar's volume is relative to its own recent history (Z-Score), confirms the bar structure makes sense (Spread and Close Location), and then classifies the event as a Buying Climax or Selling Climax using trend context — the Wyckoff way.
The result is a small number of high-conviction labels at exactly the places where large participants tend to exhaust themselves: panic buys at tops, panic sells at bottoms, and hidden absorption in between.
🔹 WHAT MAKES IT DIFFERENT
Most volume indicators apply a single threshold (e.g. volume > 2× average) and stop there. This script layers three independent VSA filters, each addressing a different failure mode:
• Volume Z-Score — adapts to the instrument's own volume distribution. A 3σ event on BTC is genuinely rare, regardless of session or timeframe.
• Spread filter — requires the bar's range to exceed its recent average. Eliminates the common false positive of a high-volume bar that barely moved (compression).
• Close Location — requires the close to sit in the upper or lower third of the bar. Separates conviction from indecision.
Beyond detection, two analytics layers set it apart from typical volume tools:
• Reversal Success Tracking — every climax is tracked forward for a configurable window, and the script records whether a meaningful counter-move actually materialised (measured in ATR). The panel shows a live Reversal Rate, so users get honest feedback on how well climaxes have worked on the current symbol and timeframe.
• Magnitude Scoring (1–10) — every climax receives a strength score derived from its Z-Score, making it easy to distinguish routine spikes from truly extreme events (marked with ★).
🔹 METHODOLOGY
1. Volume Statistics
The script computes a rolling mean and standard deviation of volume over a configurable lookback window (default 50 bars). The Z-Score tells how many standard deviations above the mean the current bar is. A reading of 3.0σ or higher (default threshold) corresponds to the top ~0.27% of bars — statistically rare, not just "above average."
2. Triple Filter Gate
A bar qualifies as a potential climax only when:
• Z-Score ≥ threshold (volume anomaly)
• Bar range ≥ spread multiplier × average range (wide spread)
• Close is in the upper 33% (strength) or lower 33% (weakness) of the bar range
3. Wyckoff Classification
• Buying Climax — qualifying bar during an established uptrend. Interpretation: buyers are exhausting themselves; potential topping action.
• Selling Climax — qualifying bar during an established downtrend. Interpretation: sellers are exhausting themselves; potential basing action.
• When no clear trend exists, classification falls back to close location plus bar direction so that sideways regimes still produce meaningful signals.
4. Confluence Grouping
When multiple same-direction climaxes occur close together in time or price, the script collapses them into a single label representing the strongest event in the cluster. This keeps charts readable without losing information — the panel still counts every individual climax.
5. Effort vs Result (optional)
A companion layer flags high-volume bars with unusually narrow spread — the classic VSA "No Demand" and "No Supply" conditions. These often signal hidden absorption ahead of a reversal and are shown as separate labels.
🔹 SIGNALS & ALERTS
Four built-in alert conditions:
• Buying Climax detected
• Selling Climax detected
• Extreme Climax (Z-Score above the extreme threshold, marked with ★)
• No Demand / No Supply divergence
Each alert payload includes the symbol, Z-Score, and magnitude score, ready for automation or review.
🔹 KEY INPUTS
• Volume Lookback (default 50) — rolling window for statistics.
• Z-Score Threshold (default 3.0σ) — minimum statistical extremity. Lower on intraday, higher for premium signals only.
• Extreme Threshold (default 4.0σ) — above this, climaxes are flagged with a ★.
• Spread and Close filters — each can be toggled independently for flexibility across asset classes.
• Trend EMA Length and Sensitivity — control how the script defines uptrend and downtrend, with an ATR-normalised slope check to avoid misclassifying sideways regimes.
• Reversal Window and Threshold — define what counts as a "successful" reversal for the panel statistic.
• Confluence controls — Time-first (default), Price-first, or Strict mode, plus bar and ATR tolerances.
• Climax Zones (optional, default off) — extends each climax bar's range forward as a reaction zone, similar to S/R.
🔹 HOW TO USE
• Start with defaults on any liquid instrument and timeframe. The script adapts to the local volume distribution automatically.
• On highly volatile intraday timeframes, consider raising the Z-Score Threshold to 3.5σ for fewer, cleaner signals. On slower timeframes, the default works well.
• Treat a ★ Extreme Climax as higher-conviction than a plain climax, and pay attention to the Magnitude Score for fine gradation.
• Use the Reversal Rate panel value as a feedback loop — if it is low on your chosen instrument and timeframe, either adjust thresholds or reconsider the setup.
• Combine with your own structural analysis (support/resistance, HTF trend, market structure) for confirmation. The script identifies the event, not the entry.
🔹 LIMITATIONS & TRANSPARENCY
• This is an indicator, not a strategy. It does not generate buy or sell orders and makes no assumption about position sizing or risk management.
• Climaxes are statistical events. They tend to mark inflection points, but no volume pattern resolves into a reversal every time. The built-in Reversal Rate panel value exists precisely to make this honest — users see the actual hit rate on their own chart.
• The script uses publicly available volume data from the chart's exchange. Volume quality varies by venue; results may differ on symbols with thin or unreliable volume reporting.
• Classification depends on trend context. In strongly sideways regimes, the fallback rules may label climaxes differently than a human analyst would; reviewing the Trend EMA and sensitivity inputs helps here.
• Labels are confirmed on bar close (no repaint). Panel counters and the Current Z-Score value update intrabar for live monitoring.
🔹 RISK DISCLOSURE
Trading involves substantial risk of loss. Past behaviour of any signal or statistic does not guarantee future performance. This script is a research and analysis tool — it is not investment advice, a recommendation, or a solicitation to trade. Users are responsible for their own decisions, risk management, and position sizing. อินดิเคเตอร์

VWAP Cross Flow Engine [AGPro Series]VWAP Cross Flow Engine
🔹 OVERVIEW
VWAP Cross Flow Engine is a precision scoring system for price-to-VWAP
crossovers. Instead of treating every VWAP cross as a binary signal,
this indicator measures the QUALITY of each crossover event in real
time using a weighted composite score derived from momentum, volume
expansion and optional sigma-band confluence. The engine is designed
for intraday scalpers and swing traders who rely on VWAP as a dynamic
equilibrium reference and need a structured way to separate high-
conviction continuation crosses from low-quality noise flips.
The script plots an anchored Volume-Weighted Average Price line with
optional volume-weighted standard-deviation bands, detects every
price/VWAP crossover event, scores each one on a 0–100 scale and
visualizes the result through compact X markers, directional bar
coloring, a retrospective quality dashboard and a dynamic bias zone
anchored on the strongest crosses.
🔸 UNIQUE EDGE
Most VWAP-based tools stop at plotting the line and marking raw
crossovers. VWAP Cross Flow Engine adds a multi-factor quality layer
on top of the crossover itself:
• Every cross receives a composite score, not a pass/fail flag
• Momentum sub-score derived from RSI distance from 50 at cross bar
• Volume sub-score derived from current volume vs SMA baseline
• Optional confluence bonus when cross occurs beyond 2-sigma envelope
• Retrospective follow-through measurement in ATR units
• Session-aware counters with automatic daily-vs-higher-timeframe
label switching
• ATR-based cooldown filter that prevents label overlap on any
timeframe, not just bar-count cooldowns that fail on daily charts
The combination of live scoring + retrospective success tracking in a
single panel is the core differentiator. It allows the trader to both
filter new crosses and study the historical reliability of VWAP cross
behavior on any symbol and timeframe.
🔷 METHODOLOGY
1. VWAP CALCULATION
Volume-weighted average of HLC3 (configurable) anchored to the
Session, Week or Month boundary. Cumulative price*volume and
cumulative volume series are reset at every anchor change.
2. SIGMA BANDS (optional)
Volume-weighted variance computed as E − E ² where X is the
source price weighted by volume. Square root produces the true
volume-weighted standard deviation. 1σ and 2σ envelopes are drawn
around the VWAP line.
3. CROSS DETECTION
Standard ta.crossover / ta.crossunder between close and VWAP.
4. QUALITY SCORING
• Momentum sub-score: |RSI(14) − 50|, scaled to 0–40 range
• Volume sub-score: volume / SMA(20), capped at 3x, scaled 0–30
• Confluence bonus: +5 if prior bar touched the opposing 2σ band
• Total live score (max 70 or 75) is rescaled to 0–100
5. COOLDOWN FILTER
A new cross is only plotted if BOTH conditions are met:
• At least N bars since the last plotted cross
• At least K × ATR price distance from the last plotted cross
6. FOLLOW-THROUGH TRACKING
Each cross is stored with its direction, price and ATR at the time
of the event. After N bars, the displacement (in the cross
direction) is measured. Success rate and average follow-through
in ATR units are maintained inside a rolling lookback window.
7. QUALITY ZONE
A rectangle zone (0.8 × ATR tall by default, 60 bars long) is
drawn at every strong cross (score ≥ 70). The zone acts as a
dynamic bias area anchored on high-conviction VWAP interactions.
🔶 SIGNALS & ALERTS
The indicator fires five distinct alert conditions:
1. High-Quality VWAP Cross Up — bullish cross above the min quality
threshold with cooldown satisfied.
2. High-Quality VWAP Cross Down — bearish cross above the min quality
threshold with cooldown satisfied.
3. Strong VWAP Cross (≥70) — score 70 or higher; anchors a new
quality zone.
4. Price Reached +2σ Band — price extended to the upper sigma band
(optional, requires bands enabled).
5. Price Reached −2σ Band — price extended to the lower sigma band
(optional, requires bands enabled).
🔹 KEY INPUTS
VWAP Reference
• Source — price series used for VWAP (default HLC3)
• Anchor Type — Session / Week / Month
• Show VWAP Line
Sigma Bands
• Show Sigma Bands (default OFF)
• Inner Band Multiplier (default 1.0)
• Outer Band Multiplier (default 2.0)
Quality Engine
• Momentum (RSI) Length
• Volume Average Length
• Follow-Through Bars
• ATR Length
• Min Quality To Plot (default 50)
• Use Sigma Confluence Bonus
• Cooldown — Minimum Bars (default 5)
• Cooldown — Minimum ATR Distance (default 0.5)
Visuals
• Show Cross X Labels
• Show Target Projection (default OFF)
• Show Quality Zone
• Quality Zone Height (ATR) / Length (Bars)
• Color Bars By Cross Strength
• Auto Label Size (upscale on 1D+)
Panel
• Show Dashboard Panel
• Panel Position (6 positions)
• Panel Theme (Dark / Light)
• Panel Font Size
• Success Rate Lookback Bars
🔸 HOW TO USE
• INTRADAY SCALPING — use Session anchor on 5m–1h charts. Focus on
crosses scoring 70 or higher. The quality zone becomes a short-term
bias area: price holding above a bull zone mid-line tends to favor
continuation, breaks back through the mid-line tend to indicate
weakening conviction.
• SWING BIAS — use Week or Month anchor on 4h and daily charts. Treat
strong crosses as potential regime-shift events. Monitor the
Success Rate metric to calibrate expectations for the current
market and instrument.
• MEAN-REVERSION — enable sigma bands and confluence bonus. Crosses
that form after a 2σ stretch tend to score higher and mark
statistically meaningful reversal attempts.
• FILTER CALIBRATION — raise Min Quality To Plot to 60 or 70 for
high-selectivity environments; lower to 40 for noisier instruments
where you want earlier confirmation.
The dashboard gives at-a-glance context: how many crosses have fired
this session, how many were strong, what the historical win rate
looks like in the current lookback window, the average ATR-normalized
follow-through, and whether price is currently above or below VWAP.
🔷 LIMITATIONS & TRANSPARENCY
• This is NOT a strategy and does not generate buy/sell orders.
• Score is a quality filter, not a directional prediction. A high-
score cross still carries market risk and can fail.
• Follow-through statistics depend on lookback window size and
timeframe; adjust Success Rate Lookback to match your trading
horizon.
• Sigma bands require a reliable volume feed. On low-liquidity
instruments the bands may be noisy or meaningless.
• Anchored VWAP resets at each new anchor (Session / Week / Month);
early-in-anchor values use fewer samples and are less stable.
• The indicator repaints only within the cross bar itself (like any
crossover detector). Once a bar closes, the plotted cross and its
score are fixed.
🔶 RISK DISCLOSURE
This script is a technical analysis tool intended for educational
and analytical purposes. It does not constitute financial advice,
investment advice or a recommendation to buy or sell any asset.
Trading financial markets involves substantial risk of loss. Past
performance of any indicator is not indicative of future results.
Users are fully responsible for their own trading decisions and
should combine this tool with independent analysis and proper risk
management. อินดิเคเตอร์

Value Shift Ladder [AGPro Series]Value Shift Ladder
🔹 Overview
Value Shift Ladder is a market-structure mapping tool that extracts the most volume-accepted price shelves from a rolling lookback window and arranges them, in creation order, as the rungs of a ladder. Each rung is a volume-weighted zone where the market has recently spent the most time and traded the most contracts. The script then tracks how price interacts with every rung through a full Held → Broken → Reclaimed lifecycle and summarizes the entire chain into one readable ladder state: Rising, Falling, Mixed, Broken, Reclaiming, Building, or Neutral.
The goal is not to predict direction and not to produce buy or sell signals. The goal is to give the chart reader a continuously updated answer to one question: where is the market's current fair-value region, how is that region moving over time, and which prior value shelves are still relevant versus which have been abandoned. This makes the tool useful as a structural reference for volume-profile readers, auction-theory traders, and anyone who builds a bias from accepted-value migration rather than from trend lines or moving averages.
🔸 Unique Edge
Most volume-based tools either draw a single static profile snapshot, or plot every candidate level and leave the reader to filter. Value Shift Ladder does three things differently:
Multi-shelf chronological ladder. Instead of producing one value band, the script maintains a ranked set of up to eight volume-accepted shelves and arranges them in the order they were first registered. This preserves the migration history of accepted value instead of collapsing it into one average.
Proximity-gated visualization. Only shelves within a configurable ATR distance from current price are drawn on the chart, counted in the panel, and fed into the ladder direction state. Distant historical shelves exist in memory but do not clutter the chart or bias the readout — the ladder always reflects the value structure that is actually relevant to the current bar.
Adaptive, confidence-aware breaks. A shelf is not broken on a single close outside its band. Young shelves are strongly protected (3.0 × ATR), maturing shelves require a medium distance (1.5 × ATR), and fully-aged shelves use the user-defined break distance. Shelves that have been re-confirmed multiple times gain a 2× confidence multiplier on top of that, preventing established value regions from being lost to a single volatility spike.
🔸 Methodology
1) Volume Profile Construction
The script divides the rolling lookback window into equal price bins and distributes each bar's volume across every bin it touches, proportional to range coverage. Zero-range bars are assigned to their single bin. This produces a volume-weighted histogram of the lookback period.
2) Shelf Extraction
The top-K bins by volume are selected iteratively. After each pick, the chosen bin and its ATR-neighborhood are zeroed out before the next pick, enforcing a minimum separation between shelves and preventing a single high-volume cluster from dominating every rung. Each surviving bin becomes a shelf, anchored at its bin-center price.
3) Shelf Merging and Confidence
On every refresh, newly extracted shelves are checked against existing ones. If a new shelf falls within the ATR separation of an existing non-broken shelf, the existing shelf's volume is refreshed and its confidence score is incremented. Otherwise a new shelf is registered. Confidence is capped at ten and used downstream to scale break tolerance.
4) Lifecycle State Machine
Each shelf carries one of three states — Held, Broken, or Reclaimed. Held flips to Broken when price closes beyond an adaptive break distance for three recent bars. Broken flips to Reclaimed when price dwells back inside the band for a user-defined number of bars. Reclaimed auto-promotes to Held once the shelf has stabilized past a short age threshold.
5) Ladder Direction
Proximity-filtered active shelves are sorted by creation order. The last one, two, or three rungs are compared to produce a single state: Rising if the sequence is monotonically higher, Falling if lower, Mixed if non-monotonic, plus transient overrides for Broken, Reclaiming, Building, or Neutral conditions.
6) Pruning
Stale broken shelves expire after a timeframe-aware window. A hard cap of ten active shelves is enforced, with broken shelves removed first when the cap is hit.
🔹 Signals and Alerts
The script provides four deterministic state-change alerts, all tied to closed-bar transitions:
— New Ladder Step Formed: fires when a new volume-accepted shelf is first registered.
— Ladder Step Held: fires when an existing shelf is re-confirmed by the rolling profile.
— Ladder Step Broken: fires when a held shelf transitions to broken.
— Ladder Step Reclaimed: fires when a broken shelf transitions back to reclaimed.
These alerts describe structural state changes inside the indicator logic. They are not trade signals and do not imply expected profitability, win rate, or directional certainty.
🔸 Key Inputs
— Profile Mode (Auto / Manual): Auto derives lookback and refresh from the chart timeframe. Manual exposes both for full control.
— Manual Lookback (bars): Size of the rolling window used to build the profile.
— Manual Refresh Interval (bars): How often the profile is rebuilt.
— Profile Resolution (bins): Number of price bins the range is divided into.
— Target Shelf Count: Maximum number of shelves kept active.
— Min Volume Ratio: Minimum fraction of the top-bin volume a bin must hold to qualify as a shelf.
— Min Shelf Separation (ATR): Minimum ATR distance between two shelves.
— Break Distance (ATR): Fully-aged break tolerance.
— Reclaim Dwell Bars: Bars needed inside the band to flip Broken to Reclaimed.
— Max Visible Distance (ATR): Proximity gate for drawing and counting shelves.
— Display options: panel position, panel font size, on-chart label size, alerts toggle.
🔹 How to Use
Value Shift Ladder is designed as a structural reference rather than a signal engine. Typical reading workflows include:
— Bias framing. Read the Ladder state first. Rising or Falling indicates a one-sided migration of accepted value; Mixed indicates balance; Broken or Reclaiming highlights an active transition.
— Dominant reference. The Dominant row in the panel highlights the nearest held or reclaimed shelf within two ATR of price. Use it as the closest structural reference for scenario planning, not as an execution level.
— Proximity discipline. Because shelves more than the configured ATR distance away are not drawn, the ladder always reflects value structure that is currently relevant. When no shelves are visible, the market is between value regions — a context in which mean-reversion assumptions weaken.
— Confluence. The tool is designed to be combined with independent confirmation such as session structure, higher-timeframe bias, or volume analysis. It is not meant to stand alone as a decision source.
🔸 Limitations and Transparency
— Volume profile quality depends on the instrument's volume reporting. On symbols with unreliable or synthetic volume, shelf placement may drift.
— The profile is recomputed on the close of refresh bars. Intrabar readings on the current bar can change until the bar closes; state transitions evaluate the last three bars for breaks and the reclaim-dwell window for reclaims, so fresh transitions can flip until those bars close.
— On extremely illiquid sessions or instruments with frequent volatility spikes, the adaptive-break logic can delay transitions by design. This is a tradeoff in favor of stability.
— Past structural behavior at a shelf does not guarantee future behavior. The tool does not forecast direction and is not a trading strategy.
🔹 Risk Disclosure
This script is a structural visualization tool provided for educational and analytical purposes. It is not financial advice, not a trading strategy, and not a signal service. All trading involves risk of loss. Past market behavior is not indicative of future results. Users are fully responsible for their own trading decisions and for independently verifying the tool's behavior on their chosen instruments and timeframes before relying on it for any purpose. อินดิเคเตอร์

Volume Shelf Reaction Map [AGPro Series]Volume Shelf Reaction Map
🔷 OVERVIEW
Volume Shelf Reaction Map is a structural price-action tool that identifies horizontal zones where volume has historically stacked — "volume shelves" — and classifies, in real time, how price reacts each time it returns to them. Instead of showing a static S/R line, it answers a sharper question: when price revisits this level, does it hold, get reclaimed, get rejected, or lose the level entirely? Fresh shelves (never revisited) are visually separated from reused ones, so the chart communicates not just where the levels are, but which ones still carry unused participation behind them.
🧭 UNIQUE EDGE
Most support/resistance and volume tools stop at drawing a zone. This script adds a reaction-state layer on top of shelf detection:
• Five reaction states per shelf: TOUCH, HELD, RECL (reclaimed), REJ (rejected), LOST
• Fresh vs Reused classification — shelves that have already been tested at least once are faded, so untouched structural levels stand out immediately
• Sticky state logic — a shelf keeps its reaction color until a new transition actually occurs, preventing flicker between bars
• Passive-window coloring — shelves whose last reaction is older than the user-defined active window fade to the neutral accent color, keeping old/stale levels visible without dominating the chart
• Strongest-shelf-only reaction tags with cooldown — reaction labels are printed only for the highest-strength shelf and only on actual state transitions, producing a clean chart even on long histories
The result is a volume-aware reaction map rather than a crowded S/R overlay.
🧪 METHODOLOGY
1. Pivot detection — standard pivot highs and lows over a configurable pivot length act as shelf candidates.
2. Volume qualification — each pivot bar is checked against a rolling 20-bar volume average; bars above the Volume Filter multiplier contribute extra weight to shelf strength.
3. ATR-based clustering — candidates within a configurable ATR multiple of an existing shelf are merged using a touches-weighted mean price, stabilizing the shelf location as evidence accumulates.
4. Confirmation — a shelf must reach the Minimum Touches threshold before it is rendered; weak candidates are pruned after one-third of the lookback window.
5. State machine — on every confirmed bar, a shelf's reaction is updated against the prior close's side (support vs resistance context), using an ATR-scaled buffer to distinguish genuine holds and losses from noise.
6. Ranking and rendering — on the last bar, shelves are sorted by strength; only the top N are drawn, with fresh shelves rendered solid and reused shelves rendered thinner and faded.
🔔 SIGNALS & ALERTS
Three alert types, each debounced per shelf so the same state cannot spam consecutive bars:
• Shelf Touched — price range intersects a confirmed shelf for the first time since its last transition
• Shelf Respected — price HELDs, RECLs, or REJs at a shelf (reaction in favor of the shelf)
• Shelf Lost — price closes through a shelf with the required ATR buffer
Reaction tags on the chart (HELD / RECL / REJ / LOST) are printed only for the strongest shelf and only on a true state transition, with a user-adjustable cooldown for historical cleanliness.
⚙️ KEY INPUTS
Shelf Detection
• Lookback Window (bars) — how far back the pivot scan reaches
• Pivot Strength — bars required on each side of a pivot
• Cluster Distance (x ATR) — how tightly nearby pivots merge
• Minimum Touches — confirmation threshold
Filters & Cleanup
• Volume Filter (x average) — participation threshold for strength weighting
• Show Fresh Shelves Only — hide already-revisited shelves
• Max Shelves to Display — cap visible shelves for chart cleanliness
• Fade Reused Shelves — dim reused shelves so fresh ones stand out
• Reaction Sensitivity (x ATR) — ATR buffer used by the state machine
• Active Window (bars) — how recently a reaction must have occurred to show in full color
Visuals
• Label & Panel Size — Tiny / Small / Normal / Large (default: Normal)
• Show Reaction Tags — toggle on-chart state labels
• Tag Cooldown (bars) — minimum bars between tags on the same shelf
Panel
• Show Info Panel, Panel Location (6 anchors), Panel Theme (Dark / Light)
Alerts
• Shelf Touched, Shelf Respected, Shelf Lost
🧰 HOW TO USE
1. Add the indicator to any liquid symbol and timeframe. Volume-aware markets (crypto, index futures, major FX) and timeframes from 15m upward tend to produce the most structured shelves.
2. Start with defaults. The Active Window of 30 bars is a reasonable middle-ground; reduce it on intraday charts (around 20) or raise it on daily/weekly (30–60).
3. Read the panel:
• Active Shelves — how many of the eligible shelves are currently drawn
• Strongest Shelf — the top-ranked shelf by strength
• Current State — live reaction state of the top shelf
• Fresh / Reused — how the displayed shelves split between untested and already-tested levels
4. Use fresh shelves as higher-quality reaction candidates; treat reused shelves as context, not primary triggers.
5. Combine the HELD / RECL / REJ / LOST reactions with your own trigger logic (e.g. break-retest, liquidity sweeps, momentum shifts). This script is a location and reaction tool — not a standalone trade system.
🧱 LIMITATIONS & TRANSPARENCY
• This indicator describes historical structure and live reactions; it does not forecast price direction.
• Pivot-based detection requires the Pivot Strength window to complete on both sides, so fresh pivots appear with a natural lag equal to the pivot length.
• On very low-volume symbols or illiquid timeframes, shelves may be sparse or unstable.
• The state machine is bar-close based; intrabar wicks can temporarily intersect a shelf without changing its state until the bar confirms.
• Max drawing limits (max_lines_count, max_labels_count, max_boxes_count) are set to 120; extremely long histories combined with large lookbacks may drop the oldest drawings.
⚠️ RISK DISCLOSURE
This script is provided for educational and analytical purposes only. It is not a strategy, not a buy/sell signal generator, and not financial advice. Trading involves substantial risk of loss. Past behavior of levels, volume, or reactions does not guarantee future outcomes. Always apply your own risk management, position sizing, and independent judgment. The author and AGProLabs accept no responsibility for decisions made based on this indicator. อินดิเคเตอร์

Multi-Anchor VWAP Grid [AGPro Series]Multi-Anchor VWAP Grid
🔹 Overview
Multi-Anchor VWAP Grid is a volume-weighted analysis tool that plots five independently anchored VWAP lines on the same chart — anchored from swing high, swing low, higher-timeframe pivot, all-time high, and session open. Each anchored VWAP includes optional ±1σ and ±2σ standard deviation bands, forming a dynamic grid of volume-weighted support and resistance levels. When three or more VWAPs converge within a tight ATR-based band, the indicator draws a rectangular confluence zone highlighting the area as a higher-probability price reaction region.
The script is fully automatic. All five anchors are detected by internal engines (pivot detection, session detection, timeframe change detection, all-time-high tracker) and require no manual date picking or retroactive anchor placement. Install the indicator, select which anchors you want active, and the grid builds itself.
🔹 What It Does Differently
Most anchored VWAP tools plot one anchor at a time and require the user to manually place the anchor each time a new swing or event is identified. This script plots five anchors simultaneously and lets them compete for relevance. When multiple independent anchors agree on a price level, that agreement itself becomes the signal — visualized as a confluence zone. A single VWAP is one data point. Five VWAPs intersecting within 0.5 ATR of each other is a structural event.
The confluence detection engine tests each active VWAP as a reference point, counts how many others fall within the user-defined ATR tolerance, and picks the densest cluster on each bar. A minimum VWAP count threshold (default 3) prevents noise, and a lifecycle manager extends, adaptively resizes, and expires zones based on bar age and midpoint drift.
🔹 Methodology
**Anchor engines**
Swing High and Swing Low VWAPs reset on each confirmed pivot using the standard ta.pivothigh / ta.pivotlow detector with a configurable lookback length. HTF Pivot VWAP resets at the start of each selected higher-timeframe period (daily, weekly, or monthly) using timeframe.change. ATH VWAP resets whenever a new all-time high is printed on the visible chart. Session Open VWAP resets at the first bar of each trading session defined by the session window input.
**VWAP calculation**
Each anchor maintains three running accumulators since its last reset: sum of (price × volume), sum of volume, and sum of (price² × volume). VWAP is computed as the first divided by the second. Standard deviation is derived from the variance identity: sqrt(E − E ²), where E and E are computed from the running accumulators. Bands are plotted at configurable multipliers of this running standard deviation.
**Confluence engine**
On each bar, the script evaluates every active VWAP as a potential cluster center. For each candidate center, it counts how many other active VWAPs fall within ATR × tolerance distance. The cluster with the highest count wins. If the winning count meets or exceeds the minimum threshold, the bar is marked as confluence-active.
**Zone lifecycle**
When confluence becomes active, a new rectangular zone is created spanning the min/max of the clustered VWAPs. As long as confluence remains active and the cluster midpoint drifts less than 0.5 ATR from its original midpoint, the zone extends to the current bar and adaptively resizes with rate-limited expansion (maximum 1 ATR growth per bar per direction, preventing erratic stretching). If the midpoint drifts more than 0.5 ATR, a new zone is created. A 5-bar debounce prevents micro-breaks in confluence from prematurely closing active zones. Zones auto-expire after a configurable age limit (default 120 bars).
🔹 Signals and Panel Readouts
The information panel in the top-right corner (position and theme configurable) displays:
- **Price Bias** — count of VWAPs price is currently above vs below, with an overall BULL / BEAR / MIXED classification
- **Confluence** — current status (active with cluster count, or none) and the minimum-count threshold in use
- **Closest VWAP** — which of the five VWAPs is currently closest to price, and the distance in ATR units
- **Active VWAPs** — each enabled VWAP's current value and percent distance from close
Two alert conditions are built in: new confluence zone detection, and price crossing any active VWAP line.
🔹 Key Inputs
**Anchor Points group** — toggle each of the five VWAPs on or off, set swing pivot lookback length, choose HTF timeframe (D/W/M), define the session window for intraday anchoring.
**Deviation Bands group** — toggle bands on or off, configure band 1 and band 2 multipliers, enable or disable gradient fills between VWAP and the first band.
**Confluence Zones group** — toggle zones on or off, set minimum VWAPs required for a confluence (2 to 5), adjust the ATR-based tolerance, define maximum zone age in bars.
**Panel group** — toggle panel, choose location (six positions), select Dark or Light theme, set font size (Small / Normal / Large).
**Labels group** — toggle the compact end-of-line labels that identify each VWAP at the right edge of the chart.
🔹 How to Use
This indicator is designed as a context layer, not a standalone entry signal. Suggested workflow:
**1. Identify structural bias.** Check the Price Bias row in the panel. If 4 or 5 VWAPs sit below price (BULL), the market is trading above its most relevant volume-weighted averages across multiple timeframes and event contexts. The opposite applies for BEAR.
**2. Watch for confluence formation.** When the panel shows Confluence ACTIVE with 3 or more VWAPs clustered, a meaningful volume-weighted support or resistance area is forming. These zones often precede reaction or reversal behavior.
**3. Use bands for context.** When price trades near the ±1σ band of a single VWAP, reversion back toward that VWAP is statistically more likely. ±2σ extensions indicate volatility outliers.
**4. Cross-reference with your own tools.** This script is most useful combined with price action, volume profile, or a trend filter of your choice. It does not generate entries or exits on its own.
🔹 Tips
- On crypto 24h markets, set Session Window to 0000-2359 for a full-day session VWAP.
- Higher Swing Pivot Length values (30–50) filter noise on higher timeframes; lower values (10–15) are better for intraday.
- If the chart feels visually crowded, disable the ±2σ bands or reduce the number of active anchors. All five are rarely needed simultaneously.
- For the strongest confluence signals, increase Min VWAPs for Confluence to 4 — rarer but higher conviction.
🔹 Limitations and Transparency
- The script uses standard Pine Script pivot detection for swing anchors. Pivots are confirmed only after the pivot length has passed, which means swing VWAP anchors are placed retrospectively by that many bars. This is an inherent limitation of all pivot-based tools, not a bug.
- ATH tracking is limited to the visible chart range. On timeframes or symbols where the chart does not load full history, the "ATH" anchor represents the highest point within loaded data, not the true all-time high.
- Standard deviation bands assume price dispersion around each VWAP is approximately normal over the anchored period. In strongly trending markets, this assumption weakens and bands may widen significantly.
- Confluence zones are descriptive, not predictive. They mark areas where multiple volume-weighted averages happen to agree. They do not guarantee price reaction, only indicate where reaction is more plausible than average.
- Session Window input must match the instrument's trading hours to produce a meaningful intraday VWAP. Incorrect session definitions will produce misleading anchor points.
🔹 Risk Disclosure
This indicator is provided for educational and analytical purposes only. It is not financial advice, investment advice, or a recommendation to buy, sell, or hold any asset. All trading involves substantial risk of loss. Past chart behavior and historical VWAP reactions do not guarantee future results. Users are solely responsible for their own trading decisions and risk management. Always combine indicator output with independent analysis and appropriate position sizing. The author accepts no responsibility for any financial outcome resulting from the use of this script. อินดิเคเตอร์

Adaptive Volume Concentration Levels + Volume-Price Shift BoxDescription
Adaptive Volume Concentration Levels + Volume-Price Shift Box combines two powerful market analysis concepts into one streamlined tool: adaptive volume-based support and resistance mapping, and a real-time volume-price flow dashboard.
The script identifies the most meaningful price zones based on where volume has concentrated over a chosen lookback range, helping highlight areas where the market has shown strong interest. At the same time, it displays a compact shift box that evaluates price, volume, VWAP, OBV, A/D behavior, and momentum to estimate whether market pressure is currently bullish, bearish, or neutral.
This makes the script useful for traders who want both structural levels and contextual order-flow style bias in a single indicator.
How It Works
The script has two main components:
-Adaptive Volume Concentration Levels
It scans historical price action over a customizable lookback period.
Price is divided into bins, and volume is accumulated into those bins.
The script then selects the highest-volume zones and converts them into horizontal support/resistance levels.
A higher timeframe option and smoothing feature can be used to reduce noise and reveal more stable levels.
Levels can be displayed with custom colors, line styles, transparency, and optional percentage labels.
- Volume-Price Shift Box
The dashboard evaluates several internal conditions:
VWAP trend and price distance from VWAP
OBV trend and OBV acceleration
A/D line trend
Relative volume versus average volume
Price momentum
Weighted bullish and bearish scores are calculated from these components.
The final shift score determines whether the current state is:
Bullish
Bearish
Neutral
The box then displays key readings such as shift strength, volume vs average, VWAP distance, shift duration, and OBV state.
Key Features
Adaptive volume-based support and resistance detection
Dual SR logic for identifying important high-volume price zones
Optional higher timeframe processing for cleaner structure
Price smoothing to reduce noise in level calculation
Customizable level count, bin density, transparency, labels, and styling
Real-time shift box with bullish, bearish, or neutral bias
Weighted scoring model using VWAP, OBV, A/D, volume, and momentum
Shift strength readout for quick bias confirmation
Shift duration tracking to show how long the current condition has persisted
Clean visual layout that combines structure and flow into one script
How to Use
Start by applying the indicator to your chart and adjusting the level settings based on your trading style.
For the volume concentration levels:
Increase the lookback if you want broader, more established levels.
Increase the number of bins for finer price granularity.
Use the minimum volume filter to remove weaker levels.
Turn on the higher timeframe option if you want more stable zones from a broader market perspective.
For the shift box:
Use the default settings first, then adjust sensitivity and component weights to better match your market and timeframe.
Watch for bullish or bearish shifts when price approaches one of the plotted volume levels.
Use the strength reading to judge whether the bias is weak or decisive.
Monitor duration to see whether the current directional pressure is fresh or extended.
A practical workflow is:
Use the horizontal levels as reaction zones
Use the box to judge whether current pressure supports continuation or rejection from those zones
Combine both with your existing entry and risk management rules
How It Helps
How It Helps
This script helps simplify decision-making by combining where price is likely to react with how price and volume are behaving right now.
The volume concentration levels help traders identify:
likely support and resistance
potential reaction zones
areas of prior market agreement or interest
The shift box helps traders evaluate:
whether buyers or sellers currently have control
whether momentum and volume are aligned
whether market pressure is strengthening or fading
Used together, the tool can help with:
trade location
directional confirmation
filtering weak setups
improving timing around important price zones
It is especially useful for traders who want a clearer view of both market structure and current flow conditions without cluttering the chart with multiple separate indicators.
Disclaimer
This indicator is provided for informational and educational purposes only. It does not constitute financial advice, investment advice, trading recommendations, or an offer or solicitation to buy or sell any financial instrument.
All indicator outputs, classifications (including bullish, bearish, or neutral states), and visual elements are derived from historical market data using user-defined parameters. These outputs are interpretive in nature and do not predict future market performance or guarantee any specific result.
Trading financial instruments involves substantial risk, including the risk of loss exceeding initial capital. Market conditions may change rapidly due to factors outside the scope of this indicator, including but not limited to economic events, news releases, liquidity conditions, execution quality, and slippage.
The developer assumes no responsibility or liability for any trading decisions, losses, or damages arising directly or indirectly from the use of this indicator. Users are solely responsible for evaluating the suitability of this tool for their own trading objectives, risk tolerance, and market conditions.
Past performance, indicator behavior, or historical alignment of signals does not guarantee future results. Use of this indicator constitutes acceptance of these terms.
อินดิเคเตอร์

AG Pro Liquidity Heatmap [AGPro Series]AG Pro Liquidity Heatmap
Overview / What it does
AG Pro Liquidity Heatmap is a visual liquidity-mapping tool designed to project areas where resting stop interest is more likely to be concentrated. Instead of focusing on a single pattern or a one-bar signal, this script builds a forward-looking heatmap from clustered pivot behavior and displays that information as persistent horizontal liquidity bands on the chart.
The core idea is simple: repeated reactions around similar price levels often create zones where traders place stops, breakout orders, or defensive exits. When those levels begin to cluster, they can become structurally important. This script converts that clustering behavior into a heat score and renders it as layered Fire / Ice bands so traders can quickly identify where liquidity concentration may be building above or below current price.
The script is not built as a prediction engine, and it does not attempt to claim where price must go next. Its purpose is to help traders organize the chart, monitor the nearest active liquidity bands, and understand which nearby levels appear more saturated, more persistent, or already mitigated. In that sense, it is best used as a market-structure context tool rather than as a standalone entry model.
This script is also intentionally different from traditional support/resistance overlays, breakout detectors, and liquidity sweep labels. It does not merely mark recent highs and lows. It clusters pivot-derived levels, weights them into a dynamic heat score, extends them cleanly to the right side of the chart, and then updates or extinguishes them as price interacts with those zones.
Unique Edge
The unique edge of this script is that it treats liquidity as a developing field rather than a static line. A normal horizontal level script may show one prior high or one prior low. AG Pro Liquidity Heatmap instead tracks repeated pivot concentration, merges nearby levels into composite zones, scores those zones, and then visualizes the result as a layered heat structure.
A second differentiator is the lifecycle logic. Once a band has been interacted with, the script does not leave every level unchanged forever. Depending on the selected behavior, a zone can fade or be removed after liquidity is taken. This helps reduce visual clutter and keeps the chart focused on currently relevant liquidity structures rather than a permanently accumulating archive of old levels.
A third differentiator is presentation. The script is designed to produce a clean forward projection area with right-extending heat bands, readable labels, Fire / Ice theme control, a functional heatmap panel, and an optional EQ Magnet line that tracks the balance area between the nearest active upper and lower liquidity bands. The goal is not only analytical clarity, but also a chart layout that remains readable during live use.
Methodology
1) Pivot detection
The script first identifies pivot highs and pivot lows using user-defined left and right pivot lengths. These pivots are treated as candidate liquidity reference points.
2) Cluster merging
If a new pivot forms close enough to an existing level, based on an ATR-driven merge distance, the script merges that information into the existing zone rather than creating unnecessary duplication. This allows nearby pivots to accumulate into a stronger composite band.
3) Heat scoring
Each zone receives a heat score. Repeated clustering increases that score. When volume weighting is enabled, pivots formed with relatively stronger volume can contribute more heavily to the final score. This does not reveal actual order book liquidity, but it can provide a useful proxy for where market attention and stop concentration may be stronger.
4) Layered rendering
Each active zone is rendered as a multi-layer horizontal band. The band thickness and saturation scale with heat score, which makes stronger zones visually heavier than weaker ones. This helps the chart communicate intensity without requiring the user to read every value manually.
5) Liquidity lifecycle
When price reaches a zone, the script can either fade it or remove it depending on the selected extinguish mode. Optional mitigation tracking can leave a visual reminder of where liquidity was taken. This behavior is important because it keeps the heatmap adaptive rather than static.
6) Balance tracking
When both upper and lower active liquidity bands are available, the script can display an EQ Magnet line between the nearest bands. This is not a target call. It is a contextual balance reference that can help visualize the midpoint of the currently nearest active liquidity field.
States & Visual Elements
- Fire bands represent upper liquidity concentration derived from pivot highs.
- Ice bands represent lower liquidity concentration derived from pivot lows.
- Stronger zones become visually denser and more prominent as heat score rises.
- Zone labels display side, heat score, and price information in either compact or detailed mode.
- The Heatmap Panel summarizes active band count, nearest zones, strongest zones, heat balance, last sweep information, and the current extinguish behavior.
- The EQ Magnet line highlights the midpoint between the nearest active upper and lower bands when enabled.
- Optional mitigation tracks can remain on the chart after liquidity is taken.
How to use it
This script is generally most useful as a context layer.
Many traders may choose to use it in one of three ways:
- to map where price may interact with nearby liquidity concentration,
- to judge whether the closest active field is above or below current price,
- to avoid taking impulsive decisions directly into dense opposing liquidity.
The script can also be useful for chart organization. Traders who already use trend tools, structure tools, or trigger models may use the heatmap as a location filter. For example, a setup forming directly into a strong opposing liquidity band may deserve more caution than a setup developing in cleaner space.
Key Inputs
Pivot Left / Right Bars
Controls how pivots are detected. Smaller values can produce more frequent zones; larger values can make the structure more selective.
Cluster Merge Distance (ATR)
Defines how close pivots must be to merge into the same liquidity band. Lower values keep zones more separated; higher values create broader clustering.
Volume-Weighted Mode
Allows higher-volume pivots to contribute more strongly to heat score. This is a proxy weighting mechanism, not direct order-flow confirmation.
Minimum Heat Score To Show
Filters out weaker zones from the visual display.
Visual Saturation Score
Controls how quickly the visual intensity reaches its maximum appearance.
Base Band Height and Horizontal Band Density
Shape the visual footprint of each zone and determine how rich or minimal the rendered band structure appears.
Label controls
Allow the user to choose label mode, font size, theme, label offsets, and label density.
Panel controls
Allow the user to change panel visibility, location, theme, and font size.
Liquidity Taken Behavior
Determines whether mitigated zones fade or are removed.
Limitations & Transparency
This script does not access order book data, exchange liquidation feeds, or hidden liquidity information. The displayed heatmap is derived from chart-based pivot clustering and optional volume weighting. For that reason, the bands should be understood as technical liquidity proxies rather than direct measurements of real resting orders.
The heat score is also relative to the script's own internal logic. It is a ranking mechanism inside this model, not an absolute market-wide score. A higher score means a zone has accumulated more structural weight within the selected settings; it does not guarantee a reaction.
Like any chart tool based on pivots, the behavior of the script depends on the chosen timeframe, the selected sensitivity inputs, and the structure of the instrument being analyzed. Lower timeframes can create more noise, while higher timeframes can produce fewer but broader zones.
The EQ Magnet line is a contextual midpoint reference only. It should not be interpreted as a fixed target, a required destination, or a directional forecast.
Risk Disclosure
This script is a visual analysis tool for chart study and trade planning. It is not financial advice, not an execution system, and not a promise of future price behavior. Liquidity zones can fail, be overrun, or be ignored by price entirely.
No indicator should be used in isolation. Traders should consider market structure, volatility, risk management, execution quality, and their own process before making trading decisions. Always test settings carefully and use position sizing appropriate to your own risk tolerance.
อินดิเคเตอร์

AG Pro Reversal Pattern Quality Scanner [AGPro Series]AG Pro Reversal Pattern Quality Scanner
Overview / What it does
AG Pro Reversal Pattern Quality Scanner is an overlay tool designed to detect and visualize selected classical reversal structures directly on the chart while adding a structured quality layer to each valid setup. The script focuses on four widely recognized reversal formations: Double Top, Double Bottom, Head & Shoulders, and Inverse Head & Shoulders.
Instead of marking every possible structural resemblance, the script applies a filtered detection workflow based on pivot structure, pattern width, peak or trough equality, pullback depth, neckline logic, and an internal quality model. The goal is not simply to identify a shape, but to highlight formations that display more balanced structure and more usable context.
Each detected pattern can be displayed with a pattern box, a projected neckline, and a quality label that summarizes the pattern type, directional bias, quality score, and grade. This makes the script suitable for traders who want a structured visual map of potential reversal zones rather than a raw pattern-highlighting tool with no ranking logic.
The indicator is built for chart reading and workflow support. It does not attempt to forecast future price movement with certainty, and it should not be interpreted as a standalone trade system. Its role is to help users organize reversal structures, compare them visually, and focus on higher-quality formations when reviewing price action.
Unique Edge
The main distinction of this script is that it does not treat all reversal patterns as equivalent. A detected pattern is further evaluated through a composite quality framework that considers structural symmetry, pullback depth, and volume behavior during formation and break conditions.
For Double Top and Double Bottom structures, the script checks whether the two peaks or troughs remain sufficiently close to each other within a defined tolerance and whether the intermediate pullback is large enough to make the structure meaningful. For Head & Shoulders and Inverse Head & Shoulders structures, the script evaluates shoulder symmetry, time symmetry, and relative positioning of the head against the shoulders.
The volume component is not used as a promise of confirmation. It is used as an additional contextual factor inside the quality score. In general terms, contracting volume during formation and stronger participation during the break candidate can improve the overall score when those conditions are present.
Another important part of the design is visual prioritization. The script does not only draw the structure. It also attempts to keep the chart readable by organizing labels, neckline extensions, and pattern boxes in a way that preserves interpretation. The result is a cleaner reversal-pattern map that aims to be more practical than a simple shape detector.
Methodology
The script begins with swing pivot detection. These pivots act as the structural foundation for all pattern candidates. Once enough pivot highs and lows are available, the script evaluates whether recent pivot sequences fit the requirements of one of the supported reversal structures.
For Double Top detection, the script checks whether two recent highs are similar enough, whether the interim low forms a valid neckline reference, whether the pattern width stays within defined limits, and whether price has broken below the neckline. For Double Bottom detection, the logic is mirrored on the bullish side through two similar lows, an interim high as the neckline reference, and a bullish break condition above that neckline.
For Head & Shoulders detection, the script evaluates a sequence of three pivot highs where the middle high must exceed the two shoulders. It then estimates neckline structure from the lows between those highs and applies symmetry and pullback checks before accepting the setup. Inverse Head & Shoulders applies the same structural concept in reverse using pivot lows.
After a valid break condition is detected, the script calculates a composite quality score. This score is based on user-controlled weights for volume behavior, symmetry, and pullback depth. The final output is normalized into a 1 to 10 quality scale, then translated into a grade label for easier scanning.
Signals & Alerts
The script can generate pattern-based alert conditions for:
- Double Top
- Double Bottom
- Head & Shoulders
- Inverse Head & Shoulders
These alerts are tied to the script’s internal structural conditions and neckline break logic. As with any chart-based alert workflow, users should confirm that the selected settings match their market, timeframe, and execution style.
Visual output can include:
- Pattern boxes
- Neckline lines
- Neckline labels
- Pattern quality labels
- Break candle highlighting
- Information panel with detection statistics
The quality label is intended to summarize the detected structure, not to guarantee outcome quality. A higher score means the pattern aligned more closely with the script’s internal criteria. It does not mean the setup must succeed.
Key Inputs
The script includes adjustable inputs for both detection behavior and presentation. Key controls include:
- Swing Pivot Length
- Peak / Trough Equality tolerance
- Minimum Pullback Between Peaks or Troughs
- Minimum and Maximum Pattern Width
- Minimum Quality to Display
- Weighting of volume, symmetry, and pullback depth inside the quality score
- Box, neckline, and pattern-label visibility
- Global label size
- Panel font size
- Panel position
- Neckline extension length
- Pattern-specific alert toggles
These controls make it possible to adapt the scanner to different chart densities, volatility profiles, and personal visual preferences.
Limitations & Transparency
This indicator is a rule-based pattern scanner. It is not a predictive engine, and it does not claim that all detected formations will lead to continuation or reversal. Classical chart structures can fail, invalidate, or behave differently depending on volatility, trend strength, liquidity conditions, timeframe, and broader market context.
Pattern recognition on live charts is inherently sensitive to pivot settings and bar structure. Small changes in pivot length, equality tolerance, or minimum pullback can materially change how many formations appear. Because of that, users should treat the script as a configurable analytical framework rather than a universal template.
The quality score is an internal ranking model built from the script’s own criteria. It is meant to help compare setups inside the same framework. It should not be interpreted as an objective probability model, a performance promise, or a substitute for independent trade management.
Volume analysis also depends on the reliability and characteristics of the symbol’s reported data. On some instruments, volume may be less informative or behave differently than expected. Users should evaluate this in the context of their own market.
Risk Disclosure
This script is provided for chart analysis, workflow organization, and educational use. It does not provide financial advice, investment advice, or guaranteed trade signals. All trading and investment decisions remain the sole responsibility of the user.
Reversal patterns can fail even when they appear clean and well-structured. Breaks can reverse, neckline moves can trap participants, and high-scoring formations can still underperform. Risk management, confirmation process, position sizing, and overall strategy design remain essential.
Use this tool as a structured visual aid inside a broader decision-making process, not as a standalone reason to enter or exit a position. อินดิเคเตอร์

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.
อินดิเคเตอร์
