Multi-Timeframe CandlesMULTI-TIMEFRAME CANDLES
WHAT IT IS
Multi-Timeframe Candles is a visual context tool that displays the current (still-forming) candle from higher timeframes directly on your chart, without requiring you to switch the chart's timeframe. Instead of flipping back and forth between 5m, 15m, 1h, 4h, and Daily charts to check what the bigger picture looks like, this indicator brings that information to you in real time, rendered as a small set of candles off to the side of the price action.
The timeframe list is fixed: 5 minutes, 15 minutes, 1 hour, 4 hours, and Daily. The indicator automatically compares each of these against the timeframe you are currently viewing and only draws the ones that are strictly higher. For example, if you are on a 5-minute chart, you will see 15m, 1h, 4h, and D. If you are on a 1-hour chart, you will only see 4h and D, since 5m and 15m are no longer higher timeframes relative to your current view. This keeps the display relevant no matter which timeframe you trade on.
WHAT IT IS MADE OF
Each higher timeframe is represented by a single candle, built from three drawing elements:
- A rectangular body showing the open and close of that timeframe's current candle, colored green (bullish) if close is greater than or equal to open, or red (bearish) otherwise.
- A thin vertical wick showing the full high-to-low range of that timeframe's current candle.
- A text label positioned below the candle, identifying which timeframe it represents (5m, 15m, 1h, 4h, or D).
These candles are placed in a horizontal row to the right of your current price action, spaced evenly apart, ordered from the smallest qualifying timeframe to the largest (left to right). They update live as price moves, since each candle reflects the still-forming candle of its respective timeframe, not a closed historical one.
HOW TO READ IT
Each candle should be read exactly like you would read it on its native timeframe's chart:
- A green candle means that timeframe is currently trading above where it opened — net bullish pressure so far on that timeframe.
- A red candle means that timeframe is currently trading below where it opened — net bearish pressure so far on that timeframe.
- The length of the wick relative to the body tells you about volatility and rejection within that timeframe's current candle: a long wick with a small body suggests indecision or a strong intra-candle reversal, while a large body with short wicks suggests a strong, decisive directional move.
- Comparing the candles across timeframes side by side lets you quickly judge alignment: if your lower timeframe and the higher timeframes are all the same color, you have multi-timeframe confluence in one direction. If they disagree (e.g., the 5m candle is red while the 4h and Daily candles are green), you are likely looking at a short-term pullback or reaction within a larger prevailing trend, which carries very different implications than a same-direction move.
HOW TO USE IT
This indicator is meant purely as a contextual reference, not a standalone signal generator. The intended use is:
1. Stay on your working timeframe (the one you actually use for entries, e.g., 1m or 5m).
2. Glance at the row of higher-timeframe candles to instantly understand where price stands relative to the open of each larger timeframe, without needing to switch charts and lose your current view, drawings, or zoom level.
3. Use this context to filter or qualify setups on your working timeframe. For example, a bullish setup on a lower timeframe may carry more weight if the higher timeframe candles are also green, indicating you are trading with the larger trend rather than against it.
4. Use it to anticipate behavior near higher-timeframe candle opens, since price often reacts around these levels even when they are not explicitly plotted as horizontal lines.
All visual aspects (candle width, spacing between candles, distance from the last bar on the chart, bullish/bearish colors, and label size) are configurable through the indicator's settings panel to fit your chart layout and personal style. Indicator

Volatility Regime Dashboard## Overview
Volatility Regime Dashboard is a context and visualization tool that classifies the
current volatility state of any symbol as **Compressed**, **Normal**, or **Expanded**.
Instead of plotting a single raw volatility line, it combines two independent
normalized measures and only changes the displayed state when both of them agree.
A compact table reports the underlying numbers and how many bars the current regime
has lasted.
This script is a visualization and context tool. It does not generate buy or sell
signals. It does not provide financial advice and makes no performance, accuracy,
or future-result claims.
## What it visualizes
- A line in its own pane showing the **percentile rank of price-normalized ATR**
(0-100), with dashed guides at the compressed and expanded thresholds and a
dotted midline.
- A **regime background shade** (optional) coloring the pane by the current state.
- A **context table** with the regime name, the ATR percentile value, the
Fast/Slow ATR compression ratio, whether the two measures currently agree, the
regime persistence in bars, and the ATR length in use.
## How it works
Two measures are computed independently:
1. **Price-normalized ATR percentile.** ATR is divided by price (so the measure is
comparable across symbols and price levels), then ranked as a percentile over a
user-defined lookback (default 252 bars). A high percentile means current ATR is
large relative to its own recent history; a low percentile means it is small.
2. **Fast/Slow ATR compression ratio.** A fast-window ATR is divided by a
slow-window ATR. A ratio above 1 means range is expanding relative to its
baseline; below 1 means it is compressing.
Each measure is classified into Compressed (-1), Normal (0), or Expanded (+1) using
its own thresholds. The displayed regime uses **hysteresis**: it flips to Expanded
or Compressed only when **both** measures agree on that direction, returns to Normal
only when both measures sit in their middle bands, and otherwise **holds** the prior
regime while the two measures disagree. This reduces flicker compared with reacting
to either measure alone. A persistence counter tracks how many consecutive bars the
current regime has held.
## How to use it
- Read the regime as **situational context** about how active the market currently
is relative to its own recent behavior, not as an instruction to act.
- Watch the percentile line approach the dashed thresholds to anticipate when a
regime change may be confirmed by both measures.
- Use the persistence counter to gauge whether a regime is freshly established or
well established.
- Adjust the lookback and thresholds to match the symbol and timeframe you study;
the defaults suit daily charts and are a starting point, not an optimized set.
## What makes it original
Most volatility tools plot a single raw or smoothed value. This dashboard derives a
**single discrete regime from the agreement of two structurally different measures**
- a within-history percentile rank and a fast-versus-slow ratio - and gates state
changes with hysteresis so the regime persists through brief disagreement. It then
surfaces the **persistence duration** of the current regime. The combination of
cross-measure agreement, hysteresis, and persistence reporting is the contribution;
it is not a re-skin of a built-in ATR, Bollinger, or standard-deviation indicator.
## What it does not do
- Does not generate buy/sell signals.
- Does not give entry/exit, target-level, or position-sizing instructions.
- Does not predict price or forecast performance.
- Does not run a strategy or backtest.
- Does not place or manage orders for you.
## Limitations
- Volatility regime is **descriptive context**, not a forecast; an Expanded or
Compressed state can persist or reverse at any time.
- The percentile rank depends on the lookback window; very small lookbacks make the
state noisy and very large ones make it slow to update.
- On symbols or timeframes with sparse history, the percentile may be unstable until
enough bars are available.
- ATR divided by price assumes price is positive and non-zero; exotic data feeds may
behave unexpectedly.
- Default thresholds are reasonable starting values, not values tuned for any
particular market.
## Suggested chart setup
- Use a liquid, recognizable symbol on a daily timeframe so the percentile lookback
has enough history.
- Keep the chart clean: this indicator opens in its own pane, so remove unrelated
indicators and let the percentile line, threshold guides, regime background, and
table be clearly visible.
- Make sure the indicator name, symbol, and timeframe are visible in any published
screenshot.
---
## Japanese notes / 日本語補足
このスクリプトはボラティリティの状態を「Compressed(収縮)」「Normal(通常)」
「Expanded(拡大)」として表示する、コンテキスト把握用の可視化ツールです。価格で
正規化したATRのパーセンタイル順位と、ファスト/スロー期間のATR比率という2つの独立
した指標を用い、両者が一致したときだけ状態を変更するヒステリシス方式を採用していま
す。表には各指標の数値と、現在の状態が何本のバー継続しているかを表示します。
これは相場の状況を把握するための可視化ツールであり、売買の指示は行いません。投資
助言ではなく、将来の値動きや運用成績に関する主張も一切行いません。新規の建玉や手
仕舞い、ポジションサイズの提案も行いません。しきい値やルックバックは銘柄や時間足に
合わせて調整してください(初期値は最適化されたものではありません)。
Indicator

