مؤشر

Liquidity Intelligence Entry SystemLiquidity Intelligence System
Liquidity Intelligence System is a liquidity-based market analysis framework designed around one central idea:
market movement is often shaped by liquidity pools, stop sweeps, directional bias, displacement, volatility conditions, and the quality of confluence around a signal.
This script is not designed to mark every candle, every swing, or every possible reversal. It is not intended to behave like a simple buy/sell indicator that reacts to one isolated condition. Its purpose is to detect structured liquidity events, compare multiple confluence models in the background, classify the current market regime, display signal quality, and project a visual risk/reward framework directly on the chart.
The script combines liquidity sweep detection, trend confirmation, FVG presence, volume expansion, RSI extremes, displacement behavior, market regime logic, adaptive preset modes, TP1/TP2/TP3 projection, visual liquidity mapping, and a model-performance dashboard into one organized workflow.
The goal is to help users review liquidity-based signals in a more structured way, not to promise future performance or replace independent analysis.
🔓 PUBLICATION NOTE
This script is published to provide a structured liquidity-analysis workflow.
The description is intentionally detailed because many users do not inspect every part of the Pine Script logic line by line. The purpose of this page is to explain what the script does, how its components connect, why the system is organized this way, and what limitations should be understood before using it.
The script should be treated as a decision-support and research tool. It is not financial advice, it is not an automated trading system, and it does not guarantee profitable results.
📌 OVERVIEW
At a high level, Liquidity Intelligence System does several things:
1. It detects liquidity sweep conditions around recent swing highs and swing lows.
2. It identifies buy-side liquidity and sell-side liquidity areas.
3. It can mark Equal High and Equal Low liquidity pools.
4. It changes swept liquidity levels visually once price takes them.
5. It evaluates 16 different liquidity/confluence signal models in the background.
6. It allows the user to manually choose which model should be active on the chart.
7. It prevents repeated same-direction signals from stacking unnecessarily.
8. It calculates virtual trade outcomes for each model.
9. It displays model statistics such as Trades, Win Rate, Profit Factor, Average R, and Net R.
10. It identifies the current best-performing model according to a selected metric.
11. It detects the current market regime using trend, ADX-style directional movement, ATR behavior, and candle body conditions.
12. It gives the most recent signal a Signal Quality score.
13. It displays a Signal Quality panel with a visual score bar.
14. It projects Entry, TP1, TP2, TP3, and SL levels on the chart.
15. It draws soft reward and risk zones around the active signal.
16. It provides theme modes for different chart styles.
17. It includes dynamic alert messages with signal, model, quality, regime, entry, TP, SL, and performance details.
The script is therefore not a single-purpose liquidity sweep marker. It is a multi-model liquidity intelligence and signal-review framework.
🧠 CORE IDEA
The core idea of the script is that a liquidity sweep by itself is only one part of the story.
A market may sweep a previous high or low, but that does not automatically mean the move is actionable. A sweep can lead to reversal, continuation, expansion, or false movement depending on the broader context.
For that reason, Liquidity Intelligence System does not rely on one condition alone.
Instead, it builds a layered model around the following question:
When liquidity is taken, what other evidence exists around that event?
The system can evaluate liquidity events together with:
- trend direction,
- recent FVG behavior,
- volume expansion,
- RSI extreme positioning,
- displacement strength,
- current market regime,
- and model-specific confluence.
This allows the script to compare different interpretations of the same market environment.
For example, one user may prefer simple liquidity sweeps, while another may prefer liquidity sweeps only when FVG and trend alignment are also present. The script does not force one fixed interpretation. It allows multiple models to run in the background while the user selects the model they want to display.
🧩 WHY THIS SCRIPT IS NOT A SIMPLE MASHUP
This script combines several concepts that are familiar in technical analysis and liquidity-based trading:
- swing highs and swing lows,
- liquidity sweeps,
- equal highs and equal lows,
- FVG-style imbalance logic,
- trend filters,
- volume filters,
- RSI conditions,
- displacement candles,
- ATR-based risk projection,
- dashboard statistics,
- alert messages.
These individual concepts are not unique by themselves.
The main purpose of this script is the way these elements are organized into one structured liquidity workflow:
Liquidity map
→ sweep detection
→ confluence model selection
→ market regime classification
→ signal quality scoring
→ TP1/TP2/TP3 projection
→ model-performance dashboard
→ dynamic alert system
Each part has a specific role.
- The liquidity map shows where price may be interacting with stop pools.
- The sweep engine defines the base signal event.
- The confluence models decide which extra filters should be required.
- The regime engine gives context about the current environment.
- The quality panel summarizes the last signal.
- The dashboard compares the performance of different models.
- The TP/SL projection gives a visual review structure.
- The alert system allows monitoring without constantly watching the chart.
For that reason, the script is intended as one complete liquidity-intelligence framework, not as a random collection of unrelated tools.
💧 WHAT THE SCRIPT DOES
The script begins by detecting swing-based liquidity references.
It uses recent pivot highs and pivot lows to define potential buy-side and sell-side liquidity levels.
Then it can classify and draw:
- BSL: Buy-Side Liquidity
- SSL: Sell-Side Liquidity
- EQH: Equal High liquidity
- EQL: Equal Low liquidity
When price later trades through one of these mapped levels, the script can visually mark that level as swept. This makes the liquidity map more informative because old untouched levels and swept levels are no longer displayed the same way.
After the liquidity engine identifies sweep conditions, the script evaluates whether the sweep qualifies under one of the available model combinations.
Those models are tested in the background, while the user chooses which one should be active on the chart.
The active model controls the visible LONG / SHORT labels and the projected Entry / TP / SL structure.
⚙️ HOW THE SCRIPT WORKS
1) LIQUIDITY SWEEP ENGINE
The script uses swing pivots to identify important recent highs and lows.
A buy-side sweep occurs when price moves above a previous swing high and then closes back below that swing high.
A sell-side sweep occurs when price moves below a previous swing low and then closes back above that swing low.
The script also checks sweep depth and wick rejection. This helps avoid treating every small break of a level as an equally meaningful sweep.
The sweep engine uses:
- swing pivot length,
- maximum sweep depth measured with ATR,
- rejection wick ratio,
- current candle structure,
- and the most recent mapped swing levels.
This base liquidity engine creates the foundation for all model combinations.
2) BSL / SSL LIQUIDITY MAP
The script can draw liquidity levels directly on the price chart.
The map may include:
- BSL above swing highs,
- SSL below swing lows,
- EQH when similar highs form near each other,
- EQL when similar lows form near each other.
The liquidity map is designed to be selective rather than excessive.
A quality mode controls how many levels are displayed:
- Balanced: more levels,
- Conservative: cleaner default view,
- Strict: fewer but more selective levels.
The script also limits the maximum number of active liquidity lines so the chart does not become overloaded.
3) SWEPT LIQUIDITY VISUAL STATE
When price reaches a mapped liquidity level, the script can mark that line as swept.
A swept liquidity line changes visually:
- the line becomes grey,
- the style changes,
- the label changes to SWEPT.
This makes it easier to distinguish active liquidity pools from liquidity that has already been taken.
This visual behavior is important because liquidity levels are not static forever. Once price has interacted with a level, its meaning may change.
4) EQUAL HIGH / EQUAL LOW LOGIC
The script can detect similar high or low points using an ATR-based tolerance.
Equal highs can represent a potential buy-side liquidity pool.
Equal lows can represent a potential sell-side liquidity pool.
Because instruments have different volatility, the tolerance is not fixed in raw price terms. It is scaled with ATR.
This makes the EQH / EQL logic more adaptive across different markets and timeframes.
🧠 16 MODEL SYSTEM
The script includes 16 model combinations.
These models are evaluated in the background:
1. LQ
2. LQ + Trend
3. LQ + FVG
4. LQ + Volume
5. LQ + RSI
6. LQ + Displacement
7. LQ + Trend + FVG
8. LQ + Trend + Volume
9. LQ + Trend + RSI
10. LQ + Trend + Displacement
11. LQ + FVG + Volume
12. LQ + FVG + RSI
13. LQ + FVG + Displacement
14. LQ + Volume + RSI
15. LQ + Trend + FVG + Volume
16. LQ + Trend + FVG + Volume + RSI + Displacement
The user can choose one active model from the settings.
The active model is the one that controls the visible chart signals.
The other models still run in the background for dashboard comparison.
This is one of the main ideas of the script: the user does not have to guess which confluence combination is currently performing better. The dashboard can compare the models over the visible historical calculation period.
📈 TREND COMPONENT
The trend component compares a fast EMA and a slow EMA.
If the fast EMA is above the slow EMA, the script treats the trend condition as bullish.
If the fast EMA is below the slow EMA, the script treats the trend condition as bearish.
This does not mean the EMA lines have to be plotted on the chart. They can work silently as internal filters.
When a model uses Trend, the liquidity signal must align with the EMA-based directional condition.
🟩 FVG COMPONENT
The FVG component checks for recent imbalance-style behavior.
The script identifies bullish and bearish FVG-style conditions and then checks whether such a condition has occurred within a recent lookback window.
This allows models such as:
- LQ + FVG,
- LQ + Trend + FVG,
- LQ + FVG + Volume,
- LQ + FVG + Displacement,
to require liquidity behavior together with recent imbalance context.
The FVG logic in this version is used as a filter and confluence component. It is not presented as a full FVG box-management system.
🔊 VOLUME COMPONENT
The volume component compares current volume against a volume moving average.
When current volume exceeds the selected volume average by the chosen multiplier, the script treats it as a volume expansion condition.
This can help models focus on sweeps that occur with stronger activity.
Volume is not used as proof of future direction. It is used as one additional context layer.
📉 RSI COMPONENT
The RSI component allows the script to include oscillator conditions in selected models.
For long models, RSI can be required to be near or below a selected lower threshold.
For short models, RSI can be required to be near or above a selected upper threshold.
This allows RSI to function as a contextual filter around liquidity events rather than as a standalone signal generator.
⚡ DISPLACEMENT COMPONENT
The displacement component checks whether the signal candle has enough body strength relative to ATR and total candle range.
A bullish displacement condition requires:
- bullish candle body,
- minimum body size relative to ATR,
- minimum body ratio inside the candle range.
A bearish displacement condition uses the opposite candle direction.
This helps identify signals where the sweep is followed by stronger directional candle behavior.
🧠 MARKET REGIME DETECTION
The script includes a market regime engine.
It classifies the current environment into states such as:
- Trend Up
- Trend Down
- Range
- Choppy
- High Vol
- Low Vol
- Neutral
The regime engine uses:
- directional movement logic,
- ADX-style trend strength,
- EMA trend direction,
- ATR compared to its average,
- candle body ratio behavior.
The purpose of this engine is to provide context.
A liquidity sweep in a trending market is not the same as a liquidity sweep in a range.
A signal during choppy conditions may require more caution than a signal during clean directional expansion.
The regime output is also used in the Signal Quality framework.
⭐ SIGNAL QUALITY SCORE
The Signal Quality score is a 0–100 style scoring framework.
The score is designed to summarize the most recent signal’s contextual quality.
It can consider:
- whether the signal is a valid liquidity event,
- whether the selected model’s trend condition is satisfied,
- whether the selected model’s FVG condition is satisfied,
- whether the selected model’s volume condition is satisfied,
- whether the selected model’s RSI condition is satisfied,
- whether the selected model’s displacement condition is satisfied,
- whether the market regime supports or conflicts with the signal direction.
The important detail is that the score is connected to the active model.
For example:
If the active model is LQ + FVG, FVG matters more directly.
If the active model is LQ + Volume, volume matters more directly.
If the active model is LQ + Trend + FVG + Volume, all of those conditions become part of the model-specific score.
This helps avoid a generic score that ignores the selected model’s logic.
📊 SIGNAL QUALITY PANEL
The Signal Quality panel displays a compact summary of the last signal.
It can show:
- current regime,
- market bias,
- last signal side,
- active model,
- signal score,
- mini score bar,
- alignment state.
The score bar is included to make the quality reading easier to review visually.
Example format:
Score: 78/100
Bar: ████████░░
This panel is not intended to guarantee that a signal will work. It simply summarizes how much contextual evidence was present when the signal appeared.
📊 MODEL DASHBOARD
The main dashboard compares the 16 models.
It includes:
- Trades
- WR
- PF
- Avg R
- Net R
- Active model row
- Best system row
The dashboard is meant for internal review.
It does not represent broker-executed trades. It is a virtual model-testing layer based on the script’s signal and TP/SL rules.
The dashboard helps the user compare whether one model is currently producing cleaner historical behavior than another, but it should not be interpreted as a guarantee that the same behavior will continue.
🏆 BEST SYSTEM ROW
The script can identify a Best System based on the selected metric.
The user can choose the best-system metric from:
- Net R
- Profit Factor
- Average R
- Win Rate
The system also uses a minimum trade count before a model can qualify for the Best row.
This is important because a model with only one or two trades can look misleading. The minimum trade threshold helps reduce the chance of highlighting a model with too little sample size.
🎛️ PRESET MODES
The script includes preset modes.
Available presets:
- Manual
- Scalping
- Intraday
- Swing
- Conservative
- Aggressive
- Funded Account Safe
The default preset is Intraday.
Preset modes do not simply change the name of the setting. They adjust internal effective values such as:
- TP / SL behavior,
- maximum bars in trade,
- sweep depth sensitivity,
- rejection requirement,
- FVG recency,
- volume multiplier,
- displacement requirements.
Manual mode allows the user to control the underlying settings directly.
Presets are included to make the script easier to adapt to different trading styles without requiring every setting to be adjusted one by one.
🎨 THEME SYSTEM
The script includes three visual themes:
Emerald Dark
A dark premium style using green and teal accents.
Crimson Pro
A more aggressive dark theme using red and high-contrast signal colors.
Ice Minimal
A cleaner light-style theme with black text and softer blue/grey visual structure.
The theme affects visual elements such as:
- dashboard colors,
- selected model row,
- best-system row,
- TP/SL/Entry line colors,
- TP/SL/Entry labels,
- reward and risk boxes.
The purpose is to make the same system usable across different chart backgrounds and visual preferences.
🎯 ACTIVE TRADE PROJECTION
When the active model produces a new signal, the script can project a visual trade framework.
The chart may display:
- Entry line
- TP1 line
- TP2 line
- TP3 line
- SL line
- reward zone
- risk zone
- price labels next to each level
The projected levels are based on risk multiples.
Default structure:
- TP1 = 1R
- TP2 = 2R
- TP3 = 3R
- SL = 1R risk
The user can adjust TP1, TP2, and TP3 R multiples from settings.
The projected structure is designed for review and visualization. It should not be treated as an instruction to enter a live trade without additional analysis and risk management.
🟢 TP / SL BACKTEST LOGIC
The script’s virtual testing engine is aligned with the TP1 / TP2 / TP3 structure.
If TP3 is reached, the virtual result is recorded using the selected TP3 R multiple.
If SL is reached, the result is recorded as -1R.
If the trade expires before TP3 or SL, the script can use the highest reached TP level or the open R result depending on what happened.
This creates a more consistent link between what appears visually on the chart and what the dashboard is evaluating.
Same-bar TP/SL behavior is handled by a conservative option. If both TP and SL appear to be hit during the same candle, the user can choose to count that situation conservatively.
🔁 NO CONSECUTIVE SAME-DIRECTION SIGNALS
The script includes a same-direction signal filter.
If a model produces a long signal, it will not keep printing long signals repeatedly until an opposite short signal occurs.
Likewise, if a model produces a short signal, it will not keep printing short signals repeatedly until an opposite long signal occurs.
This helps reduce repeated label clutter and makes the signal stream easier to review.
🚨 PRO ALERT SYSTEM
The script includes dynamic alert messages.
The alert message can include:
- signal side,
- active model,
- preset mode,
- quality score,
- market regime,
- alignment,
- entry price,
- TP1,
- TP2,
- TP3,
- SL,
- active model WR,
- active model PF,
- active model Avg R,
- active model Net R.
The script supports Text and JSON-style alert formats.
Important usage note:
To use the full dynamic Pro Alert message, create the TradingView alert with:
Condition: Liquidity Intelligence System
Option: Any alert() function call
The regular alertcondition messages are fallback static alerts.
🧭 WHAT APPEARS ON THE CHART
Depending on settings, the script may display:
- LONG / SHORT labels,
- BSL liquidity lines,
- SSL liquidity lines,
- EQH liquidity lines,
- EQL liquidity lines,
- SWEPT liquidity labels,
- Entry line,
- TP1 line,
- TP2 line,
- TP3 line,
- SL line,
- reward area box,
- risk area box,
- price labels beside Entry / TP / SL,
- main model dashboard,
- Signal Quality dashboard.
This design is intentional.
The chart shows liquidity structure, active model signals, projected risk/reward, and review statistics in one organized view.
🧪 HOW TO USE THE SCRIPT
A practical workflow:
1. Add the script to your chart.
2. Start with the default Intraday preset.
3. Choose a theme that fits your chart background.
4. Select the active model you want to display.
5. Review the liquidity map: BSL, SSL, EQH, and EQL.
6. Wait for a liquidity sweep signal from the active model.
7. Check the Signal Quality panel.
8. Check the market regime and alignment state.
9. Review the Entry / TP1 / TP2 / TP3 / SL projection.
10. Compare the active model to the other models in the dashboard.
11. Use alerts if you want to monitor signals automatically.
12. Validate settings across the specific instruments and timeframes you actually trade.
The script is best used as a structured review framework, not as a blind execution system.
⚙️ SETTINGS REFERENCE
Manual Model Selection
- Active Signal Model: selects which of the 16 models appears on the chart.
- Preset Mode: selects the effective behavior profile.
- Show Active Model Labels: enables/disables signal labels.
- Signal Label Style: controls how much information appears in signal labels.
- LONG / SHORT Label Size: controls signal label size.
Virtual Trade Test
- ATR Length: ATR basis for risk calculations.
- Virtual TP ATR Multiplier: used in manual/preset logic where applicable.
- Virtual SL ATR Multiplier: used to define risk distance.
- TP1 R Multiple: first target multiple.
- TP2 R Multiple: second target multiple.
- TP3 R Multiple: third target multiple.
- Max Bars In Virtual Trade: maximum duration of virtual trade.
- If TP and SL Hit Same Candle, Count As Loss: conservative same-bar handling.
Liquidity Sweep
- Swing Pivot Length: pivot sensitivity.
- Max Sweep Depth ATR: maximum allowed sweep depth.
- Minimum Rejection Wick Ratio: wick rejection requirement.
- Show BSL / SSL Liquidity Lines: enables liquidity map.
- Show Equal High / Equal Low Lines: enables EQH/EQL.
- Liquidity Line Limit: maximum active liquidity lines.
- Liquidity Map Quality: controls how selective the liquidity map is.
- Equal High / Low Tolerance ATR: ATR-scaled equality tolerance.
Confirmation Filters
- Fast EMA Length: trend filter fast EMA.
- Slow EMA Length: trend filter slow EMA.
- EMA Source: source used for EMA calculations.
- Minimum FVG Size ATR: minimum FVG size filter.
- FVG Recent Bars: how recently FVG must have appeared.
- Volume SMA Length: volume baseline.
- Volume Spike Multiplier: volume expansion threshold.
- RSI Length: RSI calculation length.
- RSI Long Threshold: RSI condition for long models.
- RSI Short Threshold: RSI condition for short models.
- Minimum Displacement Body ATR: minimum displacement body size.
- Minimum Displacement Body Ratio: minimum body-to-range ratio.
Market Regime & Quality
- Show Signal Quality Table: enables/disables quality panel.
- Regime ADX Length: directional movement calculation length.
- Trend ADX Threshold: trend-strength threshold.
- Range ADX Threshold: range-condition threshold.
- Regime ATR Average Length: ATR baseline for volatility regime.
- High Volatility ATR Multiplier: high-volatility threshold.
- Low Volatility ATR Multiplier: low-volatility threshold.
- Choppy Body Ratio Threshold: body-ratio condition for choppy regimes.
Dashboard & Visuals
- Show Model Dashboard: enables/disables model comparison dashboard.
- Theme: selects Emerald Dark, Crimson Pro, or Ice Minimal.
- Dashboard Size: controls dashboard text size.
- BEST System Metric: selects best-system ranking logic.
- Minimum Trades For BEST Row: minimum sample size for best-system qualification.
Pro Alerts
- Enable Pro Alert Message: enables dynamic alert messages.
- Alert Message Format: selects Text or JSON-style format.
🧠 WHAT MAKES THIS SCRIPT ORIGINAL
This script uses familiar components such as swing highs/lows, EMA trend filters, volume comparison, RSI thresholds, ATR, and dashboard statistics.
Those components are not original by themselves.
The originality of this script lies in how those components are organized into a single liquidity-intelligence workflow:
Liquidity map
→ sweep detection
→ 16 model comparison
→ market regime classification
→ model-specific quality scoring
→ TP1/TP2/TP3 projection
→ dashboard review
→ dynamic alert output
This structure allows the script to function as a complete liquidity review environment rather than a simple signal marker.
⚠️ IMPORTANT PRACTICAL NOTES
The script’s behavior depends heavily on settings.
Signal frequency and signal quality may change based on:
- selected active model,
- preset mode,
- pivot length,
- sweep depth,
- rejection requirement,
- FVG recency,
- volume threshold,
- RSI thresholds,
- displacement settings,
- volatility conditions,
- symbol,
- timeframe.
A model that looks cleaner on one instrument may not behave the same way on another.
The dashboard is a virtual review layer. It is useful for comparing model behavior, but it should not be treated as proof of future results.
⚠️ LIMITATIONS AND SHORTCOMINGS
This script has important limitations:
- It does not guarantee profitable signals.
- It does not know future price movement.
- It does not replace risk management.
- It does not execute trades.
- It does not include broker slippage, commissions, spreads, or order-fill uncertainty.
- It uses chart data and bar-based logic.
- Same-bar TP/SL ambiguity is handled by a rule, not by true intrabar reconstruction.
- Liquidity sweeps can fail.
- FVG, trend, volume, RSI, and displacement filters can still produce false signals.
- The dashboard is historical and virtual, not a live brokerage performance report.
- Market regime classification is an analytical approximation, not an absolute truth.
- No confluence model removes all risk or uncertainty.
For these reasons, the script should be used as a structured analysis and review tool, not as a standalone trading system.
👤 WHO THIS SCRIPT MAY BE USEFUL FOR
This script may be useful for traders who:
- study liquidity sweeps,
- use smart-money-style market structure concepts,
- want BSL / SSL / EQH / EQL mapping,
- want multiple confluence models in one tool,
- want a visual TP1 / TP2 / TP3 framework,
- want a signal quality panel,
- want market regime context,
- want model comparison statistics,
- prefer organized chart-based review.
It may be less suitable for users who:
- want a fully automated trading system,
- want guaranteed buy/sell signals,
- do not use liquidity concepts,
- do not want dashboard-based review,
- prefer very minimal charts with no overlays,
- expect one model to work the same way on every market and timeframe.
🛡️ DISCLAIMER
This script is provided for educational and informational purposes only.
It does not constitute financial, investment, or trading advice.
No indicator can guarantee future results. Market conditions change, historical behavior does not ensure future behavior, and every user is responsible for their own analysis, validation, position sizing, and risk management.
Use this script as a structured decision-support and review framework, not as a promise of profitability.
مؤشر

