Volatility Percentile [EXCAVO]ATR Percentile Rank with Four-State Volatility Classification and Trend Detection
The Volatility Percentile measures where the current Average True Range stands
relative to its own history using a percentile rank. Rather than comparing ATR to a
fixed threshold, the indicator continuously evaluates whether current volatility is
low, normal, elevated, or extreme relative to the recent distribution - adapting
automatically to each instrument and timeframe.
This is not a basic ATR display. The percentile rank provides a normalized, context-aware
measure of volatility that remains comparable across assets, timeframes, and market cycles.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ HOW TO USE
Step 1 → Add the indicator to a new pane. The histogram appears immediately,
colored by the current volatility state (blue, gray, orange, or red).
Step 2 → Read the state from the histogram color and dashboard. Blue = Low,
Gray = Normal, Orange = Elevated, Red = Extreme.
Step 3 → Note the percentile value. Above 80% indicates the current ATR is
in the top 20% of its historical range - unusually wide price swings.
Below 25% indicates unusually quiet conditions.
Step 4 → Check the Vol Trend row in the dashboard. RISING means the ATR is
accelerating above its 20-bar average. FALLING means it is contracting.
Step 5 → Set up state-change alerts to receive notifications when volatility
transitions between states on bar close.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ HOW IT CALCULATES
◆ ATR Percentile Rank
The indicator computes ATR(length) on each bar, then applies ta.percentrank() over
the lookback period. The percentile rank answers: "Out of the last N bars, what
percentage had an ATR lower than today's?" A result of 80 means 80% of recent bars
had a smaller ATR - current volatility is in the top 20% historically. The rank
always falls between 0 and 100, making it directly comparable across instruments.
◆ Smoothing
The raw percentile rank is passed through a simple moving average of configurable
length (default 3 bars). This suppresses single-bar spikes that would otherwise
cause false state transitions. The smoothed value is used for both the histogram
display and state classification. Setting smoothing to 1 disables it entirely.
◆ Four-State Classification
The smoothed percentile is compared against three configurable thresholds to assign
one of four states: Low (below 25th percentile), Normal (25th to 60th), Elevated
(60th to 80th), or Extreme (above 80th). State boundaries are user-adjustable,
allowing calibration for instruments that spend more time at elevated volatility
levels (such as crypto) versus lower-volatility markets.
◆ Volatility Trend
A secondary calculation compares the current ATR to its 20-bar simple moving average.
ATR above 105% of the SMA is classified as RISING. ATR below 95% of the SMA is
classified as FALLING. Between those bands the trend is STABLE. This early-warning
layer detects momentum in volatility before a state boundary is crossed.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ WHAT MAKES IT DIFFERENT
◆ Percentile Rank vs Fixed Threshold
A fixed ATR threshold (e.g., "ATR > 500 = high volatility") fails when applied across
different instruments or timeframes. The percentile approach self-calibrates: the same
indicator works on BTCUSD hourly and EURUSD daily without parameter changes, because
it measures volatility relative to the instrument's own recent history.
◆ Four States Instead of Two
Most volatility filters use a binary high/low split. Separating Normal from Elevated
and Extreme provides more granular awareness: Elevated volatility may still be
tradable, while Extreme conditions warrant a different approach to position sizing.
The four-state model also makes transitions visible earlier - Elevated appears before
Extreme is reached.
◆ Volatility Trend Detection
The Vol Trend layer detects whether ATR is currently accelerating or decelerating,
independently of which state it is in. It is possible to be in Normal state with
RISING trend (volatility building) or in Elevated state with FALLING trend
(volatility contracting back toward normal). This combination is visible only in the
dashboard and is not represented by the histogram color alone.
◆ ATR / Price Ratio
The dashboard shows ATR expressed as a percentage of the current close price. This
normalized measure is directly comparable across instruments and useful for estimating
stop distance relative to price without manual calculation.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ DASHBOARD
Real-time panel showing current volatility conditions:
State - active volatility state (LOW / NORMAL / ELEVATED / EXTREME), colored by type
Percentile - current smoothed ATR percentile rank (0-100%)
ATR - raw ATR value in price units for the current bar
ATR / Price - ATR expressed as a percentage of close price
Vol Trend - volatility momentum (RISING / FALLING / STABLE) vs 20-bar ATR average
Lookback - active lookback period used for percentile calculation
Legend table (bottom left) explains histogram colors and boundary lines. Both panels
toggle in Dashboard settings.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ SETTINGS
Engine
ATR Length - 14 bars (period for Average True Range calculation)
Lookback Period - 200 bars (history window for percentile rank)
Smoothing - 3 bars (applied to raw percentile; 1 = no smoothing)
State Thresholds
Low / Normal - 25 (percentile boundary between Low and Normal states)
Normal / Elevated - 60 (percentile boundary between Normal and Elevated states)
Elevated / Extreme - 80 (percentile boundary between Elevated and Extreme states)
Visualization
Low Vol Color - default blue
Extreme Vol Color - default red
Elevated Vol Color - default orange
Show State Ribbon - OFF (colored markers at pane bottom)
Background Highlight - ON (subtle tint matching active state)
Alerts
JSON Alerts - OFF (enable for bot integration)
Dashboard
Dashboard Position - Top Right
Show Dashboard - ON
Show Legend - ON
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ ALERTS
Extreme Volatility - state transitioned to Extreme on bar close
Elevated Volatility - state transitioned to Elevated on bar close
Normal Volatility - state transitioned to Normal on bar close
Low Volatility - state transitioned to Low on bar close
Volatility State Change - any state transition detected on bar close
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Best regards,
EXCAVO
Disclaimer
Trading involves significant risk. This indicator is a technical analysis tool
and does not constitute financial advice, investment recommendations, or a
guarantee of future results. Past indicator behavior does not guarantee future
performance. Always use proper risk management and your own judgment.
Indicator

Black Tie ATR + Position SizerMulti-timeframe ATR with a built-in position sizing calculator. Computes the position size required to risk a fixed percentage of your account, given an ATR-based stop-loss distance. Displays SL distance, risk in account currency, and projected profit at three R:R targets.
This is for traders who size every position by risk, not by gut feeling.
WHAT IT SHOWS
A table on the chart with: current ATR value, SL distance in price units, account size, risk percentage, risk amount in account currency, position size (in the correct unit for your instrument), total notional value, and projected profit at TP1 / TP2 / TP3.
Optional preview lines on the chart show where the long SL and short SL would sit at the current price given the configured ATR multiplier. These lines are hypothetical references, not trade signals.
INSTRUMENT-AWARE POSITION SIZING
The indicator detects the instrument type and displays position size in the unit your broker actually uses:
Forex pairs: standard lots, mini lots, and micro lots (1 standard lot = 100,000 units).
Gold (XAUUSD): standard lots, mini lots, and micro lots (1 standard lot = 100 oz).
Silver (XAGUSD): standard lots, mini lots, and micro lots (1 standard lot = 5,000 oz).
Crypto, stocks, and indices: contracts, shares, or units as appropriate.
Detection is automatic but can be overridden manually if your symbol naming is non-standard.
ALGORITHM
Position size is computed as Risk Amount / SL Distance, then converted to the appropriate trading unit. The SL distance is ATR multiplied by the SL ATR Multiplier. The risk amount is account size multiplied by the risk percentage divided by 100.
The Risk classification field labels the configuration as Conservative (under 0.5%), Standard (0.5-1%), Aggressive (1-2%), or HIGH RISK (over 2%) based on the input. The professional standard is 0.5-1% per trade.
USAGE
Set your account size and the percentage you risk per trade. Adjust the ATR multiplier to match your typical stop-loss distance. The table will display the position size you should enter in your broker's order ticket on the next trade.
SETTINGS
ATR Timeframe lets you compute ATR on a higher timeframe than the chart (useful for swing position sizing on intraday charts).
ATR Period and Smoothing match standard ATR conventions (default RMA, 14).
SL ATR Multiplier defaults to 1.5; lower for tighter stops, higher for more breathing room.
TP1 / TP2 / TP3 R:R are configurable.
Account currency display can be set to USD, EUR, GBP, JPY, AUD, CAD, or CHF.
Note on cross-currency: calculations assume 1:1 conversion to the instrument's quote currency. On cross-currency forex pairs, verify the conversion rate manually with your broker. Indicator

ATR Step Trailing Stop Positioning ToolThis indicator is an ATR-based trailing stop positioning tool.
It is not designed to generate buy or sell signals. Its purpose is to help traders visualize possible trailing stop levels based on volatility.
How it works:
The indicator calculates a stepped trailing level using the ATR distance from the high or low of the last closed candle.
For long-position management, the stop level can be positioned below price using the candle low and an ATR-based distance.
For short-position management, the stop level can be positioned above price using the candle high and an ATR-based distance.
Because the calculation is based on the last closed candle, the level is designed to behave like a step-style trailing reference instead of constantly moving tick by tick.
How this is different from a standard ATR trailing stop:
Many ATR stop indicators use a continuous trailing line or a single shared configuration for both long and short conditions.
This version is focused specifically on stop placement structure. It allows the trader to visualize ATR-based stop levels as stepped references from the most recent completed candle.
Another practical difference is that traders can add two instances of the indicator to the same chart. For example, one instance can be adjusted for long trailing stop management and another for short trailing stop management. By changing the visibility or transparency settings, it is possible to show only the positive or negative side of each instance and compare different ATR lengths or ATR multipliers for long and short positioning.
This makes the tool useful when a trader wants different trailing stop behavior for long and short positions instead of using one universal setting.
Possible use cases:
* Visualizing ATR-based trailing stop zones
* Managing open trades with a volatility-adjusted stop reference
* Comparing different ATR lengths or multipliers
* Separating long-side and short-side stop logic
* Studying how price behaves around volatility-based stop levels
Important limitation:
This indicator does not predict direction. It does not provide entry signals, exit signals, buy signals, or sell signals. The plotted levels are only a technical reference for trailing stop positioning based on ATR and closed candle structure.
Traders should combine this tool with their own entry logic, market structure analysis, risk management rules, and broader trading plan.
Indicator

Volatility Cooldown Planner [AGPro Series]Volatility Cooldown Planner
🧠 Core Idea
Has volatility cooled down enough to read the chart again?
📌 Overview / What it does
Volatility Cooldown Planner is a chart-first volatility risk and readiness tool built for the period after a sharp ATR spike, wide-range candle, or large wick event.
Instead of printing another directional signal, the script asks whether the market is still unstable, cooling, ready for review, or readable again. It produces a spike box, a forward cooldown band, spike rails, unsafe volatility warnings, readiness labels, alerts, and a clean AGPro planning panel.
The script does not predict news events, identify hidden catalysts, automate decisions, or tell users what to buy or sell. Its role is to organize post-spike volatility context into a readable decision workflow.
🎯 Purpose & Design Philosophy
This script was built for traders who often face the same problem after sudden volatility: the chart is active, but not always readable.
Many tools focus on volatility expansion, squeeze release, regime classification, or breakout confirmation. Those can be useful, but they do not always answer the practical question that appears after a spike: should the trader keep reading this structure now, or wait until volatility load normalizes?
The design philosophy is simple: after unstable volatility, the first decision is not direction. The first decision is whether the chart is clean enough to evaluate.
⚡ Why This Script Is Different
Most volatility tools focus on detecting expansion, squeeze release, high ATR regimes, or dramatic candles.
This script does NOT try to detect news events, does not clone a volatility expansion planner, does not act as a stop-run model, and does not classify broad volatility cycles.
Instead, it studies the cooling process after the spike. The main output is a 0-100 Cooldown Score and a next-action state that separates UNSAFE, TOO EARLY, COOLING, READINESS REVIEW, and CHART READABLE conditions.
⚙️ Methodology
1. Spike Detection
The engine identifies spike context using ATR Load, single-bar range expansion, and dominant wick size.
2. Cooldown Mapping
When a spike appears, the script draws a spike box and a forward cooldown band. The band becomes the active review area for post-spike readability.
3. Readiness Evaluation
The model scores ATR load normalization, range contraction, time decay, close-to-close stability, and wick pressure.
4. Visual Output
The planner displays the active state through labels, rails, band color, alert conditions, and a compact AGPro panel.
🗺️ How to Read the Chart
Spike Box = the original volatility shock area.
Cooldown Band = the forward review window where the script evaluates whether volatility is becoming readable again.
Spike Rails = the upper and lower reference boundaries from the spike event. They are volatility context rails, not entry or stop instructions.
Readability Trail = an optional lightweight dot layer for users who want extra chart presence between major labels. It is disabled by default for a cleaner publication preset.
Unsafe Label = volatility has reloaded before cooldown completed.
Ready / Readable Labels = the cooldown score has reached a stronger review state.
Panel = a compact decision view showing Spike State, Cooldown Score, Volatility Load, Readiness, Action, and Best View.
🚦 Signals & States
• SPIKE → a new volatility shock has been registered.
• UNSAFE → volatility reloaded before the cooldown process became stable.
• TOO EARLY → not enough bars have passed after the spike.
• COOLING → volatility is improving, but readiness is not strong enough yet.
• READINESS REVIEW → conditions are strong enough to review the chart again.
• CHART READABLE → ATR load has normalized and the cooldown score is strong.
🔔 Alerts Logic
Volatility Spike Registered triggers when ATR load, range expansion, or wick pressure qualifies as a spike event.
Unsafe Volatility Reload triggers when volatility expands again during the active cooldown window.
Cooldown Readiness Review triggers when the cooldown score reaches the readiness threshold.
Chart Readable After Cooldown triggers when volatility load and cooldown quality both reach the strongest readable state.
Alerts are attention markers, not trade instructions.
🧩 Confluence Logic
The strongest cooldown state appears when multiple conditions align:
ATR load falls toward the target area, recent ranges contract, close-to-close movement stabilizes, wick pressure fades, and enough time has passed after the spike.
When these conditions align, the chart becomes more readable under the script's rules. This does not create certainty or directional prediction.
📊 When to Use
• After sharp ATR spikes
• After wide-range candles
• After large wick events
• After fast liquidation-style movement
• During post-event stabilization
• When the chart feels too unstable to interpret cleanly
• Best visual fit: 4H charts and intraday-swing volatility review
• Daily charts can work for broader context, but they may look more sparse because fewer cooldown events appear
⚠️ When NOT to Use
• Very low-liquidity markets
• Illiquid sessions with unreliable candle structure
• Extreme news volatility where conditions keep changing quickly
• Symbols with irregular gaps or poor feed quality
• As a standalone directional entry system
🎛️ Key Inputs
• Sensitivity → controls how demanding spike detection is.
• ATR Length → normalizes spike size and label offsets.
• ATR Baseline Length → defines the local volatility baseline.
• Cooldown Review Window → controls how long the spike remains under review.
• Cooldown Target ATR Load → defines the internal volatility load target for readability.
• Readiness Score Threshold → defines when the panel can mark readiness review.
• Visual settings → control spike boxes, cooldown bands, rails, markers, and background warnings.
• Readability Trail → optional subtle chart presence during active cooldown or elevated volatility.
• Label and Panel Font Size → control chart labels and panel readability.
🖥️ Interface & Visual Design
The interface is designed to stay chart-first.
The spike box explains where the instability started. The cooldown band shows the active review window. The centered band label gives the current state without forcing the user into a lower-pane dashboard.
The default visual preset keeps the chart calmer by hiding standalone spike event labels, sparse context labels, label scores, readable-upgrade follow-up labels, and the optional readability trail. Users can enable those layers when they want a denser visual review.
The AGPro panel follows the public-release standard with one merged blue header row containing only the panel title. The remaining rows focus on decision context rather than raw data overload, including a Best View row that points users toward the 4H chart when needed.
🧪 Practical Usage Workflow
1. Read the panel Readiness and Action fields.
2. Start with a 4H chart when preparing a visual review or publication screenshot.
3. Check whether the chart is still inside an active cooldown band.
4. Watch Volatility Load and Cooldown Score.
5. Treat UNSAFE as a warning that the chart may still be unstable.
6. Treat READINESS REVIEW or CHART READABLE as a prompt to evaluate broader structure, not as an automatic trade command.
🔍 Interpretation Guidelines
A high cooldown score means volatility has normalized under the script's rule set.
It does not mean price must continue, reverse, or respect the spike rails.
The best use is as a readability filter after unstable movement. It helps the trader decide whether the market is still too hot, cooling, or clean enough to study again.
🚫 What This Script Is NOT
• Not a prediction engine
• Not financial advice
• Not auto trading
• Not guaranteed signals
• Not a news-event detector
• Not a volatility expansion breakout tool
• Not a stop-run or liquidity-sweep model
⚠️ Limitations & Transparency
This script uses standard PulseWire OHLCV data and ATR-based measurements.
It cannot identify the real-world cause of volatility. It cannot know whether a spike came from news, liquidation, session flow, thin liquidity, or normal order flow.
Timeframe selection, symbol liquidity, session structure, and volatility regime can affect how quickly cooldown states appear. The default preset is visually best suited to 4H charts; lower timeframes may require stricter inputs, while Daily charts may naturally show fewer events.
🧠 Market Context Notes
Volatility often becomes hardest to interpret immediately after a sharp event.
Some spikes create clean follow-through. Others create unstable noise, whipsaw, or delayed normalization.
This planner focuses on the cooling process, not the directional outcome.
🧾 Use Case Examples
When a wide candle appears and the panel shows UNSAFE, the trader can wait for volatility load to normalize before interpreting follow-through.
When a spike box remains active but the score rises into READINESS REVIEW, the trader can compare the cooldown band with broader structure, trend, liquidity, and personal execution rules.
When the panel reaches CHART READABLE, the market is no longer classified as overheated by the script, but the user still needs independent context.
🧱 System Philosophy
AGPro tools are designed to convert market structure into decision context.
This script follows that philosophy by turning post-spike volatility into a readable workflow: identify the shock, monitor the cooldown, evaluate the readiness state, and avoid treating every fast move as immediately actionable.
🔐 Non-Promise Statement
No script can remove uncertainty.
No cooldown state guarantees that the next move will be clean.
The output is a structured analytical context, not certainty.
📉 Risk Disclosure
Trading involves risk.
Users are responsible for their own analysis, risk management, and decisions.
This script is for educational and analytical use only and does not provide financial advice.
📚 Educational Note
Use the planner to study how volatility behaves after spikes, how long different symbols take to normalize, and how readability changes across timeframes.
Indicator