Macro Risk Proxy Switchboard [AGPro Series]Macro Risk Proxy Switchboard
🧠 Core Idea
Are macro risk proxies supporting risk appetite, warning of defense, or sending a mixed signal?
📌 Overview / What it does
Macro Risk Proxy Switchboard is a macro context tool that compares multiple external risk proxies and converts them into a clean risk-on / risk-off switchboard.
The script uses configurable proxy symbols such as dollar pressure, yield pressure, volatility pressure, and credit appetite. It normalizes their recent movement, evaluates agreement, detects shock or divergence behavior, and displays the current macro regime directly on the chart.
It produces a macro risk rail, compact alignment labels, right-side regime tags, and a structured AG Pro panel. It does not predict price direction, automate decisions, or claim that macro proxies must control the chart.
🎯 Purpose & Design Philosophy
This script was built to solve a common context problem: traders often watch several macro proxies, but the information is scattered across different charts.
Macro Risk Proxy Switchboard compresses that context into one visual layer. It helps traders understand whether external risk conditions are supportive, defensive, mixed, or shocked.
The mindset is simple: price action matters first, but macro pressure can change the quality of breakouts, pullbacks, risk appetite, and continuation attempts.
⚡ Why This Script Is Different
Most tools focus only on the charted symbol.
This script does NOT treat macro data as a prediction engine.
Instead, it reads a configurable basket of risk proxies and asks whether those proxies agree, diverge, or create an external pressure warning.
The result is not a buy or sell signal. It is a compact macro context layer designed to improve situational awareness.
⚙️ Methodology
1. Proxy Selection
The script reads four configurable proxies: dollar pressure, yield pressure, volatility pressure, and credit appetite.
2. Proxy Normalization
Each proxy is measured by recent momentum and normalized against its own historical behavior so the readings can be compared.
3. Composite Evaluation
The script combines proxy pressure into a composite risk score and measures how many proxies agree with the current regime.
4. Visual Output
The output is displayed through a macro risk rail, event labels, right-side regime tags, and a clean AG Pro panel.
🗺️ How to Read the Chart
The macro rail represents the current external risk context.
Labels show important macro events such as risk-on alignment, risk-off alignment, proxy shock, or macro divergence.
Colors separate supportive, defensive, neutral, and shock-style behavior.
The panel shows macro regime, risk direction, composite pressure, agreement count, dominant proxy, individual proxy pressure, credit pressure, quality score, and next context.
🚦 Signals & States
• RISK-ON ALIGN → macro proxies are broadly supportive of risk appetite
• RISK-OFF ALIGN → macro proxies are broadly defensive or risk restrictive
• MIXED PROXIES → proxy agreement is weak or divided
• PROXY SHOCK → at least one proxy shows unusually strong pressure
• NEUTRAL BOARD → no clear macro tilt is active
🔔 Alerts Logic
Alerts trigger when the script detects risk-on alignment, risk-off alignment, proxy shock, or macro proxy divergence.
These alerts are attention markers only. They highlight a change in macro context, not a trading instruction.
🧩 Confluence Logic
The strongest macro context appears when multiple proxies point in the same direction and the composite score is strong.
When price structure, market trend, and macro proxy alignment agree, the context becomes more coherent.
When price action and macro pressure disagree, the chart should be interpreted with more caution.
📊 When to Use
• Crypto risk-on / risk-off evaluation
• Equity index context
• Breakout quality review
• Pullback environment analysis
• Volatility expansion periods
• Comparing price behavior against external macro pressure
⚠️ When NOT to Use
• When proxy symbols are unavailable on the selected PulseWire data plan
• During market holidays where proxy data may be stale
• On very low-liquidity symbols where local behavior dominates
• When using macro context as a standalone trade trigger
• When ignoring the chart’s own structure, liquidity, and volatility
🎛️ Key Inputs
• Dollar Pressure Proxy → default DXY-style risk pressure input
• Yield Pressure Proxy → default 10-year yield-style pressure input
• Volatility Proxy → default VIX-style defensive pressure input
• Credit Appetite Proxy → default HYG-style risk appetite input
• Proxy Momentum Length → controls how recent proxy movement is measured
• Proxy Rank Length → controls normalization stability
• Agreement Threshold → controls how strict risk-on/risk-off classification is
• Visual settings → control panel, rail, labels, and readability
🖥️ Interface & Visual Design
The interface is designed as a switchboard, not a traditional oscillator.
The panel carries the macro logic, while the chart displays only the most important regime rail and event labels.
This keeps the chart clean while still giving the viewer a premium first-glance macro context.
🧪 Practical Usage Workflow
1. Read the panel macro regime
2. Check risk direction and composite score
3. Review agreement count and dominant proxy
4. Compare macro rail with current price structure
5. Treat divergence or proxy shock as context requiring extra caution
🔍 Interpretation Guidelines
A risk-on reading does not guarantee upside.
A risk-off reading does not guarantee downside.
A proxy shock means external pressure is elevated and should be reviewed.
A mixed board means macro proxies are not giving a clean message.
The best use is to combine this switchboard with price action, structure, volatility, liquidity, and timeframe context.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not financial advice.
It is not an auto-trading system.
It does not provide guaranteed buy or sell signals.
It does not claim that macro proxies always lead price.
⚠️ Limitations & Transparency
Proxy symbols may behave differently across asset classes.
Some symbols may have delayed or unavailable data depending on the user’s PulseWire access.
Macro relationships can change over time.
Short-term price action can diverge from macro context for long periods.
Users should always interpret the switchboard within broader market conditions.
🧠 Market Context Notes
Macro context is most useful when it helps explain the quality of risk appetite.
Dollar pressure, yield pressure, volatility pressure, and credit appetite can all influence how traders interpret continuation, rejection, and acceptance behavior.
The script is built to simplify that context, not to replace the chart.
🧾 Use Case Examples
When price attempts a breakout while the switchboard shows risk-on alignment, the trader can evaluate whether external conditions support the move.
When price is holding support but the switchboard prints proxy shock, the trader can watch for defensive pressure.
When price trends strongly while macro proxies remain mixed, the trader can treat the move as less confirmed by external context.
🧱 System Philosophy
Macro Risk Proxy Switchboard follows the AGPro Series philosophy: clean decision-support tools that turn complex market context into readable, premium visual structure.
The script focuses on interpretation quality, not prediction claims.
🔐 Non-Promise Statement
No proxy basket can know the future.
No macro signal guarantees price direction.
This tool provides structured context only.
📉 Risk Disclosure
Trading involves risk.
Market conditions can change quickly.
All decisions remain the responsibility of the user.
This script does not provide financial advice or guaranteed trading outcomes.
📚 Educational Note
Use this script as an educational and analytical companion for studying macro pressure, risk appetite, defensive conditions, and cross-market context.
Indicator