مؤشر

Retracement Lattice [JOAT]JOAT Retracement Lattice
Introduction
JOAT Retracement Lattice is an open-source retracement and extension framework designed to turn a confirmed swing into a live working map.
It does more than place Fibonacci levels on a chart.
The script manages swing anchors, highlights the OTE pocket, overlays confirmed higher-timeframe retracement structure, shades premium and discount halves, and evaluates response quality inside the active pocket.
The problem it solves is inconsistency.
Manual retracement drawing is useful, but it can also become subjective very quickly.
Anchors are often moved emotionally.
Higher-timeframe confluence is ignored.
The midpoint is overlooked.
The response inside the retracement is treated as equivalent even when it is not.
Retracement Lattice standardizes the active swing and continuously updates the derived structure.
That creates a cleaner framework for pullback analysis, continuation planning, and location-based decision making.
Core Concepts
1. Confirmed Swing Anchor Engine
The lattice begins with a confirmed swing.
Pivot logic and anchor-state management determine which high and low form the active range.
pivotHigh = ta.pivothigh(high, pivotLen, pivotLen)
pivotLow = ta.pivotlow(low, pivotLen, pivotLen)
2. Full Retracement Stack
The script calculates a broad set of retracement and extension levels rather than only the most common ones.
fib236 = levelAt(0.236)
fib382 = levelAt(0.382)
fib500 = levelAt(0.500)
fib618 = levelAt(0.618)
fib705 = levelAt(0.705)
fib786 = levelAt(0.786)
3. OTE Pocket Emphasis
The 0.618 to 0.786 region is emphasized as the main response pocket.
4. Higher-Timeframe Confluence
A confirmed higher-timeframe lattice is projected alongside the local one.
5. Premium and Discount Shading
The upper and lower halves of the swing are shaded relative to the midpoint.
6. Extension Objectives
The active swing also provides continuation targets beyond the range.
7. Response Qualification
The script evaluates whether price is reacting constructively inside the active pocket.
8. Chart-Edge Guidance
Labels and projected guide objects keep the live map readable near the right edge of the chart.
Features
Confirmed anchor-state engine: stable swing selection using pivot confirmation
Expanded retracement stack: 0.236, 0.382, 0.500, 0.618, 0.705, and 0.786
OTE pocket emphasis: the main response zone is highlighted
Extension objectives: continuation levels project beyond the swing
Higher-timeframe confluence: confirmed HTF lattice is shown
Premium / discount shading: auction halves are visible at a glance
Response qualification: pocket interaction is graded instead of assumed
Object-managed edge labels: the current range stays readable
Dashboard: anchor direction, confluence, and pocket state are summarized
Input Parameters
Swing Anchor:
Swing Lookback
Pivot Length
Reverse Orientation
Volume-Validated Pivots
Volume Baseline
Volume Threshold
Higher Timeframe / Display:
Show Higher Timeframe Grid
Higher Timeframe
Show Classic Retracements
Show Minor Levels
Show OTE Band
Show Extensions
Show Dashboard
Confluence Tolerance
Shade Auction
How to Use This Indicator
Step 1: Identify the active swing anchor pair.
Step 2: Check whether price is trading in premium or discount relative to the midpoint.
Step 3: Focus on the OTE pocket when the broader structure supports it.
Step 4: Compare the local lattice to the confirmed higher-timeframe lattice.
Step 5: Use the extensions to organize continuation targets after response.
Indicator Limitations
Anchors settle only after pivot confirmation, which is intentional non-repainting behavior
Strong trends can continue without deep retracement into the pocket
Confluence improves context but does not force a reaction
Retracement tools provide structure, not certainty
Originality Statement
This script is original in how it turns a retracement tool into an active framework with anchor-state management, OTE response logic, premium-discount shading, higher-timeframe confluence, and extension objectives.
The components are unified around one job:
to make pullback location more structured and less subjective.
Disclaimer
This indicator is provided for educational and informational purposes only.
It is not financial advice.
Retracement and extension levels are analytical references and do not guarantee support, resistance, or target completion.
Use risk management and independent judgment at all times.
Best Use Cases
Structuring pullback analysis after a confirmed directional swing
Comparing local retracement behavior to confirmed higher-timeframe levels
Locating the OTE pocket inside a stable swing map
Planning continuation targets with extension levels
Interpretation Notes
The midpoint is important because it quickly reveals whether price is trading in the premium or discount half of the current auction.
The OTE pocket is most useful when the broader structural narrative already supports the same directional idea.
Higher-timeframe confluence should be treated as context improvement, not as a guarantee that the level must react.
Publication Notes
This script is intended to be published with a clean chart showing the active anchor, the highlighted OTE pocket, and the higher-timeframe overlap when it exists.
The chart example should make the active swing easy to understand.
Avoid clutter from unrelated studies or excessive drawings.
-Made with passion by jackofalltrades
مؤشر

