Erhirhi BB% Indicator Erhirhi BB% Indicator
Overview
Erhirhi BB% Indicator is a multi-factor momentum, volatility, and participation oscillator designed to identify statistically stretched market conditions, trend maturity, accumulation/distribution behavior, and momentum exhaustion.
The indicator combines: Bollinger Band %B, percentile ranking, KDJ momentum structure,
normalized volume participation, and adaptive volatility filtering into a single regime-based analytical framework.
Rather than functioning as a traditional overbought/oversold oscillator, the script attempts to measure: trend quality, participation strength, volatility expansion, and reversal probability across multiple market conditions.
The foundation of the script is Bollinger Band Percent (%B), which measures the position of price relative to its Bollinger Band structure.
Values:
below 0 indicate price trading outside the lower band,
above 1 indicate price trading outside the upper band.
This allows the indicator to evaluate:
volatility expansion,
compression,
momentum acceleration,
and statistically stretched movement.
Unlike traditional oscillators, BB %B adapts dynamically to volatility conditions.
Standard Deviation Zones: The script visualizes multiple statistical expansion regions:
1 Standard Deviation Zone - Represents relatively balanced market behavior and normal volatility participation. This is where 68.2 of normal trading occurs
2 Standard Deviation Zone - Represents stronger directional movement and increasing trend conviction. This is where the normal expansion zones are located.
3 Standard Deviation Zone - Represents statistically stretched conditions where continuation quality may begin deteriorating. Price structure in these zone represent a high likelihood of trend exhaustion.
These zones help identify: trend acceleration, instability, exhaustion, and potential transition phases. Extended occupation of upper zones may indicate euphoric expansion or distribution, while persistent lower-zone behavior may indicate panic, compression, or accumulation.
KDJ Momentum Engine: The script incorporates a smoothed KDJ momentum structure to evaluate: directional pressure, momentum persistence, and reversal probability. KDJ behavior is blended with BB %B and percentile calculations to produce adaptive momentum filtering rather than isolated oscillator signals. This allows the indicator to better distinguish:
genuine expansion, weak continuation, and unstable trend behavior.
Percentile Rank Analysis: The indicator uses Percent Rank and Percentile Nearest Rank calculations to contextualize current market behavior relative to historical conditions.
This helps identify: momentum extremes, volatility compression, and statistically unusual participation. Percentile behavior is particularly useful during: trend maturity, exhaustion phases, and reversal development.
FG Score (BB%-KDJ Normalised Score): The FG Score is the primary composite momentum model within the script. It combines:
BB %B positioning, KDJ momentum, percentile range behavior, and normalized volatility relationships into a single adaptive score intended to measure: trend pressure, participation quality, and market stability. The FG Score acts as the core regime filter throughout the indicator. FG Score Below -0.60 represents deeply compressed or statistically washed-out market conditions. These readings often occur during: panic selling, liquidation behavior,
emotional downside acceleration, or exhaustion-driven volatility expansion and frequently reflects elevated reversal probability, instability, and high emotional participation. When combined with improving momentum structure, recovering percentile behavior, or constructive volume participation, these regions may become high-quality accumulation or recovery environments.
FG Score Above 1.24 represents statistically overheated momentum conditions. These readings typically occur during aggressive bullish expansion, euphoric continuation, volatility acceleration or crowded directional participation. While strong momentum may still persist, conditions above 1.24 often signal increasing fragility, weakening continuation quality,
distribution behavior or elevated exhaustion risk.
These regions should not automatically be interpreted as reversal signals, but rather as high risk areas where trend sustainability may begin deteriorating.
Volume Normalization: The volume engine is one of the most important confirmation layers in the script. Instead of displaying raw exchange volume, the indicator normalizes volume relative to recent participation and weights it using candle body strength versus total range. This creates a contextual measure of participation quality rather than simple activity. The objective is to distinguish between:
constructive participation, passive continuation, aggressive expansion, weakening momentum,
and exhaustion-driven movement. The histogram colors reflect the relationship between:
momentum structure, percentile positioning, BB %B expansion, and participation quality.
White bar = excessively high volume input
Green Bars = constructive bullish participation. Bulls are stronger than bears. These typically appear when momentum strengthens, KDJ structure improves, and percentile rank confirms bullish continuation. This behavior often signals trend acceptance, accumulation, or healthy directional continuation.
Red bars indicate deteriorating momentum structure or increasing bearish participation. Clusters of red bars may signal distribution, weakening continuation, or growing downside pressure.
Pure red bars represent aggressive bearish participation and downside volatility expansion.
These conditions frequently occur during liquidation phases, strong directional breakdowns,
or emotionally driven selling.
Black/red bars highlight elevated selling pressure during statistically stretched bullish conditions. These bars often appear near upper expansion zones, during weakening continuation, or before larger reversal structures develop. This behavior may reflect
institutional distribution, profit-taking, or deteriorating trend quality.
Black/yellow bars represent unstable participation conditions. These typically occur when
momentum diverges from price, continuation quality weakens, or volatility expands without strong directional confirmation. These conditions frequently precede exhaustion, failed continuation, or momentum instability. These are the typical areas to buy when the yellow bars disappear and green bars begin to appear above red; indicating that the bulls are beginning to take charge of the trend.
The script visually highlights several market states:
Red Background Zones = Potential distribution, overextension, trend exhaustion, or unstable bullish continuation.
Blue Background Zones = Momentum transition and directional uncertainty.
Green Background Zones = Potential accumulation, recovery structure, and volatility compression.
These zones are intended to provide market context rather than standalone trade signals.
Intended Usage
This indicator is designed as a market structure framework, volatility regime filter, momentum exhaustion detector, and participation quality model.
It works best when combined with price structure, higher timeframe analysis, and disciplined risk management. The script is not intended to predict exact tops or bottoms, but rather to identify: statistically stretched conditions, trend maturity, volatility instability, and changing participation behavior.
Notes
Best suited for trending or volatility-driven markets.
Higher timeframes generally produce cleaner structure.
No indicator should be used in isolation.
Feedback and improvements are always welcome. 지표