Crypto Market Breadth Risk Planner [AGPro Series]Crypto Market Breadth Risk Planner
🧠 Core Idea
Is the crypto market showing broad risk-on participation, weakening rotation, or a risk-off breadth environment?
📌 Overview / What it does
Crypto Market Breadth Risk Planner is a chart-first market breadth tool built to evaluate whether a selected crypto basket is participating broadly or weakening internally.
Instead of reading only the active chart symbol, the script reviews a configurable basket of major crypto pairs. It measures how many symbols are trading above their trend baseline, how many have positive momentum, how many have rising trend structure, and how much volatility stress is present across the basket.
The script produces a 0-100 Breadth Risk Score, a colored breadth risk corridor on the active chart, event labels, right-side tags, alerts, and a compact AG Pro panel. It does not predict price direction, automate execution, or claim that breadth alone is enough to trade.
🎯 Purpose & Design Philosophy
This script was built because single-chart analysis can look strong while the broader crypto market is quietly weakening, or look weak while breadth is beginning to rotate back into strength.
The purpose is to help traders read market participation before treating an individual setup as clean. Strong setups usually have a better context when the broader basket is aligned, while weaker breadth can warn that a chart may be more exposed to false follow-through.
The design supports traders who want broader market context without opening ten charts manually. It turns cross-market participation into a simple decision-support layer that can be read directly on the current chart.
⚡ Why This Script Is Different
Most crypto tools focus on the active symbol, a single benchmark, a simple correlation reading, or a raw relative-strength line.
This script does NOT act as a benchmark correlation meter, a relative-strength rotation map, a volume spike detector, or a generic trend dashboard.
Instead, it evaluates breadth across a user-defined crypto basket and converts that participation into a risk-readiness framework. The goal is not to say which coin to buy or sell. The goal is to show whether the broader crypto environment is supportive, mixed, stressed, or risk-off.
⚙️ Methodology
1. Context Detection
The script requests data from a configurable crypto basket and evaluates each symbol on the selected breadth timeframe.
2. Reference Mapping
Each symbol is compared against its own trend baseline, momentum reading, trend slope, and ATR-based volatility stress condition.
3. Reaction Evaluation
The script combines trend participation, momentum participation, slope confirmation, and volatility stress into a single Breadth Risk Score.
4. Visual Output
The final output includes a colored breadth risk corridor, centered corridor text, event labels, right-side tags, optional bar coloring, alerts, and an AG Pro panel.
🗺️ How to Read the Chart
Zones:
The breadth risk corridor is a visual context zone around price. Its color reflects the current breadth regime rather than a direct support or resistance level.
Labels:
Labels mark important breadth state transitions such as Risk-On, Rotation Watch, Risk-Off, Stress Review, and Cooling.
Colors:
Teal represents broad constructive participation.
Pink represents risk-off breadth or weak participation.
Gold represents stress or caution.
Indigo represents improving rotation or transitional breadth.
Panel:
The panel summarizes breadth participation, Breadth Risk Score, momentum, stress, regime, and action state.
🚦 Signals & States
• Risk-On Ready → Broad participation and momentum are strong enough to support risk-on review.
• Rotation Watch → Breadth is improving, but not yet strong enough for full risk-on classification.
• Stress Review → Volatility stress is elevated while breadth quality remains weak.
• Risk-Off → Basket participation is weak or deteriorating.
• Cooling → Stress is easing while breadth quality begins to improve.
• Wait Breadth → No strong breadth regime is currently active.
🔔 Alerts Logic
Alerts can trigger when the basket shifts into Risk-On, Rotation Watch, Risk-Off, Stress Review, or Cooling.
Alerts are attention markers only. They highlight changes in the breadth model. They are not trade instructions, automated entries, or guaranteed market calls.
🧩 Confluence Logic
The context becomes stronger when multiple breadth layers align together.
For example, a high Breadth Risk Score with many symbols above their trend baselines, positive momentum participation, rising trend slopes, and low stress suggests a cleaner risk-on environment than a rally led by only one or two symbols.
Likewise, weak participation combined with elevated stress can warn that individual bullish setups may need stricter review.
📊 When to Use
• Crypto market context review
• BTC, ETH, altcoin, and sector-style crypto watchlists
• 1H, 4H, and 1D market participation analysis
• Before treating individual setups as risk-on
• When the trader wants to know whether the broader crypto basket supports the active chart
⚠️ When NOT to Use
• Markets where selected symbols have unreliable data
• Very small or illiquid crypto pairs with distorted candles
• Situations where the basket does not match the user's trading universe
• Low-timeframe scalping where external-symbol breadth may be too slow
• News-driven events where correlation and breadth can change abruptly
🎛️ Key Inputs
• Crypto Basket Symbols → define the assets used in the breadth model
• Breadth Timeframe → controls whether the basket is evaluated on chart timeframe, 1H, 4H, or 1D
• Trend Baseline Length → controls the EMA reference used for participation
• Momentum Length → controls the ROC window used for positive or negative participation
• ATR Stress Threshold → controls when basket volatility begins to count as stress
• Minimum Risk-On Score → controls how selective the risk-on state should be
• Visual Settings → control corridor, labels, right-side tags, panel location, theme, and font size
🖥️ Interface & Visual Design
The interface is designed to make broad crypto participation readable without turning the chart into a large dashboard.
The corridor gives a fast visual state directly on the chart. The panel provides the structured readout. Labels mark only important transitions, while cooldown and memory controls keep historical events from overwhelming the chart.
The visual intent is premium, clean, and publication-friendly.
🧪 Practical Usage Workflow
1. Read the panel to identify the current breadth regime.
2. Check the Breadth Risk Score and participation percentage.
3. Review whether momentum and stress support or conflict with the active chart setup.
4. Use the corridor color as a market-context layer, not as a direct entry zone.
5. Combine breadth context with price structure, volatility, liquidity, and personal risk rules.
🔍 Interpretation Guidelines
A strong score means the selected crypto basket is broadly aligned according to the script's rules.
A Rotation Watch state means breadth is improving, but the market has not fully confirmed broad risk-on participation.
A Stress Review state means volatility pressure is elevated while breadth remains weak or mixed.
A Risk-Off state means the selected basket is not supporting broad participation under the current settings.
🚫 What This Script Is NOT
This script is not a prediction engine.
This script is not financial advice.
This script is not an automated trading system.
This script does not place orders.
This script does not guarantee market direction, continuation, reversal, or profitability.
⚠️ Limitations & Transparency
This script depends on the selected symbols, selected timeframe, and PulseWire data availability.
Different baskets can produce different breadth readings. A BTC-heavy basket may behave differently from an altcoin-heavy basket. External symbol data may also load differently depending on market, exchange, and PulseWire availability.
The script should be interpreted as market context, not as a standalone execution model.
🧠 Market Context Notes
Crypto often moves through participation waves. Sometimes BTC leads while altcoins lag. Sometimes the whole market rotates together. Sometimes volatility rises while breadth deteriorates, creating a more fragile environment.
This script is designed to make that internal participation easier to observe directly from the active chart.
🧾 Use Case Examples
Example 1:
BTC is breaking higher, but the panel shows weak breadth and high stress. The trader may decide that the move needs extra confirmation before treating it as broad risk-on.
Example 2:
ETH is consolidating, but the basket shifts into Rotation Watch with improving momentum. The trader can monitor whether the active chart begins to align with the broader rotation.
Example 3:
The basket prints Risk-Off while an individual altcoin setup looks technically clean. The script warns that the broader market backdrop is not supportive under the current model.
🧱 System Philosophy
AGPro Series tools are built as decision-support frameworks, not signal vending machines.
This script follows that philosophy by turning broad market participation into a structured context layer: define the basket, score the breadth, map the state, and show the next action clearly.
🔐 Non-Promise Statement
This script does not promise certainty.
It does not promise that a risk-on breadth state will produce gains, or that a risk-off state will produce losses. It only organizes participation context so the user can evaluate the broader market with more clarity.
📉 Risk Disclosure
Trading involves risk.
Market conditions can change quickly, and breadth models can fail or become less useful during sudden volatility, exchange-specific moves, or news-driven repricing. Users remain responsible for their own decisions, execution, and risk management.
This script is for educational and analytical purposes only. It does not provide financial advice.
📚 Educational Note
Use this tool to study how crypto breadth changes before, during, and after major market moves.
Its strongest value comes from comparing the active chart with the broader basket context rather than reading any single label in isolation.
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

Volatility Shape Classifier [AGPro Series]Volatility Shape Classifier
🔹 Overview
Volatility Shape Classifier is a context and diagnostics tool that does not stop at telling you whether volatility is high or low. Instead it classifies the SHAPE of that volatility on every bar — Smooth, Chaotic, Choppy, Drift, or Dead — using three independent dimensions combined into a single regime read. The result is a continuous visual narrative made of a subtle background tint, throttled transition badges, and a compact metrics panel.
It is designed to sit on your chart as a pure awareness layer. It does not generate buy or sell signals and it is not a trading strategy.
🔷 Unique Edge
Most volatility tools compress the market into one axis — high vs low (ATR, Bollinger Band Width), or trend vs range (Choppiness Index, ADX). They answer half of the question.
This script asks three questions at once and fuses the answers:
1. Magnitude — is ATR above or below its own long baseline?
2. Smoothness — are bar-to-bar moves consistent in size, or erratic?
3. Directional Consistency — do bars point the same way, or cancel each other?
Only the combination of these three can distinguish a controlled trend run (Smooth) from a violent whipsaw (Chaotic) from a wide directionless thrash (Choppy) — all three of which can show identical ATR readings. That shape distinction is the core value this script adds, and it is the gap left by standard volatility and chop indicators.
🔶 Methodology
Engine layer (per bar):
• Volatility Level = ATR(volLen) / SMA(ATR, volLen * 3)
• Smoothness = StDev(|close − close |) / SMA(|close − close |) over volLen
• Direction = |sum(close − close )| / sum(|close − close |) over volLen
Classification layer maps the three readings into six mutually exclusive codes:
0 — Forming (warm-up / in-between space, no tint)
1 — Expansion · Smooth (high vol, low CV, directional)
2 — Expansion · Chaotic (high vol, high CV)
3 — Expansion · Choppy (high vol, low direction)
4 — Low-Vol · Drift (low vol, low CV, mild direction)
5 — Low-Vol · Dead (low vol, low CV, no direction)
Stability layer applies a configurable Confirmation Bars window so a new shape must persist for N consecutive bars before the chart commits to it. This prevents single-bar flicker. Between-state readings do not reset the current shape, they hold it — avoiding the classic "blink to neutral" problem of switch-based classifiers.
🔸 Signals & Alerts
Four alert conditions are published:
• Shape Shifted to Smooth Expansion
• Shape Shifted to Chaotic Expansion
• Shape Shifted to Choppy Expansion
• Shape Collapsed (any expansion state falling into low-vol Drift or Dead)
Alerts fire only on confirmed shape transitions and only on bar close, so repaint on the signal bar is not a concern.
🔹 Key Inputs
• Volatility Length — window for ATR, smoothness, and direction (default 20)
• Confirmation Bars — persistence requirement before committing to a new shape (default 3)
• Badge Cooldown — minimum bars between visible badges (default 15; tint updates continuously regardless)
• Panel Position / Size — six anchor points, four size presets
• Badge Font Size — four size presets
🔷 How to Use
• Use the SHAPE read as a setup filter, not as the signal itself. Smooth Expansion is where trend-following tools tend to perform well. Chaotic and Choppy Expansion are where they tend to fail even when the raw volatility reading looks attractive.
• The Drift state often precedes an expansion in the direction of the drift.
• The Dead state is a compression warning — a shape collapse alert from Expansion into Dead is a common precursor to a fresh expansion move in either direction.
• Pair with your own entry logic (structure, moving averages, volume). This tool answers "what kind of market am I in right now?" — it does not answer "where do I enter?"
🔶 Limitations & Transparency
• Thresholds (1.15x / 0.70x / 0.80 / 1.10 / 0.18) were tuned on crypto and FX data across 15m to 1D timeframes. Very illiquid instruments and very low timeframes (< 5m) may require a longer Volatility Length.
• Shape classification is inherently backward-looking (it reads the last volLen bars). It describes the character of recent volatility, not future volatility.
• The script is a context layer. It is not a strategy and should not be used in isolation for trade decisions.
• Past behavior of a shape does not guarantee future behavior.
🔸 Risk Disclosure
This indicator is an educational and analytical tool. It does not constitute financial advice, trade recommendations, or a signal service. All trading involves risk. You are solely responsible for your own trading decisions. Indicator