Wick Absorption Reversal Planner [AGPro Series]Wick Absorption Reversal Planner
🧠 Core Idea
Is an extended wick showing absorption, and did the candle body reclaim enough structure to treat the reversal context seriously?
📌 Overview / What it does
Wick Absorption Reversal Planner maps extended wick reactions as absorption pockets and evaluates whether price can reclaim the body rail after that reaction.
The script displays a wick absorption pocket, body reclaim rail, failure shelf, room reference, event labels, right-side tags, optional bar coloring, and a compact AG Pro dashboard with a 0-100 reversal score.
It does not predict reversals. It helps organize wick absorption, body reclaim quality, pressure, room, invalidation, and action state.
🎯 Purpose & Design Philosophy
Many candle tools label rejection candles, engulfing candles, or generic wick events.
This script was built for the next layer: whether the wick reaction is being absorbed and whether the candle body can reclaim the important zone afterward.
It helps traders separate random wick noise from a structured absorption pocket with a body reclaim rail and failure logic.
⚡ Why This Script Is Different
Most wick indicators focus on the wick itself.
This script does NOT treat every long wick as a reversal signal.
Instead, it maps the wick pocket, checks body reclaim, measures pressure and room, and gives a clear action state. The goal is interpretation, not prediction.
⚙️ Methodology
1. Wick Absorption Detection
The script checks upper and lower wick size relative to ATR and total candle range.
2. Context Mapping
The wick is compared with recent structure to avoid treating every isolated candle as meaningful.
3. Body Reclaim Evaluation
After a wick absorption pocket is detected, the body reclaim rail becomes the key threshold for reversal planning.
4. Visual Output
The chart receives the wick pocket, body reclaim rail, failure shelf, room rail, labels, right-side tags, optional bar coloring, and dashboard panel.
🗺️ How to Read the Chart
The wick absorption pocket marks the area created by the extended wick reaction.
The body reclaim rail shows the level price needs to recover for the reversal context to improve.
The failure shelf marks where the absorption context fails.
The room rail marks the nearest structure reference in the reversal direction.
Labels highlight wick absorption, body reclaim, pocket pressure, room tests, and absorption failure.
Colors represent context:
• Teal → bullish wick absorption
• Pink → bearish wick absorption or failure
• Gold → room reference or waiting context
• Indigo → pocket pressure or monitoring context
The panel summarizes:
• Pocket
• Reversal Score
• Pressure
• Room
• Action
🚦 Signals & States
• Bull Wick Absorption → lower wick absorption pocket detected
• Bear Wick Absorption → upper wick absorption pocket detected
• Body Reclaim → price reclaimed the body rail after absorption
• Pocket Pressure → price is testing the wick pocket without clean reclaim
• Room Test → price reached the active room reference
• Absorption Failed → price crossed the failure shelf
• READY → body reclaim and score quality are strong enough to monitor
• MONITOR → pocket or reclaim context is active but not fully ready
• WAIT → no strong active context exists
• INVALIDATED → the wick absorption context failed
• EXPIRED → the pocket is too old to remain active
🔔 Alerts Logic
Alerts can trigger when a bullish or bearish wick absorption pocket appears, when body reclaim appears, when READY state appears, when pocket pressure appears, when the room rail is reached, or when absorption fails.
Alerts are attention markers only. They are not trade instructions.
🧩 Confluence Logic
The context becomes stronger when wick size, wick-to-range ratio, structural location, participation, body reclaim, and room align.
For example, a lower wick into recent structure followed by body reclaim and available room is more useful than a random wick in the middle of noisy price action.
📊 When to Use
• Reversal watch areas after extended wicks
• Support/resistance reactions with visible rejection
• Pullbacks where wick absorption may matter
• Failed breakdown or failed breakout reactions
• Liquid symbols with readable candles and stable spreads
• 1h, 4h, and 1D charts where wick structure is visible
⚠️ When NOT to Use
• Very low-liquidity markets
• Symbols with unreliable candle structure
• Random spike candles from illiquid prints
• News candles with unstable spreads
• Extremely noisy ranges where every candle has exaggerated wicks
🎛️ Key Inputs
• ATR Length → controls normalization for wick size and visual spacing
• Wick Context Lookback → controls structural comparison
• Minimum Wick ATR → controls required wick size
• Minimum Wick / Range → controls required wick dominance inside the candle
• Minimum Relative Volume → filters very thin wick reactions
• Body Reclaim Buffer ATR → controls the reclaim rail threshold
• Failure Buffer ATR → controls where absorption fails
• Room Lookback → controls the room reference
• Visual settings → control pocket, rails, labels, tags, panel, and bar colors
🖥️ Interface & Visual Design
The visual hierarchy is designed around the wick pocket first, then the reclaim rail.
The pocket defines the reaction, the body reclaim rail defines improvement, the failure shelf defines risk, and the panel gives a quick state read.
The goal is a premium wick absorption map without turning the chart into a generic candle-label board.
🧪 Practical Usage Workflow
1. Check whether a wick absorption pocket is active
2. Read the reversal score and action state
3. Inspect the body reclaim rail
4. Compare pocket pressure with room
5. Watch the failure shelf
6. Confirm the context with broader structure and timeframe alignment
🔍 Interpretation Guidelines
A wick absorption pocket means the candle showed a meaningful wick reaction in context.
Body reclaim means price recovered the reclaim rail after the wick reaction.
READY means the rule-based context has enough quality to monitor.
Room is a reference for structure, not a promised target.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not a guaranteed reversal system.
It is not a generic candle pattern detector.
It is not a volume absorption zone engine.
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
Wick behavior depends on market structure, liquidity, volatility, session conditions, and timeframe.
Some long wicks are random noise.
Some absorption pockets may fail quickly.
The score is a rule-based context score, not a certainty model.
🧠 Market Context Notes
Wicks can show rejection, absorption, stop activity, or simply noise.
The key question is whether price can reclaim the body rail after the wick event.
Use the pocket as context, not as confirmation by itself.
🧾 Use Case Examples
When price prints a long lower wick into recent structure, the script can map a bullish wick absorption pocket.
If price later reclaims the body rail, the script marks body reclaim and updates the panel state.
If price loses the failure shelf, the script marks absorption failure.
🧱 System Philosophy
This script follows the AGPro Series approach: turn a familiar chart behavior into a structured decision-support map.
The focus is not prediction. The focus is wick context, body reclaim, pressure, room, invalidation 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 wick absorption 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
Do not read a wick by itself.
The strongest reads usually come when wick absorption, body reclaim, structure, participation, and room align.
مؤشر

Breakout Base Defense Planner [AGPro Series]Breakout Base Defense Planner
🧠 Core Idea
After a breakout, is the original base being defended or is price losing control back into the base?
📌 Overview / What it does
Breakout Base Defense Planner maps the structure price broke from and tracks whether the broken base edge is being defended.
The script displays the breakout base, a projected base defense zone, defense rail, failure shelf, room reference, defense labels, pressure labels, invalidation labels, right-side tags, and a compact AG Pro dashboard.
It does not predict that a breakout will continue. It helps organize the post-breakout base context: defense score, pressure, room, failure risk, and action state.
🎯 Purpose & Design Philosophy
Many breakout tools focus on the breakout candle or the first follow-through move.
This script was built for a different question: does the original base still matter after the breakout?
It helps traders separate clean base defense from weak breaks that fall back into the structure they came from.
⚡ Why This Script Is Different
Most breakout indicators highlight breakouts or target projections.
This script does NOT build a full R ladder, position planner, or generic breakout continuation system.
Instead, it focuses on the broken base itself: the base box, defense zone, pressure behavior, failure shelf, target room reference, and clear action state.
⚙️ Methodology
1. Base Detection
The script defines a recent base using completed bars and filters it by ATR-based width.
2. Breakout Lock
When price closes beyond the base edge with enough displacement and participation, the base is locked as the active reference.
3. Defense Evaluation
The broken base edge becomes a defense zone. The script checks whether price holds, pressures, or loses that zone.
4. Visual Output
The chart receives a breakout base box, defense zone, defense rail, failure shelf, room rail, labels, right-side tags, optional bar coloring, and a dashboard panel.
🗺️ How to Read the Chart
The breakout base shows the structure price broke from.
The defense zone marks the broken edge that should act as support in bullish breaks or resistance in bearish breaks.
The failure shelf marks where the base defense context fails.
The room rail marks the nearest swing-room reference beyond the breakout direction.
Labels highlight base lock, base defended, defense pressure, room tests, and base lost events.
Colors represent context:
• Teal → bullish base defense
• Pink → bearish base defense or invalidation
• Gold → room reference or waiting context
• Indigo → pressure or monitoring context
The panel summarizes:
• Base
• Defense Score
• Pressure
• Room
• Action
🚦 Signals & States
• Bull Base Breakout → price closed above the base with acceptable quality
• Bear Base Breakout → price closed below the base with acceptable quality
• Base Defended → price tested the broken edge and closed back in the breakout direction
• Defense Pressure → price is testing the defense zone without a clean hold
• Room Test → price reached the active room reference
• Base Lost → price closed beyond the failure shelf
• READY → base defense quality is strong enough to monitor
• MONITOR → price is actively testing the base defense zone
• WAIT → no strong active context exists
• INVALIDATED → the base defense context failed
• EXPIRED → the locked base is too old to remain active
🔔 Alerts Logic
Alerts can trigger when a breakout base is locked, when the base is defended, when READY state appears, when defense pressure appears, when the room rail is reached, or when the base is lost.
Alerts are attention markers only. They are not trade instructions.
🧩 Confluence Logic
The base defense context becomes stronger when the breakout base is well-sized, the breakout close has quality, the defense zone holds, participation is acceptable, and target room remains available.
When base defense and room align, the structure is cleaner. When price presses through the defense zone toward the failure shelf, the context weakens.
📊 When to Use
• After clear breakout moves
• During breakout retests
• When price returns to a broken range edge
• In trending markets where base defense matters
• On liquid symbols with readable structure and volume
• On 4h and 1D charts where base boxes remain visually clear
⚠️ When NOT to Use
• Very low-liquidity markets
• Extremely noisy sideways ranges
• Breakouts without a meaningful base
• News candles with unstable spreads
• Late moves where the base is already too far away to matter
🎛️ Key Inputs
• Base Lookback Bars → controls how the breakout base is detected
• Minimum / Maximum Base Range ATR → filters bases that are too small or too large
• Break Buffer ATR → controls how far beyond the base price must close
• Minimum Break Body Ratio → filters weak wick-only breaks
• Minimum Relative Volume → filters low-participation breaks
• Defense Zone ATR → controls the defended zone around the broken edge
• Failure Buffer ATR → controls where base defense fails
• Target Room Lookback → controls the nearest swing-room reference
• Visual settings → control boxes, rails, labels, tags, panel, and bar colors
🖥️ Interface & Visual Design
The visual design is built around the original base.
The base box provides context, the defense zone shows the key retest area, the failure shelf defines where the idea weakens, and the panel compresses the state into a quick decision-support read.
The goal is a premium, structured chart that feels like a breakout defense map, not a crowded signal board.
🧪 Practical Usage Workflow
1. Check whether a breakout base is active
2. Read the defense score and action state
3. Inspect the defense zone
4. Compare pressure with room
5. Watch the failure shelf for invalidation
6. Confirm the context with broader market structure
🔍 Interpretation Guidelines
A READY state means the base defense context has enough structure to monitor.
Defense pressure means price is testing the broken base edge and the context needs attention.
Base defended means price reacted at the edge, but it does not guarantee continuation.
Room measures available structure beyond the current price, not a promised target.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not a guaranteed breakout system.
It is not an R-ladder tool.
It is not a position sizing tool.
It is not an automated trading tool.
It does not provide financial advice.
It does not guarantee continuation, reversal, profit, or a specific target.
⚠️ Limitations & Transparency
Breakout base behavior depends on market structure, volatility, liquidity, timeframe, and participation.
Some defended bases may later fail.
Some failed bases may reclaim again later.
The score is a rule-based context score, not a certainty model.
🧠 Market Context Notes
Breakout bases often become important memory zones.
When price breaks out and later defends the original edge, the structure can remain organized.
When price falls back through the edge and failure shelf, the breakout context becomes weaker.
🧾 Use Case Examples
When price breaks above a recent base, the script locks the base and projects a defense zone around the broken edge.
If price returns to the defense zone and closes back above the edge, the script can mark base defense.
If price closes through the failure shelf, the script marks the base as lost.
🧱 System Philosophy
This script follows the AGPro Series approach: turn one important market structure question into a focused decision-support map.
The focus is not prediction. The focus is base context, defense quality, pressure awareness, failure logic, 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 breakout base defense 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
A breakout is not complete just because price leaves a base.
The quality of the first base defense can often provide more useful context than the breakout candle alone.
مؤشر

مؤشر

مؤشر