Keltner Squeeze Release Planner [AGPro Series]# Keltner Squeeze Release Planner
🧠 Core Idea
Is volatility compression turning into a clean Keltner Channel release, or is price still trapped inside the squeeze?
📌 Overview / What it does
Keltner Squeeze Release Planner is a volatility compression and expansion decision-support script built around Keltner Channels.
The script detects compressed Keltner width, evaluates whether price releases beyond the channel with enough expansion quality, scores the release from 0 to 100, and maps an expansion corridor with target rails and failure context.
It does not predict price direction, automate trading, or provide guaranteed signals. It organizes squeeze, release quality, volatility rank, direction bias, and action state into a cleaner workflow.
🎯 Purpose & Design Philosophy
Many traders can see a breakout after it happens, but the difficult part is separating real volatility expansion from a weak push outside the channel.
This script was built for traders who want a structured way to read Keltner squeeze behavior, release strength, and early failure risk.
The design supports patience during compression and cleaner observation when price finally leaves the channel.
⚡ Why This Script Is Different
Most Keltner tools draw the channel and leave interpretation to the user.
This script does NOT treat every channel break as meaningful.
Instead, it evaluates compression depth, expansion ratio, close pressure, candle body quality, relative volume, and basis slope before marking a release as READY.
⚙️ Methodology
1. Keltner Channel Mapping
2. Compression Detection
3. Release Edge Evaluation
4. Expansion Quality Scoring
5. Corridor And Failure Mapping
6. Panel And Alert Output
🗺️ How to Read the Chart
The Keltner Channel shows the active volatility envelope around price.
Compression shading marks periods where channel width is low relative to recent history.
BULL RELEASE and BEAR RELEASE labels appear when price leaves the channel with enough release quality.
The release corridor projects possible expansion space after a qualified release.
The panel summarizes Squeeze, Release Score, Volatility, Direction Bias, and Action.
🚦 Signals & States
• READY → A qualified Keltner squeeze release has formed.
• MONITOR → A release context is active and should be observed.
• WAIT → Compression may exist, but release quality is not confirmed.
• INVALIDATED → A release failed back into the channel context.
• BLOCKED → The script cannot define a valid Keltner context.
🔔 Alerts Logic
Bullish Keltner Squeeze Release Ready triggers when price releases above the upper Keltner Channel after compression with enough score quality.
Bearish Keltner Squeeze Release Ready triggers when price releases below the lower Keltner Channel after compression with enough score quality.
Keltner Compression Active triggers when channel width is low enough to qualify as squeeze context.
Keltner Squeeze Release Failed triggers when an active release loses quality and moves back into the failure area.
Alerts are attention markers, not trade instructions.
🧩 Confluence Logic
The release score combines compression depth, expansion ratio, close pressure beyond the channel, candle body quality, relative volume, and basis slope.
When these conditions align, the release context becomes stronger.
📊 When to Use
• Markets moving from low volatility to expansion
• Breakout environments
• Consolidation-to-trend transitions
• Intraday or swing contexts where volatility contraction matters
⚠️ When NOT to Use
• Extremely illiquid symbols
• Random high-noise chop
• News spikes with unstable spreads
• Symbols where Keltner width is distorted by abnormal candles
🎛️ Key Inputs
• Keltner Basis Length → controls the EMA basis of the channel.
• ATR Length → controls channel width and volatility normalization.
• Keltner ATR Multiplier → adjusts how wide the channel is.
• Squeeze Threshold → defines how deep compression must be.
• Minimum Ready Score → controls how selective READY releases are.
• Projection Bars → controls how far the corridor extends.
• Visual settings → control labels, channels, zones, panel, and chart density.
🖥️ Interface & Visual Design
The script uses a compact AG Pro panel to make the current state readable at a glance.
The visual hierarchy is designed to keep the chart clean: channel context first, release label second, corridor and targets third.
Default settings are tuned for readable publication screenshots without hiding the core volatility story.
🧪 Practical Usage Workflow
1. Read the panel state.
2. Check whether compression is active.
3. Wait for a qualified release label.
4. Review the corridor and target rails.
5. Watch whether price holds or fails back into the channel.
🔍 Interpretation Guidelines
A READY release means volatility expansion conditions aligned according to the script rules.
It does not mean price must continue.
A weak or failed release means the channel break lost quality and should be interpreted within broader market context.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not a buy or sell signal generator.
It is not an automated trading system.
It does not guarantee breakouts, continuation, or reversals.
⚠️ Limitations & Transparency
Keltner behavior can change across symbols, sessions, and timeframes.
Compression may last longer than expected.
Strong news events can create release signals that behave differently from normal volatility expansion.
The script should be used with broader structure, liquidity, and risk context.
🧠 Market Context Notes
Keltner squeeze behavior is most useful when volatility has contracted enough to create a visible transition point.
The best contexts often combine compression, clean channel release, participation, and enough room for expansion.
🧾 Use Case Examples
When price compresses inside the Keltner Channel and then closes beyond the upper band with strong expansion, the script may mark a bullish release.
When price breaks below the lower band after compression and the release score is strong enough, the script may mark a bearish release.
When price breaks out but quickly moves back into the channel, the release can lose quality.
🧱 System Philosophy
This script is part of the AGPro Series approach: clean visual context, practical scoring, and decision-support states instead of noisy prediction labels.
🔐 Non-Promise Statement
No script can provide certainty.
No signal should be treated as guaranteed.
All outputs are rule-based analytical markers.
📉 Risk Disclosure
Trading involves risk.
Users are responsible for their own decisions, risk management, and position sizing.
This script is for educational and analytical purposes only and does not provide financial advice.
📚 Educational Note
The purpose of this script is to help users study volatility compression and release behavior through a structured Keltner Channel framework.
지표