Trend Stability Ribbon [AGPro Series]Trend Stability Ribbon
🔹 OVERVIEW
Most trend tools tell you WHICH WAY price is going. Trend Stability Ribbon tells you HOW WELL it is getting there. By pairing an ATR-normalized slope engine with a Kaufman path-efficiency score, it projects every bar into one of four rules-based states — Stable Up, Noisy Up, Stable Down, Noisy Down — and paints them onto a clean, adaptive ribbon that stays out of the candles' way. The result is a context layer that separates decisive trending from directional-but-choppy travel, without adding a second indicator pane.
🧭 UNIQUE EDGE — WHY THIS IS NOT "JUST ANOTHER TREND INDICATOR"
Direction alone is cheap. Every moving-average cross, every supertrend, every slope color tells you "up" or "down" — and then leaves you holding the bag when the trend is technically up but structurally a mess.
Trend Stability Ribbon adds the missing second dimension: path quality. The same 34-bar window that defines direction also feeds a Kaufman efficiency calculation (net travel divided by total path travel). An ER near 1.00 means price walked a near-straight line; an ER near 0.00 means it zig-zagged its way to the same point. Mapping that score against a calibrated threshold band produces the four composite states — and a visual language that finally distinguishes "trend worth trusting" from "trend worth fading".
Additional design choices that set it apart:
• Dual-layer event engine — direction flips, stability upgrades, and stability downgrades are tracked as independent transitions, each with its own alert.
• Badge/alert separation — on-chart badges are throttled by a cooldown for visual hygiene, but alerts are always raw so automation pipelines never miss an event.
• Reset state — when the slope-confirmation filter rejects a direction, the ribbon goes neutral instead of flipping false. Chop gets ignored, not misreported.
🧪 METHODOLOGY
1. TREND DIRECTION ENGINE
• A slow EMA (default length 34) anchors the trend path and serves as the ribbon centerline.
• Slope is measured over a 3-bar lookback and normalized by a 14-period ATR, making it instrument-agnostic across crypto, FX, equities, and futures.
• With Slope Confirmation enabled (default), direction is only accepted when price position AND slope agree. Disagreement returns a Reset state.
2. PATH EFFICIENCY (STABILITY) ENGINE
• ER = |close − close | ÷ Σ|close − close | over the same trend window.
• Three classes: Stable (ER ≥ 0.45), Noisy (ER ≤ 0.25), Mixed (between). Thresholds scale with the Stability Sensitivity input.
• The Mixed zone is a deliberate dead-band — during uncertain phases the previous state persists rather than flickering.
3. COMPOSITE STATE MACHINE
• Direction × Stability yields five possible states: Stable Up, Noisy Up, Stable Down, Noisy Down, Reset.
• Bars-in-state is tracked live, giving a simple persistence read on each state.
4. RIBBON RENDERING
• Ribbon is anchored to the EMA centerline with height driven by ATR × a user-selected multiplier (Thin / ATR-Adaptive / Thick).
• Fill opacity and border weight shift by state — Stable states are saturated, Noisy states are faded, Reset is a soft amber.
🔔 SIGNALS & ALERTS
Three transition events are detected and exposed as separate, user-toggled alerts:
• Trend State Flipped — direction changed (Up ↔ Down). Raw, never throttled.
• Stability Improved — path upgraded from Noisy to Stable while direction held. Raw — delivered regardless of badge cooldown.
• Stability Degraded — path downgraded from Stable to Noisy while direction held. Raw — delivered regardless of badge cooldown.
Matching on-chart badges appear at the same moments, subject to the Stability Badge Cooldown for visual cleanliness. Direction-flip badges are never throttled.
⚙️ KEY INPUTS
Engine
• Trend Length (default 34) — lookback for both direction and path-efficiency windows.
• Stability Sensitivity (default 1.0) — scales the Stable / Noisy thresholds.
• Require Slope Confirmation (default on) — enforces price-and-slope agreement; rejects chop.
Ribbon & Badge
• Ribbon Height — Thin / ATR-Adaptive / Thick.
• Show State Badge — toggle on-chart transition labels.
• Label Font Size — tiny / small / normal / large (default normal).
• Minimal Mode — hides panel and badges for pairing with other overlays.
• Stability Badge Cooldown (default 5 bars) — visual throttle for stability transitions.
Info Panel
• Panel Position, Panel Font Size, Efficiency Ratio display, Active Thresholds display.
Alerts
• Independent toggles for each of the three transition events.
🧠 HOW TO USE
• CONTEXT FILTER — use Stable states as a "green light" for continuation setups on your primary system; treat Noisy states as a headwind.
• REGIME BREAKS — a Stability Degraded event mid-trend is often an early warning that the move is maturing, even before price has flipped.
• CLEAN ENTRIES — pair a direction flip (Trend Up / Trend Down) with an immediate Stable classification to filter out whipsaw-prone breakouts.
• CHOP AVOIDANCE — when the ribbon sits in a Reset or Mixed state, the script is telling you the underlying path is not tradeable as a trend. Stand aside or switch to range tactics.
• PAIRING — with Minimal Mode on, the ribbon layers cleanly under structure tools, VWAPs, or S/R zones without visual conflict.
⚠️ LIMITATIONS & TRANSPARENCY
• This is an indicator, NOT a strategy. It does not generate buy or sell orders, has no backtest, and makes no claim of performance.
• Efficiency Ratio is a lagging measure — it describes the path already travelled. The ribbon should be read as context, not as a leading signal.
• The Mixed zone is intentional persistence; expect the composite state to hold through brief chop rather than flipping on every bar.
• Lower timeframes (<5m on thin-liquidity markets) can push ER values into erratic ranges. Start with the defaults on 15m–4h and tune from there.
• All calculations are closed-bar. Intra-bar values may shift until the bar confirms.
🛡️ RISK DISCLOSURE
This script is published for educational and analytical purposes only. It is not financial advice, not a signal service, and not a solicitation to buy or sell any instrument. Past behavior of markets does not predict future results. Always do your own research, apply proper risk management, and consult a licensed professional before making trading decisions. The author assumes no responsibility for losses incurred through use of this indicator. Indicator