Ultimate Volume Warfare [CLEVER]Overview
Ultimate Volume Warfare is a comprehensive volume-analysis system built to study how market participation interacts with price structure, volatility, and momentum conditions across different trading environments. The indicator combines multiple layers of volume behavior into a unified analytical framework designed to help traders observe shifts in market activity with greater clarity and structure.
At its foundation, the script focuses on the relationship between price movement and trading participation rather than treating raw volume as an isolated metric. By combining pivot-based divergence analysis, adaptive volume calculations, relative volume behavior, and contextual filtering systems, the indicator attempts to highlight moments where participation characteristics begin changing beneath price action.
The system includes an advanced volume classification model inspired by participation-based market behavior. Different conditions such as climax activity, exhaustion phases, accumulation behavior, distribution pressure, absorption zones, and abnormal spike events are visually separated using dedicated color logic. This structure is designed to make changes in participation strength easier to identify during trending, ranging, and volatile market conditions.
A major component of the framework is its divergence engine, which compares confirmed swing structures in price against confirmed swing structures in volume. The script supports both regular and hidden divergence detection using pivot-based confirmation logic. Because the system relies on completed pivot structures, signals naturally appear after confirmation instead of attempting to predict unfinished market swings in real time. This confirmation-based approach is intended to reduce unstable signal behavior while preserving structural consistency.
To improve adaptability across different market conditions, the indicator uses volatility-sensitive calculations that dynamically adjust internal thresholds according to changing ATR behavior. This allows the script to react differently during low-volatility consolidation phases versus high-volatility expansion phases, helping the analytical logic remain more responsive across multiple instruments and timeframes.
The indicator also integrates relative volume analysis and spike-detection systems to identify periods where market participation exceeds normal historical behavior. Heatmap zones, spike markers, and confluence conditions are used to visually emphasize moments of unusually strong activity that may represent heightened institutional participation, aggressive momentum expansion, or temporary liquidity imbalance.
In addition to standalone volume analysis, the script supports optional confirmation filters including EMA trend alignment, ATR expansion conditions, higher timeframe participation analysis, and relative volume filtering. These layers are designed to provide broader contextual alignment before signals become visible, helping reduce weaker market conditions where participation structure may lack consistency.
The higher timeframe module introduces an additional contextual layer by comparing current higher timeframe participation against its own historical average behavior. This helps users observe whether broader participation conditions are expanding or contracting while operating on lower execution timeframes. The script uses non-lookahead calculations to reduce misleading historical behavior as much as possible within Pine Script limitations.
The interface is designed as a full analytical environment rather than a minimal signal generator. Divergence structures, classification coloring, spike visualization, confirmation ribbons, confluence markers, RVOL heatmaps, and statistical dashboards all work together to provide layered insight into changing participation behavior across the chart.
Ultimate Volume Warfare is intended for educational and analytical chart-study purposes only. The script does not predict future market direction or guarantee trading performance. All signals and classifications should be interpreted within broader market context, liquidity conditions, volatility structure, and individual risk management practices.
Core Concept
The core concept behind Ultimate Volume Warfare is the idea that market participation often provides additional context beyond price movement alone. Instead of treating volume as a simple confirmation tool, the script approaches volume as a dynamic behavioral component that can be analyzed alongside volatility, structure, momentum, and multi-timeframe conditions to study how market activity evolves during different phases of price action.
The framework is built around the relationship between price swings and participation strength. The script continuously evaluates whether volume behavior is supporting, weakening, accelerating, or diverging from underlying price movement. By comparing confirmed pivot structures in both price and volume, the system attempts to identify areas where participation characteristics begin changing relative to market structure. This divergence-based methodology is designed to study the interaction between directional movement and participation intensity rather than attempting to forecast exact future outcomes.
A major part of the system focuses on contextual volume interpretation. Instead of using a single static threshold, the indicator separates participation into multiple behavioral categories such as climax activity, exhaustion behavior, absorption conditions, accumulation pressure, distribution pressure, and abnormal spike events. Each classification attempts to represent a different form of participation environment occurring inside the market. The objective is not to label market direction with certainty, but to help visualize how trading activity changes during expansion, compression, continuation, or reaction phases.
The script also emphasizes adaptive behavior rather than rigid calculations. Market volatility changes constantly across assets and timeframes, so the indicator uses ATR-sensitive normalization logic to dynamically adjust several internal thresholds. This allows participation conditions to scale differently during high-volatility expansion phases compared to quieter consolidation environments. By adapting to changing volatility structures, the system attempts to maintain analytical consistency across multiple market conditions.
Another foundational concept within the framework is confluence analysis. Instead of relying on a single event to generate chart signals, the indicator can combine multiple contextual layers such as divergence confirmation, relative volume expansion, higher timeframe participation state, volatility filters, EMA alignment, and spike activity. The goal of this layered structure is to provide broader analytical context around participation behavior rather than reducing market analysis to isolated signals.
The indicator also incorporates relative volume analysis to compare current activity against historical participation averages. This helps highlight areas where current market engagement exceeds normal conditions, which may indicate periods of stronger liquidity, increased attention, or temporary participation imbalance. Heatmap zones, spike markers, and confluence visuals are designed to make these changes easier to identify visually during active market conditions.
Higher timeframe participation analysis adds another contextual dimension to the system. By comparing higher timeframe volume against its own average conditions, the framework attempts to provide additional insight into whether broader market participation is expanding or declining while traders operate on lower execution timeframes. This multi-timeframe structure is intended to improve contextual awareness without relying solely on local chart activity.
The overall design philosophy of Ultimate Volume Warfare is centered around structured market observation rather than predictive certainty. The script is designed to organize complex participation behavior into a visual analytical environment where users can study the interaction between volume, volatility, and structure through multiple synchronized layers of confirmation and contextual filtering.
Because the system relies on confirmed pivot structures and historical participation calculations, certain signals may naturally appear after structural confirmation has occurred. This behavior is part of the confirmation-based methodology used throughout the framework and helps reduce unstable live-candle behavior that can occur when analyzing unfinished market structures.
Key Features — Ultimate Volume Warfare
Advanced Volume Classification Engine
The indicator uses a layered volume analysis system designed to separate normal market participation from abnormal activity. Instead of displaying raw volume alone, the script classifies volume behavior into multiple conditions such as Climax Volume, Exhaustion, Accumulation, Distribution, Absorption, and Spike Events. This allows traders to visually identify changing market participation and potential momentum transitions with greater clarity. The classification system dynamically adapts to volatility conditions, helping the indicator remain responsive across different assets and market environments.
Adaptive Volume Moving Average System
A customizable volume moving average is integrated to help smooth market activity and identify shifts in participation strength. Users can choose between a traditional SMA-based approach or an adaptive ALMA smoothing method for more responsive volume tracking. This adaptive behavior helps reduce unnecessary noise while still reacting efficiently during periods of increased market activity.
Volume Divergence Detection
The script includes a pivot-based divergence engine that compares price structure against volume structure. By monitoring the relationship between swing highs/lows and underlying participation strength, the indicator highlights both regular and hidden divergence conditions. These divergence signals are confirmation-oriented and rely on completed pivot structures, which helps reduce impulsive or premature signaling behavior.
Multi-Layer Signal Filtering
To improve signal quality, the indicator supports several optional filters including EMA trend filtering, ATR-based volatility filtering, volume threshold filtering, and higher timeframe confirmation logic. These filters allow users to align signals with broader market conditions rather than relying solely on isolated volume behavior. The layered filtering approach is designed to support structured analysis workflows across multiple trading styles.
Higher Timeframe Volume Analysis
The integrated MTF (Multi-Timeframe) system evaluates higher timeframe volume conditions alongside the active chart timeframe. This helps traders observe whether participation is expanding or declining on broader market structures. By combining local chart activity with higher timeframe volume context, the indicator attempts to provide a more balanced interpretation of market participation.
Relative Volume Heatmap Zones
The indicator contains an optional RVOL heatmap system that visually highlights periods where relative volume exceeds predefined thresholds. These zones help identify areas of increased participation, heightened volatility, or potential institutional activity. The heatmap acts as an additional contextual layer rather than a standalone trading trigger.
High Confluence Signal Detection
A specialized confluence system combines divergence conditions with advanced volume classifications such as spikes, absorption, and climax activity. When multiple internal conditions align simultaneously, the script highlights stronger confluence zones for additional visual awareness. This feature is intended to assist with market structure observation rather than guarantee directional outcomes.
Dynamic Visual Structure
The script includes extensive visual customization including adaptive colors, divergence lines, spike markers, chart overlays, confirmation ribbons, signal labels, and statistical tables. The design focuses on improving readability while allowing users to personalize the visual experience according to their workflow and charting preferences.
Real-Time Statistical Monitoring
Built-in statistical tables provide ongoing tracking of daily and weekly signal activity, volume distribution, relative volume values, and higher timeframe participation states. These panels are designed to help users monitor evolving market behavior directly from the chart without requiring separate tools or calculations.
Confirmation-Based Logic Design
The overall architecture prioritizes confirmation-oriented behavior rather than predictive forecasting. Many components rely on completed pivot structures, confirmed candle states, and finalized volume conditions before generating visual outputs. Because of this structure, some delay may naturally occur in signal plotting, particularly during divergence analysis. This behavior is expected and reflects the script’s emphasis on structural confirmation instead of instant projection.
How It Works — Ultimate Volume Warfare
The indicator works as a multi-layer volume intelligence system that combines raw volume, price structure, volatility, and higher-timeframe context into a single analytical framework. Instead of treating volume as a simple histogram, it reconstructs market behavior by classifying participation, detecting structural shifts, and validating signals through confirmations.
1. Volume Foundation Layer
At the core, the script continuously reads raw market volume and compares it against a 50-period average volume baseline. From this it calculates relative volume (RVOL), which becomes the foundation for most logic decisions. This step helps the system understand whether current activity is normal, elevated, or extreme compared to recent history.
2. Adaptive Volatility Normalization
Market conditions are not fixed, so the indicator adjusts sensitivity using ATR-based volatility scaling. When volatility expands, thresholds become more relaxed; when volatility contracts, thresholds become tighter. This prevents false signals during erratic or quiet market phases and keeps behavior consistent across different market regimes.
3. Volume Behavior Classification Engine
Each candle’s volume is categorized into behavioral states rather than just numbers:
Climax → Extremely high participation (possible exhaustion zones)
Absorption → High volume but limited price movement (smart money activity)
Exhaustion → Weak follow-through after heavy participation
Accumulation / Distribution → Directional pressure with controlled flow
Spike Events → Sudden abnormal participation bursts
This layer transforms raw volume into market intent interpretation.
4. Structure-Based Divergence System
The indicator uses pivot-based swing detection (confirmed highs and lows) to compare:
Price swings (structure)
Volume swings (participation)
If price makes a new extreme but volume fails to confirm (or reverses behavior), it generates:
Regular Divergence (trend weakening signals)
Hidden Divergence (continuation signals)
Because pivots require confirmation, signals appear only after structure completes, reducing noise but introducing slight delay.
5. Multi-Factor Filtering System
Before any signal becomes valid, it passes through multiple optional filters:
EMA Trend Filter → ensures signals align with overall trend
ATR Filter → ensures sufficient volatility for valid movement
Volume Filter → avoids low participation environments
Wick Logic (Accurate Mode) → confirms rejection behavior
HTF Filter → validates higher timeframe volume direction
This creates a confluence-based confirmation model, not a single-trigger system.
6. Signal Confirmation Engine
After divergence detection, signals are not immediately printed. They are validated through:
Volume classification (spike / absorption / climax alignment)
Filter alignment (trend + volatility + structure agreement)
Multi-timeframe confirmation (optional)
Only when multiple conditions agree, the system produces Buy/Sell labels and confluence stars.
7. Higher Timeframe Context Layer
The script optionally pulls volume data from a higher timeframe (like Daily). It compares:
Current volume trend (expanding or declining)
Higher timeframe volume state
This ensures signals are not isolated to a single timeframe and helps detect broader institutional participation shifts.
8. Visual Intelligence Layer
All internal logic is translated into:
Colored volume bars (based on classification)
Spike markers on chart and pane
Divergence lines between pivots
Confluence stars for strong setups
Heatmap zones for RVOL spikes
Stats table for session tracking
This layer turns complex logic into readable visual structure.
9. Confirmation-Based Philosophy
The entire system is built on one principle:
Nothing is predicted — everything is confirmed after structure completes.
Because of pivot confirmation and multi-condition validation, signals may appear slightly delayed, but they are structurally more reliable than real-time guessing systems.
Final Idea
In simple terms, this indicator works like a market behavior decoder:
It doesn’t just show volume — it interprets who is active, how strong they are, whether they are absorbing or pushing price, and whether the trend is supported or weakening, then confirms it using structure + filters + multi-timeframe agreement.
How It Works — Deep Core Logic (House Rules Safe)
This script is basically a volume-based market behavior engine that converts raw volume + price movement into structured trading intelligence. Instead of using simple indicators, it builds a full system that reads participation, pressure, and structural confirmation together.
1. Raw Data Foundation Layer
The system starts by continuously reading:
Volume (market participation)
Price (open, high, low, close)
Range behavior (high–low movement)
ATR (volatility baseline)
From this, it builds a foundation of how active the market is and how far price is moving for that activity.
2. Relative Volume Intelligence (RVOL Core)
It calculates:
Average volume (baseline)
Relative volume (current vs average)
This allows the system to classify whether the market is:
Normal activity
High participation
Unusual/institutional level activity
RVOL becomes the main pressure meter of the script.
3. Adaptive Volatility Control System
Instead of using fixed thresholds, the script adjusts sensitivity using volatility:
High volatility → loosens strictness
Low volatility → tightens strictness
This ensures the indicator does not overreact in choppy markets or underreact in fast trends.
This is what makes the system adaptive instead of static.
4. Volume Behavior Classification Engine
Each candle is analyzed and categorized into behavioral types:
Climax → Extreme activity, possible reversal pressure
Absorption → High volume but controlled price movement (hidden buying/selling)
Exhaustion → Weak follow-through after heavy activity
Accumulation → Quiet buying under pressure
Distribution → Quiet selling under strength
Spike Events → Sudden aggressive participation bursts
This converts raw volume into market intention mapping.
5. Pivot-Based Structure Detection
The system uses pivot logic (confirmed swing highs/lows):
Detects structural market points
Builds swing relationships
Waits for confirmation (not live guessing)
This is important because it ensures signals only appear when structure is completed, not during formation.
6. Volume vs Price Divergence System
This is one of the core engines:
It compares:
Price direction (higher highs / lower lows)
Volume behavior at those points
It detects:
Regular Divergence → trend weakening
Hidden Divergence → continuation strength
If price and volume disagree → it signals imbalance.
7. Multi-Factor Signal Filtering
Before any signal is allowed, it must pass filters:
EMA trend direction (trend alignment)
ATR movement strength (volatility validation)
Volume confirmation filter (participation check)
Wick rejection logic (price rejection strength)
Optional higher timeframe filter (market context)
This creates a confluence gate system.
If conditions don’t align → no signal.
8. Confluence Engine (Final Signal Decision Layer)
After divergence + classification + filters:
The system checks for alignment like:
Spike + divergence
Absorption + reversal structure
Climax + weak follow-through
When multiple conditions agree → it produces:
Buy / Sell labels
Confluence star signals
This is the final decision layer of the system.
9. Higher Timeframe Confirmation Layer (MTF Logic)
It optionally pulls higher timeframe volume:
Checks if volume is expanding or declining on higher TF
Aligns lower TF signals with broader trend context
This helps reduce false signals against the bigger trend.
10. Visual Interpretation Layer
Everything is converted into visual structure:
Colored volume bars (behavior-based)
Spike markers (sudden activity)
Divergence lines (structure mismatch)
Signal labels (buy/sell)
Confluence stars (strong setups)
Stats table (market session tracking)
This makes complex logic readable on chart.
Final Working Principle
At its core, the system works like this:
It does not predict price. It studies how volume behaves relative to structure, confirms conditions across multiple filters, and only then highlights high-probability market pressure zones.
Settings & Customization — Ultimate Volume Warfare
This script is built like a modular trading system, meaning every major component can be tuned depending on your trading style (scalping, intraday, swing). The settings are designed to control signal speed, accuracy, sensitivity, and visual clarity.
1. Signal Sensitivity Control (Core Behavior)
Signal Intensity (sigMode)
Accurate
Strict confirmation rules
Strong filters (wick + structure quality)
Fewer signals, higher reliability
Balanced (Default)
Middle ground between speed and accuracy
Best for most traders
Aggressive
Fast signals, early entries
More noise but earlier detection
👉 This is the main brain setting of the system.
divPivot (Structure Depth)
Controlled automatically by sigMode:
Accurate → deeper pivots (5)
Balanced → medium (3)
Aggressive → shallow (2)
👉 Higher pivot = more stable but slower signals
👉 Lower pivot = faster but noisier signals
2. Volume Behavior Customization
Volume Moving Average (maLength)
Controls smoothing of volume trend
Lower value → fast reaction (scalping)
Higher value → stable trend view (swing)
ALMA Toggle (useALMA)
ON → smoother, adaptive volume curve
OFF → standard SMA (simpler structure)
Volume Spike Multiplier (spikeMult)
Defines what is considered “abnormal volume”
Low value → more spike signals
High value → only extreme spikes
👉 Recommended:
Crypto → 2.0–2.5
Forex → 2.5–3.5
Stocks → 2.0–3.0
3. Volume Classification Control
These settings control how market behavior is labeled:
Climax Volume sensitivity
Absorption detection strength
Exhaustion filtering
Accumulation / Distribution recognition
👉 You don’t manually change thresholds here; instead, they react automatically using:
Average Volume (50 SMA)
Dynamic Volatility Multiplier (dynMult)
✔ This makes the system self-adjusting across market conditions
4. Trend & Filter System (Signal Protection Layer)
EMA Filter (useEmaFilter)
ON → trades only in trend direction
OFF → allows counter-trend signals
EMA Length (emaLen)
200 = strong trend filter (safe mode)
50–100 = faster trend detection
ATR Filter (useAtrFilter)
Ensures real market movement exists
Prevents signals in low volatility zones
ATR Multiplier (atrMult)
Low → more signals (sensitive)
High → stricter entry conditions
Volume Filter (useVolFilter)
Blocks weak participation signals
Helps avoid fake breakouts
5. Higher Timeframe Control (MTF Layer)
HTF Filter (useHTFFilter)
ON → only trade with higher timeframe volume direction
OFF → independent signals
HTF Resolution (htfRes)
D (Daily) → swing confirmation
4H → intraday trend filter
1H → scalping context
👉 This is your big picture alignment tool
6. Visual Customization (Chart Control Layer)
Volume Colors
Up Volume / Down Volume / Neutral
Custom spike colors
Classification colors (climax, absorption, etc.)
👉 Used for quick visual reading of market behavior
Spike Display Settings
Show spikes on volume pane
Show spikes on main chart
Show icon markers (diamond)
👉 Helps detect sudden institutional activity
Heatmap (RVOL Zones)
ON → highlights high activity zones
Sensitivity (rvolSens):
Lower = more zones
Higher = only extreme activity zones
7. Divergence System Control
showDiv
Enables/disables full divergence engine
Strength of Divergence Logic:
Based on pivot structure
Compares price swings vs volume swings
You can tune behavior indirectly via:
sigMode (accuracy vs speed)
divPivot (structure depth)
8. Signal Display Control
showSignals
Controls:
Buy/Sell labels
Entry markers
Visual Options:
Chart overlay signals
Pane signals
Confirmation stars (confluence)
👉 Helps switch between:
Clean chart mode
Full analysis mode
9. Statistics & Table System
showTable
Displays:
Daily buy/sell activity
Weekly trend bias
RVOL strength
MTF volume state
👉 Useful for:
Session monitoring
Market behavior tracking
Strategy validation
10. Recommended Presets (Practical Use)
🔹 Scalping Setup
Aggressive mode
Low divPivot
EMA filter OFF
HTF OFF
Spike sensitivity low
🔹 Intraday Setup (Best Balanced)
Balanced mode
EMA filter ON (100–200)
ATR filter ON
HTF (4H or D)
🔹 Swing Trading Setup
Accurate mode
EMA 200 ON
HTF Daily ON
Higher spike threshold
Strict ATR filter
Final Idea
This system is not a fixed indicator — it is a customizable volume intelligence framework.
You control:
Speed (Aggressive → Accurate)
Safety (filters)
Trend alignment (EMA + HTF)
Sensitivity (spikes + pivots)
Visual depth (signals + heatmap)
👉 In simple terms:
You are not just using an indicator — you are tuning a market behavior engine according to your strategy.
Mashup Rules & Combined System Logic — Deep Explanation (House Rules Safe)
This script is not a single indicator — it is a mashup system, meaning multiple independent trading models are merged into one unified decision engine. Each module works separately, but final signals only appear when multiple layers agree.
Think of it like a multi-department trading desk where every department must approve before a signal is released.
1. Core Mashup Structure (System Architecture)
The system is built from 5 main modules:
1. Volume Intelligence Module
Classifies raw volume into behavior types:
Climax
Absorption
Exhaustion
Accumulation / Distribution
Spikes
👉 This tells what kind of pressure is in the market
2. Price Structure Module (Pivot Engine)
Detects swing highs and swing lows
Builds market structure using confirmed pivots
Identifies:
Regular divergence
Hidden divergence
👉 This tells where the market structure is changing
3. Trend Filter Module (EMA System)
Checks overall market direction using EMA
Controls whether trades align with trend or against it
👉 This tells which side is dominant
4. Volatility Filter Module (ATR System)
Measures market movement strength
Blocks low-quality or weak movement conditions
👉 This tells whether market is active enough for signals
5. Multi-Timeframe Module (HTF Logic)
Reads higher timeframe volume trend
Confirms whether lower timeframe signals match bigger structure
👉 This tells whether the move is supported by broader market flow
2. Mashup Rule System (How Everything Combines)
The system follows a strict rule chain:
STEP 1 — Detection Phase
Each module generates raw conditions:
Volume detects pressure
Price detects structure shift
Trend detects direction
Volatility detects strength
HTF detects macro alignment
STEP 2 — Filtering Phase
All signals must pass filters:
EMA alignment check
ATR movement validation
Volume participation check
Wick rejection logic (optional strict mode)
HTF confirmation (if enabled)
👉 If even one major filter fails → signal is blocked
STEP 3 — Confluence Phase (Mashup Core)
This is where systems merge.
A valid signal requires at least 2–3 conditions aligning, such as:
Divergence + Spike
Absorption + Trend alignment
Climax + Weak continuation
Structure break + Volume surge
👉 This is the decision-making engine
STEP 4 — Confirmation Phase
Even after confluence:
Signal waits for candle confirmation
Pivot must be fully formed
No mid-candle prediction allowed
👉 This ensures no premature signals
3. Combined Logic (How Mashup Actually Works)
Final decision is based on:
BUY Logic Example:
Bullish divergence detected
AND
Volume shows absorption or spike
AND
Price is above EMA trend
AND
ATR confirms movement strength
AND
HTF is not bearish
✔ THEN → Buy signal appears
SELL Logic Example:
Bearish divergence detected
AND
Volume shows distribution or spike
AND
Price is below EMA trend
AND
Volatility is sufficient
AND
HTF is not bullish
✔ THEN → Sell signal appears
4. Conflict Handling System
If modules disagree:
Volume says bullish but structure says bearish → no trade
Trend bullish but divergence bearish → wait mode
HTF opposite direction → signal weakened or blocked
👉 This prevents random or emotional signals
5. Strength Levels (Confluence Ranking)
Signals are not equal:
Weak Signal
Only divergence OR only volume spike
Medium Signal
Divergence + trend alignment
Strong Signal
Divergence + spike + absorption/climax
High Confluence Signal ⭐
Multiple modules agree simultaneously
Marked with special star confirmation
6. Why This Mashup System is Powerful
Because it does NOT rely on one idea.
It combines:
Volume behavior (who is active)
Price structure (what is happening)
Trend direction (who is in control)
Volatility state (is market ready)
Higher timeframe context (big picture bias)
👉 So the system behaves like a multi-layer institutional analysis model
Final Summary
The mashup rule system works like this:
It first detects signals independently from volume, price, trend, volatility, and higher timeframe data — then it filters them, then merges them, and finally only allows signals when multiple independent confirmations align.
This is why it is called a confluence-based volume warfare system, not a simple indicator.
Final Note — Ultimate Volume Warfare
This script is designed as a multi-layer market behavior system, not a simple indicator. Its core strength comes from combining volume, price structure, volatility, trend direction, and higher timeframe context into one unified decision framework.
At its foundation, it does not attempt to predict the market. Instead, it waits for confirmation of behavior — meaning it only reacts when multiple independent conditions align. This makes the system more focused on structure and participation rather than noise or emotional price movement.
The divergence engine ensures that price and volume relationships are continuously compared, helping identify situations where the market is losing strength or building hidden continuation pressure. However, because it relies on pivot confirmation, signals are naturally delayed until structure is fully formed. This delay is intentional and represents a shift from prediction-based systems to confirmation-based logic.
The volume classification system adds another layer of intelligence by interpreting raw volume into meaningful market states such as absorption, climax, exhaustion, accumulation, and distribution. This allows traders to understand not just how much volume exists, but what that volume represents in terms of market intent.
On top of this, filters such as EMA trend alignment, ATR volatility validation, and optional higher timeframe confirmation act as protection layers. These filters ensure that signals are only displayed when market conditions are suitable, reducing low-quality setups and improving contextual accuracy.
The mashup architecture is what makes this system unique. Instead of relying on a single signal source, it combines multiple analytical engines that must agree before any trade signal is produced. This creates a confluence-based decision model, where signals represent agreement between different aspects of market behavior rather than isolated indicators.
In practical terms, this means the system prioritizes quality over quantity. Fewer signals may appear, but each one is backed by multiple confirmations across structure, volume, and trend alignment.
Overall, the indicator behaves like a structured market intelligence framework — designed to filter noise, highlight real participation shifts, and provide visually clear confirmation zones for decision-making.
In short: it is not a prediction tool, but a confirmation system that waits for multiple layers of market agreement before showing any trading signal.
Disclaimer — Ultimate Volume Warfare
This indicator is designed strictly for educational and informational purposes only. It is a technical analysis tool that interprets market data such as volume, price structure, volatility, and higher timeframe trends. It does not guarantee results, profits, or accuracy in any market condition.
All signals generated by this script — including buy/sell labels, divergence markers, spike detection, and confluence confirmations — are based on historical and real-time data calculations. These signals are not financial advice, not investment recommendations, and should not be considered as a directive to enter or exit any trade.
Because the system relies on pivot-based structure and confirmation logic, signals may appear with a natural delay. This delay is a known and expected behavior of confirmation-based systems and does not represent prediction capability. Market conditions can change rapidly, and past performance of any signal does not guarantee future outcomes.
The script also uses multiple analytical filters such as trend alignment, volatility checks, and higher timeframe volume comparison. These filters improve contextual accuracy but cannot eliminate market risk. No system is immune to false signals, unexpected volatility, slippage, liquidity gaps, or sudden news-driven movements.
Trading in financial markets involves a high level of risk, and users are fully responsible for their own decisions. You should only use this tool as part of a broader strategy that includes proper risk management, independent analysis, and personal judgment.
The creator of this script does not take responsibility for any financial losses, missed opportunities, or incorrect interpretations resulting from the use of this indicator.
In simple terms: this is a decision-support tool, not a prediction system, and all trading decisions remain entirely the responsibility of the user.
مؤشر