BNS Jump Statistic & RV DecompositionBNS Jump Statistic & RV Decomposition
A jump-detection oscillator that splits realized variance into a continuous (diffusive) component and a jump component, using the bipower variation framework of Barndorff-Nielsen and Shephard. It answers a specific question: how much of recent volatility is everyday noise, and how much is sudden, discontinuous moves?
How it works
Over a rolling window of length N, three quantities are computed from log returns:
Realized Variance (RV) — the sum of squared returns. Captures everything: continuous variance plus any jumps.
Bipower Variation (BV) — the (π/2)-scaled sum of |r_t|·|r_{t−1}|. Asymptotically robust to jumps, so it captures only the continuous part.
Jump component (J) — max(RV − BV, 0), the variance left over after subtracting the continuous estimate.
The Relative Jump (RJ) ratio is J / RV — the share of variance attributable to jumps. Bounded between 0 and 1: zero means all-continuous, one means all-jump.
The BNS z-statistic (ratio form, with the Huang–Tauchen adjustment) tests whether the jump component is statistically significant. It uses tripower quarticity for a robust standard error:
z = √N · RJ / √( θ · max(1, TQ/BV²) ), with θ = π²/4 + π − 5
Under the null of no jumps, z is asymptotically standard normal. Critical values at 1.96, 2.58, and 3.09 correspond to 95%, 99%, and 99.9% confidence.
How to read it
Columns show the RJ ratio. Cool cyan when variance is mostly continuous; amber and rose as the jump share rises.
Smoothed line is a 3-bar EMA of RJ, layered with a soft glow. The line color tracks the regime — useful for spotting persistent jump activity versus one-off spikes.
Reference levels at 20%, 50%, and 80% mark the continuous threshold, the regime boundary, and the extreme zone.
Markers above the pane fire on bars where the BNS test is significant: a circle at 95%, a triangle at 99%, a diamond at 99.9%.
Background tint reflects the regime state (CONTINUOUS, MIXED, or JUMP), with hysteresis so it doesn't flicker on borderline bars.
Status table in the top-right shows the latest RV, BV, jump component, RJ, z-statistic, and current significance level.
Inputs
Window Length — bars used to compute RV and BV. 22 ≈ one trading month on daily. Default 22.
Source — input series. Default close.
Significance thresholds — z-values for 95%, 99%, and 99.9% confidence. Defaults 1.96, 2.58, 3.09.
Regime thresholds — RJ levels marking the continuous and jump regimes. Defaults 0.20 and 0.50.
Display toggles — status table, regime tint, significance markers, and reference levels.
Built-in alerts
Significant Jump (95%) — z crosses above 1.96
Strong Jump (99%) — z crosses above 2.58
Extreme Jump (99.9%) — z crosses above 3.09
Entered Jump Regime
Returned to Continuous Regime
All alerts fire on the rising edge of their event — one notification per transition rather than one per bar while the condition holds.
Notes
The decomposition is a property of the chosen window. Different lengths give different splits; shorter windows are more responsive but noisier. The z-statistic is asymptotic, so very short windows can produce inflated values — treat anything below N=10 with care.
Bipower variation is robust to jumps in theory but sensitive to microstructure noise on very fine timeframes. Daily and 5-minute-and-up tend to behave well.
This is a diagnostic tool, not a signal generator. It tells you when variance is being driven by jumps rather than diffusion.
Five years of work on a trading system left me with dozens of indicators that ultimately didn't earn a place in the final build. They're not failures — they're tools that solved problems I no longer needed solved. So instead of shelving them, I'm publishing the majority of them open-source.
If you're a discretionary trader, take what's useful. If you're a systems builder, the source is yours to dissect, modify, and improve. The best return on five years of work is for it to keep working — for someone.
If you use this script — or part of it — in your own work, please credit the original with a link back to my profile.
Note: these indicators have been updated to Pine Script v6 — some manually, some with AI assistance. 지표

Relative ATR Volatility IndicatorThis relative volatility regime indicator measures whether current volatility is high, low, or "normal" compared to its own recent historical range.
It calculates ATR, then compares the current ATR reading against a rolling percentile window. By default, it looks back over the last 100 bars and marks:
The upper volatility threshold, based on the 80th percentile of recent ATR readings (red)
The lower volatility threshold, based on the 20th percentile of recent ATR readings (green)
With the default settings of a 100-bar Rolling Window Length, Top Percentile of 80, and Bottom Percentile of 20:
If the white ATR line is above the red line, current volatility is in the highest 20% of recent ATR readings.
If the white ATR line is below the green line, current volatility is in the lowest 20% of recent ATR readings.
In other words, the script ranks current ATR against its own recent history and highlights volatility extremes. This makes it easier to objectively identify whether a market is currently in a high-volatility, low-volatility, or normal-volatility regime.
The indicator is directionally agnostic. A high ATR reading does not mean price is bullish or bearish; it simply means the market is moving more than usual. High ATR can occur during bullish expansion, bearish selloffs, large gaps, or choppy high-range conditions.
The main values are:
White line = current ATR value
Red line = upper ATR percentile threshold
Green line = lower ATR percentile threshold
Grey line = middle 50th percentile (turned off in Style Settings by default)
ATR Ratio Upper = current ATR divided by the upper threshold
ATR Ratio Lower = current ATR divided by the lower threshold
The ATR Ratio values can be used as an input by other scripts or strategies:
ATR Ratio Upper above 1 means ATR is above the upper volatility threshold
ATR Ratio Lower below 1 means ATR is below the lower volatility threshold
This script uses Pine Script's ta.percentile_nearest_rank() function to calculate rolling ATR percentile thresholds.
This is a lagging indicator, like most indicators, but it provides a useful way to classify volatility regimes objectively. 지표