Setup Quality Scorecard [AGPro Series]Setup Quality Scorecard
Setup Quality Scorecard grades every bar on a transparent 0-100 scale across ten independent confluence dimensions. Instead of another signal generator, it is a quality filter: it tells you how strong the current setup is, which factors are firing, and how often similar past setups have followed through. Works on any symbol, any timeframe.
🔹 OVERVIEW
Every trader has the same question before pulling the trigger: "Is this setup actually good, or am I forcing it?" Setup Quality Scorecard answers that question with a single auditable number. The composite score blends ten orthogonal factors — trend, momentum, volume, volatility, structure, S/R proximity, divergence, candle quality, session context, and higher-timeframe alignment — into a weighted 0-100 quality rating. Bars scoring above the A-Tier threshold are marked with support/resistance-style zones on the chart, so high-quality setup regions stay visible even as the market moves on.
🔹 UNIQUE EDGE
Most quality indicators hide their internals behind a black-box algorithm. This one is fully transparent. Every factor exposes its own 0-10 score in the panel, every factor weight is user-adjustable, and every historical signal is evaluated against a forward-looking hit-rate test. There are no secret filters, no proprietary confidence bands, and no cherry-picked backtest. If a setup scores 87, you can see exactly which factors contributed and which did not.
🔹 METHODOLOGY
Each of the ten factors is computed independently on the current bar and normalized to a 0-10 scale:
1. Trend Alignment — EMA 20/50/200 stack plus slope confirmation
2. Momentum — RSI zone position combined with 3-bar RSI delta
3. Volume Context — relative volume versus 20-period SMA, calibrated for real-world distribution
4. Volatility Regime — ATR percentile over the last 100 bars, favoring mid-range regimes
5. Structure — HH/HL or LH/LL confirmation via recent pivots
6. S/R Proximity — ATR-normalized distance to the nearest pivot level
7. Divergence — price-versus-RSI regular divergence captured at pivot time
8. Candle Quality — body-to-range ratio and wick balance
9. Session Context — active trading session weighting (London/NY overlap prioritized)
10. HTF Agreement — graduated higher-timeframe alignment scoring (full stack, partial stack, opposed regimes)
The ten factor scores are weighted by user-adjustable coefficients, summed, and normalized to produce the final 0-100 composite. Tier labels (S / A / B / C / D) are assigned against user-configurable thresholds.
🔹 SIGNALS AND ALERTS
When a bar crosses into A-Tier or higher, a zone is drawn using support/resistance-style geometry (body plus a small ATR cushion). Zones merge automatically when adjacent qualifying setups share the same directional bias, preventing chart clutter. Each zone is labeled with its tier and score in compact A·83 format, with a dotted leader line connecting the label to the zone edge.
Four built-in alert conditions are exposed:
- S-Tier Setup Detected (score crosses the S-Tier threshold)
- A-Tier Setup Detected (score crosses the A-Tier threshold)
- New Bullish Quality Setup (first A-tier bullish bar in a run)
- New Bearish Quality Setup (first A-tier bearish bar in a run)
🔹 KEY INPUTS
- General: Higher timeframe reference, rolling history window, forward evaluation bars
- Thresholds: S / A / B / C tier cutoffs, fully adjustable
- Factor Weights: ten independent sliders, 0.0 to 2.0, tune the scorer to your style
- Zones: adaptive extend (auto or manual), merge window, max height cap in ATR units, maximum age
- Labels: on-chart label mode (A-Tier only, S-Tier only, off), size presets
- Panel: position, size, factor breakdown toggle
🔹 HOW TO USE
Start with defaults and observe for a full session on your chart. Trend traders should raise the Trend and HTF Align weights. Reversal traders should raise Divergence, Structure, and S/R Proximity. Use the Active count in the panel as a quick filter: fewer than three factors above seven generally means a weak setup regardless of composite score. Use the hit-rate number to sanity-check whether your current configuration is performing on this asset and timeframe — if it is below 50 percent on a large sample, revisit your weight assignments.
🔹 LIMITATIONS AND TRANSPARENCY
The hit-rate metric is backward-looking. It measures how often past A-tier signals produced a one-ATR directional move within the next N bars. It is not a forecast of future performance. A hit rate with fewer than twenty signals is flagged with an info marker because the sample size is not yet statistically meaningful. Factor definitions are static — they do not adapt to regime changes automatically. Session weighting assumes standard crypto and equity session times in UTC; adjust if you are trading exotic hours. The script uses pivot-based structure, which lags by the pivot length on the right edge of the chart (a standard trade-off for noise suppression).
🔹 RISK DISCLOSURE
This indicator is an analytical tool, not financial advice. It does not predict future price movements. A high quality score does not guarantee a winning trade. Past performance of any displayed signal does not indicate future results. Always use proper risk management and position sizing. Never trade with capital you cannot afford to lose. Indicator

Liquidity Reaction Market Context FrameworkDescription
Liquidity Reaction – Market Context Framework is a structured visual tool designed to provide traders with clear market context based on session behavior, time-based positioning, and key reference levels.
This script does not aim to generate signals. Instead, it builds a contextual framework that helps traders understand how price evolves across different trading sessions and how liquidity transitions occur throughout the day.
Core Concept
Markets do not move randomly — they evolve through time-based cycles, where each session contributes to liquidity creation, expansion, and rebalancing.
This indicator organizes that behavior into a unified structure, allowing traders to:
Identify where price is within the daily cycle
Understand how sessions interact with each other
Detect where liquidity is likely being formed or consumed
Track how price reacts to prior session ranges and reference levels
Components
1. Sessions (Day, Asia, London, New York)
Each session is represented as a dynamic range (high–low) that evolves in real time.
Purpose:
Define structural ranges
Highlight consolidation and expansion phases
Provide context for intraday positioning
2. Session Close–Open Relationship (Gap)
The script tracks the relationship between the previous reference close and the next session open.
Purpose:
Identify imbalance zones
Highlight potential rebalancing areas
Provide a key reference for intraday reactions
3. Time Zones (Background Context)
Background shading represents key trading windows in New York time.
Purpose:
Provide temporal orientation
Align price action with institutional trading hours
Improve session-based analysis
4. Extended Hours
Marks low-liquidity periods outside primary sessions.
Purpose:
Contextualize reduced participation
Identify transitions between active and inactive markets
5. SMA 200
A long-term moving average included as a structural reference.
Purpose:
Provide directional bias context
Help visualize broader market positioning
Why This Script Is Different
Unlike traditional indicators that focus on signals or isolated calculations, this script is built as a contextual framework.
It integrates multiple time-based elements into a single, coherent structure that reflects how markets actually operate:
Through sessions
Through time
Through liquidity transitions
How to Use
Use sessions to understand where price is developing structure
Observe how price behaves when entering or leaving a session
Use the gap as a reference for imbalance and potential reaction
Align execution with time zones rather than arbitrary signals
Use SMA 200 as a higher-level directional filter
Notes
This indicator is designed to be used directly on the main chart
For proper visualization, place it above in the object tree
Works best on intraday timeframes where session behavior is more relevant
Each component can be enabled or disabled and limited by timeframe
This script is intended for traders who prioritize context over signals, and who want to understand the structure behind price movement, not just its outcome. Indicator

AG Pro Aroon Trend Freshness [AGPro Series]AG Pro Aroon Trend Freshness
OVERVIEW / WHAT IT DOES
AG Pro Aroon Trend Freshness is an overlay indicator designed to map the lifecycle of a trend through the lens of Aroon recency. Instead of treating Aroon as a simple crossover oscillator, this script reorganizes Aroon behavior into a freshness framework that helps users distinguish between newly refreshed trends, still-active trends, aging trends, and reset or neutral phases.
The core idea is straightforward: Aroon is naturally linked to recency because it measures how recently the market printed its highest high or lowest low within a selected lookback window. This script uses that characteristic to answer a more practical charting question: is the current directional structure still fresh, or is it starting to age?
To make that information easier to read directly on price, the script plots a trend backbone on the chart and classifies the current state into lifecycle phases such as Ignition, Fresh Trend, Mature Trend, Aging, and Reset / Neutral. The result is not a buy/sell engine. It is a context layer designed to help users assess whether a directional move is still renewing itself or gradually losing freshness.
This script is intended for traders and analysts who want a cleaner way to read trend recency without relying only on momentum, volatility, or moving-average distance. It can be used as a directional context tool, a state filter, or an additional confirmation layer when studying structure, pullbacks, continuation attempts, or exhaustion behavior.
UNIQUE EDGE
Most Aroon-based tools stop at directional interpretation, threshold crossings, or oscillator-style reading. AG Pro Aroon Trend Freshness takes a different path. It does not focus on standard crossover events as the primary message. Instead, it translates Aroon behavior into a trend-age map.
That distinction matters. Two trends can both remain directional while having very different freshness profiles. One may still be regularly refreshing with new structural extremes, while the other may be drifting forward without meaningful renewal. This script is built to highlight that difference.
The indicator is therefore not trying to measure everything at once. It does not attempt to replace trend strength tools, volume tools, volatility tools, market breadth tools, or correlation tools. Its job is narrower and more specific: to visualize whether directional structure is being refreshed, maintained, aged, or reset.
METHODOLOGY
The script starts from classic Aroon logic, which evaluates how recently the highest high and lowest low occurred within a user-defined lookback. From there, the script derives a directional bias and a freshness profile.
The directional side of the model evaluates which side currently dominates the lookback structure. The freshness side evaluates how recent and how persistent that dominance is, whether it is accelerating, stabilizing, or decaying, and whether the market is showing signs of reset rather than continuation.
To make the output easier to interpret on a live chart, the script organizes that information into lifecycle states:
- Ignition: a newly refreshed directional phase where recency improves sharply.
- Fresh Trend: an active directional state with strong freshness characteristics.
- Mature Trend: a still-valid trend state where freshness remains constructive but is no longer in its earliest phase.
- Aging: a state where directional structure may still exist, but freshness has started to decay.
- Reset / Neutral: a state where the previous directional freshness has weakened enough that the structure becomes less directional or less renewed.
The backbone and glow are visual aids, not forecasts. They are designed to make state transitions easier to see without forcing the user to inspect raw oscillator values. Panel statistics such as Trend Age Score, Refresh Pulse, Reset Risk, and Last Refresh Bars Ago are also contextual measures. They help summarize the current lifecycle condition, but they should not be interpreted as guarantees or as standalone trade instructions.
SIGNALS & ALERTS
The script can be used to monitor lifecycle transitions rather than raw directional triggers.
In practical use, users may watch for situations such as:
- a move entering Ignition after a reset phase,
- a trend remaining in Fresh Trend while structure continues to refresh,
- a shift from Fresh or Mature conditions into Aging,
- an increase in reset risk after an extended directional phase.
These state changes can be useful when analyzing pullback quality, continuation attempts, or exhaustion risk. However, the script is not intended to predict future price movement on its own. Alerts should be treated as structured notifications about state changes, not as automatic trade commands.
KEY INPUTS
- Aroon Length: controls the recency lookback window used by the freshness model.
- Confirmation / Filtering Settings: help reduce noise and make state transitions more selective.
- Label and Visual Settings: allow users to manage the amount of chart annotation.
- Panel Settings: control how lifecycle information is displayed on the chart.
Shorter settings generally make the model more reactive, while longer settings usually make it more selective and smoother. Users should adapt these inputs to the symbol, timeframe, and charting style they are working with.
LIMITATIONS & TRANSPARENCY
This script does not measure profitability, expectancy, or trade performance. It does not know position size, account risk, execution quality, slippage, spread, or portfolio context. It also does not replace market structure analysis, support/resistance work, volume interpretation, or higher-timeframe review.
Because the model is built on recency logic, it can react differently across instruments and regimes. Choppy markets may produce frequent state shifts. Strong trends may remain constructive longer than expected. Very low-volatility or highly erratic symbols may also affect how smoothly lifecycle states appear.
Users should understand that this indicator is designed to classify trend freshness, not to promise reversals, continuations, or outcomes. It is best used as a chart-reading framework that complements a broader process.
RISK DISCLOSURE
This indicator is for chart analysis and educational use. It is not financial advice and it does not provide guaranteed signals or future performance expectations. All trading and investing decisions involve risk. Users should evaluate markets with their own judgment, risk controls, and testing process before acting on any chart-based observation.
Indicator