Prior Close Reclaim Planner [AGPro Series]Prior Close Reclaim Planner
🧠 Core Idea
Is the prior close being reclaimed, rejected, or treated as a live magnet by the current market?
📌 Overview / What it does
Prior Close Reclaim Planner maps the completed prior close as a live support/resistance reference and evaluates how price reacts around that level.
The script displays a prior-close rail, an ATR-based reclaim pocket, reclaim labels, rejection labels, magnet-zone labels, right-side reference tags, and a compact AG Pro dashboard with a 0-100 reclaim score.
It does not predict where price will go next. It helps organize the reaction around the previous close: reclaim quality, rejection pressure, magnet risk, rail state, and action context.
🎯 Purpose & Design Philosophy
The previous close is one of the simplest reference levels on a chart, but it is often read too casually.
This script was built to turn that reference into a structured planning map. It helps traders see whether the prior close is acting as support, resistance, a magnet, or a failed reclaim zone.
The design supports a patient decision-support mindset: read the rail, evaluate the reaction, check the score, and place the output inside broader market context.
⚡ Why This Script Is Different
Most tools draw a prior close line and stop there.
This script does NOT treat the prior close as a passive horizontal level.
Instead, it builds an active reclaim planner with a pocket, reaction labels, magnet context, relative-volume support, volatility fit, a readiness score, and a clear action state.
⚙️ Methodology
1. Prior Close Detection
The script sources the completed prior close from the selected reference timeframe. Daily is the default setting for previous-session analysis.
2. Reclaim Pocket Mapping
An ATR-based pocket is created above and below the prior close. This pocket is used to avoid overreacting to tiny ticks around the rail.
3. Reaction Evaluation
The script evaluates close location, wick response, relative volume, distance from the rail, and volatility fit.
4. Visual Output
The chart receives the rail, pocket, labels, right-side tags, bar coloring if enabled, and a dashboard panel summarizing the current state.
🗺️ How to Read the Chart
The central rail shows the completed prior close.
The pocket around the rail shows where reclaim and rejection behavior is evaluated.
Labels highlight bullish reclaim, bearish reclaim, rail defense, rail rejection, magnet-zone entries, and failed reclaim behavior.
Colors represent context:
• Teal → bullish reclaim or defense
• Pink → bearish reclaim or rejection
• Gold → neutral or waiting context
• Indigo → magnet or monitoring context
The panel summarizes:
• Prior Close
• Reclaim Score
• Magnet Risk
• Rail State
• Action
🚦 Signals & States
• Bull Prior Close Reclaim → price closed above the reclaim pocket
• Bear Prior Close Reclaim → price closed below the reclaim pocket
• Rail Defense → price tested the pocket and closed back above it
• Rail Rejection → price tested the pocket and closed back below it
• Magnet Zone → price is close enough to the prior close to treat the rail as active
• Invalidated → a reclaim attempt failed back through the prior-close rail
• READY → reclaim/rejection quality is strong enough to monitor
• MONITOR → price is near the rail, but conditions are not fully ready
• WAIT → no strong prior-close reaction is active
🔔 Alerts Logic
Alerts can trigger when price reclaims the prior close pocket, rejects the pocket, enters the magnet zone, reaches READY conditions, or invalidates a reclaim attempt.
Alerts are attention markers only. They are not trade instructions.
🧩 Confluence Logic
The prior-close context becomes stronger when close location, wick response, relative volume, volatility fit, and distance from the rail align.
For example, a reclaim with strong close quality, acceptable volume, and controlled distance from the rail is more structured than a weak close far from the reference.
📊 When to Use
• Intraday trading around the previous session close
• Session reclaim or rejection analysis
• Support/resistance reaction planning
• Trending markets that retest the prior close
• Range conditions where the prior close acts as a magnet
• Liquid symbols with readable candles and stable spreads
⚠️ When NOT to Use
• Very low-liquidity markets
• Symbols with unreliable session structure
• Extremely noisy chop around the rail
• News candles with unstable spreads
• Markets where the selected reference timeframe is not meaningful
🎛️ Key Inputs
• Reference Timeframe → controls where the completed prior close comes from
• Reclaim Pocket ATR → controls the width of the reaction pocket around the rail
• Magnet Distance ATR → controls when price is treated as close enough to the rail
• Minimum Ready Score → controls the score required for READY state
• Relative Volume Length → controls participation comparison
• Confirmation Mode → controls how strict reclaim/rejection evaluation should be
• Visual settings → control rails, pockets, labels, tags, bar colors, and dashboard behavior
🖥️ Interface & Visual Design
The interface is built for fast chart reading.
The prior close rail creates the main reference, the pocket defines the active reaction area, labels mark important events, and the panel compresses the state into a clean decision-support dashboard.
The goal is a premium, readable chart without turning the prior close into a cluttered signal board.
🧪 Practical Usage Workflow
1. Read the panel action state
2. Check whether price is above, below, or inside the prior-close pocket
3. Evaluate reclaim or rejection labels
4. Compare score quality with magnet risk
5. Confirm the context with broader structure, volume, and timeframe alignment
🔍 Interpretation Guidelines
A READY state means the prior-close reaction has enough structure to monitor.
Magnet risk means price is still close enough to the rail for the prior close to matter.
A reclaim label means the market crossed beyond the pocket, not that continuation is guaranteed.
A rejection or defense label means price reacted at the rail, but the broader trend and volatility context still matter.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not a guaranteed prior-close trading system.
It is not an automated trading tool.
It does not provide financial advice.
It does not guarantee continuation, reversal, profit, or a specific target.
⚠️ Limitations & Transparency
Prior-close behavior depends on market structure, volatility, liquidity, session design, and timeframe.
Different symbols may treat the previous close differently.
Very noisy markets can trigger frequent pocket interactions.
The score is a rule-based context score, not a certainty model.
🧠 Market Context Notes
The prior close often acts as a memory level.
When price reclaims it with participation, the rail may become a useful support/resistance reference.
When price repeatedly returns to it without follow-through, the rail may behave more like a magnet than a directional level.
🧾 Use Case Examples
When price opens below the prior close and later reclaims the pocket, the script marks the reclaim and scores the quality of the reaction.
When price tests the prior close from above and closes back above the pocket, the script can mark rail defense.
When price stays close to the rail without clean displacement, the panel can shift toward MONITOR instead of forcing a directional read.
🧱 System Philosophy
This script follows the AGPro Series approach: turn a familiar chart reference into a structured decision-support map.
The focus is not prediction. The focus is context, quality, invalidation 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 prior-close 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
Use the prior close as a reference, not as an automatic decision.
The best reads usually come when the rail reaction aligns with structure, liquidity, volume, and the broader market environment.
مؤشر