DAX VSTOXX Pre-Market Panel# DAX VSTOXX Pre-Market Panel
## What this indicator does
This panel displays a real-time pre-market dashboard for DAX40 intraday traders, built on a statistical correlation study between the **VSTOXX volatility index (FVS1!)** and the **DAX40 cash session result**.
The core insight: when VSTOXX falls during the trading session, the DAX tends to rise — and vice versa. This inverse relationship is statistically robust and forms the backbone of the day-type classification shown in the panel.
---
## Statistical Foundation
**Dataset:** 68 trading days | January–May 2026 | 1H session data
| Predictor | Correlation r | r² (variance explained) |
|---|---|---|
| VSTOXX Δ | -0.771 | 0.594 |
| Brent Δ% | -0.608 | 0.369 |
| DE 10Y Δ (bp) | -0.558 | 0.311 |
| Combined model | — | 0.693 |
**Regression formula:** `DAX Δ (pts) = -160 × VSTOXX Δ + 19`
**Combined model:** `DAX Δ = -160 × VSTOXX - 1.9 × DE10Y(bp) - 5.1 × Brent(%) + 19`
The p-value for the VSTOXX/DAX relationship is `1.47e-14` — statistically near-certain, not a coincidence.
---
## VSTOXX Delta Thresholds
All thresholds are data-derived from the historical dataset, not arbitrary:
| VSTOXX Session Δ | Bull% | Range% | Bear% | Avg DAX Δ | Signal |
|---|---|---|---|---|---|
| < -1.50 | 100% | 0% | 0% | +516 pts | STRONG BULL |
| -1.50 to -0.70 | 33% | 67% | 0% | +102 pts | BULL / RANGE |
| -0.70 to -0.35 | 47% | 47% | 6% | +156 pts | BULL BIAS |
| ± 0.35 (neutral) | 27% | 65% | 8% | +23 pts | RANGE |
| +0.35 to +0.70 | 8% | 69% | 23% | -51 pts | RANGE / BEAR BIAS |
| +0.70 to +1.50 | 0% | 40% | 60% | -180 pts | BEAR TREND |
| > +1.50 | 0% | 14% | 86% | -340 pts | STRONG BEAR |
---
## Panel Sections Explained
### PRE-MARKET (available from 08:00 CET)
**VSTOXX @ 08:00**
The absolute VSTOXX level at Frankfurt pre-open. Determines the volatility class and expected session range:
- < 20 → Low volatility, expected range ~239 pts
- 20–25 → Medium, expected range ~342 pts
- 25–35 → High, expected range ~500+ pts
- > 35 → Extreme, expected range ~700+ pts
**Expected session range**
Historical average DAX high–low range (09:00–17:30 XETR cash) for the given VSTOXX level class. This is a pre-market estimate, not a live calculation.
**Frankfurt delta (08:00 → 09:00)**
VSTOXX movement during the Frankfurt pre-open hour. This is the **earliest directional signal** (r² = 0.22). A drop of more than 0.30 points suggests bull bias; a rise above 0.30 suggests bear bias. Updates live during the 08:00–09:00 window, then freezes.
**Daily delta (prev close → now)**
Total VSTOXX change since yesterday's 17:00 close. This is what your watchlist/broker dashboard shows as the daily percentage change. Gives overnight context.
### SESSION (available from 09:00 CET)
**VSTOXX Session delta (09:00 → now)**
The primary predictor (r² = 0.594). Measures VSTOXX movement from the cash market open. Updates every bar throughout the session.
**DAGTYPE (Day type)**
Automatic classification based on the session delta and the calibrated thresholds:
`STRONG BULL / BULL TREND / BULL BIAS / RANGE / BEAR BIAS / BEAR TREND / STRONG BEAR`
Green = bullish, Red = bearish, Yellow = range/neutral.
**DAX Verwachting (DAX Expected)**
Regression-based point estimate for the DAX session result (open → close).
Formula: `DAX Δ = -160 × (VSTOXX session Δ) + 19`
**1e uur DAX (First hour DAX)**
DAX price change from session open (09:00) to 10:00 close. Historical accuracy: **73% correct** directional match with the full session close. Available from 10:00 CET.
### MACRO (available from 08:00 CET)
Two supplementary macro inputs that add predictive power on top of VSTOXX:
**Brent Δ% (08:00 → now)**
Brent crude oil percentage change since 08:00. Rising oil = inflationary pressure = bearish for DAX (r² = 0.37). Green = oil falling = DAX bullish context.
**DE 10Y Δ bp (08:00 → now)**
German 10-year Bund yield change in basis points since 08:00. Rising yields = higher discount rates = bearish for DAX valuations (r² = 0.31). Green = yields falling = DAX bullish context.
---
## Color Logic (consistent throughout)
| Color | Meaning |
|---|---|
| 🟢 Green | Bullish for DAX |
| 🔴 Red | Bearish for DAX |
| 🟡 Yellow | Neutral / Range |
| Grey | No data yet |
---
## Setup Instructions
**Required chart:** Germany 40 Cash CFD (IG Markets or equivalent) — **15M timeframe**
> ⚠️ This indicator **must be applied to a 24/7 CFD chart** (not the XETR cash chart). The XETR cash market only opens at 09:00 CET, which means the 08:00 VSTOXX capture is impossible on that chart. The CFD chart runs around the clock, allowing pre-market data to be captured correctly.
**Data sources pulled automatically:**
- `EUREX:FVS1!` — VSTOXX continuous futures
- `TVC:DE10Y` — German 10Y Bund yield
- `OANDA:UKOIL_USD` — Brent crude CFD (real-time, no 15-minute delay)
**Settings (all adjustable in indicator inputs):**
- VSTOXX symbol (default: `EUREX:FVS1!`)
- DE 10Y symbol (default: `TVC:DE10Y`)
- Brent symbol (default: `OANDA:UKOIL_USD`)
- Timezone (default: `Europe/Amsterdam`)
- Frankfurt threshold: 0.30 (first directional signal)
- Bias threshold: 0.35
- Trend threshold: 0.70
- Strong signal threshold: 1.50
- Table position: top-right, top-left, bottom-right, bottom-left
- Background color: on/off
---
## How to Use in Practice
**Before 08:00 CET:** Panel shows "waiting" — no actionable data yet.
**08:00 CET — Frankfurt opens:**
- Check VSTOXX @ 08:00 level → determine volatility class and expected range
- Monitor Frankfurt delta as it builds live → first directional hint
- Check Brent and DE 10Y direction for macro context
**08:00–09:00 CET — Frankfurt hour:**
- If Frankfurt delta > +0.30: bear bias forming
- If Frankfurt delta < -0.30: bull bias forming
- If within ±0.30: neutral, wait for session confirmation
**09:00–09:15 CET — Observation window (no trades):**
- Watch opening bar direction
- Does it confirm or contradict the Frankfurt signal?
**09:15+ CET — Session active:**
- Session delta starts building → day type classification activates
- DAX Expected updates with every VSTOXX tick
- Strong signals (|delta| > 1.50) have 85–100% historical precision
**10:00 CET:**
- First hour result confirms or rejects the pre-market bias
- 73% historical directional accuracy with full session close
---
## Alerts
Four built-in alerts:
1. **Frankfurt BULL signal** — VSTOXX Frankfurt delta crosses below threshold
2. **Frankfurt BEAR signal** — VSTOXX Frankfurt delta crosses above threshold
3. **BULL TREND confirmed** — Session delta crosses into BULL TREND / STRONG BULL zone
4. **BEAR TREND confirmed** — Session delta crosses into BEAR TREND / STRONG BEAR zone
---
## Important Notes
- **Gray zone (±0.35 neutral):** Within this range, VSTOXX alone is insufficient. Use Brent and DE 10Y for additional context. When in doubt, classify as RANGE and trade selectively or not at all.
- **Regression formula accuracy:** r² = 0.594 means VSTOXX explains ~59% of daily DAX variance. The remaining 41% is driven by news, earnings, geopolitics, and other factors not captured in this model.
- **Lead-lag is zero:** Statistical testing confirms that yesterday's VSTOXX, S&P500, or VIX has no meaningful predictive power for today's DAX session. Markets discount overnight information immediately at the open.
- **Recalibration:** Thresholds are based on 68 trading days (January–May 2026). Recalibrate monthly by re-running the correlation analysis on fresh data to ensure thresholds remain accurate as market regimes evolve.
---
## Disclaimer
This indicator is a statistical tool based on historical data. Past correlations do not guarantee future results. Always use proper risk management. This is not financial advice. 지표