AG Pro Correlation Stress Meter [AGPro Series]AG Pro Correlation Stress Meter
Overview / What it does
AG Pro Correlation Stress Meter is an overlay indicator designed to estimate when an instrument is becoming increasingly synchronized with a selected benchmark and whether that relationship is developing into a higher-stress market condition.
Instead of treating correlation as a standalone number, this script converts multiple correlation-related components into a structured stress framework. The goal is not to predict direction. The goal is to help the user judge whether market behavior is becoming more tightly linked, more fragile, and potentially less independent than usual.
The script combines smoothed rolling correlation, short-term correlation acceleration, persistence of elevated correlation, and a simple fragility layer based on price behavior versus an internal backbone EMA. The result is a normalized stress score and a state model that classifies conditions as Stable, Building, Pressured, Stressed, or Critical.
Because the script is plotted directly on price, it is intended to function as a context layer. It can be used to evaluate whether a chart is trading in a relatively independent manner or whether it is increasingly behaving like a benchmark-driven instrument.
Unique Edge
The main difference in this script is that it does not treat correlation as a single readout. It treats correlation as a pressure structure.
Many correlation tools stop at the raw coefficient. This script goes further by asking four separate questions:
1. How strong is the current relationship?
2. Is that relationship tightening or loosening?
3. Has elevated correlation persisted for long enough to matter?
4. Is price behavior becoming fragile at the same time?
That combination is what makes this script different from many standard overlays, matrix-style correlation displays, or simple coefficient dashboards.
It is also different from several other AG Pro scripts in the catalog. Some AG Pro tools focus on trend quality, pullback quality, squeeze behavior, reclaim structure, momentum pressure, or reaction mapping around known reference levels. This script does not focus on any of those themes. Its job is narrower and more diagnostic: it measures how much benchmark-linked stress is building inside the chart. In other words, it is less about trend or structure classification, and more about whether the instrument is becoming increasingly dependent on external benchmark behavior.
Methodology
The script starts with log returns for both the chart symbol and the selected benchmark symbol. A rolling correlation is then calculated over the chosen correlation window and smoothed to reduce noise.
From there, the model evaluates four components:
1. Correlation strength
This is the normalized level of the smoothed rolling correlation. Higher positive correlation generally contributes more to the final stress score.
2. Correlation velocity
This measures how much the smoothed correlation has changed over a short lookback. A rising relationship can matter even when the absolute coefficient is not yet extreme.
3. Correlation persistence
This evaluates how consistently correlation has remained above a user-defined threshold over a recent window. Short spikes and sustained linkage should not be treated as the same condition, so persistence is included as a separate layer.
4. Fragility layer
This component looks at whether price is trading below the internal backbone EMA, whether short-term rate of change is weak, how stretched price is relative to the EMA, and whether ATR percentage is elevated. The purpose of this layer is not to predict reversals. Its purpose is to distinguish a calm, orderly correlation regime from a more fragile one.
These components are weighted into a composite stress score, then mapped into five states:
- Stable
- Building
- Pressured
- Stressed
- Critical
The script also provides a backdrop layer, optional event labels, a backbone EMA for context, and a compact information panel.
Signals & Alerts
This script is primarily a state-classification and context tool. It is not a direct entry system and should not be interpreted as a standalone buy or sell engine.
Available alert logic includes:
- Stress Building
- Stress Pressured
- Stress Stressed
- Stress Critical
- Stress Cooling
These alerts are designed to notify the user when the internal state model changes. They can be used to monitor regime transitions, benchmark sensitivity changes, or shifts in how tightly a symbol is tracking the selected benchmark.
Practical interpretation examples:
- Building may suggest that correlation-linked influence is starting to develop.
- Pressured may suggest that the relationship is no longer background noise and is becoming relevant to decision-making.
- Stressed may suggest that the symbol is trading with notable benchmark dependency.
- Critical may suggest that benchmark-linked pressure is unusually elevated relative to the script’s internal framework.
- Cooling may suggest that the prior stress state is easing.
These are contextual interpretations, not trade instructions.
Key Inputs
Benchmark Symbol
Selects the reference instrument used for the correlation calculation.
Benchmark Timeframe
Allows the benchmark series to follow the chart timeframe or use a different one.
Correlation Length
Defines the rolling window used for correlation.
Correlation Smoothing
Smooths the raw correlation series.
Velocity Lookback
Controls how quickly changes in correlation are measured.
Persistence Window
Defines how far back the script checks for sustained elevated correlation.
Persistence Threshold
Defines what the script considers “elevated” for persistence purposes.
Fragility EMA Length
Controls the internal backbone EMA used in the fragility layer and optional overlay line.
Fragility ROC Length
Defines the short-term price change measurement inside the fragility model.
ATR Length
Controls the volatility input used in the fragility model.
Label Trigger State
Sets the minimum state required before labels can appear.
Minimum Bars Between Labels
Reduces label clustering.
Background From State
Sets the minimum state required before the stress backdrop is shown.
Label ATR Offset
Controls how far event labels are plotted from price.
Panel / Visual Inputs
Allow control over panel visibility, panel position, panel theme, panel font size, label size, backdrop visibility, backbone visibility, and backbone label visibility.
Limitations & Transparency
This script is a contextual model, not a statement of causality. A high reading does not prove that the benchmark is causing the move. It only indicates that the symbol is trading in a way that is more tightly aligned with the selected benchmark according to the model inputs.
Correlation is also regime-dependent. A symbol may appear highly linked during one period and much less linked during another. Different benchmarks, timeframes, and windows can produce different readings.
The fragility layer is intentionally simple. It is included to refine the stress framework, not to replace full market structure analysis. Users who rely on this script should still examine trend structure, volatility context, liquidity conditions, and the behavior of the benchmark itself.
This script also does not claim to identify tops, bottoms, crashes, breakouts, or future returns. It measures an internal definition of correlation-linked stress and presents that information visually.
Risk Disclosure
This indicator is for analytical and educational use. It does not provide financial advice, investment advice, or guaranteed outcomes.
No indicator can remove market risk. Correlation regimes can change quickly, benchmark relationships can decouple without warning, and any model based on historical data can fail in live conditions.
This tool should be used as one part of a broader chart review process, not as a substitute for independent judgment, risk management, or position sizing discipline. Indicator