Smooths 50 Point LevelsSmooth's 50-Point Levels
Overview
This indicator automatically plots horizontal price levels at every 50-point interval across the chart, centered around the current price. It is designed specifically for futures traders (NQ, ES, MNQ, MES) who use round-number price levels as key reference points for support, resistance, entries, and targets.
How It Works
The indicator calculates the nearest 50-point boundary to the current price using math.round(price / 50) * 50 as its base, then draws a configurable number of levels above and below that base. Levels are split into two distinct categories:
Round Hundreds (X00) — levels ending in 00 (e.g. 19800, 19900, 20000). These represent major psychological price levels where institutional activity and order flow tend to concentrate.
Half-Hundreds (X50) — levels ending in 50 (e.g. 19850, 19950). These act as midpoint references between the major levels, useful for identifying equilibrium zones and scalp targets.
Session Reset
Lines reset visually at a user-defined time each day (default 16:00 ET), meaning the left edge of every line anchors to that bar. This keeps the chart clean and session-specific — only showing levels relevant to the current trading session. A toggle allows lines to be extended further left for historical context.
How To Use
Use Round Hundred levels as primary support/resistance and trade targets
Use Half-Hundred levels as midpoint references and short-term scalp zones
Levels reset at 16:00 ET daily to reflect the new session's relevant price range
Adjust the number of levels displayed to match your trading range
Enable left extension when reviewing previous session price action
Customization
Each level group has independent controls for color, line style (solid/dashed/dotted), line width, label visibility, and label size. Right extension allows lines to project into future bars for forward reference. مؤشر

JOAT Pressure Composite [JOAT]JOAT Pressure Composite
Introduction
JOAT Pressure Composite is an open-source accumulation-distribution and participation oscillator built to measure whether buying or selling pressure is strengthening, weakening, rotating, or diverging from price.
It is designed to expose internal sponsorship behind price movement rather than price movement alone.
The script combines weighted close-location flow, relative-volume sponsorship, volume sigma, effort, efficiency, momentum bias, VWAP bias, and confirmed higher-timeframe context into one composite pressure model.
The problem it solves is hidden participation.
Price can rise on weak effort.
Price can fall on poor sponsorship.
Price can continue moving while internal pressure deteriorates.
Pressure Composite tries to expose those changes earlier by measuring how much of the move is actually being sponsored by participation.
The oscillator pane carries the composite, signal line, envelope, flow ribbon, and extreme states.
At the same time, the indicator projects tailored information onto the main chart.
Price divergence is labeled clearly.
Expansion and absorption states are labeled directly on candles.
Anchored VWAP and trend context are overlaid on price so the oscillator and chart remain connected.
Core Concepts
1. Weighted Pressure Engine
The base flow uses close-location value and weighted volume.
closeLocationValue = (2.0 * close - low - high) / barRange
weightedVolume = volume * sponsorshipFactor
2. Pressure Z-Score
The raw pressure series is normalized with a Z-score.
3. Sigma and Effort Layers
Volume sigma and effort help distinguish aggressive participation from ordinary rotation.
4. Efficiency Bias
The script measures whether price is moving efficiently over the selected lookback.
5. VWAP Bias
Distance from anchored VWAP is normalized in ATR terms.
6. Confirmed Divergence Logic
Pivot-based divergence compares oscillator highs and lows to price highs and lows.
7. Expansion and Absorption Labels
The chart prints Bid Expansion, Offer Expansion, Bull Absorption, and Bear Absorption labels directly on price.
8. Confirmed Higher-Timeframe Context
The script pulls confirmed HTF composite states only.
Features
Composite pressure model: blends pressure, effort, sigma, efficiency, and VWAP bias
Flow ribbon: shows whether pressure is widening or fading
Envelope and extreme states: separates normal expansion from aggressive pressure
Confirmed divergence detection: compares oscillator pivots to price pivots
Clear divergence labeling: bullish and bearish pressure divergence is labeled directly on price
Expansion / absorption labels: market states are marked on actual candles
Anchored VWAP context: projected onto the chart for alignment
Fast / slow trend context: price-side guides remain visible while using the oscillator
Confirmed HTF states: non-repainting higher-timeframe pressure context
No dashboard: information is pushed into the chart and oscillator instead of a table
Input Parameters
Composite Engine:
Smoothing Type
Flow Smoothing
Normalization Length
Relative Volume Baseline
Relative Volume Boost
Volume Sigma Length
Effort Smoothing
Efficiency Length
Signal Length
Envelope Length
Envelope Multiplier
Extreme Multiplier
Pivot Length
Divergence Scan
ATR Length
Qualification / Display:
Use Trend Gate
Trend Fast EMA
Trend Slow EMA
Use VWAP Gate
Minimum Spread
Show Histogram
Show Signal Line
Show Envelope
Show Flow Ribbon
Show Divergence
Tint Price Bars
Shade Momentum States
Show Price Context
Show Price Event Labels
How to Use This Indicator
Step 1: Read the composite vs signal relationship to judge widening or fading pressure.
Step 2: Check whether the state is expansion or absorption.
Step 3: Watch labeled divergences closely, especially after extension.
Step 4: Use anchored VWAP and trend overlays to connect the oscillator back to price structure.
Step 5: Use confirmed HTF context as a quality filter rather than a prediction tool.
Indicator Limitations
Divergences can persist before price responds
Confirmed higher-timeframe context intentionally lags unfinished HTF candles
Low-volume environments can flatten the composite even while price drifts
Pressure quality does not guarantee immediate reversal or continuation
Originality Statement
This script is original in how it integrates weighted close-location flow, RVOL sponsorship, sigma, effort, efficiency, VWAP distance, confirmed HTF context, and direct price-chart state labeling into one coherent participation framework.
The components are combined because they all address one question:
how much real sponsorship exists behind current price movement.
Disclaimer
This indicator is provided for educational and informational purposes only.
It is not financial advice.
Pressure readings and divergences do not guarantee reversal or continuation.
Use the script as context and confirmation, not as a promise of outcome.
Best Use Cases
Measuring whether price movement is being sponsored by real participation
Spotting divergence between price and internal pressure
Reading expansion versus absorption conditions
Combining participation context with VWAP and trend structure
Interpretation Notes
The strongest bullish pressure states usually include positive pressure, supportive spread, constructive effort, and favorable price context above value.
The strongest bearish pressure states are the mirror image.
Divergences are most useful when they appear after extension or at major contextual levels.
Absorption labels should be treated as warnings that apparent directional continuation may be losing quality.
Publication Notes
This script is intended to be published with a clean chart where the oscillator, labeled divergence, and at least one price-context label are clearly visible.
Because there is no dashboard, the publication image should make the chart-side annotations easy to read.
Keep the chart clean so the viewer can immediately understand that the script links oscillator behavior back to price.
-Made with passion by jackofalltrades\
مؤشر

Anchored VWAP Risk Ladder [AGPro Series]Anchored VWAP Risk Ladder
🧠 Core Idea
After an important market event, is price trading close to fair value or becoming extended relative to the anchored VWAP?
📌 Overview / What it does
Anchored VWAP Risk Ladder builds a volume-weighted average price from a selected anchor event and turns the distance from that anchor into a structured risk ladder.
The script displays anchored VWAP, volume-weighted deviation bands, right-side ladder tags, reclaim and lose labels, extension context, and a compact AG Pro panel with distance, score, risk ladder, and action state.
It does not predict price direction, automate trades, or claim that anchored VWAP will hold as support or resistance. It organizes event-based volume-weighted context into a readable chart framework.
🎯 Purpose & Design Philosophy
Anchored VWAP is often useful after a meaningful event, but raw AVWAP alone can be difficult to interpret without context.
This script was built to answer a practical question: how far is price from the anchored value area, and is that distance becoming useful, balanced, or risky?
The design supports traders who think in terms of anchored fair value, risk distance, reclaim behavior, and extension zones.
⚡ Why This Script Is Different
Most VWAP tools show a line and leave interpretation fully manual.
This script does NOT stop at plotting anchored VWAP.
Instead, it builds a complete risk ladder around the anchor, adds deviation context, scores reclaim or lose behavior, and summarizes the current state in a clean dashboard.
⚙️ Methodology
1. Anchor Detection
The script can anchor from manual time, high-volume events, swing pivots, session open, week open, or month open.
2. AVWAP Calculation
From the active anchor, the script accumulates volume-weighted price and volume-weighted variance to calculate anchored VWAP and deviation bands.
3. Risk Ladder Mapping
Distance from anchored VWAP is measured in ATR and deviation terms to classify whether price is near value, inside Band 1, inside Band 2, or extended.
4. Visual Output
The script plots AVWAP, upper/lower deviation bands, ladder fills, event labels, right-side tags, bar state color, and a dashboard.
🗺️ How to Read the Chart
The AVWAP rail represents the volume-weighted average price from the active anchor.
Deviation bands represent the ladder around anchored value.
Labels mark anchor events, AVWAP reclaim events, AVWAP lose events, and optional extension-risk conditions.
The panel shows:
• Anchor → current anchor type and age
• Distance → price distance from AVWAP in ATR
• Risk Ladder → current ladder zone and risk score
• Score → current context score and direction state
• Action → READY / MONITOR / WAIT / BLOCKED
🚦 Signals & States
• Anchor Locked → a new event anchor has been selected
• Ready Reclaim → price has reclaimed anchored VWAP with enough context score
• Ready Lose → price has lost anchored VWAP with enough context score
• Near AVWAP → price is close to anchored value
• Band 1 / Band 2 → price is moving away from anchored value
• Extended → distance from AVWAP is elevated
🔔 Alerts Logic
Alerts can trigger when a new anchor is locked, when price reclaims AVWAP, when price loses AVWAP, or when extension-risk conditions appear.
Alerts are attention markers only. They do not represent trade instructions or guaranteed outcomes.
🧩 Confluence Logic
The context becomes stronger when anchored VWAP reclaim or lose behavior aligns with relative volume, acceptable distance, and a clear ladder state.
The risk ladder helps separate balanced conditions from extension conditions.
📊 When to Use
• After high-volume market events
• Around earnings, news, breakout, or liquidation-style candles
• During trend continuation pullbacks
• When studying institutional average price context
• On liquid symbols with meaningful volume data
⚠️ When NOT to Use
• Very low-liquidity symbols
• Markets with unreliable or synthetic volume
• Extremely choppy conditions where anchors reset too often
• Situations where the selected anchor is not meaningful
• When using AVWAP as a standalone trading signal
🎛️ Key Inputs
• Anchor Mode → controls how AVWAP is anchored
• Manual Anchor Time → user-defined anchor timestamp
• High Volume Anchor Threshold → controls automatic high-volume anchors
• Deviation Band 1 / 2 → controls ladder width
• Extension Risk ATR → controls when distance becomes elevated
• Minimum Ready Score → controls reclaim or lose strictness
• Visual Settings → control bands, labels, tags, panel, and bar colors
🖥️ Interface & Visual Design
The interface is built for fast visual hierarchy.
AVWAP is the central reference, deviation bands define the risk ladder, right-side tags make the ladder readable, and the panel summarizes state without forcing the user to inspect every line manually.
🧪 Practical Usage Workflow
1. Choose the anchor mode
2. Read the active anchor and distance in the panel
3. Check whether price is near AVWAP or extended
4. Watch reclaim or lose labels around AVWAP
5. Use broader structure and risk context before making any decision
🔍 Interpretation Guidelines
Price near AVWAP often represents a balanced value area relative to the anchor.
Price far from AVWAP may represent stronger trend behavior, but it may also carry extension risk.
READY states mark meaningful reclaim or lose behavior, not certainty.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not an automated trading system.
It does not guarantee support, resistance, continuation, reversal, or profit.
It is not financial advice.
⚠️ Limitations & Transparency
Anchored VWAP quality depends heavily on anchor selection.
Different timeframes may produce different anchor timing and visual structure.
Volume data quality may vary between symbols, brokers, and exchanges.
Deviation bands are statistical references, not fixed market boundaries.
🧠 Market Context Notes
Anchored VWAP works best when the anchor represents a meaningful market event.
High-volume displacement, swing pivots, session opens, weekly opens, and monthly opens may each tell a different story.
The user should choose the anchor mode that best fits the market question.
🧾 Use Case Examples
When a high-volume candle creates a new anchor, the script tracks whether price remains near the anchored value area or begins to extend away from it.
When price reclaims AVWAP with enough score, the script marks a READY reclaim context.
When price loses AVWAP with enough score, the script marks a READY lose context.
🧱 System Philosophy
AGPro Series tools are built as decision-support engines.
The purpose is to structure market context into readable zones, states, scores, and risk references without turning analysis into blind signal-following.
🔐 Non-Promise Statement
No script can provide certainty.
No AVWAP level guarantees a reaction.
No signal guarantees continuation, reversal, or profit.
📉 Risk Disclosure
Trading involves risk.
Users are responsible for their own analysis, decisions, risk management, and execution.
This script is for educational and analytical purposes only and does not provide financial advice.
📚 Educational Note
Use this tool to study how anchored value, volume-weighted distance, deviation bands, reclaim behavior, and extension risk interact across different market conditions.
مؤشر