전략

Support and Resistance Institutional Zones [FEELS]Trade Volume-Weighted, Actionable Zones.
Many traditional support and resistance tools draw lines at every recent high and low. This script takes a different approach. It waits until price has actually used a level multiple times, weights each touch by how much volume and rejection was behind it, and only then draws a zone. The result is fewer levels on your chart, but the ones that do show up have a real mathematical reason to be there. Coupled with a strict, non-repainting signal engine, this tool is designed for serious Price Action traders.
—
🔥 Why This is Different
100% Non-Repainting Signals: Our signal engine operates strictly in real-time. Once a signal (Break, Bounce, Hold) is printed on a closed candle, it stays there forever, ensuring full historical accuracy for your backtesting.
Liquidity Sweep & "Born-Dead" Protection: Sometimes, algorithmic approaches can print false breakout signals if a zone forms retroactively during a massive price drop. We built a custom "Live Break" memory engine that verifies if the price was actually above/below the zone before the break. Furthermore, deep wicks (liquidity sweeps) do not trigger breaks—only solid candle closes do.
Volume & Rejection Weighting: Not all levels are created equal. Pivots that fired on heavy volume with long wicks weigh significantly more than quiet pokes. Zones with higher volume automatically become more vivid, while low-volume zones fade into the background.
—
⚙️ How It Works Under the Hood
The script collects confirmed pivots – both highs and lows – and groups them into clusters by price proximity. It uses a temporal spacing rule that prevents tight, standard consolidations from artificially inflating a single zone.
Older pivots gradually decay in influence, ensuring the active zones reflect what is actually relevant to current price action. The top zones by weighted strength are kept and ranked relative to each other.
—
📊 Reading the Chart
★ to ★★★ – The relative strength of the zone vs. other zones currently visible.
2× / 4× / 7× – The number of qualifying touches the zone has accumulated.
Vol: 72.19K – The cumulative volume of all pivots that built this zone.
Color intensity – Vividness scales with volume; highly transparent, faded zones are weak levels you can mostly ignore.
—
🎯 Strength Presets
Most users do not want to tune pivot parameters manually. The preset selector handles this in one click:
Local — Short pivots, tight zones. Use on intraday for scalping levels.
Swing (Default) — Balanced. Works incredibly well on most timeframes.
Major — Long pivots, wide zones. Surfaces the macro structure of the asset.
Custom — Full manual control over pivot length, tolerance, and spacing. Note: You can switch presets without losing the chart's other visual settings.
—
🚥 Active vs. Broken vs. Dropped Zones
There are three states a zone can be in:
Active: Currently respected by price. Drawn in your chosen support or resistance color.
Confirmed broken: Price closed through the zone with conviction. (Optional setting).
Dropped: Disappeared from the active list because newer pivots reorganized the cluster set. (Optional setting). Useful when reviewing why a past signal fired.
Both broken types are off by default for a clean chart. Toggle them on to study how zones evolved or to backtest signal context.
—
⚡ Optional Signals
The script can mark four types of price reactions. All are off by default – turn on what fits your style:
Successful test: A circle below or above the bar when price tests an active zone and closes back in the rejection direction.
Retest: A diamond when price returns to a previously broken zone within the retest window and reacts off it. The classic broken-resistance-becomes-support play.
Zone reaction marks: A small diamond when price touches a zone and holds without closing through. Bold Break R / Break S text labels appear only when a zone is genuinely broken on close.
RSI filter: An extra confirmation gate. Bullish signals only fire on RSI oversold; bearish only on overbought. Reduces signals to higher-conviction setups.
—
🔔 Alerts
Eight precise alert conditions are exposed for automated trading or notifications:
Resistance touched / Support touched
Resistance broken / Support broken
Successful support test / Successful resistance test
Bullish retest / Bearish retest
New pivot confirmed
Set them through the standard TradingView alert dialog – the conditions appear directly in the dropdown.
—
💡 Pro Tips
No Volume? No Problem: On low-liquidity assets or indices without volume data, zones still build correctly using the wick and structure components. Volume coloring will be uniform, but everything else works flawlessly.
Clean the Clutter: If the chart looks crowded, lower "Active zones per side" to 3-4, or increase "Hide zones farther than (%)" to filter out distant zones.
Fast Timeframes: On 1m or 5m charts, switch the preset to Local and lower the Cooldown bars if you trade off rapid bounce signals.
Relative Strength: Strength is a relative measure within the visible zones, not an absolute score. ★★★ on a quiet, ranging chart is not the same as ★★★ on a high-volume, trending one.
This script is open-source. If you build something interesting on top of it, please reference where the original idea came from.
Disclaimer: Not financial advice. Always backtest before risking capital. 지표