PrecisionAlgoGuardPrecisionAlgoGuard is a market condition and trap-related behavior framework that evaluates the current market environment before directional bias is applied. Rather than generating entry or exit signals, the model analyzes structural quality and participation to classify whether conditions are clean, unstable, or cautionary.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW IT WORKS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The model evaluates each bar through a set of structural and participation-based checks, producing a condition score from 0 to 100. Higher scores reflect cleaner, more participation-supported conditions, while lower scores reflect increased noise, instability, or structural inefficiency.
The condition score is derived from a weighted model combining multiple structural and participation-based factors. Thresholds and penalty values are calibrated to reflect relative changes in market behavior rather than fixed universal standards.
The following conditions are evaluated independently and contribute to the score:
• VWAP Pinning — Evaluates when price repeatedly stalls near VWAP with compressed range and body structure, indicating reduced directional conviction.
• Wick Trap / Sweep — Highlights conditions where price briefly exceeds a recent swing high or low but fails to hold, closing back within range with a pronounced wick.
• Failed Breakout — Evaluates when price moves beyond a recent structure level without sufficient participation or range expansion, then fails to maintain that level.
• Absorption — Highlights when elevated volume occurs within a compressed range with a mid-bar close, suggesting supply or demand is being absorbed rather than driving price.
• Churn / Wash — Evaluates periods of elevated cumulative volume over multiple bars that result in limited net price movement.
• Low Volatility Compression — Uses ATR percentile rank to identify when current volatility is within the lower range of recent activity.
• Squeeze Pressure — Highlights sustained directional closes with increasing volume and shallow pullbacks, indicating potential directional pressure building.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CONDITION STATES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Based on the score and active conditions, the model classifies the environment into one of five states:
• Elevated Risk Conditions — Absorption or failed breakout conditions are present, or the score is critically low.
• Caution — One or more warning conditions are active, or the score has declined into a cautionary range.
• Long Bias Active — Conditions are favorable and a majority of directional factors align on the bullish side.
• Short Bias Active — Conditions are favorable and a majority of directional factors align on the bearish side.
• Neutral Conditions — Conditions are favorable, but directional factors are mixed or inconclusive.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Use the condition score and state classification to assess the current market environment before forming a directional view. Elevated Risk and Caution states may reflect unstable or low-quality conditions, while bias states reflect alignment across multiple factors when conditions are more favorable.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ADAPTIVE BEHAVIOR TUNING
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Internal thresholds automatically adjust based on instrument type and market-cap profile. The same script responds differently on a nano-cap momentum stock, a large-cap equity, an ETF, or a crypto chart without requiring manual retuning.
Supported tiers: Nano Cap, Micro Cap, Small Cap, Mid Cap, Large Cap, ETF, Crypto.
ETF profiles apply tighter structure requirements and higher participation thresholds. Crypto profiles apply wider volatility tolerance and softer sensitivity to structural noise. Auto-detection is enabled by default, with manual override available in settings.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISPLAY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The overlay label displays the condition score, active state, detection tags, bull/bear factor counts, and detected instrument tier. Label position, font size, candle highlighting, and bar coloring are configurable.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ALERTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Alert conditions are available for state transitions and individual condition triggers, including Elevated Risk Conditions, Caution, Absorption, Failed Breakout, Wick Trap, Churn, Squeeze, Long Bias Active, and Short Bias Active.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
IMPORTANT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PrecisionAlgoGuard is designed to provide market context, not trading signals or recommendations. Condition states are descriptive and may update in real time as new bars develop. This script is provided for educational and informational purposes only and does not constitute financial advice. Always perform your own analysis before making trading decisions. Indicator

AG Pro OBV Pressure Divergence [AGPro Series]AG Pro OBV Pressure Divergence
Overview
AG Pro OBV Pressure Divergence is a context-aware divergence quality map built around the relationship between price structure and On-Balance Volume pressure.
The script is designed to identify bullish and bearish divergence events, then rank those events by participation quality, structural context, and follow-through behavior. Instead of treating every divergence as equally important, it separates weaker pressure disagreements from more meaningful setups and organizes them into a cleaner decision framework.
This is not a generic divergence marker that prints every local mismatch between price and an underlying series. Its purpose is to classify divergence events through a layered process that includes pivot structure, price displacement, OBV behavior, trend context, confirmation timing, and visual emphasis.
The result is a tool that can be used to study when price and participation begin to disagree, while still preserving a practical chart view that remains readable during live market conditions.
What this script does
- Detects bullish divergence when price forms a lower low while OBV forms a higher low
- Detects bearish divergence when price forms a higher high while OBV forms a lower high
- Filters divergence candidates using pivot separation and ATR-based price swing requirements
- Scores events by quality instead of treating all signals the same
- Highlights the strongest events with more prominent chart objects
- Tracks confirmation and invalidation behavior after the initial event
- Displays a compact summary panel for state, pressure, context, and freshness
Unique Edge
Many divergence tools stop at basic detection. They show a disagreement between price and an oscillator or cumulative volume series and leave the rest to the user.
This script takes a different approach.
Its goal is not to maximize the number of divergence labels on the chart. Its goal is to classify divergence quality.
That difference matters. A simple divergence can appear in noisy conditions, in weak structural locations, or without any meaningful follow-through. In those cases, the event may still be technically valid, but not equally useful from an analytical point of view.
AG Pro OBV Pressure Divergence attempts to address that by combining several layers:
1. Structural divergence detection
2. ATR-normalized price displacement filtering
3. OBV pressure comparison between pivots
4. Local trend context using fast and slow EMA structure
5. Setup monitoring through confirmation and invalidation logic
6. Visual hierarchy that distinguishes lower-quality from higher-quality events
Because of this design, the script is better understood as a divergence classification framework rather than a simple divergence marker.
It is also distinct from breakout, reclaim, or trend continuation tools. It does not evaluate break-retest mechanics, VWAP reclaim logic, or general trend strength as its primary objective. Its focus is the quality of price-versus-participation disagreement.
Methodology
The script begins by identifying swing pivots through a configurable pivot length. These pivots form the structural anchor points used to compare price and OBV behavior.
For bullish divergence:
- price must form a lower low
- OBV must form a higher low
For bearish divergence:
- price must form a higher high
- OBV must form a lower high
After a raw divergence is found, the script applies additional requirements before the event is accepted:
Pivot Separation
A minimum bar gap is enforced between pivots so that tightly packed micro-swings do not dominate the output.
Minimum Price Swing
The distance between the two relevant pivots is measured relative to ATR. This prevents very small structural changes from being treated like full-quality events.
Pressure Evaluation
The OBV relationship between the two pivots is examined to determine whether participation is actually improving or weakening in a meaningful way.
Trend Context
Fast and slow EMA structure is used to frame whether the event is appearing against or within the prevailing price environment.
Contextual Location
The script also evaluates where the event is occurring in its local range structure. This helps separate mid-range noise from more interesting reversal or exhaustion locations.
Scoring
All of the above components contribute to a quality score. That score is then used to separate lower-priority events from stronger ones.
Confirmation
After the initial event, the script tracks a confirmation window. During that window, the setup may confirm, remain pending, expire, or become invalidated.
This layered structure is intentional. The script does not assume that a divergence label alone is enough.
Signal Structure
The script organizes events into a sequence instead of a single binary output.
Event Detected
A new bullish or bearish divergence is found and scored.
Pending State
The event remains active while the script monitors whether follow-through appears within the confirmation window.
Confirmed
If the confirmation condition is met within the allowed window, the event is marked as confirmed.
Invalidated
If price fails the setup before confirmation, the event is marked as invalidated.
Expired
If no confirmation occurs within the defined number of bars, the setup is no longer treated as active.
This state-based behavior is useful because it prevents the chart from presenting all divergence events as finalized conclusions the moment they appear.
Quality Model
The script uses a quality threshold and a premium threshold to distinguish event strength.
Lower-quality events can still be displayed when the user wants a fuller map of all structure, but the script can also be configured to focus only on stronger setups.
This creates three practical layers of interpretation:
Building
A divergence exists, but the score is lower and the event should be treated with more caution.
High
The event passes the main quality threshold and receives stronger visual treatment.
Premium
The event exceeds the premium threshold and receives the strongest category treatment in the script.
This does not mean that premium events are guarantees, and it does not imply that lower-quality events are unusable. It simply reflects that not every divergence deserves the same level of attention.
Panel Summary
The summary panel is intended to give quick context without forcing the user to inspect every label one by one.
The panel includes:
- Bias
A simple view of the current directional background based on the fast and slow EMA relationship.
- Pressure
A quick summary of whether OBV pressure is rising, falling, or mixed.
- Last Event
Shows the most recent detected divergence direction.
- Quality
Displays the score and current classification of the most recent event.
- State
Shows whether the most recent tracked setup is in watch, confirmed, invalidated, or idle state.
- Context
Provides a compact view of the local environment, such as trend-up, trend-down, or range-related placement.
- Freshness
Indicates how many bars have passed since the latest tracked event.
Visual Design
The chart output is intentionally organized with hierarchy.
Qualified events are easier to spot than weaker ones.
Confirmation labels are visually distinct from initial event labels.
Link lines help explain which two pivots created the divergence.
Optional background pulse and active setup zone provide temporary emphasis without permanently dominating the chart.
EMA context remains available but is visually secondary to the divergence structure.
Tooltips are included for key settings so that the logic behind the inputs remains understandable directly from the settings panel.
Signals and Alerts
The script includes alert conditions for the main state transitions:
- New Bullish Pressure Divergence
- New Bearish Pressure Divergence
- Premium Bullish Pressure Divergence
- Premium Bearish Pressure Divergence
- Bullish Pressure Divergence Confirmed
- Bearish Pressure Divergence Confirmed
- Pressure Divergence Invalidated
These alerts are designed to reflect internal script states rather than making claims about future price outcomes.
Key Inputs
Pivot Length
Controls how swings are defined. Higher values reduce noise but may delay detection.
OBV Smoothing
Smooths the OBV series before divergence analysis. Higher values create a cleaner but slower pressure curve.
Minimum Pivot Separation
Prevents overly compressed pivots from producing excessive clustering.
Minimum Price Swing (ATR)
Requires meaningful structural movement before a divergence is accepted.
Quality Threshold
Defines the minimum score required for a divergence to be treated as a qualified event.
Premium Threshold
Defines the score level required for premium classification.
Confirmation Window (Bars)
Controls how long a pending event is monitored before it expires.
Use Close-Based Confirmation
Switches confirmation logic between close-based behavior and intrabar high/low behavior.
Main Label Size
Scales event, confirmation, and invalidation labels.
Panel Text Size
Controls panel readability independently from chart labels.
Drawing Emphasis
Adjusts how visually prominent lines, EMA context, and active zone objects appear on the chart.
How to use it
This script is best approached as a context tool, not as a stand-alone decision engine.
A practical workflow may look like this:
1. Identify whether the panel context is aligned with a broad directional background or whether the market is behaving more like a range.
2. Observe whether a new divergence appears in a meaningful local location rather than in the middle of random price noise.
3. Compare the quality score and classification.
4. Watch whether the event confirms or invalidates within the chosen time window.
5. Combine the information with your own structure, risk, and execution framework.
The script is often more informative when used to reduce attention on weaker disagreements and concentrate on better-formed pressure divergences.
Who it may be useful for
This script may be useful for users who want:
- a more structured way to study price and OBV disagreement
- a cleaner divergence map with stronger visual hierarchy
- a chart that distinguishes raw detection from confirmed follow-through
- a volume-pressure oriented lens that is different from standard oscillator-only divergence tools
It may be less suitable for users who want a high-frequency signal stream, a one-click entry engine, or a tool that treats every local divergence as equally relevant.
Limitations and Transparency
This script has important limitations.
First, divergence is an analytical concept, not a guaranteed turning-point mechanism. A divergence can appear and still fail, extend, or resolve slowly.
Second, the scoring model is a ranking method, not a prediction formula. A higher score does not mean certainty. It only means that the event better satisfies the script's internal conditions.
Third, pivot-based logic requires structure to form. This means the script necessarily depends on completed swing information and will not behave like a forward-only projection model.
Fourth, confirmation and invalidation logic are simplifications intended to organize event follow-through. They do not replace full trade management, execution rules, or independent risk control.
Fifth, any indicator that uses volume-derived inputs depends on the characteristics of the underlying market data. Users should be aware that data quality and market structure can differ across symbols and venues.
This script is therefore best used as a contextual classification tool rather than a complete standalone methodology.
What this script is not
- It is not a guarantee of reversals.
- It is not a promise engine.
- It is not a fully automated trading system.
- It is not a substitute for independent structure analysis or risk management.
- It is not designed to predict every local top or bottom.
- It is not intended to imply that premium signals are always superior in every market condition.
Its purpose is narrower and more practical:
to organize OBV-based divergence events into a more useful analytical framework.
Risk Disclosure
This script is for chart analysis and research purposes only.
It does not provide financial advice, investment advice, portfolio advice, or a guarantee of future market behavior. Market conditions can change quickly, and any signal or classification generated by the script can fail or become invalid.
Users should make independent decisions and apply their own risk controls before acting on any chart output.
In summary
AG Pro OBV Pressure Divergence is a public, chart-based tool for analyzing divergence quality through the interaction of price structure and OBV pressure.
Its main contribution is not that it detects divergence, but that it attempts to rank divergence events by structural relevance, pressure context, and follow-through state.
For users who want a cleaner way to study whether price and participation are beginning to disagree, this script aims to provide a more selective and better-organized framework than a raw all-events divergence marker.
Indicator