مؤشر

مؤشر

Fair Value Gap Reclaim Planner [AGPro Series]Fair Value Gap Reclaim Planner
🧠 Core Idea
Has price returned into a fair value gap and reclaimed the imbalance midpoint with enough quality?
📌 Overview / What it does
Fair Value Gap Reclaim Planner is an imbalance-focused price action tool built around three-candle fair value gap structure.
The script detects bullish and bearish FVG zones, tracks fill progress, maps the midpoint, evaluates reclaim quality, and displays a structured 0-100 readiness score. It also projects an active reclaim corridor, invalidation shelf, target rails, labels, and a clean AG Pro dashboard.
It does not predict future price movement, automate entries, or provide guaranteed signals. It is a visual framework for reading fair value gap reclaim behavior.
🎯 Purpose & Design Philosophy
This script was built for traders who study imbalance zones but want a cleaner way to separate meaningful reclaim behavior from ordinary gap interaction.
Fair value gaps can attract attention, but not every touch matters. The planner focuses on whether price fills, reacts, and reclaims a meaningful reference level inside the imbalance.
The design supports patient analysis: identify the zone, measure the fill, wait for reclaim, then evaluate context.
⚡ Why This Script Is Different
Most FVG tools highlight many imbalance zones and leave the user to interpret the rest manually.
This script does NOT flood the chart with every historical imbalance.
Instead, it focuses on the active FVG context, tracks fill progress, evaluates midpoint or full-edge reclaim, and converts the reaction into a clear score and action state.
⚙️ Methodology
1. Context Detection
The script detects bullish and bearish three-candle fair value gaps using a minimum ATR-based size filter.
2. Reference Mapping
It maps the FVG top, bottom, midpoint, fill area, and invalidation boundary.
3. Reaction Evaluation
When price interacts with the active FVG, the script evaluates fill progress, reclaim distance, wick response, body quality, relative volume, gap quality, and freshness.
4. Visual Output
Qualified reclaim events are shown with labels, projected zones, target rails, right-side level tags, and a compact panel.
🗺️ How to Read the Chart
FVG Zone shows the active imbalance area.
Midline marks the primary reclaim reference when Midline mode is selected.
Fill Progress shows how deeply price has returned into the imbalance.
READY FVG RECLAIM labels mark reclaim events that meet the selected score threshold.
Invalidation Shelf marks the area where the reclaim context weakens or fails.
The AG Pro panel summarizes Gap State, Reclaim Score, Fill Progress, Risk, and Action.
🚦 Signals & States
• BULL FVG → bullish fair value gap detected and locked.
• BEAR FVG → bearish fair value gap detected and locked.
• READY FVG RECLAIM → price reclaimed the selected FVG reference with enough quality.
• FVG TOUCH → price interacted with the active FVG zone.
• INVALIDATED → the active reclaim context lost the opposite FVG edge.
• READY → a qualified reclaim event is active.
• MONITOR → the active FVG is being tested or a reclaim context remains open.
• WAIT → no qualified reclaim event is active.
🔔 Alerts Logic
Bullish FVG Reclaim Ready triggers when price reclaims the selected FVG reference upward with enough score quality.
Bearish FVG Reclaim Ready triggers when price reclaims the selected FVG reference downward with enough score quality.
FVG Touch triggers when price interacts with the active imbalance zone.
FVG Reclaim Invalidated triggers when the active reclaim context loses the opposite FVG edge.
Alerts are attention markers, not trade instructions.
🧩 Confluence Logic
The strongest reclaim contexts appear when fill progress, wick response, close quality, relative volume, gap size, and freshness align.
When price returns into the imbalance, respects the zone, and reclaims the midpoint or edge with clean reaction quality, the score improves.
📊 When to Use
• Markets with visible imbalance behavior
• Breakout pullbacks into fair value gaps
• Trend continuation reviews
• Reclaim attempts after partial FVG fills
• Intraday or swing contexts where FVG zones remain meaningful
⚠️ When NOT to Use
• Very low liquidity markets
• Extremely noisy or illiquid symbols
• Markets with unreliable candles or volume
• Wide-spread conditions where small gaps are misleading
• News spikes where imbalance zones can be invalidated quickly
🎛️ Key Inputs
• Minimum FVG Size ATR → filters out tiny imbalance zones.
• Maximum FVG Age Bars → controls how long an FVG can remain active.
• Reclaim Reference → chooses midpoint reclaim or full-edge reclaim.
• Touch Lookback Bars → controls how recent the FVG interaction must be.
• Invalidation Buffer ATR → controls the risk shelf beyond the FVG edge.
• Minimum Ready Score → sets how strict READY events should be.
• Target Rails → control projected T1 and T2 levels.
• Label Settings → control label density, size, and spacing.
• Panel Settings → control panel visibility, location, theme, and font size.
🖥️ Interface & Visual Design
The interface is designed to show the active imbalance context without filling the chart with excessive historical zones.
The FVG zone, midline, fill meter, invalidation shelf, target rails, and panel are visually separated so the chart remains readable.
The goal is a premium first-glance layout: zone first, reclaim second, action state third.
🧪 Practical Usage Workflow
1. Check the panel for active Gap State.
2. Locate the FVG zone and midpoint.
3. Watch how deeply price fills the imbalance.
4. Evaluate READY FVG RECLAIM labels and score quality.
5. Compare price with the invalidation shelf and target rails.
6. Confirm broader structure before making decisions.
🔍 Interpretation Guidelines
A high reclaim score means the reaction is cleaner according to the script's rules.
A lower score means the reclaim may be weaker, late, noisy, or incomplete.
Fill progress is not a signal by itself. It becomes more meaningful when combined with reclaim quality and broader market context.
🚫 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 guarantee entries, exits, profits, or outcomes.
⚠️ Limitations & Transparency
Fair value gap interpretation can vary across markets, sessions, and timeframes.
Some markets create many small gaps that may not carry meaningful context.
Volatility changes can make an active FVG less relevant over time.
No rule-based script can fully account for news, liquidity shocks, or sudden market structure shifts.
🧠 Market Context Notes
Fair value gaps often represent fast price displacement and temporary imbalance.
The reclaim of a midpoint or edge can help traders study whether the market is accepting or rejecting the imbalance area.
The script works best when combined with structure, liquidity, volatility, and trend context.
🧾 Use Case Examples
When a bullish FVG forms after displacement, price returns into the zone, partially fills it, and then reclaims the midpoint, the script may mark a bullish reclaim context.
When a bearish FVG forms after downside displacement, price retraces into the imbalance and then rejects back below the midpoint, the script may mark a bearish reclaim context.
🧱 System Philosophy
Fair Value Gap Reclaim Planner follows the AG Pro Series approach: turn a popular market concept into a structured decision map with context, score, risk reference, and clean visuals.
It is designed to support judgment, not replace it.
🔐 Non-Promise Statement
No script can provide certainty.
No signal should be treated as guaranteed.
Outputs should always be interpreted with independent analysis and responsible risk control.
📉 Risk Disclosure
Trading involves risk.
Market conditions can change quickly.
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
This script is designed to help traders study how fair value gap fills, midpoint reclaims, and imbalance reactions behave across different market conditions.
مؤشر

Round Number Rejection Planner [AGPro Series]# Round Number Rejection Planner
🧠 Core Idea
Is the round number acting as rejection, magnet, or failed reference?
📌 Overview / What it does
Round Number Rejection Planner is a psychological price level decision-support script built to evaluate how price reacts around nearby round numbers.
The script maps adaptive round-number bands, detects wick-based rejection behavior, separates rejection from magnet conditions, scores the context from 0 to 100, and summarizes the current state inside a compact AG Pro panel.
It does not predict price direction, automate trades, or provide guaranteed signals. It is designed to organize round-number context, rejection quality, distance, failure risk, and action state into a clean visual workflow.
🎯 Purpose & Design Philosophy
Round numbers often attract attention because they are easy reference points for traders, algorithms, stops, targets, and liquidity.
This script was built for traders who want to evaluate whether price is respecting a psychological level, getting pulled toward it, or failing to reject it cleanly.
The design supports structured observation instead of treating every round-number touch as a signal.
⚡ Why This Script Is Different
Most tools draw psychological levels or mark round numbers.
This script does NOT stop at drawing levels.
Instead, it evaluates the behavior around the level: wick rejection, close location, distance, reaction count, volatility fit, and failure risk.
⚙️ Methodology
1. Adaptive Round Level Detection
2. Psychological Band Mapping
3. Wick Rejection Evaluation
4. Magnet And Failure Risk Detection
5. 0-100 Rejection Score
6. Panel And Alert Output
🗺️ How to Read the Chart
The active round band marks the nearest psychological price zone.
Nearby round rails show the next upper and lower round references.
READY REJECTION labels appear when wick response, close location, and score quality align.
Magnet or failed-reference states appear when price interacts with the level without a clean rejection.
The panel summarizes Round Level, Rejection Score, Distance, Failure Risk, and Action.
🚦 Signals & States
• READY → A qualified round-number rejection has formed.
• MONITOR → Price is near the round number but rejection quality is not yet strong enough.
• WAIT → No active round-number context is close enough to evaluate.
• INVALIDATED → Price failed through the level instead of rejecting it.
• BLOCKED → The script cannot define a valid round-number context.
🔔 Alerts Logic
Bullish Round Number Rejection Ready triggers when price rejects upward from a round-number band with enough quality.
Bearish Round Number Rejection Ready triggers when price rejects downward from a round-number band with enough quality.
Round Number Magnet Warning triggers when price is close to the level but rejection quality is weak.
Round Number Rejection Invalidated triggers when price fails through the level instead of respecting it.
Alerts are attention markers, not trade instructions.
🧩 Confluence Logic
The rejection score combines wick strength, close distance from the level, proximity, recent reaction count, relative volume, and volatility fit.
When several of these conditions align, the context becomes stronger.
When they do not align, the script remains in WAIT, MONITOR, INVALIDATED, or BLOCKED state.
📊 When to Use
• Psychological level analysis
• Intraday price action workflows
• Round-number rejection setups
• Stop and liquidity reaction observation
• Support and resistance context around visible price levels
⚠️ When NOT to Use
Avoid relying on this script in extremely illiquid markets, very noisy symbols, holiday sessions, or conditions where round numbers are not meaningful to participants.
It should not be used as a standalone decision tool without broader market context, risk planning, and independent confirmation.
🎛️ Key Inputs
• Round Level Mode controls whether level spacing is automatic or manual.
• Manual Round Step defines custom level spacing when manual mode is selected.
• Round Band ATR controls the width of the psychological level band.
• Max Active Distance controls how close price must be before evaluation begins.
• Minimum Ready Score controls how strong the rejection must be before READY appears.
• Failure Risk Threshold controls when weak rejection or magnet behavior blocks READY.
• Visual settings control bands, rails, labels, right-side tags, panel location, and font size.
🖥️ Interface & Visual Design
The interface is designed to make the active psychological level readable without flooding the chart.
The chart shows the active round band, nearby round rails, failure shelf, and relevant rejection labels.
The AG Pro panel provides compact decision context while preserving chart visibility.
🧪 Practical Usage Workflow
1. Check the active round level in the panel.
2. Observe whether price is touching or rejecting the round band.
3. Read the rejection score and failure risk.
4. Check whether the action state is READY, MONITOR, WAIT, INVALIDATED, or BLOCKED.
5. Confirm the context with broader trend, liquidity, volatility, and risk structure.
🔍 Interpretation Guidelines
A higher rejection score means the round-number reaction is cleaner according to the script logic.
A high failure risk means the level may be acting more like a magnet or failed reference.
READY means the rejection context deserves attention, not that price must reverse.
MONITOR means price is near the level but the reaction is not yet clean enough.
🚫 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 signals.
It does not replace risk management or independent analysis.
⚠️ Limitations & Transparency
Round-number behavior changes across markets, symbols, timeframes, volatility regimes, and liquidity conditions.
The score is rule-based and depends on wick behavior, close location, distance, relative volume, and ATR normalization.
Different symbols may require different round-step or sensitivity settings.
🧠 Market Context Notes
Round-number rejection can be more meaningful when aligned with liquidity response, trend context, session timing, volume participation, and nearby structure.
Weak rejection near a level can become magnet behavior instead of a clean turn.
🔐 Non-Promise Statement
No script can guarantee future price behavior.
This tool provides structured visual context only.
📉 Risk Disclosure
Trading involves risk.
Users remain responsible for their own decisions.
This script is for educational and analytical purposes only and does not provide financial advice or guaranteed trading outcomes.
مؤشر