UCY-VWATR (live)═══════════════════════════════════════
UCY-VWATR — Volume Weighted ATR Bands with Supertrend
═══════════════════════════════════════
▸ OVERVIEW
A volatility-band indicator that combines a Volume Weighted
Moving Average (VWMA) center line with ATR-based deviation
bands and a Supertrend overlay for trend direction.
The indicator visualizes how far price extends from its
volume-weighted mean in units of Average True Range, while
the Supertrend acts as a dynamic trend filter.
═══════════════════════════════════════
▸ HOW IT WORKS
- VWMA forms the central reference band (default: 20 period),
giving more weight to bars with higher volume than a standard
moving average.
- ATR (default: 14 period) generates three pairs of upper and
lower deviation bands at ±1, ±2, and ±3 multiples — mapping
volatility expansion zones around the mean.
- Supertrend (default: 10 period, factor 3.0) determines the
prevailing trend direction. Green = uptrend, Red = downtrend.
- Body-middle (the midpoint of each candle's open and close)
is compared against each band. When the body crosses beyond
a band in the direction of the active trend, a colored fill
appears — darker fills indicate stronger displacement from
the mean.
═══════════════════════════════════════
▸ HOW TO READ THE FILLS
In an UPTREND (green Supertrend):
- Body above VWMA → light green fill (mild momentum)
- Body above +1 ATR → medium green
- Body above +2 ATR → strong green
- Body above +3 ATR → extreme green (potential exhaustion)
In a DOWNTREND (red Supertrend):
- Body below VWMA → light red fill
- Body below -1 ATR → medium red
- Body below -2 ATR → strong red
- Body below -3 ATR → extreme red (potential exhaustion)
The intensity of the fill provides an at-a-glance read of
how stretched price is relative to its volume-weighted mean.
═══════════════════════════════════════
▸ POTENTIAL USE CASES
- Trend-following: Enter in the direction of the Supertrend
when price pulls back to VWMA or ±1 ATR band.
- Mean reversion: Look for exhaustion signals when price
reaches ±3 ATR bands against the prevailing trend.
- Breakout confirmation: A break and hold above/below ±1 ATR
in the direction of a fresh Supertrend flip can act as
trend confirmation.
- Volatility context: Wider band spacing signals high
volatility regimes; narrow bands indicate compression.
═══════════════════════════════════════
▸ SETTINGS
- VWMA Length: 20 (medium-term balance)
- ATR Length: 14 (classic Wilder period)
- ATR Multipliers: 1.0 / 2.0 / 3.0
- Supertrend ATR Length: 10
- Supertrend Factor: 3.0
All parameters are user-adjustable to fit different timeframes
and instruments. Lower multipliers suit ranging markets;
higher multipliers suit trending or volatile assets.
═══════════════════════════════════════
▸ NOTES
- Works on all timeframes and instruments (stocks, futures,
forex, crypto).
- VWMA requires volume data — best results on instruments
with reliable volume feeds (avoid forex spot pairs without
aggregated volume).
- Designed as a visual decision-support tool, not a
standalone signal generator.
═══════════════════════════════════════
⚠️ DISCLAIMER
This indicator is published for educational and analytical
purposes only. It does not constitute financial advice or a
recommendation to buy or sell any asset. All trading decisions
and their outcomes are the sole responsibility of the user.
Past performance does not guarantee future results. Indicator

Structural Leg Profiler [LuxAlgo]The Structural Leg Profiler indicator is a comprehensive structural analysis tool that dynamically maps lower-timeframe volume distributions onto major market swings to reveal where the most significant trading activity occurs within a trend.
🔶 USAGE
The tool is designed to bridge the gap between traditional price action swings and order flow analysis. By using an ATR-based swing detection mechanism, the indicator automatically identifies structural "legs" (upward or downward price movements) and generates a detailed volume distribution profile for each one.
Users can leverage this tool to identify high-interest zones (Point of Control) and determine whether a move is supported by aggressive buying or selling volume through the Delta coloring mode.
🔹 Interpreting the Profiles
Each structural leg displays a volume profile across its duration, constructed from lower-timeframe data to ensure precision.
Volume Gradient Mode: Highlights nodes based on total activity. The colors transition from low-volume areas to high-volume nodes, with the Point of Control (POC) being the most prominent. Delta Mode: Colors the profile blocks based on the net difference between buying and selling volume. Bright green indicates heavy aggressive buying, while bright red indicates heavy aggressive selling. Summary Labels: Each leg includes a summary label showing the Total Leg Volume, the Net Delta, and the exact POC price.
🔹 Volume Anomalies
The script automatically detects and highlights candles with unusual volume spikes using dynamic "bubbles." This helps in identifying potential exhaustion points or strong breakout momentum.
Standard Bubbles: Indicate volume that is significantly above the 20-period average. Large Bubbles with Values: Indicate extreme volume spikes, with the exact volume printed inside the bubble for immediate context.
🔶 DETAILS
🔹 Untested POC Extensions
A core feature of this script is the "Naked POC" logic. When a structural leg is completed, its Point of Control is projected forward as a dashed line. These levels often act as high-probability support or resistance zones. The line continues to extend until price eventually "tests" or crosses it, at which point it automatically terminates to keep the chart clean.
🔹 Lower Timeframe Precision
Unlike standard profiles that use only chart-resolution data, this script utilizes
request.security_lower_tf
to pull granular data. This provides a much more accurate view of how volume was distributed within each leg compared to simple OHLC-based approximations.
🔶 SETTINGS
🔹 Swing Detection
ATR Period: The lookback period used to calculate volatility for swing detection. Swing Multiplier (ATR): Controls the sensitivity of the legs. Higher values capture major trends; lower values capture micro-swings.
🔹 Profile Settings
Max Profile Boxes: Defines the vertical resolution and maximum number of rows in the profiles. Profile Alignment: Determines where the volume bars are anchored (Left, Right, or Center) within the leg area. Show Volume Value: Toggles the visibility of numeric volume values inside the profile boxes. Extend Untested POCs: Enables the forward projection of POC lines until they are mitigated by price.
🔹 Volume Anomalies
Show Volume Bubbles: Toggles the volume anomaly visualization. Spike Threshold: The multiplier relative to the 20-period average volume that triggers an anomaly bubble.
🔹 Style & Colors
Box Color Mode: Choose between "Volume Gradient" (Total Volume focus) or "Delta" (Buy vs. Sell focus). Up/Down Leg Colors: Customizable color gradients for both bullish and bearish structural legs. Indicator

[CT] Adaptive ATR Volatility Targets Adaptive ATR Volatility Targets is a volatility-based target tool designed to help traders identify projected expansion levels above and below a chosen anchor price. The indicator uses either ADR, Average Daily Range based on high minus low, or ATR, Average True Range, to calculate dynamic price targets from the selected volatility timeframe. This allows traders to see where price may reasonably expand during the current session, day, week, or chosen higher-timeframe period.
The center anchor can be based on the current open, the previous close, or HLC3, giving traders flexibility in how they want to frame the active volatility range. From that anchor, the indicator plots target levels in quarter-volatility increments, including 0.25, 0.50, 0.75, 1.00, and beyond. These levels can help traders identify early expansion zones, major target zones, possible profit-taking areas, and locations where price may begin to slow, reject, or become extended.
A key feature of this indicator is the Golden Target level at 0.618. This level is included because markets often react around proportional expansion areas before reaching full volatility targets. The 0.618 level can be useful for partial profits, trend continuation confirmation, or watching for rejection when price has not yet reached the full 1.0 volatility target.
The indicator also includes visual zone fills between the major levels. These zones help traders quickly read whether price is still near the anchor, beginning to expand, approaching a major volatility target, or trading in an extended area. The upper zones represent bullish expansion targets, while the lower zones represent bearish expansion targets. The center line acts as the reference point for the active volatility range.
The added history feature allows traders to keep previous volatility target sets on the chart. This is useful for studying how price reacted to prior ATR or ADR levels, identifying repeated respect or rejection zones, and reviewing whether previous targets acted as support, resistance, liquidity areas, or exhaustion points. Historical target sets can be faded so the current target levels remain the primary focus while still giving context from prior periods.
This tool is best used as a target and context indicator, not as a standalone buy or sell signal. A trader may use it to plan profit targets after a confirmed trend entry, measure how far price has already expanded from the session anchor, identify when price is becoming stretched, or determine whether there is still room for continuation. In a strong bullish move, upper volatility targets can act as upside objectives. In a strong bearish move, lower volatility targets can act as downside objectives. In a range-bound market, rejection around the 0.50, 0.618, or 1.0 levels may warn that price is losing momentum.
For best results, this indicator should be combined with trend direction, volume, market structure, VWAP, opening range levels, or momentum confirmation. When price is expanding toward a volatility target with strong trend confirmation, the level can be used as a logical profit objective. When price reaches a target with weakening momentum, divergence, rejection candles, or heavy opposing volume, the level may become a warning area for profit-taking or reversal risk.
Adaptive ATR Volatility Targets is designed to give traders a clean volatility roadmap. It helps answer three important questions: where is price starting from, how far has price expanded, and where are the next reasonable upside or downside targets based on current volatility. Indicator

KALKI TFXBOT⚜️ KALKI TFX BOT : SMC Liquidity Sniper
By kalkitrading.com
Overview
The KALKI TFX BOT is an institutional-grade automated strategy designed to stop chasing retail breakouts and start trading alongside Smart Money. Built specifically for high-volatility assets like XAUUSD (Gold), this engine ignores lagging oscillators and focuses entirely on Liquidity Sweeps and structural market shifts.
If you are tired of getting stopped out by wicks or chopped up in sideways consolidation, this is your execution model.
How It Works
Retail traders place their stop losses at obvious support and resistance levels. Institutional algorithms push the price past these levels to "sweep" that liquidity before reversing the market in the true direction. The IBZ Cartel Engine is mathematically programmed to detect these exact traps.
It waits for a candle to pierce a major liquidity pool, and triggers an entry only if the price aggressively rejects and closes back inside the structure.
Core Features
SMC Liquidity Sweeps: Maps internal swing highs and lows, entering the market only after retail liquidity has been purged.
Dynamic ATR Risk Management: Stop Losses are never arbitrary. The engine hides your Stop Loss strictly behind the sweep wick, adding a dynamic ATR buffer to protect you from broker slippage.
Institutional Cartel Visuals: Displays premium, shaded Risk:Reward boxes (Blue/Red for TP, Grey for SL) directly on your chart. Includes an automatic "Box Cutter" algorithm to ensure your chart remains perfectly clean with zero overlapping visuals if a position reverses.
Strict 1:3 R:R Enforcement: Hardcoded to enforce a minimum 1:3 Risk-to-Reward ratio, allowing you to grow your account even with a win rate as low as 35%.
Macro Trend Guard: Built-in EMA 200 filter ensures you are only taking liquidity sweeps in the direction of the dominant institutional trend.
Best Practices
Timeframes: Optimized for the 5m and 15m intraday charts.
Assets: Highly effective on XAUUSD, Brent Crude, and Silver.
Chart Settings: For the cleanest visual experience, go to Chart Settings -> Trading -> and uncheck "Show Executions" to hide default PulseWire arrows.
Trade like the KALKI Cartel. Protect your capital. Execute without emotion. Strategy

Candle Expansion Readiness [AGPro Series]Candle Expansion Readiness
🧠 Core Idea
Is the current candle expansion meaningful enough to monitor, or is it only a noisy wide candle?
📌 Overview / What it does
Candle Expansion Readiness is a chart-first candle quality planner built to evaluate whether an active expansion candle has enough structure to deserve attention.
Instead of treating every wide candle as important, the script studies body efficiency, wick control, relative volume, ATR-normalized expansion, recent range behavior, and close location. These components are converted into a 0-100 Expansion Readiness Score with a clear state: READY, WATCH, FADE RISK, or WAIT.
The script produces expansion candle labels, a forward follow-through box, risk edge, target guide, failure/fade states, alerts, and a clean AGPro planning panel. It does not predict future price movement, automate decisions, or guarantee that an expansion candle will continue.
🎯 Purpose & Design Philosophy
This script was built for traders who want a cleaner way to judge expansion candles before reacting to them.
The gap it fills is practical: many candle tools mark a candle after it appears, but they do not explain whether that candle is efficient, supported, close-positioned, and monitorable. Candle Expansion Readiness turns that moment into a structured planning question.
The design supports a decision-first workflow: read the candle quality, check whether follow-through is developing, identify the risk edge, and decide whether the context deserves more attention.
⚡ Why This Script Is Different
Most tools focus on large candles, volume spikes, engulfing patterns, institutional candle labels, or general breakout signals.
This script does NOT clone Institutional Candle Detector, does not classify candles into institutional taxonomies, does not build an absorption system, and does not act as a generic breakout-volume tool.
Instead, it evaluates the current expansion candle as a readiness event. The output is not a trade command. It is a planning state that helps users separate monitorable expansion from weak, noisy, or fading candle behavior.
⚙️ Methodology
1. Context Detection
The script reads the active candle side from candle direction and close behavior, or lets the user force bullish or bearish readiness mode.
2. Reference Mapping
It maps the expansion candle, risk edge, follow-through window, and target guide.
3. Reaction Evaluation
The model scores body efficiency, wick control, relative volume, ATR expansion, recent range expansion, and directional close location.
4. Visual Output
The result appears through compact labels, candle glow, a forward follow-through box, risk edge, target guide, deterministic alerts, and the AGPro planning panel.
🗺️ How to Read the Chart
Zones = the follow-through box shows the monitored area from the expansion risk edge toward the target guide. Its label is centered inside the box.
Labels = compact markers show READY, WATCH, DOWNGRADE, CONFIRMED, INVALID, or FADED context.
Colors = green highlights stronger bullish readiness or confirmation, pink highlights bearish or invalidated context, amber highlights caution, and indigo highlights watch behavior.
Panel = the panel summarizes Candle Efficiency, Volume Support, Expansion Score, Follow-Through, and Action.
🚦 Signals & States
• READY → candle expansion quality is strong enough to monitor.
• WATCH → candle quality is improving but confirmation is incomplete.
• FADE RISK → the candle expanded, but wick or close behavior is weak.
• CONFIRMED → follow-through reached the active target guide.
• INVALIDATED → price crossed the active risk edge.
• FADED → the follow-through window expired without confirmation.
• WAIT → no strong enough expansion context is active.
🔔 Alerts Logic
Alerts trigger when the planner enters READY state, downgrades from READY or WATCH, crosses the active risk edge, confirms at the target guide, or fades after the follow-through window.
These alerts are attention markers only. They are not trade instructions, entry signals, or automated strategy commands.
🧩 Confluence Logic
The readiness state becomes stronger when body efficiency, close location, relative volume, ATR expansion, and wick control align on the same candle.
When those elements align and the follow-through box remains active without risk-edge violation, the candle context becomes cleaner. When the score is high but follow-through fails, the planner intentionally downgrades the context instead of ignoring the failure.
📊 When to Use
• Active intraday or swing charts where candle expansion matters.
• Breakout attempts where candle quality needs review.
• Continuation moves that require follow-through monitoring.
• Reversal attempts where the trader wants to know whether the impulse candle is efficient or noisy.
• Liquid symbols with reliable OHLC and volume data.
⚠️ When NOT to Use
• Very low-liquidity markets with unreliable candles.
• Extremely noisy sessions where wide candles fail repeatedly.
• Symbols with poor or missing volume data if volume support is central to your workflow.
• News-driven spikes where normal candle-quality rules may lose relevance.
• As a standalone entry system without broader market context.
🎛️ Key Inputs
• Sensitivity → controls how strict the readiness model is.
• Expansion Lookback → compares the current candle to recent range behavior.
• READY Threshold → minimum 0-100 score required for READY state.
• Confirmation Mode → controls whether close quality alone is enough or whether volume/edge confirmation is required.
• Follow-Through Bars → defines how long the script monitors the active expansion.
• Risk Edge Buffer ATR → moves the invalidation reference slightly beyond the candle edge.
• Visual settings → control boxes, risk edge, target guide, candle glow, labels, panel theme, and font sizes.
🖥️ Interface & Visual Design
The interface is designed to stay chart-first.
The panel gives the current decision state without becoming a crowded dashboard. The follow-through box creates a clean visual planning area, while compact labels keep the chart active without burying price candles.
The first panel row follows the AGPro merged blue header standard and shows only the script name.
🧪 Practical Usage Workflow
1. Read the Expansion Score and Action row.
2. Check whether the candle is READY, WATCH, or FADE RISK.
3. If READY appears, inspect the follow-through box and risk edge.
4. Watch whether price confirms, fades, or invalidates.
5. Interpret the result within your broader structure, liquidity, and risk plan.
🔍 Interpretation Guidelines
Think of the script as a candle expansion planner, not a signal caller.
A READY candle deserves attention because its structure is cleaner than average. A WATCH candle needs more evidence. A FADE RISK candle warns that expansion exists, but the candle quality is not clean. INVALIDATED and FADED states are part of the workflow because failed expansion is useful information.
🚫 What This Script Is NOT
• Not a prediction engine.
• Not financial advice.
• Not auto trading.
• Not guaranteed signals.
• Not an institutional candle detector.
• Not an order block, fair value gap, or support/resistance map.
⚠️ Limitations & Transparency
• Timeframe differences can change how expansion candles appear.
• Volatility spikes can temporarily distort candle-quality readings.
• Volume data may differ by exchange, broker, symbol, and feed.
• Follow-through is evaluated through a fixed monitoring window.
• Market conditions can shift after a READY candle appears.
🧠 Market Context Notes
Candle expansion is most useful when interpreted with liquidity, structure, volatility, and location.
The script focuses on the candle itself and the immediate follow-through plan. Traders should still consider broader trend context, nearby levels, session behavior, and event risk.
🧾 Use Case Examples
When a bullish candle closes near its high with strong body efficiency and relative volume, the script may mark READY and project a follow-through box above the risk edge.
When a wide candle has heavy wick behavior and poor close location, the script may flag FADE RISK instead of treating the candle as clean expansion.
When a READY candle fails back through its risk edge, the active plan becomes INVALIDATED.
🧱 System Philosophy
AGPro tools are designed to support structured chart reading. The goal is to convert market behavior into clean, rule-based context that helps traders think more clearly.
Candle Expansion Readiness follows that philosophy by turning a single expansion candle into a monitored planning state.
🔐 Non-Promise Statement
No script can provide certainty.
This tool organizes candle expansion context, but it does not guarantee continuation, reversal, profit, or any specific market outcome.
📉 Risk Disclosure
Trading involves risk.
Users are responsible for their own analysis, execution, position sizing, and risk management.
Nothing in this script or description is financial advice.
📚 Educational Note
Use the script to study how clean expansion candles behave across different symbols and timeframes. The value is in comparing candle quality, follow-through, and failure behavior over time.
Indicator

Volatility Stop Run Planner [AGPro Series]Volatility Stop Run Planner
🧠 Core Idea
Is the current volatility spike a stop-run review context, or is it behaving more like real expansion?
📌 Overview / What it does
Volatility Stop Run Planner is a chart-first volatility risk and execution-readiness tool designed to evaluate sharp ATR expansion around recent range edges.
The script studies wick expansion, ATR load, close recovery, range-edge penetration, reclaim quality, and early follow-through. It then converts qualified events into a 0-100 planner score, a clear next-action state, reclaim guides, invalidation guides, target-room references, stop-run review zones, expansion review zones, and a clean AGPro planning panel.
It does not predict where price must go next. It does not automate entries or exits. It is built to organize volatile stop-run and expansion contexts so traders can evaluate the event with more structure.
🎯 Purpose & Design Philosophy
This script was built for traders who need a practical decision framework during fast volatility spikes.
Many charts look most confusing exactly when volatility expands: wicks stretch, stops may be triggered, range edges are breached, and the candle can either reclaim or continue. This planner fills that gap by asking whether the spike is showing stop-run characteristics, real expansion behavior, or a cooldown state that still needs confirmation.
The design supports a planning mindset: identify the event, evaluate quality, locate the reclaim level, define invalidation context, estimate target room, and decide what deserves attention next.
⚡ Why This Script Is Different
Most stop-run tools focus on liquidity sweeps, stop-hunt zones, or level raids.
This script does NOT try to become another liquidity grab detector, stop-hunt map, order block map, or generic sweep marker.
Instead, it focuses on the volatility event itself. It evaluates whether a spike around a recent range edge is recovering, rejecting, expanding, or entering a cooldown window. The core output is not a buy or sell signal. It is a planner state that helps the user decide whether the current volatility context deserves review, patience, or no action.
⚙️ Methodology
1. Context Detection
The script measures ATR load, candle range relative to ATR, wick dominance, body efficiency, and recent range-edge interaction.
2. Reference Mapping
It maps the recent high / low reference range, the reclaim level, the spike extreme, the invalidation guide, and the target-room reference.
3. Reaction Evaluation
The model scores stop-run risk, reclaim quality, volatility load, range-edge penetration, and expansion quality. These components are blended into a 0-100 planner score.
4. Visual Output
Qualified events are displayed through stop-run review zones, expansion review zones, reclaim lines, active risk / target guides, optional volatility cooldown boxes, premium labels, alerts, and a compact AGPro panel.
🗺️ How to Read the Chart
Zones = stop-run or expansion review areas created around qualified volatility spike events.
Labels = compact event markers showing the detected context, planner score, score tier, and next-action state.
Colors = bullish reclaim contexts use AGPro teal, bearish reclaim contexts use AGPro pink, and expansion / neutral review contexts use controlled accent tones.
Panel = the panel summarizes Spike State, Planner Score, Stop-Run Risk, Reclaim Quality, Risk / Target, Volatility Load, and Action.
🚦 Signals & States
• Bull Stop-Run → downside spike below the recent range edge followed by reclaim-quality behavior.
• Bear Stop-Run → upside spike above the recent range edge followed by rejection-quality behavior.
• Expansion Up → volatility spike closes cleanly above the recent range edge with stronger body efficiency.
• Expansion Down → volatility spike closes cleanly below the recent range edge with stronger body efficiency.
• Spike Watch → volatility is elevated, but the candle has not yet produced enough reclaim or expansion evidence.
• Normal Load → no qualified volatility event is currently detected.
🔔 Alerts Logic
Alerts trigger when the planner detects a qualified Bull Stop-Run Review, Bear Stop-Run Review, Expansion Up Review, Expansion Down Review, or Spike Watch context.
These alerts are attention markers. They are not trade instructions, entry signals, exit signals, or automated strategy commands.
🧩 Confluence Logic
The strongest planner states appear when multiple conditions align:
ATR spike + wick expansion + range-edge penetration + reclaim quality + clean risk / target context.
When the spike reclaims the reference level with strong wick rejection, the stop-run review context becomes stronger. When the candle closes beyond the range edge with strong body efficiency, the expansion review context becomes stronger.
📊 When to Use
• Around sudden volatility spikes
• Near recent range highs or lows
• During breakout or breakdown attempts
• After large wick candles that need structured interpretation
• When deciding whether a fast move deserves review, patience, or no action
⚠️ When NOT to Use
• Extremely low-liquidity symbols
• Very noisy micro-timeframes
• News-driven candles with abnormal gaps
• Markets where ATR is distorted by isolated historical spikes
• Situations where the user expects a simple signal-only entry tool
🎛️ Key Inputs
• Sensitivity → controls how selective the spike and stop-run planner should be.
• Reference Lookback → defines the recent range edge used for spike evaluation.
• ATR Length → normalizes volatility, invalidation, target room, and label spacing.
• Minimum Planner Score → sets the score required before events are drawn.
• Confirmation Mode → controls how strict reclaim or expansion confirmation should be.
• Cooldown Bars → defines the post-spike visual review window.
• Visual settings → control zones, labels, guides, panel theme, panel location, and font sizes.
🖥️ Interface & Visual Design
The interface is designed to stay chart-first.
The panel provides the decision summary. The chart zones show where the volatility event happened. The reclaim line identifies the reference level. The risk / target guides frame the active review context without turning the script into a trade command system.
The visual hierarchy is intentionally compact, premium, and readable.
🧪 Practical Usage Workflow
1. Read the panel to identify the current Spike State and Planner Score.
2. Check whether the chart is showing a stop-run review, expansion review, or spike watch context.
3. Compare the reclaim line with the candle close and wick behavior.
4. Review the invalidation and target-room guides.
5. Interpret the event within broader market structure and volatility conditions.
🔍 Interpretation Guidelines
A high stop-run risk score means the spike has stronger rejection and reclaim characteristics.
A high expansion score means the spike is behaving more like continuation through the range edge.
A cooldown window means the event needs follow-through review rather than immediate interpretation.
No single score should be read in isolation. The strongest use case is to combine the planner state with structure, liquidity, trend, and timeframe context.
🚫 What This Script Is NOT
• Not a prediction engine
• Not financial advice
• Not an auto trading system
• Not a guaranteed signal tool
• Not a liquidity grab detector
• Not a stop-hunt zone map
• Not an order block or FVG map
⚠️ Limitations & Transparency
Volatility behavior changes across symbols, sessions, and timeframes.
ATR can expand sharply during news, low-liquidity gaps, or abnormal market conditions.
Some stop-run-looking candles can still continue in the same direction. Some expansion-looking candles can fail quickly. The script provides structured context, not certainty.
🧠 Market Context Notes
Stop-run behavior often appears when price briefly trades through visible reference areas and then reclaims them.
Expansion behavior often appears when price accepts beyond the reference with stronger body efficiency and less rejection.
The planner is designed to help users separate these contexts with a consistent rule-based framework.
🧾 Use Case Examples
When price spikes below a recent low, leaves a large lower wick, and closes back above the reference, the script may classify the event as a Bull Stop-Run Review.
When price expands above a recent high with a strong body close and limited upper rejection, the script may classify the event as Expansion Up.
When volatility spikes but reclaim or expansion evidence is incomplete, the script may show Spike Watch or keep the event in cooldown.
🧱 System Philosophy
Volatility Stop Run Planner follows the AGPro Series decision-engine approach:
Context first.
Risk before reaction.
Reclaim before assumption.
Expansion quality before excitement.
Attention markers instead of promises.
🔐 Non-Promise Statement
No indicator can remove uncertainty.
No state, score, label, alert, line, or zone should be interpreted as guaranteed market direction.
📉 Risk Disclosure
Trading involves risk.
Users remain responsible for their own analysis, risk management, and decisions.
This script is for educational and analytical purposes only and does not provide financial advice.
📚 Educational Note
The script is designed to make volatile candles easier to review by separating stop-run behavior, expansion behavior, and cooldown context into a clean visual planning workflow.
Indicator

Impulse Follow-Through Quality [AGPro Series]Impulse Follow-Through Quality
🧠 Core Idea
Did the impulse receive enough follow-through to remain valid?
📌 Overview / What it does
Impulse Follow-Through Quality is a chart-first momentum expansion planner built to evaluate what happens after a strong impulse candle appears.
Instead of treating every strong candle as a standalone signal, the script starts a follow-through review window and measures whether price extends, pauses constructively, pulls back too deeply, reaches a target-room guide, or crosses a failure rail. These elements are converted into a 0-100 Impulse Quality score and a clear next-action state.
The script produces an impulse highlight, follow-through box, failure rail, measured target guide, compact labels, alerts, and a clean AGPro planning panel. It does not predict continuation, automate trades, or guarantee that momentum will continue.
🎯 Purpose & Design Philosophy
This script was built for traders who want to separate a meaningful impulse from a candle that only looks strong for one bar.
Many momentum tools focus on the impulse itself. The practical question often comes after that candle: does the move attract follow-through, or does it begin to fail? This planner fills that gap by turning the post-impulse phase into a readable decision process.
The design supports a patient review mindset: identify the impulse, watch the follow-through window, evaluate pullback depth, check target room, and review the failure rail before reacting.
⚡ Why This Script Is Different
Most tools focus on strong candles, volume spikes, momentum bursts, or basic continuation labels.
This script does NOT act as a Volume Climax Detector, does NOT rebuild an Institutional Candle Detector, and does NOT reduce the chart to a simple buy/sell momentum signal.
Instead, it evaluates what happens after the impulse. The key output is not the candle itself. The key output is the follow-through quality state: IMPULSE, WAIT FT, FT WATCH, VALID FT, PULLBACK RISK, WEAK FT, FAILED, or TARGET REVIEW.
⚙️ Methodology
1. Context Detection
The script detects qualified bullish or bearish impulse candles using ATR-normalized range, body efficiency, close location, trend context, and participation.
2. Reference Mapping
Once an impulse qualifies, the script maps the impulse origin, follow-through box, failure rail, and target-room guide.
3. Reaction Evaluation
The model evaluates follow-through progress, closes beyond the impulse close, retracement depth, participation support, target room, and whether price crosses the failure rail.
4. Visual Output
The result is displayed through an impulse highlight, centered follow-through box label, failure rail, target guide, compact labels, deterministic alerts, and a premium AGPro panel.
🗺️ How to Read the Chart
Impulse Highlight = the latest qualified impulse leg that starts the review window.
Follow-Through Box = the active planning area between the impulse close and the measured target-room guide. Its label is centered inside the box.
Failure Rail = the practical invalidation reference behind the impulse. It is an analytical line, not a stop order.
Target Guide = a measured target-room reference based on the impulse range.
Labels = compact state markers for impulse start, constructive follow-through, weak follow-through, pullback risk, failure rail review, and target review.
Colors = teal supports constructive long-side follow-through, pink supports short-side or failure context, amber marks review risk, and indigo marks watch states.
Panel = summarizes Impulse Quality, Follow-Through, Pullback Risk, Target Room, and Action.
🚦 Signals & States
• IMPULSE → a qualified impulse candle has started a review window.
• WAIT FT → the impulse exists, but follow-through is not confirmed yet.
• FT WATCH → follow-through conditions are improving but not strong enough for the highest state.
• VALID FT → follow-through quality is constructive according to the rule set.
• PULLBACK RISK → retracement depth is elevated inside the impulse range.
• WEAK FT → the follow-through window is aging without enough progress.
• FAILED → price crossed the failure rail behind the impulse.
• TARGET REVIEW → price reached the measured target-room guide and context should be reviewed.
🔔 Alerts Logic
Alerts can trigger when a new impulse starts, follow-through becomes constructive, follow-through enters watch state, the move weakens, pullback risk rises, price crosses the failure rail, or price reaches the target-room guide.
Each alert is an attention marker. Alerts are not trade instructions, entry commands, exit commands, or automated strategy rules.
🧩 Confluence Logic
The strongest context appears when a clean impulse candle is followed by measurable progress, multiple closes beyond the impulse close, controlled retracement depth, supportive participation, and readable target room.
When these components weaken, the planner can shift toward WAIT FT, FT WATCH, PULLBACK RISK, WEAK FT, or FAILED.
📊 When to Use
• After strong momentum candles where continuation quality matters.
• During trend continuation attempts that need follow-through review.
• After breakout or expansion bars where a one-bar move may be misleading.
• On liquid symbols where ATR, candle structure, and volume behavior are readable.
• When you want a post-impulse planning map instead of another raw momentum signal.
⚠️ When NOT to Use
• Very low-liquidity symbols with unstable candles or unreliable volume.
• Extremely noisy micro-timeframes where impulse candles appear too frequently.
• News-driven spikes where one-bar expansion can distort the model.
• Markets with large gaps that make ATR and failure-rail references less useful.
• Situations where the user expects guaranteed continuation or automated trade signals.
🎛️ Key Inputs
• Follow-Through Side → controls Auto, Long Follow-Through, or Short Follow-Through mode.
• Minimum Impulse ATR → changes how large a candle must be before review begins.
• Minimum Body Efficiency → controls how clean the impulse body must be.
• Minimum Edge Close → controls how near the candle must close to its directional edge.
• Follow-Through Window → controls how many bars are used to judge early continuation.
• Required Progress ATR → defines preferred movement after the impulse close.
• Maximum Pullback Ratio → controls when retracement depth becomes elevated risk.
• Failure Rail Buffer ATR → adjusts the analytical failure rail behind the impulse.
• Visual settings → control the impulse highlight, follow-through box, failure rail, target guide, labels, panel visibility, panel location, theme, and font sizes.
🖥️ Interface & Visual Design
The interface is designed to stay chart-first.
The impulse highlight gives the origin. The follow-through box gives the active planning area. The failure rail and target guide define the practical review frame.
The AGPro panel provides a compact decision summary with a merged blue title row, adjustable panel location, adjustable theme, and adjustable font size.
🧪 Practical Usage Workflow
1. Read the panel Impulse Quality score and Action.
2. Check the impulse highlight and the direction of the follow-through box.
3. Review whether price is extending beyond the impulse close.
4. Compare pullback depth with the failure rail.
5. Use the target guide as a context-review reference, not as a guarantee.
6. Treat alerts as attention markers inside broader analysis.
🔍 Interpretation Guidelines
Think in terms of follow-through quality, not prediction.
A higher score means the impulse has more constructive continuation characteristics according to the script's rule set. A weaker score means the move may be aging, retracing too deeply, lacking progress, or crossing its failure reference.
VALID FT does not mean price must continue. FAILED does not mean the market cannot recover later. The states organize the review process.
🚫 What This Script Is NOT
• Not a prediction engine.
• Not financial advice.
• Not an auto-trading system.
• Not a guaranteed signal tool.
• Not a buy/sell signal service.
• Not a Volume Climax Detector.
• Not an Institutional Candle Detector.
• Not a generic momentum oscillator.
⚠️ Limitations & Transparency
The script is rule-based and depends on recent price action, ATR, candle structure, selected inputs, and volume behavior.
Different timeframes can produce different impulse and follow-through readings. Volatility spikes can temporarily distort the score. Symbols with unreliable volume may produce weaker participation readings.
Outputs should always be interpreted with broader market structure, liquidity, and trader-defined risk controls.
🧠 Market Context Notes
Impulse candles are only useful when the market confirms or rejects them through follow-through.
A clean impulse that receives controlled extension may deserve more attention than a larger candle that immediately retraces. A smaller impulse can also become meaningful when the follow-through window stays organized.
🧾 Use Case Examples
When price prints a strong bullish impulse, closes near the high, then follows through with multiple closes above the impulse close while pullback depth remains controlled, the planner may classify the move as VALID FT.
When an impulse appears but price fails to extend, retraces deeply, or crosses the failure rail, the planner may shift toward WEAK FT, PULLBACK RISK, or FAILED.
🧱 System Philosophy
AGPro planning tools are designed to help traders evaluate context before reacting.
This script follows that philosophy by turning impulse follow-through into a structured planning question: did the move receive enough confirmation, progress, and risk clarity to remain worth reviewing?
🔐 Non-Promise Statement
No indicator can guarantee continuation, reversal, breakout success, or outcome.
This tool provides structured visual context and rule-based attention markers. It does not provide certainty.
📉 Risk Disclosure
Trading involves risk.
Market conditions can change quickly, and no script can remove uncertainty.
Users are responsible for their own analysis, risk management, position sizing, and trading decisions.
This script is for educational and analytical use only and does not provide financial advice.
📚 Educational Note
Use the planner to study how strong candles behave after they appear, how follow-through quality changes across timeframes, and how pullback depth affects the readability of momentum continuation.
Indicator

Regime Pressure Trail [ArisCodes]REGIME PRESSURE TRAIL
This script is a regime-arbitrated trading framework, not a stack of two indicators. The core idea is that no single signal logic performs well across all market conditions — trend-following systems whipsaw in low volatility chop, while pressure-reading systems lag in clean directional trends. They have opposite failure modes, which means they have opposite ideal conditions. This script formalizes that observation by using a volatility regime classifier as a meta-controller that decides which of two child engines has authority to fire on any given bar.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHY ONE ENGINE IS NOT ENOUGH
Volatility is non-stationary. Markets cycle through quiet accumulation phases, expansive trending phases, and chaotic news-driven phases. A signal logic that performs well in one phase often produces its worst trades in another. Most retail attempts to solve this stack two indicators and let them fire independently — which is what this script explicitly avoids. Stacking creates conflicting signals and double-counts confluence. Arbitration solves it by making the regime itself the gatekeeper.
The trail-following child uses an ATR-based Chandelier exit with a self-adjusting multiplier (tight in quiet markets, wide in volatile markets) gated by a composite trend-strength score combining RSI slope acceleration, volume surge ratio, and ATR expansion. This logic targets clean directional moves with structural follow-through.
The pressure child uses cumulative delta volume crossing a moving average of itself, gated by a composite pressure score combining delta dominance, volume relative to its moving average, and candle body conviction. This logic targets institutional accumulation and distribution events that are often invisible to price-only signals.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW THE COMPONENTS INTEGRATE
The volatility regime classifier computes the ratio of current ATR to its 50-bar simple moving average. This ratio places the market into one of three bins: LOW (ratio below 0.8 default), MEDIUM (between 0.8 and 1.4), or HIGH (above 1.4). The thresholds are user-tunable.
The arming logic translates regime to engine authority through three mutually exclusive modes. In Regime Arms mode, the LOW regime arms only the pressure engine because trend signals in contracting volatility are typically false flips. The HIGH regime arms only the trail engine because pressure crossovers in expanding volatility are typically lagging noise. The MEDIUM regime arms both, which lets either engine fire on the merits of its own scoring gate. In Confluence Required mode, both engines must produce the same direction signal on the same bar — a high-conviction filter that produces fewer trades. In Either Fires mode, the regime gating is disabled and the two engines compete on a first-come-first-served basis, which serves as a baseline for comparison.
When a signal fires, the entry routing is also engine-aware. Trail-engine entries use ATR-multiplier targets and inherit the trail line as a dynamic stop, with a force-exit if the trail flips against the position. Pressure-engine entries use fixed percentage targets and tighter stops because the edge they capture is shorter-duration. Confluence entries take whichever engine has the higher score at fire-time. This per-engine trade management is a deliberate design choice — it prevents the tighter-stop pressure logic from degrading trail-engine wins, and prevents the wider trail logic from giving back pressure-engine quick scalps.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT IS ORIGINAL HERE
The novel contribution is the arbitration layer, not the underlying engines. Both engines individually use components that are public knowledge — ATR Chandelier exits and cumulative volume delta have decades of literature behind them. What this script adds is the explicit codification of a meta-decision: which logic is allowed to operate in which regime, and why.
Specifically, the lines that prove this is arbitration rather than a stack are visible in source: a single boolean evaluates whether each engine's regime is currently armed, and signal logic is gated by those booleans before any other condition is checked. Two engines cannot fire on the same bar in Regime Arms mode by design. The script also tags each fired trade with its source engine, which allows post-hoc attribution analysis to verify the arbitration logic empirically.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE
Begin with the default HYBRID mode and Regime Arms hybrid logic. Watch the dashboard for several sessions before changing inputs. The ARMED cell shows which engine has authority right now. The REGIME cell shows why. The TREND SCORE and PRESSURE SCORE cells show whether the armed engine has met its scoring gate.
When a signal fires, the entry label identifies which engine fired it (TRAIL, PRESSURE, or CONFLUENCE). This is critical for understanding the script. Over time, traders should observe that trail entries cluster in higher volatility regimes and pressure entries cluster in lower volatility regimes — that pattern confirms the arbitration is working as designed.
Adjust regime thresholds first if you find the script is firing too many trail signals (raise lowThresh to push more bars into LOW regime where trail is disarmed) or too few (lower lowThresh). Adjust score minimums second to filter quality. Adjust target percentages last and only after you have a clear picture of which engine is doing most of the work on your instrument and timeframe.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
INPUTS OVERVIEW
ENGINE SELECTION
Master mode (TRAIL ONLY, PRESSURE ONLY, HYBRID) and the hybrid arming logic (Regime Arms, Confluence Required, Either Fires).
TRAIL ENGINE
ATR length and source, regime classifier lookback, three vol-regime multipliers (LOW, MED, HIGH), two regime thresholds, minimum trend-strength score, RSI slope length, volume MA length.
PRESSURE ENGINE
Delta MA length, volume MA length, minimum pressure score, RSI length, RSI overbought and oversold filters.
TRADE MANAGEMENT
Independent TP and SL percentages per engine, ATR multiplier for trail-engine targets, max bars in trade, cooldown bars, trail-flip force-exit toggle.
VISUALS
Trail line plot, regime background tint, pressure-based candle coloring, gradient fill between price and VWAP, trade boxes, dashboard.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DASHBOARD
The dashboard is the diagnostic display for the entire arbitration system. It sits at the bottom-center of the chart and updates only on the last bar to keep the chart clean. Reading it correctly is essential to understanding how the script makes decisions in real time.
The dashboard is organized as a 5-row table with 9 columns. Each row tells a different part of the story.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ROW 1 — PRIMARY STATE
MODE — Shows your selected master engine mode: TRAIL ONLY, PRESSURE ONLY, or HYBRID. Color-coded — purple for HYBRID, teal for trail-only, gold for pressure-only.
ARMED — The most important cell on the dashboard. Tells you which engine is currently allowed to fire signals. Shows TRAIL, PRESSURE, BOTH, or NONE. In HYBRID mode this changes as volatility regime shifts.
REGIME — Current volatility regime: LOW ▼ (ratio under 0.8), MED ● (0.8 to 1.4), or HIGH ▲ (above 1.4). Includes the current ATR multiplier in use (1.5x, 2.5x, or 3.5x by default).
TREND SCORE — Composite score for the trail engine, displayed as an 8-segment gauge plus the numeric value 0-100. Combines RSI slope acceleration (40%), volume surge ratio (35%), and ATR expansion (25%). Below the minimum threshold the trail engine cannot fire.
PRESSURE — Composite score for the pressure engine, also 8-segment gauge plus 0-100 number. Combines delta dominance (40%), volume relative to MA (35%), and candle body conviction (25%). Below the minimum threshold the pressure engine cannot fire.
TRAIL — Current trail direction: BULL ▲ or BEAR ▼. This is the underlying ATR Chandelier state, independent of whether the trail engine is armed.
DELTA — Current bar's delta volume direction and percentage. BUY +X% means buyers dominated this bar, SELL -X% means sellers did.
POSITION — Current trade state: FLAT, LONG ●, or SHORT ●. When in a trade, also shows which engine fired it: TRAIL, PRESS, or BOTH.
STATUS — Cooldown / readiness state. READY means ready to fire, IN TRADE means active position, CD #b means waiting cooldown bars.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ROW 2 — DETAIL VALUES
Mirrors row 1 with current values: actual mode name, armed engine name, regime label with multiplier, score gauges with numbers, trail direction with current trail price, delta percentage, position with engine tag, status text.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ROW 3 — CONTEXT
HYBRID MODE — Which arming logic is active: Regime Arms / Confluence Required / Either Fires.
ARMING DETAIL — Shows current armed status of both engines as ON/OFF (Trail ON Press OFF means only trail engine has authority right now).
ATR RATIO — Numeric ratio of current ATR to its 50-bar moving average. The number that drives regime classification.
SCORE RATING — Trend score quality bucket: WEAK ░ / MEDIUM ◉ / STRONG ✦. With the current minimum threshold for reference.
PRESSURE RATING — Pressure state bucket: STRONG BULL ✦ / BULL ▲ / NEUTRAL ◉ / BEAR ▼ / STRONG BEAR ✦.
TRAIL PRICE — Current numeric trail level (the actual chart price).
RSI — Pressure engine's RSI value. Color-coded: bear if overbought, bull if oversold, neutral otherwise.
ENGINE USED — When in a trade, confirms which engine fired it. Useful for post-trade attribution.
COOLDOWN STATUS — Shows cooldown bars and max bars in trade for reference.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ROW 4 — TRADE MANAGEMENT
POSITION — Repeats current direction for clarity in the trade row.
ENTRY — Exact entry price when in a trade.
TP — Take profit price (matches the chart line).
SL — Stop loss price (matches the chart line).
BARS — Bars elapsed since entry, plus max bars allowed.
ATR — Current ATR value in price units.
VWAP — Current session VWAP price (the gradient fill anchor).
REGIME — Active regime + current ATR multiplier (redundant for at-a-glance trade context).
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
LEGEND OF SYMBOLS USED IN DASHBOARD
▲ ▼ — direction indicators (up/down, bull/bear)
● — active trade or filled state
◉ — medium/armed state
✦ — strong/active state
░ — weak state or empty gauge segment
█ — filled gauge segment
◈ — section divider in cell labels
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO READ THE DASHBOARD AT A GLANCE
1. Look at ARMED first — this tells you which engine has authority right now.
2. Look at REGIME — this tells you why the armed engine has authority.
3. Look at TREND SCORE and PRESSURE SCORE — these tell you whether the armed engine has met its scoring gate to fire.
4. Look at POSITION and STATUS — these tell you whether you are in a trade and which engine fired it.
If these four cells all line up cleanly, you understand the script's current state in under three seconds.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ENTRY LABELS — READING A FIRED SIGNAL
When a signal fires, an information-dense label appears at the entry bar showing every parameter of the trade in two lines. Reading the label is how you know what just happened without checking the dashboard.
LINE 1 — THE HEADER
▼ SELL PRESSURE 1:0.4 RR
▼ or ▲ — direction arrow (down for short, up for long)
SELL/BUY — trade direction in plain text
PRESSURE — the engine that fired this signal (TRAIL, PRESSURE, or CONFLUENCE)
1:X.X RR — risk-to-reward ratio at entry, calculated as |TP - entry| / |SL - entry|
LINE 2 — THE PRICE LEVELS
TP 27328.50 IN 27383.25 SL 27520.25
TP — the take profit price (matches the chart's TP line)
IN — the entry fill price (bar's close at signal fire)
SL — the stop loss price (matches the chart's SL line)
The label is color-coded by direction. Bear red background with bright bear text for SHORT entries. Bull green background with bright bull text for LONG entries. The same label format is used by every signal regardless of which engine fired it — only the engine tag in the header changes. That consistency means you can read any entry on the chart and immediately understand who fired, why, and at what risk.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT ELSE IS VISIBLE IN THE FRAME
The cyan stair-step line with node markers is the ATR trail line (Engine 1). Even when a trade is fired by the Pressure engine, the trail line remains plotted at all times so traders can see what the OTHER engine is doing in parallel. This is intentional — it lets you visually verify whether the two engines agree or disagree at any moment, and it shows the trail's chandelier behavior independently of whether it's currently armed.
The teal gradient fill between price and VWAP shows the cumulative pressure bias on the chart. A thicker fill above price means bull pressure is dominant. A thicker fill below price means bear pressure is dominant. The fill's intensity fades as conviction weakens.
Candles are tinted by their per-bar pressure score, with five intensity states ranging from STRONG BULL (bright teal) through BULL, NEUTRAL, BEAR, to STRONG BEAR (saturated red). This per-candle coloring lets you see institutional pressure at the bar level even when no signal has fired.
The bear or bull vertical line at the entry bar marks exactly when the signal fired. Combined with the small SELL or BUY pin under or above the candle, it creates a visual anchor point for the trade that's visible at any zoom level.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
NON-REPAINTING
All signals confirm on bar close. Volatility regime classification, both scoring engines, arming decisions, and entry/exit logic evaluate on confirmed bars only. Trade labels and state changes only fire after the bar has fully closed.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISCLAIMER
This script is for educational and informational purposes only. It is not financial advice. Past performance does not guarantee future results. Always use proper risk management and do your own research before making any trading decisions.
Indicator

Volatility Expansion Planner [AGPro Series]Volatility Expansion Planner
🧠 Core Idea
Is volatility expanding with structure, or is the chart only producing random noise?
📌 Overview / What it does
Volatility Expansion Planner is a chart-first volatility expansion and breakout quality tool built to evaluate whether a release from compression has enough structure to deserve active attention.
Instead of showing another generic expansion signal, the script studies ATR expansion, prior range release, close efficiency, volume support, trend alignment, compression age, and the active risk shelf behind the move. These components are converted into a 0-100 Expansion Score and a clear next-action state.
The script produces an expansion corridor, ATR expansion band, prior range edge, risk shelf, compact quality labels, alerts, and a clean AGPro planning panel. It does not predict future price movement, automate decisions, or guarantee that an expansion will continue.
🎯 Purpose & Design Philosophy
This script was built for traders who want to separate structured volatility expansion from unstable noise.
Many volatility tools identify compression, release, or regime changes, but they often stop before answering the practical planning question: is the expansion clean enough to evaluate, and where is the risk reference if the release fails?
The design philosophy is simple: volatility expansion is only useful when it has structure, confirmation, and a readable risk shelf.
⚡ Why This Script Is Different
Most tools focus on squeeze dots, volatility regime labels, ATR readings, or basic breakout markers.
This script does NOT clone a Squeeze Momentum Indicator, does not rebuild an ATR Compression Map, and does not act as a generic breakout signal.
Instead, it evaluates whether expansion is structurally supported. The main output is not a trade command. It is a planning state that helps users distinguish STRUCTURED expansion from WATCH, RISK REVIEW, NOISE, or WAIT conditions.
⚙️ Methodology
1. Context Detection
The script reads the active expansion side using prior range release and trend context, or lets the user force long-side or short-side expansion planning.
2. Reference Mapping
It maps the prior range edge, current ATR expansion, compression age, risk shelf, and projected expansion corridor.
3. Reaction Evaluation
The model scores ATR expansion, range breakout, close efficiency, volume support, trend alignment, compression maturity, and risk shelf quality.
4. Visual Output
The result is displayed through an expansion corridor, ATR band, range edge, risk shelf, compact labels, deterministic alerts, and a premium AGPro panel.
🗺️ How to Read the Chart
Zones = the expansion corridor shows the projected release path from the prior range edge toward a measured target guide. Its label is centered inside the corridor.
Labels = compact state markers show STRUCTURED, WATCH, RISK REVIEW, NOISE, or SHELF CHECK context.
Colors = green highlights cleaner structured expansion, pink highlights unstable expansion risk, amber highlights review conditions, and indigo highlights watch conditions.
Panel = the panel summarizes Expansion Score, Squeeze Age, Confirmation, Risk Shelf, and Action.
🚦 Signals & States
• STRUCTURED → volatility is expanding with range release, confirmation, and a usable risk shelf.
• WATCH → expansion context is improving but confirmation is incomplete.
• RISK REVIEW → expansion is active but the risk shelf is too tight or too wide for clean planning.
• NOISE → volatility is hot or inefficient and may represent unstable movement.
• WAIT → the script does not detect a strong enough expansion context yet.
• SHELF CHECK → price crossed the prior risk shelf and the expansion context should be reviewed.
🔔 Alerts Logic
Alerts trigger when the planner enters STRUCTURED expansion, WATCH state, NOISE state, RISK REVIEW state, or when price crosses the prior risk shelf.
These alerts are attention markers only. They are not trade instructions, entry signals, or automated strategy commands.
🧩 Confluence Logic
The strongest context appears when ATR expands from a prior compressed structure, price closes beyond the prior range edge, candle efficiency is strong, volume support improves, trend alignment agrees with the expansion side, and the risk shelf remains readable.
When these components align, the Expansion Score improves and the state can move from WATCH to STRUCTURED.
📊 When to Use
• Before evaluating volatility expansion after a quiet range
• During breakout or continuation attempts where expansion quality matters
• When price releases from a prior structure but confirmation is uncertain
• When comparing whether an expansion has clean risk context or only noisy movement
• On liquid symbols where range, volume, and ATR behavior are readable
⚠️ When NOT to Use
• Very low-liquidity symbols with unstable candles
• Extremely noisy micro-timeframes
• News-driven spikes where ATR expands abruptly without structure
• Markets where volume is unreliable and price gaps distort the risk shelf
• Situations where the user expects a signal-only entry tool
🎛️ Key Inputs
• Expansion Side → controls Auto, Long Expansion, or Short Expansion mode.
• Prior Range Lookback → controls how the script maps the range edge before release.
• ATR Baseline → controls how current volatility is compared with normal volatility.
• Minimum Squeeze Age → defines how mature compression should be before stronger expansion scoring.
• Risk Shelf Lookback → controls the shelf used behind the expansion for planning context.
• STRUCTURED Threshold → sets the minimum score required for the strongest state.
• Label and Panel Font Size → controls chart labels, corridor text, and panel readability.
🖥️ Interface & Visual Design
The interface is designed to stay chart-first.
The expansion corridor gives the main visual story. The range edge and risk shelf define the practical planning frame. The ATR band adds volatility context without turning the script into a lower-pane oscillator.
The AGPro panel provides a compact decision summary with a merged blue title row and clear state hierarchy.
🧪 Practical Usage Workflow
1. Read the panel state and Expansion Score.
2. Check whether price is releasing from the prior range edge.
3. Review the risk shelf distance and confirmation state.
4. Compare the expansion corridor with broader structure.
5. Treat alerts as attention markers, then evaluate the broader market context.
🔍 Interpretation Guidelines
Think in terms of expansion quality, not prediction.
A stronger score means multiple structural conditions are aligned. A weaker score means expansion may be premature, poorly confirmed, too hot, or difficult to plan around.
RISK REVIEW is especially important because volatility can expand while the practical risk reference remains too tight, too wide, or unclear.
🚫 What This Script Is NOT
• Not a prediction engine
• Not financial advice
• Not an auto-trading system
• Not a guaranteed signal tool
• Not a Squeeze Momentum clone
• Not an ATR Compression Map clone
⚠️ Limitations & Transparency
The script is rule-based and depends on recent price, volatility, range, and volume behavior.
Timeframe differences can change how compression and expansion appear. Volatility spikes can temporarily distort the score. Symbols with unreliable volume may produce weaker participation readings.
Outputs should always be interpreted with broader market structure and liquidity context.
🧠 Market Context Notes
Volatility expansion is most useful when it appears after a readable compression phase and respects a clear structural shelf.
Expansion without shelf clarity can still move, but it is harder to plan around. Expansion with poor close efficiency or excessive ATR heat can be noisy even when price breaks a range edge.
🧾 Use Case Examples
When price closes beyond a prior range edge with rising ATR, improved volume support, efficient candle structure, and a defined risk shelf, the planner may classify the move as STRUCTURED.
When ATR expands sharply but candles close poorly and the shelf is too far away, the planner may classify the context as NOISE or RISK REVIEW.
🧱 System Philosophy
AGPro planning tools are designed to help traders evaluate context before reacting.
This script follows that philosophy by turning volatility expansion into a structured planning question: Is the release clean, confirmed, and readable enough to deserve attention?
🔐 Non-Promise Statement
No indicator can guarantee continuation, reversal, or follow-through.
This tool provides structured visual context and rule-based attention markers. It does not provide certainty.
📉 Risk Disclosure
Trading involves risk. Market conditions can change quickly, and no script can remove uncertainty.
Users are responsible for their own analysis, risk management, and decisions.
This script is for educational and analytical use only and does not provide financial advice.
📚 Educational Note
Use the planner to study how volatility behaves after compression, how expansion quality changes across timeframes, and how risk shelf clarity affects the readability of a move.
Indicator

Risk Exposure Compass [AGPro Series]Risk Exposure Compass
🧠 Core Idea
Is the current chart exposing the trader to balanced risk, or is price already stretched, blocked, or too early?
📌 Overview / What it does
Risk Exposure Compass is a chart-first risk planning tool designed to evaluate the current exposure quality of a setup before the trader treats it as actionable.
Instead of printing generic buy or sell signals, the script studies ATR stretch, range position, distance from the exposure mean, trend maturity, target-edge room, and invalidation distance. These components are converted into a 0-100 Risk Exposure Score and a clear next-action state.
The script produces a risk compass band, invalidation shelf, target-edge guide, exposure heat labels, alerts, and a clean AGPro planning panel. It does not predict price direction, automate execution, calculate position size, or guarantee that a setup will follow through.
🎯 Purpose & Design Philosophy
This script was built for traders who want to ask a practical pre-decision question: is the chart still offering clean exposure, or has the move become too stretched to evaluate cleanly?
The gap it fills is different from a manual risk/reward visualizer, position planner, or risk runway tool. Risk Exposure Compass focuses on the current chart location itself: how far price is from mean, how mature the move is, whether volatility load is normal, whether target room is open, and whether invalidation distance is controlled.
The design supports a disciplined review mindset. It helps users avoid treating every active move as equal by separating balanced exposure, watch context, stretched risk, blocked room, and reset conditions.
⚡ Why This Script Is Different
Most tools focus on entries, support/resistance zones, take-profit ladders, or manual risk/reward boxes.
This script does NOT build a full trade plan, does NOT calculate position size, does NOT create a TP ladder, and does NOT become a dashboard-only stress meter.
Instead, it draws a live risk compass directly on the chart and scores whether the current price location is balanced, extended, blocked by nearby target structure, or too early for clean planning.
⚙️ Methodology
1. Context Detection
The script reads automatic long-side or short-side exposure using mean and trend context, or lets the user force the exposure side manually.
2. Reference Mapping
It maps an exposure mean, active range, structural invalidation shelf, target-edge obstruction, and a projected compass band.
3. Reaction Evaluation
The model scores five core components: ATR stretch, range position, distance from mean, trend maturity, and target obstruction. Invalidation distance and volatility load refine the final state.
4. Visual Output
The output is shown through a centered compass band label, invalidation and target guide lines, compact exposure labels, deterministic alerts, and a premium AGPro panel.
🗺️ How to Read the Chart
Zones = the risk compass band where price is considered more balanced relative to the active exposure mean.
Labels = compact state markers showing BALANCED, WATCH, STRETCHED, BLOCKED, or RESET context.
Colors = teal marks cleaner exposure, pink marks blocked or failed context, amber marks stretched risk, and indigo marks watch or transition states.
Panel = the panel summarizes Exposure State, Risk Score, Volatility Load, Distance Risk, and Action.
🚦 Signals & States
• BALANCED → exposure is inside the compass band with a strong enough score.
• WATCH → exposure quality is developing but not yet clean enough for balanced status.
• STRETCHED → price is extended from mean, late in range position, volatility is overloaded, or invalidation distance is too wide.
• BLOCKED → nearby target-edge room is limited relative to current exposure.
• RESET → the chart is early, unclear, or below the minimum quality threshold.
🔔 Alerts Logic
Alerts trigger when exposure moves into BALANCED, WATCH, STRETCHED, BLOCKED, or RESET state.
These alerts are attention markers. They are not trade instructions, entry signals, exit signals, or automated strategy commands.
🧩 Confluence Logic
The strongest exposure context appears when ATR stretch is controlled, price is not at an extreme range edge, distance from mean is balanced, trend maturity is not too early or too late, and target room remains open.
When these conditions align, the Risk Exposure Score rises and the panel state becomes easier to interpret.
📊 When to Use
• Before evaluating a discretionary setup
• During pullbacks or pauses where risk location matters
• Around continuation attempts after a trend has already moved
• Before breakouts where price may already be extended
• When comparing whether one chart has cleaner exposure than another
⚠️ When NOT to Use
• Extremely low-liquidity symbols
• Very noisy micro-timeframes
• News-driven volatility spikes
• Non-standard chart types that distort candle range and ATR behavior
• Situations where the user expects a signal-only entry tool
🎛️ Key Inputs
• Exposure Side → controls Auto, Long Exposure, or Short Exposure evaluation.
• Range Lookback → defines the range used for price-location scoring.
• ATR Length → normalizes stretch, distance risk, target room, and label offsets.
• Exposure Mean EMA → defines the mean used for the compass band and distance scoring.
• Target Obstruction Lookback → controls how nearby target-edge room is estimated.
• Invalidation Shelf Lookback → controls the structural invalidation reference.
• Sensitivity → adjusts how strict the exposure model is.
• Visual settings → control compass band, guides, candle heat, labels, panel location, theme, and font sizes.
🖥️ Interface & Visual Design
The interface is built around one primary chart object: the risk compass band.
The panel follows the AGPro public-release standard with one merged blue header row containing only the script name. The rows are kept compact so the tool stays readable without becoming dashboard-heavy.
Labels are intentionally short, offset away from candles, and controlled with cooldown and maximum-visible settings.
🧪 Practical Usage Workflow
1. Read the panel Exposure State and Risk Score.
2. Check whether price is inside, below, or beyond the risk compass band.
3. Review Distance Risk to see whether invalidation is controlled, fragile, or too wide.
4. Check target-edge room before treating exposure as clean.
5. Use alerts as review prompts, not as automated trading instructions.
🔍 Interpretation Guidelines
A high score means the chart is closer to balanced exposure according to the script's rule-based model.
A low score means price may be too early, too stretched, blocked by nearby structure, or unclear relative to mean and range position.
The best interpretation comes from reading score, state, volatility load, distance risk, and target room together instead of relying on one label.
🚫 What This Script Is NOT
• Not a prediction engine
• Not financial advice
• Not auto trading
• Not guaranteed signals
• Not a position sizing calculator
• Not a manual risk/reward visualizer
• Not a take-profit ladder
⚠️ Limitations & Transparency
The model is rule-based and depends on recent structure, ATR, moving averages, candle range, and target-edge mapping.
Different timeframes can produce different exposure states because range, trend maturity, and invalidation shelves change with timeframe.
Fast volatility expansion can move the script quickly from balanced to stretched, while low-volatility environments can keep exposure in reset or watch state for longer.
No rule-based tool can know a user's actual execution plan, account risk, broker rules, or broader market thesis.
🧠 Market Context Notes
Risk exposure is not the same as direction.
A chart can be bullish but stretched, bearish but blocked, or directionally interesting while still offering poor exposure quality.
This script is designed to keep that distinction visible.
🧾 Use Case Examples
When price is above the exposure mean, inside the compass band, with controlled invalidation distance and enough target room, the panel can shift toward BALANCED.
When price accelerates far beyond the compass band with hot volatility and a late range position, the script can mark STRETCHED risk.
When price is close to a prior target edge and the room score is weak, the script can mark BLOCKED even if the broader trend still looks strong.
🧱 System Philosophy
The AGPro approach is to turn chart information into structured decision context.
Risk Exposure Compass follows that approach by converting price location into a cleaner review framework: mean, range, volatility, invalidation, target room, score, and next state.
🔐 Non-Promise Statement
This script does not provide certainty.
It does not guarantee that balanced exposure will lead to follow-through.
It only organizes current chart conditions so exposure quality is easier to review.
📉 Risk Disclosure
Trading involves risk.
Users are responsible for their own analysis, execution, risk management, and decisions.
This script is for educational and analytical purposes only and does not provide financial advice.
📚 Educational Note
Use the tool to study how price moves from reset to watch, from watch to balanced, and from balanced to stretched or blocked as market context changes.
Indicator

ATR Precision Stop Loss | BocchiTheTrader ATR Precision Stop Loss | BocchiTheTrader
Precision Risk Management for Professional Traders
The BocchiTheTrader | ATR Precision SL is a high-performance volatility tracking tool designed to protect capital and optimize exit points. Unlike basic stop-loss scripts that only look at closing prices, this indicator utilizes the extremes of market action to provide a "safety buffer" that respects price volatility.
How It Works & The Methodology
The indicator calculates market noise using the Average True Range (ATR). To provide the most "optimal" stop-loss level, it anchors its calculations to the High and Low of each candle rather than the Close. This ensures that the stop loss stays outside the reach of common price spikes and liquidity hunts (wicks).
The Formula
The mathematical model behind the indicator is as follows:
For Long Positions: Long_SL = Low - (ATR_{length} \times Multiplier)$
For Short Positions: Short_SL = High + (ATR_{length} \times Multiplier)$
By subtracting the volatility from the Low (in longs) and adding it to the High (in shorts), the script creates a dynamic zone that adapts to the current market expansion or contraction.
Key Features
Wick-Aware Protection: Uses High/Low anchors to prevent premature stop-outs caused by market noise.
Triple Direction Logic: Switch between Long, Short, or Long + Short modes to visualize both sides of the market volatility simultaneously.
ATR Precision Stop Loss | BocchiTheTrader
Profesyonel Yatırımcılar İçin Hassas Risk Yönetimi
BocchiTheTrader | ATR Precision SL, sermayeyi korumak ve çıkış noktalarını optimize etmek için tasarlanmış yüksek performanslı bir volatilite takip aracıdır. Sadece kapanış fiyatlarına odaklanan standart stop-loss araçlarının aksine, bu gösterge piyasa hareketlerinin uç noktalarını kullanarak fiyat oynaklığına saygı duyan bir "güvenlik tamponu" oluşturur.
Nasıl Çalışır ve Metodoloji
Gösterge, piyasa gürültüsünü Average True Range (ATR) kullanarak hesaplar. "En uygun" stop-loss seviyesini belirlemek için hesaplamalarını Kapanış (Close) yerine her mumun En Yüksek (High) ve En Düşük (Low) değerlerine sabitler. Bu, stop seviyenizin fiyat iğnelerinden (fitillerden) ve likidite avlarından korunmasını sağlar.
Kullanılan Formül
Göstergenin arkasındaki matematiksel model şöyledir:
Long Pozisyonlar İçin: Long_SL = Low - (ATR_{length} \times Multiplier)$
Short Pozisyonlar İçin: Short_SL = High + (ATR_{length} \times Multiplier)$
Volatiliteyi Düşük seviyeden çıkararak (long) veya Yüksek seviyeye ekleyerek (short), script piyasadaki genişleme veya daralmaya uyum sağlayan dinamik bir koruma bölgesi yaratır.
Öne Çıkan Özellikler
İğne Korumalı Yapı: Piyasa gürültüsünün neden olduğu erken stop-out durumlarını önlemek için High/Low referanslarını kullanır.
Üç Yönlü Mantık: Piyasa volatilitesinin her iki tarafını aynı anda görmek için Long, Short veya Long + Short modları arasında geçiş yapın.
BocchiTheTrader
Indicator

R-Multiple Progress Map [AGPro Series]R-Multiple Progress Map
🧠 Core Idea
How far has the active move progressed in R terms, and is that progress still healthy enough to monitor?
📌 Overview / What it does
R-Multiple Progress Map is a chart-first trade management overlay that tracks a setup after activation and converts price movement into R-multiple progress.
Instead of acting like a risk/reward calculator, a position sizing tool, or a take-profit promise system, the script focuses on what happens after an active cycle begins. It maps an entry proxy, invalidation proxy, R ladder, current R marker, partial-review bands, pullback-risk state, and a clean AGPro progress panel.
The script does not predict future price movement, place orders, automate trade management, or tell the user what to buy or sell. It is a structured progress-reading layer for discretionary review.
🎯 Purpose & Design Philosophy
This script was built for traders who think in R-multiples but need a cleaner way to read progress quality after a setup becomes active.
Many tools help plan the trade before activation. Fewer tools focus on the management question after activation: is the move actually making progress, is pullback pressure increasing, where is the next R review zone, and what should the user pay attention to now?
The design supports a decision-engine mindset: measure progress, evaluate health, and keep the chart readable without turning it into a crowded signal board.
⚡ Why This Script Is Different
Most tools focus on drawing entry, stop-loss, and take-profit levels before a trade begins.
This script does NOT try to become a full position planner, risk/reward visualizer, position-size calculator, or target ladder.
Instead, it starts from an activated progress cycle and evaluates the move in R terms. The unique output is not a trade instruction. It is a live progress state that separates ACTIVE, BUILDING, PROGRESSING, EXTENDED, PULLBACK RISK, STALLED, INVALIDATED, and WAIT conditions.
⚙️ Methodology
1. Context Detection
The script detects activation using range-break and trend-pulse logic, or allows the user to restrict the map to long-only or short-only progress context.
2. Reference Mapping
When a progress cycle activates, the script stores an entry proxy, invalidation proxy, R-risk unit, active side, active bar, maximum favorable R progress, and adverse R pressure.
3. Reaction Evaluation
The model evaluates R expansion, candle progress, trend support, drawdown pressure, time efficiency, and volatility stability. These components are blended into a 0-100 progress score.
4. Visual Output
The output is shown through an R ladder, centered partial-review bands, live progress fill, current R marker, event labels, alerts, and a compact AGPro panel.
🗺️ How to Read the Chart
Zones = partial-review R bands between key R levels, such as 0.5R-1R, 1R-2R, and 2R-3R.
Labels = activation, R milestone, pullback-risk, stalled-progress, and invalidation markers.
Colors = bullish progress, bearish progress, warning states, and neutral states use the AGPro color language.
Panel = the panel summarizes Current R, Progress Grade, Pullback Risk, Next R Zone, and Action.
🚦 Signals & States
• ACTIVE → a new progress cycle has activated and early R progress is being measured.
• BUILDING → price has started to make useful R progress but is not yet strong enough for a higher-grade state.
• PROGRESSING → the move has reached meaningful R progress with supportive score conditions.
• EXTENDED → progress is advanced and the next R zone deserves review.
• PULLBACK RISK → price has given back enough favorable R progress to deserve caution.
• STALLED → the active cycle has spent time without enough R progress.
• INVALIDATED → the active cycle touched the invalidation proxy.
• WAIT → no active progress cycle is currently being tracked.
🔔 Alerts Logic
Alerts trigger when a new progress cycle activates, when 0.5R, 1R, or 2R progress is reached, when pullback risk increases, when progress stalls, or when the invalidation proxy is touched.
These alerts are attention markers. They are not trade instructions, entry signals, exit signals, or automated strategy commands.
🧩 Confluence Logic
The strongest progress context appears when multiple components align:
R expansion + strong candle progress + trend support + controlled pullback drawdown + efficient timing + stable volatility.
When these components align, the script can classify the active move as PROGRESSING or EXTENDED. If drawdown pressure rises or time efficiency weakens, the state can shift toward PULLBACK RISK or STALLED.
📊 When to Use
• After a breakout or continuation attempt has activated
• While monitoring whether a setup is progressing in clean R terms
• During discretionary trade management review
• When comparing whether a move is building, stalling, or extending
• When the user wants chart-first R progress without a full position-size calculator
⚠️ When NOT to Use
• Extremely low-liquidity symbols
• Very noisy micro-timeframes with unstable wick behavior
• News-driven volatility spikes
• Markets where recent structure cannot define a useful invalidation proxy
• Situations where the user expects a complete risk/reward planning suite
🎛️ Key Inputs
• Progress Side → controls Auto, Long Progress, or Short Progress evaluation.
• Activation Mode → chooses Range Break, Trend Pulse, or Hybrid activation logic.
• Structure Lookback → defines the activation and context window.
• Invalidation Proxy Lookback → maps the R-risk reference used for progress normalization.
• Minimum Activation Score → controls how selective new progress cycles are.
• Pullback Risk R → defines how much R drawdown triggers caution.
• Visual settings → control R ladder, partial-review bands, progress fill, labels, panel location, theme, and font sizes.
🖥️ Interface & Visual Design
The interface is built around one primary idea: R progress after activation.
The R ladder and partial-review bands keep the chart visually informative, while the panel keeps the decision state compact and readable.
Labels are offset away from candles, limited by maximum count, and controlled with cooldown and sparse context settings for a balanced public-release chart.
🧪 Practical Usage Workflow
1. Read the panel action state.
2. Check the current R and maximum R progress.
3. Review whether pullback risk is low, moderate, or high.
4. Look at the next R zone for management context.
5. Treat alerts as attention markers and confirm the broader market context independently.
🔍 Interpretation Guidelines
A higher progress score means the active move is showing stronger alignment between R expansion, trend support, drawdown control, time efficiency, and volatility stability.
PROGRESSING does not mean a trade should be opened or held. It means the active cycle is showing healthier R progress under the script's rule set.
PULLBACK RISK and STALLED are caution states. They help identify when progress may be weakening after an active move has already started.
🚫 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 is not a full position planner, risk/reward visualizer, or position-size calculator.
⚠️ Limitations & Transparency
Timeframe differences can change activation behavior and invalidation proxy placement.
Volatility changes can alter ATR-normalized risk and R-progress readings.
Market structure can shift quickly after news, low-liquidity movement, or aggressive momentum expansion.
The script is rule-based and should be interpreted as an analytical progress layer, not as certainty.
🧠 Market Context Notes
R progress is not only about distance from activation. It also depends on how much progress is being retained, whether trend context still supports the active side, and whether time spent in the setup is becoming inefficient.
The tool is most useful when it helps the user review an active move with discipline instead of reacting emotionally to each candle.
🧾 Use Case Examples
When a trend-pulse activation reaches 1R with strong score conditions and low drawdown, the script may classify the move as PROGRESSING.
When a move reaches 2R but begins giving back a meaningful amount of favorable progress, the script may show PULLBACK RISK.
When a cycle stays active for many bars without reaching useful R progress, the script may show STALLED.
🧱 System Philosophy
R-Multiple Progress Map follows the AGPro Series decision-engine approach:
Progress after activation.
Risk measured in R.
Management context before emotion.
Attention markers instead of promises.
🔐 Non-Promise Statement
No script can guarantee that R progress will continue.
No state should be interpreted as certainty.
All outputs should be reviewed within broader market context.
📉 Risk Disclosure
Trading involves risk.
Users are responsible for their own decisions, risk management, and trade execution.
This script is for educational and analytical purposes only and does not provide financial advice.
📚 Educational Note
The script is designed to help users think in structured R-progress terms: activation, progress, pullback, stall, invalidation, and review.
Indicator

Trailing Stop Quality [AGPro Series]Trailing Stop Quality
🧠 Core Idea
Is the current trailing reference defending the move cleanly, or is it creating noise that deserves a risk review?
📌 Overview / What it does
Trailing Stop Quality is a trade-management planner built for traders who want more context around active trailing stops, defense rails, and risk-shift conditions.
The script compares a swing defense rail with a volatility defense rail, evaluates trend-defense quality, measures pullback depth, checks volatility expansion, and converts the result into a 0-100 trailing stop quality score.
It produces trail rails, a centered risk-shift zone, a target-room guide, compact state labels, alerts, and a clean AGPro panel. It does not predict price direction, automate trading, or tell users what to buy or sell.
🎯 Purpose & Design Philosophy
Many trailing stop tools show a stop line, but they do not explain whether the current trail is structurally clean, too close to noise, too loose, or in conflict with another management reference.
This script was built to fill that gap.
It helps traders who already have a move in progress and want to evaluate whether the active trail is still defending the move with enough quality to keep monitoring.
The design philosophy is simple: manage context before reacting to the line.
⚡ Why This Script Is Different
Most tools focus on plotting a trailing stop line, flipping side, or marking stop transitions.
This script does NOT clone a Chandelier Exit flip-zone tool, does not act as a stop-loss optimizer, and does not print direct trade commands.
Instead, it scores the quality of the current trail using swing defense, volatility defense, trend slope, pullback depth, volatility expansion, and rail conflict. The result is a management-readiness layer, not another raw stop signal.
⚙️ Methodology
1. Context Detection
The script reads the active management side automatically or lets the user force long-side or short-side evaluation.
2. Reference Mapping
It maps two trail references: a swing defense rail and a volatility defense rail. The tighter reference becomes the active defense rail.
3. Reaction Evaluation
It scores whether the active trail is balanced, too near, too loose, conflicted, or already broken.
4. Visual Output
It displays the active defense rail, swing rail, volatility rail, risk-shift zone, target guide, compact labels, alerts, and AGPro panel state.
🗺️ How to Read the Chart
Zones = the risk-shift zone shows the gap between the swing defense rail and volatility defense rail. Its centered label summarizes the active conflict or quiet state.
Labels = labels mark TRAIL HOLDS, RISK SHIFT, MONITOR, NOISE, ROOM LIMITED, or DEFENSE LOST contexts.
Colors = green highlights clean defense, pink highlights lost defense, amber highlights risk review, and indigo highlights monitor context.
Panel = the panel summarizes Trail Quality, Stop Distance, Trend Defense, Risk Shift, and Action.
🚦 Signals & States
• TRAIL HOLDS → the active trail is defending cleanly with enough score and no major risk-shift conflict.
• RISK SHIFT → price is close to the active rail or swing and volatility rails disagree enough to deserve review.
• MONITOR → trail quality is acceptable but not strong enough for a clean defense state.
• NOISE → the current trail reference is low quality or too unstable.
• ROOM LIMITED → forward room is limited relative to the active trail risk.
• DEFENSE LOST → price crossed the active defense rail and the current trail context should be reviewed.
🔔 Alerts Logic
Alerts trigger when the script detects a clean trail-hold state, risk-shift state, monitor state, noisy trail state, defense-loss event, or limited target-room condition.
Alerts are attention markers only.
They are not trade instructions and should be interpreted within broader market context.
🧩 Confluence Logic
The strongest context appears when swing defense and volatility defense are aligned, the active trail distance is balanced, trend slope supports the management side, pullback depth is controlled, and volatility is expanding without becoming chaotic.
When those conditions align, the 0-100 trail quality score improves.
📊 When to Use
• During active trend-following management
• After a move has already started and trailing references matter
• When comparing swing-based trail behavior with volatility-based defense
• During pullbacks where the trail may be too close to price
• When evaluating whether a move still has reasonable room before the next structure edge
⚠️ When NOT to Use
• Very low-liquidity symbols with erratic wick behavior
• Extremely noisy chop where no stable management side exists
• Event-driven spikes where volatility changes too quickly
• Charts where the user wants entry signals instead of trail-quality context
🎛️ Key Inputs
• Management Side → controls Auto, Long Management, or Short Management mode.
• Swing Trail Lookback → controls the structural defense rail.
• Volatility Rail Multiple → controls the ATR-based volatility defense rail.
• Sensitivity → adjusts how strict the trail-quality scoring model is.
• Minimum Clean Score → defines when the trail can qualify as a clean defense state.
• Target Guide R Multiple → sets the forward planning reference used for target-room context.
• Visual settings → control rails, risk-shift zone, target guide, labels, panel location, panel theme, and font sizes.
🖥️ Interface & Visual Design
The interface is intentionally chart-first.
The rails show the actual management references, the zone shows swing-versus-volatility conflict, and the panel gives a fast decision read without turning the script into a crowded dashboard.
The AGPro panel uses a single merged blue header row and keeps the key state visible at a glance.
🧪 Practical Usage Workflow
1. Read the panel Trail Quality state.
2. Check whether the active defense rail is still below price in long management or above price in short management.
3. Review the risk-shift zone to see whether swing and volatility references agree.
4. Check whether the target guide still has reasonable forward room.
5. Use the label state as an attention marker, then confirm with broader structure and market context.
🔍 Interpretation Guidelines
Think of the output as trail-quality context, not a trade signal.
A high score means the active trail is better aligned with structure, volatility, trend defense, and pullback depth.
A low score means the current trailing reference may be too noisy, too close, too loose, or already losing defensive value.
🚫 What This Script Is NOT
• Not a prediction engine
• Not financial advice
• Not auto trading
• Not guaranteed signals
• Not a Chandelier Exit clone
• Not a stop-loss optimizer
• Not a buy or sell signal tool
⚠️ Limitations & Transparency
Trailing stop quality can change quickly when volatility expands, contracts, or when price moves into noisy pullback conditions.
Different timeframes may produce different trail rails and score behavior.
Fast markets, low liquidity, and abnormal wick behavior can reduce the usefulness of any rule-based trail-quality model.
🧠 Market Context Notes
Trail quality is not only about distance from price.
It also depends on whether structure is still defending the move, whether volatility is stable enough to support the rail, and whether the next target area leaves enough room relative to current trail risk.
🧾 Use Case Examples
When price trends higher and both swing defense and volatility defense remain below price with a strong score, the script may mark TRAIL HOLDS.
When price compresses toward the active trail or swing and volatility rails separate too much, the script may mark RISK SHIFT.
When price crosses the active defense rail, the script may mark DEFENSE LOST so the user can review the management context.
🧱 System Philosophy
Trailing Stop Quality belongs to the AGPro planner-style family: tools designed to help traders evaluate context before decisions, rather than simply adding another signal to the chart.
🔐 Non-Promise Statement
No output from this script guarantees a result.
No score represents certainty.
📉 Risk Disclosure
Trading involves risk.
Users are responsible for their own decisions, position sizing, and risk management.
This script is for educational and analytical purposes only and does not provide financial advice.
📚 Educational Note
The goal is to make trailing stop context easier to inspect by separating clean defense, risk shift, noisy trails, limited room, and lost defense states.
Indicator

Stop Distance Quality [AGPro Series]Stop Distance Quality
🧠 Core Idea
Is the invalidation distance structurally reasonable, or is it too tight, too wide, or too exposed to noise?
📌 Overview / What it does
Stop Distance Quality is a chart-first risk planning tool built to evaluate stop-distance quality before a setup is treated as clean.
The script studies the active invalidation rail, ATR-normalized stop distance, swing structure fit, wick risk, volatility context, and available target room. It converts those components into a 0-100 risk-quality score and a clear next-action state.
It produces a stop-fit band, an invalidation rail, an ideal-fit guide, compact chart labels, alerts, and a clean AGPro planning panel. It does not select the best stop method, size positions, predict price direction, or automate trade decisions.
🎯 Purpose & Design Philosophy
This script was built to fill a specific planning gap: many tools show where a stop could be placed, but fewer tools ask whether that stop distance is structurally usable.
It helps traders who already have a setup idea and want to evaluate whether the invalidation distance is balanced enough to keep watching.
The design supports disciplined planning: measure the risk first, then decide whether the setup deserves attention.
⚡ Why This Script Is Different
Most tools focus on plotting stop-loss levels, comparing stop-loss methods, or attaching stops to entry signals.
This script does NOT act as a stop-loss optimizer, position-size calculator, target ladder, or directional signal tool.
Instead, it answers one practical planning question: is the current stop distance too tight, too wide, or reasonably aligned with structure and volatility?
⚙️ Methodology
1. Context Detection
The script selects long or short evaluation context using either manual side selection or automatic trend and range-location reading.
2. Reference Mapping
It maps one active swing-based invalidation rail and builds a stop-fit band using minimum, ideal, and maximum ATR-normalized distance boundaries.
3. Reaction Evaluation
It scores stop distance, swing structure fit, wick risk, volatility context, and target room.
4. Visual Output
It displays the stop-fit band, invalidation rail, ideal-fit guide, chart labels, alerts, and AGPro panel state.
🗺️ How to Read the Chart
Zones = the stop-fit band shows the acceptable ATR-normalized area where the active invalidation distance is considered more balanced.
Labels = labels mark FIT, WATCH, TOO TIGHT, TOO WIDE, NO ROOM, or invalidation-check contexts.
Colors = AGPro green highlights balanced fit, pink highlights wide-risk pressure, amber highlights caution, and indigo highlights active watch context.
Panel = the panel summarizes Stop Distance, ATR Context, Structure Fit, Risk Quality, and Action.
🚦 Signals & States
• FIT → stop distance is structurally reasonable enough for active review.
• WATCH → risk quality is improving but not strong enough for FIT.
• TOO TIGHT → invalidation distance is too close relative to ATR and may be vulnerable to normal noise.
• TOO WIDE → invalidation distance is too large relative to the current chart context.
• NO ROOM → target room is not clean enough for the current risk distance.
• WEAK FIT → the current context does not meet the minimum quality threshold.
🔔 Alerts Logic
Alerts trigger when the script enters FIT, WATCH, TOO TIGHT, TOO WIDE, or NO ROOM state.
An additional alert can trigger when price crosses the prior invalidation rail.
Alerts are attention markers only. They are not trade instructions.
🧩 Confluence Logic
The strongest context appears when stop distance sits near the ideal ATR band, swing structure is clear, wick noise is controlled, volatility is readable, and target room remains open.
When several of these conditions align, the risk-quality score improves.
📊 When to Use
• Before evaluating a risk-defined setup
• During pullbacks where invalidation placement matters
• Around breakout retests where stops can be too tight or too wide
• In structured trending or range-extension environments
⚠️ When NOT to Use
• Very low-liquidity symbols with erratic wicks
• Extremely noisy markets where ATR changes too quickly
• News-driven candles or abnormal event spikes
• Charts where no clear swing invalidation exists
🎛️ Key Inputs
• Evaluation Side → controls Auto, Long Context, or Short Context scoring.
• ATR Length → normalizes stop distance, wick risk, target room, and visual offsets.
• Invalidation Lookback → controls the swing rail used as the active invalidation reference.
• Minimum / Ideal / Maximum Stop ATR → define the stop-fit band.
• FIT / WATCH Thresholds → control how selective the planner is.
• Visual settings → control band visibility, guide lines, labels, panel location, theme, and font sizes.
🖥️ Interface & Visual Design
The interface is intentionally narrow and readable.
The chart focuses on one main visual object: the stop-fit band. The panel uses a single merged AGPro header row and keeps the essential risk-quality information visible without turning the script into a dashboard-heavy tool.
Labels are compact, offset from candles, and controlled with cooldown and maximum-visible settings.
🧪 Practical Usage Workflow
1. Read the panel risk-quality state.
2. Check whether the invalidation rail sits inside, below, or beyond the stop-fit band.
3. Review whether the label says FIT, WATCH, TOO TIGHT, TOO WIDE, or NO ROOM.
4. Confirm structure and volatility context before treating the setup as meaningful.
🔍 Interpretation Guidelines
Think of the output as a risk-quality filter, not a trade signal.
A FIT state means the distance is more balanced relative to ATR and structure. It does not mean price must move favorably.
A TOO TIGHT or TOO WIDE state means the risk reference may need more context, more buffer, or a cleaner setup.
🚫 What This Script Is NOT
• Not a prediction engine
• Not financial advice
• Not auto trading
• Not guaranteed signals
• Not a stop-loss optimizer
• Not a position-sizing calculator
⚠️ Limitations & Transparency
Stop-distance quality can change as volatility expands or contracts.
Different timeframes may produce different invalidation rails and ATR readings.
Fast markets, low liquidity, and abnormal wick behavior can reduce the usefulness of any rule-based distance model.
🧠 Market Context Notes
Risk quality is not only about where a stop sits. It also depends on whether volatility is readable, whether the swing reference is meaningful, and whether there is enough room before nearby obstruction.
This script keeps those factors visible without adding unrelated signal logic.
🧾 Use Case Examples
When price pulls back in a trend and the invalidation rail sits inside the stop-fit band, the setup can move into review mode.
When the stop distance is below the minimum ATR boundary, the script may mark TOO TIGHT and suggest waiting for more buffer.
When stop distance is large but target room is limited, the script may mark NO ROOM or TOO WIDE.
🧱 System Philosophy
Stop Distance Quality belongs to the AGPro planner-style family: tools that help traders evaluate context before decisions, rather than simply printing another signal.
🔐 Non-Promise Statement
No output from this script guarantees a result.
No score represents certainty.
📉 Risk Disclosure
Trading involves risk.
Users are responsible for their own decisions, position sizing, and risk management.
This script is for educational and analytical purposes only and does not provide financial advice.
📚 Educational Note
The goal is to make risk distance easier to inspect and compare across changing volatility conditions.
Indicator

Risk Runway Planner [AGPro Series]Risk Runway Planner
🧠 Core Idea
Is the current setup offering a clean risk runway, or is risk too wide, too blocked, or still too early?
📌 Overview / What it does
Risk Runway Planner is a chart-first risk planning and execution readiness tool designed to evaluate whether a setup has enough structure to deserve active attention.
Instead of printing generic buy or sell signals, the script studies stop-distance quality, invalidation clarity, expansion room, volatility state, trend support, and price location. It then converts those factors into a 0-100 quality score and a clear next-action state.
The script produces an active risk runway box, invalidation and target-edge guides, compact chart labels, alerts, and a clean AGPro planning panel. It does not predict future price movement, automate decisions, or guarantee that a setup will follow through.
🎯 Purpose & Design Philosophy
This script was built for traders who want to evaluate setup quality before execution, not after the chart has already moved.
Many tools show signals, volatility compression, or target levels in isolation. Risk Runway Planner is designed to connect the practical planning questions: Where is invalidation? Is stop distance reasonable? Is there enough room before obstruction? Is volatility supportive or unstable? What should the trader pay attention to now?
The design mindset is simple: a cleaner decision framework is more useful than another crowded signal layer.
⚡ Why This Script Is Different
Most tools focus on entries, squeeze conditions, support/resistance zones, or target projections as separate ideas.
This script does NOT try to become a generic compression map, a take-profit ladder, a position-sizing calculator, or a signal generator.
Instead, it evaluates the quality of the risk runway between invalidation and the next target edge. The core output is not a trade command. It is a planning state that helps the user decide whether a setup is READY, still on WATCH, BLOCKED by poor room, or exposed to WIDE RISK.
⚙️ Methodology
1. Context Detection
The script detects the active planning side using trend structure and price location, or allows the user to force long-context or short-context evaluation.
2. Reference Mapping
It maps the current planning range, recent invalidation shelf, nearby obstacle, ATR-normalized stop distance, and projected expansion room.
3. Reaction Evaluation
The model scores stop quality, expansion room, trend support, volatility state, and range location. These components are blended into a 0-100 quality score.
4. Visual Output
The output is shown through a risk runway box, invalidation guide, target-edge guide, compact labels, deterministic alerts, and a premium planning panel.
🗺️ How to Read the Chart
Zones = the active risk runway between invalidation and target edge.
Labels = compact state markers showing READY, WATCH, DOWNGRADE, INVALIDATED, or TARGET EDGE context.
Colors = bullish and bearish context use AGPro state colors, while neutral and warning conditions use controlled accent tones.
Panel = the panel summarizes Risk Compression, Expansion Room, Volatility State, Quality Score, Risk Edge, and Action.
🚦 Signals & States
• READY → the current risk runway has enough quality to justify active attention.
• WATCH → the setup is improving but does not yet meet the stricter readiness threshold.
• WIDE RISK → stop distance or invalidation quality is too weak for clean planning context.
• BLOCKED → expansion room is limited or the nearest obstacle is too close.
• WAIT → the planner does not detect a strong enough structure yet.
• INVALIDATED → a prior active invalidation shelf has been crossed.
• TARGET EDGE → a prior target edge has been reached.
🔔 Alerts Logic
Alerts trigger when the planner enters READY state, enters WATCH state, downgrades from READY, crosses a prior invalidation shelf, or reaches a prior target edge.
These alerts are attention markers. They are not trade instructions, entry signals, or automated strategy commands.
🧩 Confluence Logic
The strongest planning state appears when multiple components align:
Stop-distance quality + expansion room + trend support + controlled volatility + favorable price location.
When these factors align, the script can move from WATCH to READY. If risk widens or room becomes blocked, the state can downgrade.
📊 When to Use
• Before evaluating a discretionary setup
• During trend pauses where invalidation is becoming clearer
• Before breakout or continuation attempts when risk needs structure
• Around pullbacks where stop distance and target room need review
• When comparing whether one setup has cleaner risk than another
⚠️ When NOT to Use
• Extremely low-liquidity symbols
• Very noisy micro-timeframes with unstable wicks
• News-driven volatility spikes
• Markets where recent structure is too distorted to define a useful invalidation shelf
• Situations where the user expects a signal-only entry tool
🎛️ Key Inputs
• Planning Side → controls Auto, Long Context, or Short Context evaluation.
• ATR Length → normalizes stop distance, room, labels, and volatility state.
• Planning Range → defines the broader structure used for price location and range context.
• Invalidation Lookback → controls how the invalidation shelf is mapped.
• Obstacle Lookback → controls how nearby target-edge obstruction is estimated.
• READY / WATCH Thresholds → adjust how selective the planner is.
• Visual settings → control runway boxes, guide lines, memory boxes, labels, panel location, theme, and font sizes.
🖥️ Interface & Visual Design
The interface is built around a clean planning panel and one primary chart object: the risk runway box.
The panel uses a single merged AGPro header row and keeps the key planning information readable without turning the chart into a dashboard-heavy layout.
Labels are intentionally compact, offset away from candles, and controlled with cooldown and maximum-visible settings.
🧪 Practical Usage Workflow
1. Read the panel action state.
2. Check whether the risk runway box has enough room between invalidation and target edge.
3. Review whether the Risk Edge is reasonable in ATR terms.
4. Confirm whether the chart context supports the selected planning side.
5. Treat alerts as attention markers and review the broader market context before making any decision.
🔍 Interpretation Guidelines
A higher score means the planner sees better alignment between risk, room, volatility, trend support, and location.
READY does not mean a trade must be taken. It means the setup has enough planning quality to deserve attention.
WATCH means the structure may be developing, but at least one component still needs improvement.
WIDE RISK and BLOCKED are caution states. They help identify when the chart may be less efficient for planning.
🚫 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 user judgment, risk management, or broader market analysis.
⚠️ Limitations & Transparency
Timeframe differences can change how invalidation shelves and obstacles are detected.
Volatility changes can alter ATR-normalized risk and room conditions.
Market structure can shift quickly after news, low-liquidity movement, or aggressive momentum expansion.
The script is rule-based and should be interpreted as an analytical planning layer, not as certainty.
🧠 Market Context Notes
Risk quality is not only about stop distance. It also depends on whether price has enough clean room to move, whether volatility is controlled, and whether structure supports the active side.
The planner is most useful when it helps the user avoid low-quality setups before they become emotional decisions.
🧾 Use Case Examples
When price is near a constructive invalidation shelf and still has clean room toward the next target edge, the planner may move toward WATCH or READY.
When price is too close to the nearest obstacle, the planner may show BLOCKED even if trend direction looks attractive.
When stop distance becomes too wide relative to ATR, the planner can show WIDE RISK even if the setup still looks visually interesting.
🧱 System Philosophy
Risk Runway Planner follows the AGPro Series decision-engine approach:
Context first.
Risk before reward.
Structure before signal.
Attention markers instead of promises.
🔐 Non-Promise Statement
No indicator can remove uncertainty.
No state, score, label, alert, or visual box should be interpreted as guaranteed market direction.
📉 Risk Disclosure
Trading involves risk.
All decisions remain the responsibility of the user.
This script is for educational and analytical chart review only and does not provide financial advice.
📚 Educational Note
The script is designed to help users think more clearly about setup quality, invalidation, volatility, and available room before reacting to price movement.
Indicator

Fracture Threshold Strategy [JOAT]Fracture Threshold Strategy
Introduction
Fracture Threshold Strategy (FTS) is an open-source, automated Pine Script v6 trading strategy that combines three independent filters — a seven-condition MasterTrend EMA alignment score, a relative volume regime gate, and a session time restriction — into a single, unified entry system. Entry is triggered by an EMA 4/5 crossover when all three filters are simultaneously satisfied. Stop loss is placed at 1.5× ATR from entry. Take profit is set at a 3:1 reward-to-risk ratio by default. All orders are executed on bar close (process_orders_on_close=false), and signals are gated on barstate.isconfirmed to eliminate intrabar repainting.
FTS is designed to demonstrate how institutional-grade filtering layers can be combined into a programmatic strategy with realistic, auditable results. It is not a black box — every condition is visible in the dashboard and the source code is fully open. The strategy description explains the exact logic, the default backtesting parameters, and the limitations of any backtesting approach.
Core Concepts
1. MasterTrend Seven-EMA Alignment Score
Seven trend conditions are evaluated on each bar. Each satisfied condition contributes one point to a bull or bear score (0–7):
EMA 4 above/below EMA 5 — fast momentum direction
RSI above/below 50 — momentum confirmation
Price above/below EMA 21 — short-term trend
EMA 21 above/below SMA 50 — medium-term structure
SMA 50 above/below EMA 55 — medium-to-intermediate trend
EMA 55 above/below EMA 89 — intermediate trend
Price above/below EMA 750 — long-term macro trend
Entry requires the bull or bear score to equal or exceed the configurable minimum (default: 5 out of 7). This prevents entries during low-conviction, mixed-alignment market conditions.
2. Relative Volume Regime Gate
Volume regime is measured as the ratio of a short-term volume MA to a long-term volume MA, smoothed by an EMA:
float volRatio = ta.ema(volShort / math.max(volLong, 1.0), i_volSmth)
bool volOK = volRatio >= i_volMin
The default minimum ratio is 0.90 — entries are blocked when recent volume is more than 10% below the long-term average. This prevents the strategy from entering trades during dead, low-participation conditions where institutional order flow is absent.
3. Session Filter
Trading is restricted to the London session (08:00–17:00) and New York session (14:00–21:00) in the selected timezone, with both independently toggleable. Entries outside the active sessions are blocked. This keeps the strategy focused on the highest-liquidity periods of the trading day.
4. EMA 4/5 Crossover Entry Trigger
The entry trigger is an EMA 4 crossover above EMA 5 (for longs) or crossunder (for shorts), evaluated on confirmed bar closes. The crossover is a fast momentum signal — it fires at the beginning of a new short-term directional move. Combined with the full filter stack, it identifies the specific bar where momentum begins aligning with the broader structural trend.
5. ATR Stop Loss and 3:1 Take Profit
Stop loss is placed at 1.5× ATR from entry. Take profit is placed at 3× the stop distance (configurable). Both levels are computed at entry and fixed — they do not trail. The strategy uses Pine Script's strategy.exit() function with explicit stop and limit prices for clean, non-discretionary execution.
Default Backtesting Properties
The strategy has been published with the following default Properties settings. These values are used in all performance metrics shown on the chart:
Initial Capital: $10,000 (realistic for an individual trader)
Position Size: 2% of equity per trade (risk-managed sizing)
Commission: 0.05% per side (representative of standard exchange or broker fees)
Slippage: 2 ticks
Pyramiding: 0 (one trade open at a time)
process_orders_on_close: false (orders execute on the next bar open, not at the signal bar close)
Using 2% of equity per trade with a 1.5× ATR stop means the maximum percentage of equity at risk per trade scales with position size dynamically — at a 3:1 RR ratio, three losing trades in a row lose approximately 6% of equity, which is within the PulseWire recommended range. A dataset that generates at least 100 trades is recommended for meaningful statistical evaluation. On lower timeframes (5m, 15m) on major equity indices or forex pairs with London and NY sessions active, the default settings typically produce sufficient trade counts.
Features
Three-Layer Entry Filter: MasterTrend score, volume regime, and session — all three must be satisfied simultaneously
Configurable Minimum Score: Adjustable minimum MasterTrend alignment score threshold (1–7, default: 5)
EMA 4/5 Crossover Trigger: Fast momentum crossover as entry signal within aligned conditions
ATR Stop Loss: Dynamic stop placement based on current ATR — adapts to instrument volatility
Fixed Ratio Take Profit: 3:1 default reward-to-risk — adjustable
Session Restriction: London and New York sessions independently configurable with timezone setting
Volume Regime Gate: Minimum volume ratio filter blocks entries during low-participation conditions
TP/SL Visualization: Active trade TP and SL boxes drawn from entry and extended on each bar — color changes on outcome
Entry Markers: Triangle plotshapes at long and short entry bars for clear chart identification
EMA Reference Plots: EMA 4, EMA 5, EMA 21, and EMA 750 plotted as reference
Non-Repainting: process_orders_on_close=false; all entry conditions gated on barstate.isconfirmed
Dashboard (Top Right): Live MasterTrend state, volume regime, session, current position, net P&L, win rate, profit factor, max drawdown, average win/loss, and RR ratio
Entry Context Labels: Each entry label now shows the MasterTrend score and volume regime tag at the moment of entry in the format "L 6/7 | V:HI" — full entry context visible on the chart without needing to consult the dashboard
Position Candle Tint: Candles colored green while a long position is open, red while a short position is open — provides an immediate visual record of all trade durations across the full chart history
Per-Session Performance Breakdown: London and New York win rates tracked and displayed separately in the dashboard — identifies which session produces the strongest historical edge for the current instrument and timeframe
Expanded Dashboard (15 Rows): Dashboard expanded to 15 rows — now includes a full session performance section with London and NY win rates alongside the existing strategy performance metrics
Input Parameters
MasterTrend EMA Stack:
EMA 4, EMA 5, EMA 21, SMA 50, EMA 55, EMA 89, EMA 750: All periods individually configurable
RSI Length: RSI period for momentum condition (default: 14)
Volume Regime Filter:
Short Vol MA / Long Vol MA: Volume baseline calculation periods (default: 10, 40)
Vol Smooth: EMA smoothing for ratio (default: 3)
Min Vol Ratio: Minimum ratio threshold for entry permission (default: 0.90)
Session Filter:
Timezone: Session evaluation timezone (default: America/New_York)
Session Filter: Master toggle (default: enabled)
Allow London / Allow NY: Independent session toggles (both default: enabled)
Entry Trigger:
EMA4/5 Cross Entry: Use crossover as trigger (default: enabled)
Min MasterTrend Score: Minimum score required for entry (default: 5)
Risk Management:
ATR Length: ATR period (default: 14)
ATR SL Multiplier: Stop distance as ATR multiple (default: 1.5)
Reward:Risk Ratio: TP multiple (default: 3.0)
How to Use This Strategy
Step 1: Verify the Filter Stack is Active
The dashboard shows MasterTrend state, volume regime, and current session at all times. Before a trade can occur, all three must be aligned — a bull score ≥ 5, volume ratio ≥ 0.90, and an active London or NY session window.
Step 2: Observe the EMA 4/5 Crossover
The entry trigger is the EMA 4 crossing EMA 5. With all filters active, the next crossover in the trend direction will generate an entry. The entry is executed at the open of the following bar (process_orders_on_close=false), which is the realistic execution point.
Step 3: Manage the Open Trade
The TP/SL boxes extend from the entry bar and update on each subsequent bar. The strategy's exit function manages the trade automatically — no manual management is required. The dashboard shows the current position state (LONG / SHORT / FLAT) at all times.
Step 4: Evaluate Backtesting Results Critically
Past results do not predict future performance. Before drawing conclusions from any backtest, ensure the trade count is at least 100. A small sample (under 50 trades) produces unreliable win rate and profit factor estimates. Test across multiple instruments and timeframes — a strategy that performs well on one asset in one period may not generalize.
Strategy Limitations
The EMA 750 requires 750 bars of chart history. On timeframes or instruments with limited bar history, the 750-period EMA will be inaccurate for the first 750 bars — backtest results including those bars should be discounted
Backtesting does not account for liquidity, market impact, or partial fills on real orders. The 2-tick slippage setting is an approximation — on illiquid instruments or during news events, actual slippage may be significantly higher
The EMA 4/5 crossover is a fast signal. In choppy, sideways markets where EMAs cross frequently, the strategy may enter multiple trades quickly that all exit at stop loss before the filter stack re-assesses. The session and volume filters reduce but do not eliminate this behavior
A fixed 3:1 RR ratio requires the market to travel 3× the initial risk without reversing. On short timeframes or on instruments with narrow average ranges relative to ATR, achieving the full TP target may be less frequent than on smoother-trending assets
Commissions, taxes, and regulatory fees vary by broker, instrument, and jurisdiction. The 0.05% commission default is a general estimate — actual trading costs should be substituted with broker-specific values before drawing performance conclusions
This strategy is one specific configuration of the underlying filter system. Adjusting the minimum MasterTrend score, volume threshold, session windows, or RR ratio will produce different results. Any configuration change constitutes a separate strategy with its own performance characteristics
Originality Statement
FTS implements a programmatic entry system by combining a seven-condition quantitative trend score, a relative volume regime gate, and a session time restriction into a unified, fully transparent open-source strategy. This is original for the following reasons:
The MasterTrend alignment score functions as a structural quality gate — rather than entering on any EMA crossover, the strategy explicitly requires a minimum number of the seven structural conditions to be simultaneously satisfied, producing a much stricter entry criterion than a standard crossover system
The volume regime gate uses a normalized ratio (not a raw volume level) to block entries during low-participation conditions — making the filter relevant across instruments and timeframes without requiring instrument-specific volume threshold calibration
The combination of structural alignment (EMA stack), activity quality (volume regime), and time context (session filter) as three independent prerequisites creates a compounding selectivity effect — the strategy only enters the specific intersection of all three conditions, which is a smaller, higher-conviction subset than any single filter alone
The live dashboard displaying all filter states, position context, and key performance metrics simultaneously provides full transparency into why any given bar does or does not produce a signal, making the strategy auditable in real time
Disclaimer
This strategy is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss. Backtesting results shown are based on historical data and do not guarantee or predict future performance. Past results are not indicative of future results. Commission and slippage values used in backtesting are estimates — actual trading costs will vary. The strategy does not account for all real-world execution factors. Always use proper risk management and consult a qualified financial professional before making trading decisions. The author is not responsible for any trading losses resulting from the use of this strategy.
-Made with passion by jackofalltrades Strategy

Chandelier Exit Flip Zones [AGPro Series]Chandelier Exit Flip Zones
Chandelier Exit Flip Zones is a premium ATR trailing-stop and exit-state engine built for traders who want more than a simple stop line on the chart.
The script takes the classic Chandelier Exit concept and turns it into a structured decision layer:
Chandelier trail -> trail-side flip -> flip quality -> continuation state -> exit-pressure awareness
The result is a clean public-free tool for reading trend continuation, trailing-stop pressure, and Chandelier flip transitions without turning the chart into a crowded signal board.
📌 Why This Script Exists
Chandelier Exit is one of the most practical and searched trailing-stop concepts because it connects trend direction with volatility. Many traders use it to trail positions, judge when momentum is still holding, or identify when price is starting to lose distance from its active stop area.
Most Chandelier tools stop at the line.
This script adds the missing context:
- Which side of the Chandelier trail is active?
- How far is price from the trail in ATR terms?
- Was the latest trail flip strong or weak?
- Is the market still in continuation mode?
- Is price compressing back into an exit-watch area?
- Did the transition create a clean forward flip zone?
That extra layer is what makes the script more useful than a standard ATR trailing-stop overlay.
⚡ What Makes It Different From Standard Chandelier Exit Indicators
Most public Chandelier Exit indicators are visually simple. They usually plot a long stop, a short stop, and sometimes a basic flip marker.
Chandelier Exit Flip Zones is built around a stronger reading model.
It evaluates each trail flip through a quality score that combines:
- Trail-break strength
- EMA trend agreement
- Range expansion
- Candle close location
- Optional volume participation
This means the script does not treat every flip equally. A weak flip inside chop is not presented with the same weight as a cleaner transition with better structure, stronger expansion, and better directional agreement.
The script also uses quality-filtered Flip Zones. These boxes are not generic support and resistance areas. They are drawn around the Chandelier transition area where price breaks the previous trail and establishes a new active side. The purpose is to mark the actual trail-flip area, not to fill the chart with unrelated levels.
🧭 How It Is Different From Other AGProLabs Scripts
This script was intentionally kept in a narrow Chandelier Exit lane so it does not overlap with other AGProLabs public releases.
It is not a SuperTrend script. SuperTrend logic is built around a different volatility-band mechanism, while this tool is built around Chandelier high/low structure anchors and ATR trail distance.
It is not an ATR compression or ATR breakout script. Those concepts focus on volatility contraction, breakout pressure, or expansion behavior. This script focuses on the active trailing-stop side, distance from the Chandelier trail, and exit-state awareness.
It is not a generic trend dashboard. The panel is compact and centered on trail side, ATR multiple, distance, flip quality, and continuation or exit-watch state.
It is not a support/resistance zone engine. The only zones are concept-native Flip Zones created from qualified Chandelier trail transitions.
This keeps the script differentiated, practical, and publication-safe inside the AGPro Series catalog.
✅ Core Features
- Chandelier Exit trail based on ATR distance and recent structure anchors
- Long-side and short-side trail state
- Bullish and bearish trail-flip detection
- Flip quality score from 0 to 100
- Prime, qualified, and developing flip classifications
- ATR distance from the active trail
- Percentage distance from the active trail
- Continuation, control, and exit-watch state logic
- Quality-filtered forward Flip Zones
- Optional exit-watch labels, disabled by default for a cleaner public view
- Label cooldown and maximum label controls
- Maximum visible zone control
- Adjustable label font size
- Adjustable panel font size
- Adjustable panel location
- Dark, light, and auto panel theme options
- AGPro-style panel with a single merged blue header row
- Alerts for bullish flips, bearish flips, prime flips, and exit-watch conditions
📊 Panel Readout
The panel is designed to give a fast read without visual overload:
Trail Side
Shows whether the active Chandelier trail is currently long-side or short-side.
ATR Multiple
Shows the volatility multiple used by the current trail.
Distance
Shows how far price is from the active trail in both ATR and percentage terms.
Flip Quality
Displays the most recent flip score and classification.
State
Classifies the current condition as continuation, control, or exit watch.
🎯 How To Read It
A strong Chandelier flip means price has crossed the prior active trail with enough quality to deserve attention. The score helps separate cleaner transitions from weaker flips in noisy conditions.
A continuation state means price has moved far enough from the active trail and still has trend agreement behind it. This is the cleaner trend-following condition.
A control state means price is on one side of the trail, but the continuation profile is not yet strong enough to classify as a high-conviction continuation read.
An exit-watch state means price has compressed back toward the active Chandelier trail. This does not make the script a prediction tool. It simply highlights that the active trend has less distance from its trailing-stop structure and deserves closer attention.
💎 Why Traders May Like It
The script is useful because it keeps the original simplicity of Chandelier Exit while adding the context traders usually have to judge manually.
It can help users read:
- Trend-following continuation quality
- ATR trailing-stop distance
- Trail-side transitions
- Cleaner Chandelier flip zones
- Exit-pressure areas near the active trail
- Strong versus weak flip behavior
The default view is intentionally restrained. Exit-watch labels are available, but disabled by default so the first chart impression stays cleaner. Flip labels and zones are also filtered by score so the chart does not get flooded during sideways periods.
🛠 Suggested Use Cases
- Trend-following exit management
- Swing-trading trail awareness
- Crypto trend continuation tracking
- Forex and index trailing-stop context
- Stock trend-state monitoring
- Identifying stronger Chandelier trail transitions
- Monitoring when price compresses back toward the active trail
⚙️ Recommended Default Style
The defaults are tuned for a public-free premium view:
- ATR Length: 22
- Structure Lookback: 22
- ATR Multiple: 3.0
- Flip Zones: enabled
- Minimum Zone Score: 50
- Minimum Flip Label Score: 45
- Exit Labels: disabled by default
- Label Font Size: Normal
- Panel Font Size: Normal
- Panel Theme: Dark
These settings keep the tool immediately usable while preserving a clean chart presentation.
🔹 In One Sentence
Chandelier Exit Flip Zones turns a classic ATR trailing stop into a cleaner Chandelier trail, flip-quality, continuation-state, and exit-pressure map built for serious chart reading without unnecessary clutter. Indicator

Heikin Ashi Trend Zones [AGPro Series]Heikin Ashi Trend Zones
Heikin Ashi Trend Zones is a clean overlay built for traders who like the smoothing behavior of Heikin Ashi but still want to keep the original market candles visible. Instead of repainting the chart with synthetic candles, the script reads the internal Heikin Ashi state in the background and converts it into a focused trend-state layer.
The engine follows four core ideas:
1. Internal HA Side
The script calculates the active Heikin Ashi side from synthetic HA open and close values, then filters weak neutral bodies so the state does not flip on every small candle.
2. HA Streak Quality
The panel tracks how long the current HA side has been active. This helps separate early state changes from mature continuation phases.
3. Optional Transition Zones
When the HA side changes with enough body strength, wick cleanliness, close location, ATR pressure, and prior-state maturity, the script can project a compact rectangular transition zone. This layer is disabled by default so the public chart view stays clean, but it remains available for traders who want to inspect HA changeover corridors.
4. Continuation Quality
Once a HA streak matures, the script scores continuation quality using body strength, wick cleanliness, close location, smoothed HA slope, streak depth, and ATR context. Labels appear only when the continuation score is strong enough and the cooldown rules allow a clean chart presentation.
What makes this script different
- It does not replace real candles with Heikin Ashi candles.
- It does not behave like a generic trend-following dashboard.
- It focuses on HA state transitions, HA streak maturity, and continuation quality.
- Optional transition boxes are concept-native HA corridors, not broad horizontal support/resistance zones.
- Label density is capped with cooldown and maximum visible label controls.
- The panel exposes HA side, streak, transition quality, continuation quality, and ATR context in a compact AGPro layout.
Visual design
The overlay stays restrained:
- A slim trend-state ribbon follows the smoothed HA path.
- Optional transition zones can extend forward as compact rectangles when enabled.
- Continuation labels are offset from candles with ATR spacing.
- Panel location, panel theme, panel font size, and label font size are adjustable.
Suggested usage
Use the script to study whether Heikin Ashi structure is shifting, stabilizing, or continuing while the original candles remain visible. The strongest reads usually come from alignment between a clean HA side, a growing streak, strong continuation quality, and an ATR context that supports the current state.
Default settings are tuned for a balanced public chart view with a clean ribbon and selective continuation labels. Faster traders can reduce smoothing and cooldown values. Swing traders can enable transition zones, increase transition projection, and require higher continuation quality for fewer labels. Indicator

FVG with Probabilities | GainzAlgoFVG with Probabilities
The FVG Quality Engine v5.1 is a high-performance, institutional-grade toolkit specifically designed for the volatile nature of 0DTE options and lower-timeframe scalp trading.
Unlike standard gap detectors, this engine utilizes a complex scoring model to quantify the probability of a Fair Value Gap (FVG) holding or failing in real-time.
The Theory of the Fair Value Gap (FVG)
At its core, a Fair Value Gap represents a market imbalance. It is a three-candle sequence where price moves so rapidly that it leaves behind a structural void where only one side of the market was efficiently filled.
The Displacement: An FVG is only as strong as the energy behind it.
This indicator requires displacement, meaning the candle must be large relative to volatility (ATR) and possess a solid body with minimal wicks.
The Rebalance Magnet: Price has a natural tendency to return to these imbalances to find fair value.
The engine tracks the Consequent Encroachment (CE), or the 50% midpoint of the gap, which often serves as the most sensitive reaction level.
Inversion (IFVG): When price fails to respect an FVG and instead closes with displacement on the opposite side, the gap flips.
A bullish FVG that is closed through becomes a bearish resistance zone, known as an Inversion FVG.
The Quality Scoring Model: Probabilities and Values
The indicator calculates a probability score for every gap (clamped between 4% and 85%) to help distinguish between low-quality noise and high-confluence setups. This is a weighted logit model based on eight key factors:
P/D Alignment (1.5x Weight): Checks if a long is in discount or a short is in premium relative to recent swing points.
Market Structure (1.3x Weight): Alignment with a recent Break of Structure (BOS).
Size/ATR Ratio (1.2x Weight): Gaps that are too small or excessively large relative to volatility are downgraded.
Trend & HTF (1.0x Weight): Alignment with the 20/50 EMA stack and the 200 HTF EMA.
Volatility Regime (0.9x Weight): Higher scores during expansion, reduced scores during compression.
Volume (0.8x Weight): Uses Relative Volume (RVOL) to confirm institutional participation.
Killzones (0.7x Weight): Gaps formed during London or New York sessions receive a boost.
Comprehensive Menu Inputs
FVG Detection & Displacement
Min FVG Size (ATR x): Controls sensitivity. Default of 0.3 ATR ensures meaningful gaps only.
Require Displacement: Middle candle must meet a minimum body-to-range ratio (default 0.6).
IFVG Rules (The Flip Logic)
Track IFVGs: Enables conversion of failed gaps into inversion zones.
Min Close Dist: Requires price to close at least 0.3 ATR beyond the gap.
Req Aligned BOS: Strict filter requiring a structural break for IFVG validation.
Signal Engine
Signal Mode
Choose between Trend Only, Reversal Only, or Both.
Require Confirmation: Waits for opposing displacement after FVG/OB/Sweep interaction.
Trigger on CE Tap: Signals when price taps the 50% level of a high-quality FVG.
Time-of-Day Filter
Skip First/Last N Minutes: Avoids open volatility and end-of-day noise.
Skip Lunch: Filters out low-volume periods between 11:30 and 13:30 NY time.
How to Use the Indicator
Step 1: Identify the Bias: Use the dashboard to determine if the setup is trend or reversal. Look for EMA alignment: 20 EMA above 50 EMA and price above 200 EMA.
Step 2: Filter by Quality: Focus only on gaps labeled H (High) or M (Medium). High-quality gaps (>65%) indicate strong confluence.
Step 3: Entry Confluence: The best entries occur at A+ tier setups. These happen when price retests a high-scoring FVG or OB within a killzone and is followed by confirmation.
Step 4: Managing Inversions: If a bullish gap fails, do not ignore it. Watch for it to flip into a purple IFVG, acting as resistance for potential reversal or continuation.
Indicator