지표

전략

Market Sessions [Crypto Imperija]Market Sessions is a clean session-mapping indicator designed for crypto traders who want to better understand how price behaves during different parts of the trading day.
The indicator highlights the main market sessions directly on the chart using customizable boxes, session names, session times, completed session high/low levels, sweep detection, reclaim detection and alerts.
It is especially useful for traders who work with liquidity concepts, session ranges, intraday market structure, and time-based trading analysis.
Default Sessions:
• Asian Session: 02:00 - 10:00 UTC;
• London Session: 09:00 - 17:30 UTC;
• New York Session: 16:30 - 23:00 UTC;
• Closed / Low Activity Session: 23:00 - 02:00 UTC.
1. Session Boxes
The indicator draws visual boxes around each selected session. Each box shows the full price range created during that session, including the session high and session low.
This helps traders quickly see:
• Where price ranged during a specific session;
• Which session created the most volatility;
• Whether price is expanding or consolidating;
• How the current session reacts to previous session ranges.
2. Session Names and Times
Each session box can display the session name and session time directly on the chart.
This makes it easier to follow the trading day without constantly checking the clock, especially when analyzing multiple timeframes or trading crypto markets that run 24/7.
3. Session High / Low Levels, Sweeps and Reclaims
After each session finishes, the indicator automatically draws the completed session high and low as horizontal levels. These levels are often important because previous session highs and lows can act as key liquidity areas. Traders commonly watch them to see whether price rejects from them, breaks through them, sweeps them, or reclaims them.
Examples of completed session levels:
• Asian High / Asian Low;
• London High / London Low;
• New York High / New York Low;
• Closed Session High / Closed Session Low.
The indicator detects two important events around these levels:
• Session Sweep:
A high sweep is detected when the current candle high reaches or moves above a completed session high.
A low sweep is detected when the current candle low reaches or moves below a completed session low.
• Session Reclaim:
After a sweep, the indicator watches the candle close.
If a completed session high is swept and price closes back below that high, it is considered a reclaim.
If a completed session low is swept and price closes back above that low, it is considered a reclaim.
This helps traders identify when price has interacted with a previous session liquidity level and whether the move continued or failed after the sweep.
4. Mitigated Levels
When a session level is swept, the trader can choose whether to remove it from the chart or keep it visible as a faded/dotted mitigated level.
This gives more control over chart cleanliness:
• Hide mitigated levels for a cleaner chart;
• Show mitigated levels to study how price reacts after liquidity is taken.
5. Customizable Visual Settings
The indicator includes multiple customization options:
• Show or hide session boxes;
• Show or hide session names;
• Show or hide completed session high/low levels;
• Show or hide price values on labels;
• Choose label size;
• Choose session level line style;
• Choose line width;
• Choose box border style;
• Choose box border width;
• Customize each session color;
• Hide weekend sessions.
This makes the indicator flexible for different trading styles, chart layouts, and visual preferences.
6. Alerts
The indicator includes alert conditions for:
• Session Sweep
• Session Sweep Reclaim
The alert messages can include the ticker, timeframe, swept level, price, and reclaim direction.
Important Notes:
This indicator does not predict price direction. It is a visual and alert-based tool that helps traders identify session ranges, completed session highs/lows, sweeps, and reclaims. A sweep does not guarantee a reversal, and a reclaim does not guarantee continuation in the opposite direction. These events should always be analyzed together with market structure, candle closes, volatility, volume, risk management, and a complete trading plan.
Trading involves risk. This indicator is for educational and analytical purposes only and should not be considered financial advice. 지표