Indicator

Indicator

Market Acceptance Zones [Interakktive]Market Acceptance Zones (MAZ) identifies statistical price acceptance — areas where the market reaches agreement and price rotates rather than trends.
Unlike traditional support/resistance tools, MAZ does not assume where price "should" react. Instead, it highlights regions where multiple internal conditions confirm balance: directional efficiency drops, effort approximately equals result, volatility contracts, and participation remains stable.
This is a market-state diagnostic tool, not a signal generator.
█ WHAT THE ZONES REPRESENT
MAZ (ATF) — Chart Timeframe Acceptance
A MAZ marks an area where price displayed rotational behaviour and the auction temporarily agreed on value. These zones often act as compression regions, fair-price areas, or boundaries of consolidation where impulsive follow-through is less likely.
Use ATF MAZs to:
- Identify rotational environments
- Avoid chasing price inside balance
- Frame consolidation prior to expansion
MAZ • HTF / MAZ • 2/3 — Multi-Timeframe Acceptance (AMTF)
When Multi-Timeframe mode is enabled, MAZ evaluates acceptance on:
- The chart timeframe
- Two higher structural timeframes
If the minimum consensus threshold is met (default: 2 of 3), the zone is classified as AMTF. These zones represent stronger agreement and typically decay more slowly than single-timeframe acceptance.
AMTF zones are structurally stronger and are useful for:
- Higher-quality rotation areas
- Pullback framing within trends
- Context alignment across timeframes
H • MAZ — Historic Acceptance Zones
Historic MAZs represent older acceptance that has transitioned out of active relevance. These zones are hidden by default and can be enabled to provide long-term memory context.
█ AUTO MULTI-TIMEFRAME LOGIC
When MTF Mode is set to Auto, MAZ uses a deterministic structural mapping based on the current chart timeframe:
- 5m → 15m + 1H
- 15m → 1H + 4H
- 1H → 4H + 1D
- 4H → 1D + 1W
- 1D → 1W + 1M
This ensures consistent higher-timeframe context without manual configuration. Advanced users may switch to Manual mode to define custom timeframes.
█ ZONE LIFECYCLE
MAZ zones are dynamic and maintain an internal lifecycle:
- Active — Acceptance remains relevant
- Aging — Acceptance quality is degrading
- Historic — Retained only for memory context
Zones track price interaction and re-acceptance, which can stabilise or strengthen them. Weak or stale zones are automatically removed to keep the chart clean.
█ HOW TRADERS USE MAZ
MAZ is designed to provide structure, not entries.
Common applications include:
- Avoiding chop when price is inside acceptance
- Framing expansion after clean breaks from MAZ
- Identifying higher-quality rotational pullbacks (AMTF zones)
- Defining objective invalidation using zone boundaries
█ SETTINGS OVERVIEW
Market Acceptance Zones — Core
- Acceptance Lookback
- ATR Length
- Zone Frequency (Conservative / Balanced / Aggressive)
Market Acceptance Zones — Zones
- Maximum Zones
- Fade & Stale Bars
- Historic Zone Visibility (default OFF)
Market Acceptance Zones — Timeframes
- MTF Mode (Off / Auto / Manual)
- Manual Higher Timeframes
- Minimum Consensus Requirement
Market Acceptance Zones — Visuals
- Neon / Muted Theme
- Zone Labels & Consensus Detail
- Optional Midline Display
█ DISCLAIMER
This indicator is a market context and diagnostic tool only.
It does not generate trade signals, entries, or exits.
Past acceptance behaviour does not guarantee future price action.
Always combine with independent analysis and proper risk management. Indicator

MarketMind LITEM🜁rketMind LITE ────────────────────
Essential Market Awareness, Reduced to Its Core
M🜁rketMind LITE is a lightweight market awareness tool designed to display essential situational context .
It provides basic orientation and movement awareness without interpretation, risk framing, diagnostics, or decision guidance.
This script is designed as a standalone awareness layer. It does not evaluate trade quality, issue signals, or influence decision-making.
WHAT IT DOES ────────────────────
M🜁rketMind LITE presents a minimal, static view of current market conditions focused entirely on awareness rather than analysis.
The system displays only essential context, allowing traders to stay oriented without introducing judgment, noise, or implied direction.
The script provides visibility into:
Time-of-day session context
Basic market regime classification (trending, range-bound, mixed)
Short-term momentum direction only (up, down, neutral)
A clean, static HUD display
M🜁rketMind LITE also includes a minimal visual state indicator that reflects recent price responsiveness, intended to be observed over time alongside the trader’s own experience.
The goal is to support awareness without influence .
HOW TO USE IT ────────────────────
M🜁rketMind LITE is not a signal generator.
It is designed to remain visible in the background of any chart, offering quiet orientation while traders rely entirely on their own process for analysis and execution.
Common use cases include:
Maintaining session awareness
Preserving context during focused trading periods
Reducing cognitive load while monitoring markets
M🜁rketMind LITE does not evaluate risk, alignment, or opportunity.
It simply shows what is happening.
DESIGN PHILOSOPHY ────────────────────
M🜁rketMind LITE is intentionally minimal.
It includes only essential awareness elements and excludes all interpretive or evaluative logic:
Situational context only
Directional momentum (up / down / neutral)
No diagnostics, confidence, or conviction framing
No process, risk, or quality assessment
Presentation controls only (HUD on/off, size, position)
Nothing is inferred.
Nothing is suggested.
This script shows market state without interpretation.
WHO IT IS FOR ────────────────────
M🜁rketMind LITE is suited for traders who:
Want passive situational awareness
Prefer minimal on-chart information
Already operate with a defined decision process
It is not designed for:
Analytical or diagnostic use
Risk evaluation or context synthesis
Traders seeking guidance or confirmation
IMPORTANT NOTES ────────────────────
M🜁rketMind LITE does not provide financial advice
No system can predict future price behavior
This tool is designed for awareness only
Used appropriately, M🜁rketMind LITE helps traders stay oriented without interference. Indicator