Weekly Range Break Planner [AGPro Series]# Weekly Range Break Planner
🧠 Core Idea
Is the weekly range break strong enough to monitor, or is price likely to fail back inside the range?
📌 Overview / What it does
Weekly Range Break Planner is a weekly range decision-support script built to evaluate whether price is breaking beyond the previous week's high or low with enough structural quality.
The script maps the previous weekly high, low, and midpoint, detects bullish or bearish breaks, builds a retest shelf around the broken boundary, scores the break from 0 to 100, and summarizes the current state inside a compact AG Pro panel.
It does not predict price direction, automate trades, or provide guaranteed signals. It is designed to organize weekly range context, break quality, retest behavior, target room, and invalidation risk into a clean visual workflow.
🎯 Purpose & Design Philosophy
Weekly highs and weekly lows are widely watched reference points, but not every break beyond them is meaningful.
This script was built for traders who want to separate a clean weekly range break from a weak expansion, failed breakout, or noisy return back into the prior range.
The design supports structured observation: range first, break quality second, retest behavior third, and action state last.
⚡ Why This Script Is Different
Most tools mark weekly highs and lows or show simple breakout signals.
This script does NOT stop at drawing weekly levels.
Instead, it evaluates what happens after price breaks the range: whether the break has enough close quality, whether the retest shelf is respected, whether target room remains, and whether the context is still valid.
⚙️ Methodology
1. Previous Weekly Range Mapping
2. Break Boundary Detection
3. Retest Shelf Construction
4. Break Quality Scoring
5. Target Room Evaluation
6. Invalidation And Expiration Handling
7. Panel And Alert Output
🗺️ How to Read the Chart
The weekly range box marks the previous week's high-low structure.
The high and low rails show the main break boundaries.
The midpoint line helps users understand where price is relative to the prior weekly balance.
The retest shelf appears around the broken boundary after a weekly range break.
READY BREAK labels appear when the break context meets the required score threshold.
Target rails show projected continuation references after a qualified break.
The panel summarizes Range State, Break Score, Retest, Room, and Action.
🚦 Signals & States
• READY → A qualified weekly range break has formed.
• MONITOR → Price has broken a weekly boundary and the script is evaluating quality.
• WAIT → The previous weekly range is valid, but no active break context is present.
• INVALIDATED → Price failed back inside the weekly range after a break.
• EXPIRED → The break window closed without a qualified context.
• BLOCKED → The previous weekly range is not suitable for evaluation.
🔔 Alerts Logic
Bullish Weekly Range Break Ready triggers when price breaks above the previous weekly high with enough quality.
Bearish Weekly Range Break Ready triggers when price breaks below the previous weekly low with enough quality.
Weekly Range Break Invalidated triggers when price fails back inside the prior weekly range after a break.
Weekly Range Break Expired triggers when the evaluation window closes without a qualified break state.
Alerts are attention markers, not trade instructions.
🧩 Confluence Logic
The break score combines weekly range fit, close distance beyond the boundary, retest shelf behavior, time quality, relative volume, and available target room.
When these elements align, the context becomes stronger.
When they do not align, the script remains in WAIT, MONITOR, INVALIDATED, EXPIRED, or BLOCKED state.
📊 When to Use
• Weekly high and weekly low break analysis
• Breakout-retest workflows
• Intraday monitoring around prior weekly extremes
• Swing context planning
• Trend continuation after a range expansion
⚠️ When NOT to Use
Avoid relying on this script in extremely low-liquidity markets, very noisy symbols, holiday sessions, or conditions where the previous weekly range is not meaningful.
It should not be used as a standalone decision tool without broader market context, risk planning, and independent confirmation.
🎛️ Key Inputs
• Minimum Weekly Range filters weak or compressed prior weekly ranges.
• Break Buffer ATR controls how far price must close beyond the weekly boundary.
• Retest Shelf ATR controls the depth of the shelf around the broken boundary.
• Invalidation Buffer ATR controls how far price must close back inside the range before invalidation.
• Minimum Ready Score controls how strong the score must be before READY appears.
• Target inputs define continuation reference rails from the broken boundary.
• Visual settings control boxes, rails, labels, right-side tags, panel location, and font size.
🖥️ Interface & Visual Design
The interface is designed to make the weekly range context readable at a glance.
The chart shows the prior weekly range, the active break boundary, the retest shelf, and target-room references without turning the screen into a generic breakout overlay.
The AG Pro panel gives compact decision context while preserving chart visibility.
🧪 Practical Usage Workflow
1. Check whether the previous weekly range is valid.
2. Watch for a close beyond the weekly high or low.
3. Observe the retest shelf around the broken boundary.
4. Read the break score, retest state, and room value.
5. Treat READY as an attention state and confirm with broader market context.
🔍 Interpretation Guidelines
A higher break score means the weekly range break is cleaner according to the script logic.
A clean retest shelf response can strengthen the context.
Low remaining room means the move may already be extended relative to the projected target.
READY means the context deserves attention, not that price must continue.
🚫 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 signals.
It does not replace risk management or independent analysis.
⚠️ Limitations & Transparency
Weekly range behavior changes across markets, timeframes, volatility regimes, and liquidity conditions.
The score is rule-based and depends on current chart timeframe, ATR normalization, volume behavior, and the previous weekly range.
Different symbols may require different sensitivity settings.
🧠 Market Context Notes
Weekly range breaks can be more meaningful when aligned with trend, liquidity response, volume participation, and clean retest behavior.
Breaks that quickly return inside the prior weekly range often need extra caution.
🔐 Non-Promise Statement
No script can guarantee future price behavior.
This tool provides structured visual context only.
📉 Risk Disclosure
Trading involves risk.
Users remain responsible for their own decisions.
This script is for educational and analytical purposes only and does not provide financial advice or guaranteed trading outcomes.
مؤشر

مؤشر

مؤشر

Gap Reclaim Readiness [AGPro Series]# Gap Reclaim Readiness
🧠 Core Idea
Can price reclaim a gap edge with enough acceptance to make the structure worth monitoring?
📌 Overview / What it does
Gap Reclaim Readiness is a chart-first gap edge decision-support script built to evaluate whether price has returned to a gap boundary and reclaimed it with enough structural quality.
The script maps active gap zones, identifies the reclaim edge, builds a focused reclaim pocket, scores the reclaim from 0 to 100, and summarizes the current state inside a compact AG Pro panel.
It does not predict price direction, automate trades, or provide guaranteed signals. It is designed to organize gap-edge context, reclaim quality, fill risk, and continuation state into a clean visual workflow.
🎯 Purpose & Design Philosophy
Many gap tools focus only on whether a gap exists or whether it has been filled.
This script was built for the more practical question: after a gap forms, does price respect and reclaim the edge strongly enough to deserve attention?
It helps traders who use price action, gap reactions, continuation structure, and intraday context, while supporting a patient decision-making process instead of impulsive reaction.
⚡ Why This Script Is Different
Most tools focus on detecting gaps or tracking gap fill.
This script does NOT behave like a generic gap fill tracker.
Instead, it focuses on the reclaim edge: whether price returns to the boundary, accepts it, loses it, or fails to develop a clean reclaim context.
⚙️ Methodology
1. Gap Context Detection
2. Reclaim Edge Mapping
3. Reclaim Pocket Construction
4. Reaction And Acceptance Evaluation
5. 0-100 Reclaim Score
6. Fill Risk And Continuation State
7. Visual Output And Panel Summary
🗺️ How to Read the Chart
The gap zone marks the structural area created by a qualifying gap or displacement-style gap event.
The reclaim edge marks the key boundary price must respect to form a valid reclaim context.
The reclaim pocket highlights the area around the edge where reaction quality is evaluated.
READY RECLAIM labels appear when the reclaim context meets the required score threshold.
Target rails show projected continuation references after a qualified reclaim.
The panel summarizes Gap Edge, Reclaim Score, Fill Risk, Continuation, and Action.
🚦 Signals & States
• READY → A qualified gap edge reclaim has formed.
• MONITOR → A gap structure exists and the script is watching for reclaim behavior.
• WAIT → No active reclaim context is currently valid.
• INVALIDATED → Price failed back through the reclaim edge.
• EXPIRED → The reclaim window closed without a qualified reclaim.
🔔 Alerts Logic
Bullish Gap Reclaim Ready triggers when price reclaims a bullish gap edge with enough score.
Bearish Gap Reclaim Ready triggers when price reclaims a bearish gap edge with enough score.
Gap Reclaim Invalidated triggers when price fails back through the reclaim edge.
Gap Reclaim Expired triggers when the reclaim window closes without a qualified reclaim.
Alerts are attention markers, not trade instructions.
🧩 Confluence Logic
The reclaim score combines edge interaction, close acceptance, time quality, relative volume, gap size, and available continuation room.
When several of these conditions align, the context becomes stronger.
When they do not align, the script remains in WAIT, MONITOR, INVALIDATED, or EXPIRED state.
📊 When to Use
• Intraday price action workflows
• Gap reaction analysis
• Breakout and reclaim structures
• Continuation after displacement
• Markets where gap edges or price void boundaries matter
⚠️ When NOT to Use
Avoid relying on this script in extremely illiquid markets, very noisy low-volume symbols, holiday sessions, or conditions where gaps and displacement structures are not meaningful.
It should also not be used as a standalone decision tool without broader market context.
🎛️ Key Inputs
• Gap Mode controls how strict the gap detection logic is.
• Minimum Gap Size filters weak structures.
• Displacement Gap Fallback helps continuous markets where classic open gaps are rare.
• Reclaim Pocket ATR controls the depth of the reclaim pocket.
• Minimum Ready Score controls how strong the reclaim must be before READY appears.
• Fill Risk Threshold controls when a reclaim context becomes too filled or exhausted.
• Visual settings control labels, zones, right-side tags, panel location, and font size.
🖥️ Interface & Visual Design
The interface is designed to keep the chart readable while making the active reclaim structure easy to understand.
The panel uses the AG Pro blue header style and summarizes the current state without covering the whole chart.
Zones, pockets, labels, and target rails are designed to show structure first and avoid unnecessary noise.
🧪 Practical Usage Workflow
1. Identify whether the panel shows an active gap edge.
2. Check the reclaim pocket and nearby price reaction.
3. Read the reclaim score and fill risk.
4. Confirm whether the action state is READY, MONITOR, WAIT, INVALIDATED, or EXPIRED.
5. Combine the output with broader structure, liquidity, trend, and risk context.
🔍 Interpretation Guidelines
A higher reclaim score means the gap edge reaction is cleaner according to the script logic.
A high fill risk means the gap context may already be too consumed.
READY means the reclaim condition deserves attention, not that price must continue.
WAIT means there is no valid active reclaim 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 signals.
It does not replace risk management or independent analysis.
⚠️ Limitations & Transparency
Gap behavior changes across markets, timeframes, liquidity conditions, and volatility regimes.
Continuous markets may create fewer classic gaps, so adaptive displacement logic is included to support broader usability.
Different symbols and timeframes may require different sensitivity settings.
🧠 Market Context Notes
Gap reclaim behavior is often stronger when aligned with trend, liquidity response, volume participation, and clean structure.
Weak reclaim attempts can fail quickly when price loses the edge or when the gap becomes fully consumed.
🔐 Non-Promise Statement
No script can guarantee future price behavior.
This tool provides structured visual context only.
📉 Risk Disclosure
Trading involves risk.
Users remain responsible for their own decisions.
This script is for educational and analytical purposes only and does not provide financial advice or guaranteed trading outcomes.
مؤشر

مؤشر

Opening Range Retest Planner [AGPro Series]# Opening Range Retest Planner
## Core Idea
Did the opening range breakout return to its boundary and hold with enough quality to deserve attention?
## Overview / What It Does
Opening Range Retest Planner is an intraday opening range decision-support script built for traders who want to evaluate the quality of the first meaningful retest after an opening range breakout.
The script builds the opening range, tracks the first bullish or bearish breakout, maps a focused retest pocket around the broken boundary, grades the retest from 0 to 100, and displays a clear action state in a compact AG Pro panel.
It does not predict price direction, automate execution, or provide guaranteed outcomes. Its purpose is to organize structure, acceptance, invalidation, and retest quality in a clean visual workflow.
## Purpose & Design Philosophy
Many opening range tools focus only on the initial break. In practice, the first retest after the break is often where the structure becomes more meaningful.
This script was built for traders who want to separate a clean retest hold from a weak pullback, failed breakout, or expired setup. The design supports structured observation instead of impulsive reaction.
## Why This Script Is Different
Most opening range tools stop at the range or breakout itself.
This script does not stop there.
Instead, it focuses on what happens after the break: whether price returns to the broken boundary, respects it, fails back inside the range, or runs out of time before a qualified retest appears.
## Methodology
1. Opening Range Mapping
2. Breakout Detection
3. Retest Pocket Construction
4. Retest Quality Scoring
5. Acceptance, Invalidation, or Expiration State
6. Panel and Alert Output
## How To Read The Chart
The opening range remains the main session reference.
The retest pocket marks the area where the script evaluates whether the broken boundary is being respected or rejected.
Labels highlight qualified retests, invalidations, and key state changes.
Target rails project possible continuation space after a qualified retest.
The panel summarizes OR state, retest score, acceptance side, failure risk, and current action.
## Signals & States
READY -> A retest touched the pocket, held the broken boundary, and met the minimum quality threshold.
MONITOR -> A breakout occurred and the script is tracking whether a qualified retest develops.
WAIT -> The opening range is still building, has just locked, or is waiting for a valid post-break condition.
INVALIDATED -> Price failed back inside the opening range after the breakout.
EXPIRED -> The retest window closed without a qualified retest.
BLOCKED -> The opening range is not valid enough to evaluate.
## Alerts Logic
Bullish Opening Range Retest Ready triggers when a bullish breakout retest holds the broken range high with enough score.
Bearish Opening Range Retest Ready triggers when a bearish breakout retest holds the broken range low with enough score.
Opening Range Retest Invalidated triggers when price fails back inside the opening range after a breakout.
Opening Range Retest Expired triggers when the retest window expires without a qualified hold.
Alerts are attention markers, not trade instructions.
## Confluence Logic
The retest score combines pocket touch quality, close response, retest timing, relative volume, opening range volatility fit, and available target room.
When these conditions align, the context becomes stronger. When they do not align, the panel remains in MONITOR, WAIT, INVALIDATED, or EXPIRED state.
## When To Use
This script is most useful in liquid intraday markets where the opening range matters and session structure is clear.
It fits breakout-retest workflows, opening drive continuation, failed breakout monitoring, and structured intraday planning.
## When NOT To Use
Avoid relying on this script in very low-liquidity symbols, extremely noisy sessions, holiday trading, or chart conditions where the opening range session cannot be represented cleanly.
## Key Inputs
Opening Range Mode controls whether the script uses an exact session window or the first chart bars of each day.
Auto mode uses session-window logic on lower intraday charts and switches to first-bars-of-day logic on higher timeframes.
Retest Pocket ATR controls the depth of the retest zone around the broken boundary.
Minimum Ready Score controls how strong the 0-100 retest score must be before READY appears.
Panel and label controls let users adjust position, theme, and visual density.
## Interface & Visual Design
The visual design is chart-first.
The opening range stays readable, the active retest pocket becomes the focus area, and the panel provides compact decision context without covering the whole chart.
The first panel row uses the AG Pro blue header style and shows only the script name.
## Practical Usage Workflow
1. Wait for the opening range to lock.
2. Watch for a breakout beyond the range boundary.
3. Observe whether price returns to the retest pocket.
4. Check the retest score and action state.
5. Treat alerts as attention markers and confirm context with your broader process.
## 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 guarantee outcomes.
It does not replace independent risk management or market context.
## Limitations & Transparency
Opening range behavior changes across markets, sessions, liquidity conditions, and timeframes.
The score is rule-based and depends on the configured session, ATR normalization, volume behavior, and retest window.
Different chart timeframes may display session structure differently.
## Risk Disclosure
Trading involves risk.
Users remain responsible for their own decisions.
This script is for educational and analytical purposes only and does not provide financial advice or guaranteed trading outcomes.
مؤشر