Market Pressure Dashboard### **Market Pressure Dashboard (MPD)** 📊
**Overview**
The **Market Pressure Dashboard** is a professional-grade sentiment and momentum analysis tool designed to visualize the hidden forces behind price action. By combining volume-weighted cumulative delta (CVD) with normalized momentum and volatility regime filtering, the MPD provides a "Composite Score" that reveals whether market pressure is bullish, bearish, or exhausted.
Unlike standard oscillators, the MPD uses `ta.percentrank` normalization, ensuring that values are always relative to recent market history. This makes it self-calibrating across any asset or timeframe.
---
**How It Works** ⚙️
1. **Composite Calculation**: The indicator blends two core metrics—Normalized CVD and Normalized Momentum—into a single **Composite Score**. This score filters out noise and highlights high-probability trend windows.
2. **Cumulative Volume Delta (CVD)**: We calculate raw delta as a mix of price action (body/wick ratio) and relative volume. This is smoothed via EMA and normalized to a ±100 scale.
3. **Momentum**: Calculated as the Rate of Change (RoC) of the normalized CVD. It identifies when market pressure is accelerating or decelerating.
4. **Divergence Detection**: The script features a **Dynamic Disagreement Filter**. It identifies "Divergence" when CVD and Momentum move in opposite directions, but only if that disagreement is statistically significant compared to recent history.
5. **Volatility Regime**: Uses ATR Percentile to identify "Low Vol" (choppy) and "High Vol" (blow-off) regimes. Signals are visually suppressed during these periods to avoid fakeouts.
---
**Visual Elements** 🎨
• **Main Histogram (Columns)**: Represents Normalized CVD. Bright colors indicate strong pressure; faded colors indicate volatility suppression.
• **Secondary Histogram (Thin Bars)**: Represents Momentum. Used to spot acceleration before it shows up in price.
• **Composite Line (White/Bright)**: The master trend signal. It brightens when it agrees with the underlying **Trend Bias**.
• **Trend Bias Line (Slow EMA)**: Provides the "Big Picture" direction.
• **ATR Area Histogram**: A subordinate orange area at the bottom showing current volatility percentile (±25 = extreme).
• **Divergence Dots & Zones**: Yellow circles and background shading highlight areas where CVD and Momentum are out of sync.
• **Dashboard Table**: A floating UI (positionable in any corner) showing real-time values for CVD, Mom, Composite, and Volatility State.
---
**How to Use** 🚀
• **Trend Following**: Look for the Composite Line to cross the Zero Line in agreement with the Trend Bias.
• **Mean Reversion**: Watch for Divergence Dots (Yellow) when the Composite Score is in extreme territory (±75). This often precedes a trend exhaustion.
• **Breakout Validation**: A valid breakout should be accompanied by a spike in both CVD and Momentum histograms. If price breaks out but CVD stays flat, it's likely a trap.
• **Volatility Filter**: Avoid taking new signals when the background turns **Blue (Suppressed)**. This indicates volatility is either too low for follow-through or too high for safe stops.
---
**Inputs** 🛠️
• **CVD/Mom Weights**: Adjust how much "Speed" (Momentum) vs. "Force" (CVD) influences the Composite Score.
• **Normalization Lookback**: Default is 100. Higher values make the indicator more stable; lower values make it more reactive.
• **Divergence Filter**: Minimum absolute value for divergence dots to appear (default: 10). Filters out minor disagreements.
• **Table Position**: Move the dashboard UI to any corner (Top-Left, Top-Right, Bottom-Left, Bottom-Right).
• **Volume Opacity**: Control the transparency of volume histograms for better visual layering.
• **Volatility Suppression**: Enable/disable the ATR-based background colouring.
---
**Best Practices** 💡
• **Timeframes**: Works on any timeframe, but performs best on 15m–4H for swing trading and 1H–D for position trading.
• **Asset Classes**: Excellent for forex, crypto, and futures. For stocks, ensure "Use Volume" is enabled in chart settings.
• **Combination**: Pair with Smart Money Concepts (ICT/SMC) for optimal entry timing. The MPD excels at confirming Order Block breakouts.
• **Divergence is King**: The most reliable signals occur when Divergence Dots appear at ±75 Composite extremes—this is where trends exhaust.
---
**Credits & License**
Created by Tonsil. Free to use and modify. If you republish, please credit the original work. 지표

지표

Liquidity Confluence [I.M]Liquidity Confluence
A confluence indicator that combines Smart Money Concepts (Fair Value Gaps and Break of Structure) with a rolling Volume Profile. Instead of treating SMC and volume analysis as separate tools, this indicator uses Volume Profile as a filter — only highlighting SMC events that occur inside high-volume zones (Value Area), where institutional liquidity is concentrated.
▶ WHY COMBINE SMC WITH VOLUME PROFILE?
SMC indicators alone produce many signals — most of them irrelevant noise. Volume Profile alone shows where liquidity sits but says nothing about direction. Combined, they answer the question every trader needs: "Is this structural break happening at a price level the market actually cares about?"
▶ COMPONENTS
1. ROLLING VOLUME PROFILE
A histogram of volume distributed across price rows, recalculated on every bar over the last N candles (default 150). Three key levels are derived:
- POC (Point of Control): the price with highest traded volume
- VAH (Value Area High): upper bound of the volume zone
- VAL (Value Area Low): lower bound of the volume zone
The histogram is rendered on the right side with a clean visual hierarchy:
- POC bar in solid yellow (the magnet level)
- VAH/VAL bars in violet (the boundary edges)
- Value Area bars in blue (the fair value zone)
- Out-of-VA bars in gray (low-interest zones)
2. FAIR VALUE GAPS (FVG)
3-candle imbalances where price moved too fast to fill. By default, only FVGs whose midpoint falls inside the Value Area are displayed — these are the high-probability gaps backed by real liquidity. Mitigated FVGs are automatically removed when price closes through them, keeping the chart clean.
3. BREAK OF STRUCTURE (BOS)
Detected when price closes beyond a recent swing high (bullish BOS) or swing low (bearish BOS). A BOS that breaks BEYOND the POC is marked as a strong signal (BOS ⬆ / BOS ⬇ with thicker line). A BOS that doesn't break the POC is considered weak — useful information rather than a tradeable signal.
▶ HOW TO TRADE WITH IT
The indicator is designed to filter, not predict. Use it as a confluence layer on top of your existing setup:
LONG SETUP:
- Price below POC, sweeps liquidity (low) and reclaims VAL
- Bullish FVG forms inside Value Area
- BOS ⬆ above POC confirms institutional commitment
SHORT SETUP:
- Price above POC, sweeps liquidity (high) and rejects VAH
- Bearish FVG forms inside Value Area
- BOS ⬇ below POC confirms institutional distribution
KEY LEVELS TO WATCH:
- Reaction at POC: strong magnet level, expect rejection or continuation
- Break of VAH/VAL: signals trend acceleration outside fair value
- Price returning to POC after breakout: classic retest opportunity
▶ SETTINGS
Volume Profile:
- Lookback: how many bars the profile considers (default 150)
- Profile Rows: vertical resolution of the histogram (default 60)
- Value Area %: percentage of volume defining the VA (default 70%)
- Histogram Width: visual width of the bars
SMC:
- Show FVGs / Only show FVGs inside Value Area
- Remove mitigated FVGs (cleaner chart)
- Max FVGs to display
- BOS Pivot Length (higher = only major swings)
- Only show BOS that breaks POC (extra filter)
Visual:
- Fully customizable colors for POC, Value Area, VA edges (VAH/VAL), histogram, bullish and bearish elements
- Optional info panel showing current levels and price location
▶ ALERTS INCLUDED
- Cross above/below POC
- Break above/below Value Area
- Bullish / Bearish BOS
▶ NOTES
This is a confluence tool, not a signal generator. It works best on liquid instruments with reliable volume data (futures, crypto, major forex pairs). On low-volume tickers, the profile may be noisy.
The unilateral filtering philosophy is intentional: most SMC signals fail because they ignore liquidity context. By gating events through the Value Area, the indicator forces traders to wait for confluence rather than chasing every gap or break.
Open-source. Feedback and forks welcome. 지표

지표

지표

전략

전략

Strategy 432 BTC - Donchian Breakout ContinuationStrategy 432 BTC — Donchian Breakout Continuation
Strategy 432 is a BTC/USDT trend-following breakout strategy designed for the 4H timeframe.
The idea behind the system is simple: Bitcoin often rewards strong directional breakouts when they happen in a confirmed trend environment. Instead of trying to fade aggressive moves, this strategy attempts to follow them when momentum, volatility and macro trend alignment are present.
The strategy uses a Donchian Channel to detect breakouts above previous highs or below previous lows. A long entry is triggered when price closes above the previous Donchian high, the breakout distance is large enough relative to ATR, ADX confirms trend strength, and price is trading above the EMA 200.
By default, short trades are disabled because the original BTC research showed stronger results on the long side. However, the script includes an optional short mode for testing.
Main components:
Donchian Channel breakout based on previous candles
ATR-based breakout magnitude filter
ADX trend-strength filter
EMA 200 macro trend filter
Time-based exit after a fixed number of bars
Exit on opposite Donchian channel break
Optional short-side logic
This strategy is built specifically around the idea that, in BTC, large breakouts can lead to continuation when supported by trend strength. It is not designed to predict tops or bottoms, but to participate in directional moves once confirmation is present.
Best used on BTC/USDT 4H. Results may vary significantly across other assets or timeframes. Always backtest and validate before using it in live trading. 전략

Position Sizing CalculatorA simple automated calculator that shows how many shares can be bought or sold if a specific maximum amount is to be risked on the position.
The risk per share is assumed to be the distance to the respective buy or sell line of the Supertrend indicator. This is based on a calculation of the ATR for the last ten days, which is multiplied by a fixed factor and plotted against the highest or lowest candle of the past ten days.
The parameters can be changed manually. By default, a risk of $500 per trade is assumed.
For each of the last bars, the calculator displays the distance to the calculated exit and, through a simple division, calculates the number of shares that could be bought or sold in a potential long or short position to achieve this hypothetical maximum risk.
Of course, there is no guarantee that the respective price will actually be reached, but the calculator can help provide a reference point for sizing the position.
The principle is clearly visible in the screenshots: FRT is a stock that moves slowly and is only a short distance from the stop-loss level. At the current price of $114.47 and a calculated stop at $108.99, 91 shares could be purchased to risk $500. In total, that would be an order of $10,416.77 for a long position.
SOUN, on the other hand, has a very wide margin to the stop-loss; it is a stock with high volatility. Therefore, only 300 shares can be purchased here to achieve the same hypothetical risk. The position would thus be worth only $2,841.
Designed by tuvot_1a, programmed by Claude.
지표

Session EdgeSession Edge is a clean, no-clutter 5-minute trading indicator built for futures traders who want clear, actionable signals without a crowded chart. It combines three core elements, EMA-9, VWAP, and session high/low levels, with a volume confirmation filter to identify only the highest-probability trade setups.
When the EMA-9 crosses VWAP with above-average volume, the indicator automatically draws a green profit box and a red risk box directly on the chart, showing your exact entry price, stop loss, TP1, and TP2 — with the dollar value of each level calculated in real time based on your selected tick value ($1.50, $2.50, or $5.00 per tick).
A built-in 30–50 point minimum filter blocks weak, low-range signals so you are only alerted when the market has enough momentum and range to make the trade worth taking. If the setup doesn't meet the minimum, the signal is suppressed automatically — no guesswork needed.
When it's time to get out, a simple orange X appears on the bar — no extra lines, no extra boxes, just a clean exit marker.
What you see on the chart:
EMA-9 (orange) and VWAP (aqua) for trend and fair value
Previous session high and low (two white lines) as key reference levels
A green box for your target zone and a red box for your risk zone on every valid signal
Dollar-based SL and TP levels calculated per trade automatically
Orange X exit signals when the opposing cross fires
Best used on: MES, MNQ, ES, NQ, or any high-volume futures instrument on the 5-minute timeframe during the London or New York session open. 지표

Hawkes Branching [N4]hawkes branching — the math under crashes.
every crash has the same internal shape. each large move increases the chance of the next, the kernel sustains itself, then it does not. this indicator plots the line.
what it does
λ_t is the asset's own self-exciting intensity, recursive and bounded. when the kernel α·exp(-β·t) sustains itself, the branching ratio η = α/β crosses 1 — the regime moves from stable to explosive. plotted as a histogram + threshold band at η = 1 (the bifurcation line, dashed white).
multi-timeframe coupling on D / W / M, with the canonical non-repaint idiom (request.security on offset, lookahead_on). most TV Hawkes scripts repaint the realtime higher-TF bar; this one does not.
regime states
ESPERAR / wait — η stable, λ low (secondary color)
ATENCION / attention — λ rising, η near 1 (primary lighter)
REGIMEN / regime — λ explosive OR η > 1 (primary intense)
inputs
α (jump magnitude): default 0.6, sensible range 0.3 to 1.0
β (decay rate): default 1.2, sensible range 0.5 to 3.0
exceedance percentile: default 90, can tune to 95 for quieter assets
lookback: 252 trading days
idioma / language: es | en (deck labels toggle)
reference
Bacry, Mastromatteo, Muzy 2015 — "Hawkes processes in finance" (Market Microstructure & Liquidity vol. 1).
open source. educational. NFA. the code does not solve the risk, it names it. 지표

지표

지표
