Long-Term Refuges (LTR)══════════════════════════════
// Intruduction // (Spanish Texts Below)
══════════════════════════════
This indicator is originally based on a soft fork of the Multi-Timeframe Recursive Zigzag Indicator by ©Trendoscope. We have used the technology of their libraries for Zigzag generation so that the user has the freedom to choose which of the different Zigzags calculated by ©Trendoscope as "Levels" is most suitable for adapting to the generation of ideal phases for evaluation and selection as "most predominant" phases, in long-term periods, for any asset according to its particular behavior based on its volatility and price variation rhythm.
// Theoretical Foundation of the Indicator //
═══════════════════════════════════
Many traditional institutional investors use the last major-grade market phase that stands out
from the others (longer duration and greater price change on daily timeframe), to base a Fibonacci whose levels are used to open long-term positions. These positions can remain open to be activated in the future up to years in advance. The phase is considered valid until a new more predominant phase develops in the future; with which the same strategy is repeated.
// Indicator Objectives
══════════════════
1) Automatically find the last most predominant phase of an asset, analyzing it on daily timeframe and taking into account whether the long-term market trend is bullish or bearish.
2) Plot a Fibonacci Retracement over the predominant phase (reversed if the phase is bullish.)
3) The indicator numbers and locates the 3 most predominant phases, from which it chooses Top-1 for plotting.
4) If the user does not agree with the indicator's automatic selection, they have the freedom to choose any of the other 2 Top phases for plotting the Fibo and its levels.
5) If the user does not agree with the amplitude or frequency of the plotted Zigzag phases, they can modify the parameters of the Zigzag calculation of the ©Trendoscope algorithm until one of the Top-3 matches the phase they have in mind.
6) As an experimental bonus, the indicator runs a contest (CP) of bull's-eye price coincidences (OHLC) daily with all Fibo levels of the selected Top 3 phases, to verify which phase the market prices are validating as the most popular for placing operations. Contest results are displayed in the CP column of the Top-3 phases table. If as a result of the contest it is detected that there is a change in the winning phase, a switch can be enabled to activate an alert that the user can use with TradingView's alert creator to show an alarm, send an email, etc.
7) This indicator was designed for the user to find the long-term predominant phase of their assets and manually record the date-price coordinates of the i0-i1 anchors of the predominant phase. The Top-1 phase coordinates are shown in the table Top-3 phases from where the user can capture them. The date-price coordinates of all HH and LL pivots, of all Zigzag phases, appear through a switch. With the pivots, the user can search or select a different phase from those automatically found
by the indicator, according to their own research. Subsequently, the user forgets about this LTR indicator for a good while and proceeds to apply in their normal operation our SLTR indicator (Simplified Long-Term Refuges), in which they can plot and follow simultaneously the long-term refuges of up to 5 different assets, by just entering their corresponding date-price coordinates,
which were calculated previously with this LTR indicator.
// Additional Notes:
══════════════════
1) As of the publication date of LTR version v1.0 (12/2025), the ©Trendoscope Zigzag generation parameters were adjusted by default to find the long-term predominant phases of Bitcoin and Ethereum (2020-2021 Pandemic). The levels shown in the chart correspond to the results obtained using daily data from Bitstamp exchange, BTCUSD:BITSTAMP (popular in Europe).
2) Due to TradingView's strict publication rules related to the use of languages other than English, the complete Spanish version (plain language), with all entries, help (tooltips) and bibliographic references, will soon be available in our GH repository: aj-poolom-maasewal. Any corrections or improvements that can be made to the phase selection algorithms or to the CP phase contest algorithm, will be highly appreciated (Statistical, mathematical and financial sciences, among many others, are not particularly our forte).
════════════
SPANISH TEXTS
════════════
// Introduccion
════════════
Este indicador esta basado originalmente en un soft fork del Indicador Multi-Timeframe Recursive Zigzag de ©©Trendoscope. Hemos utilizado la tecnologia de sus librerias para la generacion de Zigzags de manera que el usuario tenga la libertad de escoger cual de los diferentes Zigzags que se calculan por ©Trendoscope como "Niveles" es el mas adecuado para adaptarse a la generacion
de las fases ideales para su evaluacion y seleccion como fases "mas preponderantes", en periodos de largo plazo, de cualquier activo de acuerdo a su comportamiento en particular segun su volatibilidad y ritmo de variacion del precio.
// Fundamento Teorico del Indicador
═══════════════════════════
Muchos de los inversores institucionales tradicionales utilizan la ultima fase de mercado de grado mayor que sobresale de las demas (mayor duracion y mayor cambio de precio en temporalidad diaria), para basar un Fibonacci en cuyos niveles abren posiciones de largo plazo. Esas posiciones pueden quedar abiertas para activarse en el futuro hasta con anios de antelacion. Se considera que la fase tiene vigencia hasta que en el futuro se desarrolla otra nueva fase mas preponderante; con la cual
se repite la misma estrategia.
// Objetivos del indicador
════════════════════
1) Encontrar de manera automatica la ultima fase mas preponderante de un activo, analizandolo en temporalidad diaria y tomando en cuenta si la tendencia del mercado a largo plazo es alcista o bajista.
2) Trazar un Retroceso de Fibonacci sobre la fase preponderante (revertido si la fase es alcista.)
3) El indicador numera y localiza las 3 fases mas preponderantes, de las cuales escoge a la Top-1 para el trazado.
4) Si el usuario no concuerda con la seleccion automatica del indicador, tiene la libertad de escoger a cualquiera de las otras 2 fases Top para el trazado del Fibo y sus niveles.
5) Si el usuario no concuerda con la amplitud o la frecuencia de las fases del Zigzag trazado, puede modificar los parametros del calculo del Zigzag del algoritmo de ©Trendoscope hasta que una de las Top-3 coincida con la fase que tiene mentalizada.
6) Como bonus experimental, el indicador ejecuta un concurso (CP) de tiro al blanco de coincidencias de precios (OHLC) diarios, con todos los niveles Fibo de las Top 3 fases seleccionadas, para tratar de comprobar cual es la fase que estan validando los precios del mercado como la mas popular para colocar operaciones. Los resultados del concurso se despliegan en la columna CP de la tabla Top-3 fases. Si como resultado del concurso se detecta que hay un cambio en la fase ganadora, se puede habilitar un switch para que se active una alerta que el usuario puede utilizar con el creador de alertas de Tradingview para que le muestre una alarma, le mande un email, etc.
7) Este indicador fue diseniado para que el usuario encuentre la fase preponderante de largo plazo de sus activos, y registre a mano las coordenadas fecha-precio de las anclas io-i1 de la fase preponderante. Las coordenadas de la fase Top-1 se muestran en la tabla Top-3 fases, de donde la puede capturar el usuario. Las coordenadas fecha-precio de todos los pivots HH y LL, de todas las fases del Zigzag, aparecen mediante un switch. Con los pivots, el usuario puede buscar o seleccionar otra fase diferente a las encontradas automaticamente por el indicador, de acuerdo a su investigacion propia. Posteriormente, el usuario se olvida por un buen rato de este indicador RLP y pasa a aplicar en su operativa normal nuestro indicador RLPS (Refugios de largo plazo simplificado), en el cual puede trazar y dar seguimiento simultaneo a los refugios de largo plazo de hasta 5 diferentes activos, con tan solo introducir sus correspondientes coordenadas fecha-precio, previamente calculadas con este indicador RLP.
// Notas adicionales
════════════════
1) A la fecha de publicacion de la version v1.0 de RLP (LTR) (12/2025), los parametros de generacion del Zigzag de ©Trendoscope se ajustaron por default para encontrar las fases preponderantes de largo plazo de Bitcoin y Etherum (Pandemia 2020-2021). Los niveles mostrados en el grafico, corresponden a los resultados obtenidos, usando los datos diarios del exchange Bitstamp, BTCUSD:BITSTAMP (muy popular aquí en Europa).
2) Debido a las estrictas reglas de publicacion de Tradingview relacionadas con el uso de lenguajes diferentes al ingles, la version en espaniol (roman paladino) completa, con todas las entradas, ayudas (tooltips) y referencias bibliograficas, estara proximamente disponible en nuestro repositorio de GH: aj-poolom-maasewal. Cualquier correccion o mejora que se le puedan hacer a los algoritmos de seleccion de fases o al algoritmo del concurso CP de fases, seran altamente apreciados (La ciencias estadisticas, matematicas y financieras, entre otras muchas, no son particularmente nuestro fuerte).
Statistics
Options Gamma Flip Zones [BackQuant]Options Gamma Flip Zones
A market-structure style “gamma flip” mapper that builds adaptive strike-like zones, scores how price interacts with them, then promotes the strongest candidates into confirmed flip zones. Designed to highlight pinning, failed breaks, and rotational behavior without needing live options chain data.
What this indicator does
This script identifies price levels that behave like “strike magnets” during conditions that resemble options pinning, then draws dynamic zones around those levels.
Instead of assuming every round number matters, it:
Creates a strike ladder (auto or manual step).
Applies a regime filter that looks for “pin-friendly” market conditions.
Tracks and scores repeated interactions with the level.
Upgrades a zone from candidate to confirmed when enough evidence accumulates.
Invalidates zones when price achieves sustained acceptance away from them.
The output is a set of shaded boxes (zones) centered on strike-like levels, with text readouts that show the current state of each zone.
Key concept: “Gamma proxy”
A true gamma flip requires options positioning data. This indicator does not use options chain gamma.
Instead, it uses a proxy approach:
When markets have elevated volatility relative to their recent baseline AND trend strength is weak, price often behaves “sticky” around key levels.
In those conditions, repeated touches and failed escapes around a level behave similarly to pinning around strikes.
So this tool is best read as:
“Where would a strike-like magnet likely exist right now, based on price behavior and regime conditions?”
How zones are created
Zones only start forming when the script detects a pin-friendly regime.
1) Strike Ladder (level selection)
Auto Strike Step selects a step size based on current price magnitude (bigger price, bigger step).
Manual Strike Step lets you force a fixed increment.
The current “active level” is the nearest rounded level to price.
Major Level Every optionally marks major ladder levels (multiples of step).
2) Band construction (zone thickness)
Each zone is a symmetric band around the level, using one of two modes:
ATR mode scales thickness with volatility.
Percent mode scales thickness as a fraction of price.
This matters because “pin behavior” is not a single tick. It’s a region where price repeatedly probes and rejects.
Regime filter (when the script is allowed to believe in pinning)
A zone is only eligible to form and strengthen when Pin Regime is active. Pin Regime is a conjunction of:
1) IV proxy (ATR z-score)
Uses ATR as a volatility proxy.
Converts ATR% into a z-score relative to a long lookback.
IV Proxy Threshold controls how elevated volatility must be before the script considers pinning likely.
2) Weak trend requirement
The script also requires price action to be non-trending:
EMA spread must be small (fast vs slow EMA not diverging strongly).
ADX must be below a ceiling, confirming weak directional trend strength.
Interpretation:
High “IV proxy” + weak trend is where pin-like behavior is most common.
If trend is strong, zones are less meaningful because price is more likely to accept away from levels.
Flip confirmation logic (what upgrades a zone)
A zone is not “confirmed” just because price is near it once. The script builds conviction via evidence accumulation.
Evidence types:
Touches : price comes close to the level within tolerance.
Failed escapes : price pushes outside the band but closes back inside (rejection).
Acceptance run : consecutive closes outside the band, suggesting price is accepting away from the zone.
Protections:
Touch Cooldown prevents counting the same micro-chop as multiple touches.
Acceptance Bars defines what “real acceptance” means, so the zone does not get invalidated by one noisy bar.
A zone becomes confirmed when:
Touches meet the “evidence” requirement.
Failed escapes meet the “rejection” requirement.
The regime filter still says the market is pin-friendly.
That is important, it avoids promoting levels that only worked briefly in a trending tape.
Zone scoring and lifecycle
Each zone maintains a score that evolves over time. Think of score as “how much this level has recently behaved like a magnet.”
Score dynamics:
Decay per bar : score fades over time if price stops respecting the zone.
+ per touch : repeated proximity increases score.
+ per failed escape : rejections add stronger reinforcement.
- per acceptance bar : sustained trading outside reduces score.
Min score to draw : prevents clutter from weak, low-confidence zones.
Invalidation:
If the score becomes very weak AND price achieves sustained acceptance away from the zone, the zone is deleted.
This keeps the chart clean and ensures zones represent current market behavior, not ancient levels.
How to read the plot on chart
1) Zone fill and border
Each zone is drawn as a box extended to the right.
Fill opacity adapts to zone strength, strong zones are visually more prominent.
Border color encodes the current directional context and special events.
2) Bullish vs bearish coloring
A zone is colored bullish when price is currently trading above the zone’s mid-level.
A zone is colored bearish when price is currently trading below it.
This is not a trade signal by itself, it is a state cue for “which side is in control around the level.”
3) Failed escape highlighting
If price attempts to break above the band and fails, the border temporarily highlights as a failed up escape.
If price attempts to break below the band and fails, the border temporarily highlights as a failed down escape.
These are the moments where pin behavior is most visible:
Break attempt.
Immediate rejection.
Return to the band.
4) Midline (optional)
The zone midline is the strike-like level itself.
It is dotted to distinguish it from price structure lines.
5) Optional strike ladder overlay
When enabled, the script draws major and minor ladder lines near current price.
Major levels are thicker and less transparent.
This is a visualization aid for “where the algorithm is rounding,” not a prediction tool.
On-chart text readout (what the box text means)
Each box prints a compact state summary, designed for fast scanning:
Γ CANDIDATE means the zone is being tracked but not yet validated.
Γ FLIP (PROXY) means the zone has met confirmation requirements.
BULL/BEAR indicates which side price is on relative to the mid-level.
L prints the level value.
T is touch count, repeated proximity events.
F is fail count, rejected escape attempts.
IVz is the volatility proxy z-score at the moment.
ADX is the trend strength context.
Practical use cases
1) Pinning and range trading context
Confirmed zones often act like gravity wells in sideways or rotational regimes.
When price repeatedly fails to escape, fading outer edges can be reasonable context for mean reversion workflows.
2) Breakout validation
If price achieves acceptance outside the band for multiple bars, that is stronger breakout context than a single wick.
Zones that invalidate cleanly can mark transitions from pinning to directional move.
3) Time your “do nothing” periods
When Pin Regime is active and a zone is confirmed, the tape often becomes sticky and inefficient for trend chasing.
This helps avoid taking trend entries into a pin environment.
Alerts
Standalone alertconditions are included:
Zone Confirmed : a candidate becomes confirmed.
Zone Touch : price touches an active zone within tolerance.
Zone Invalidated : the zone loses relevance and is removed.
Tuning guidelines
Sensitivity vs quality
Lower Touches Needed and Failed Escapes Needed creates more zones faster, but with lower quality.
Higher values create fewer zones, but the ones that remain are more behaviorally “proven.”
Band width
ATR mode adapts to volatility and is typically safer across assets.
Percent mode is consistent visually but can feel too tight in high vol or too wide in low vol if not tuned.
Regime thresholds
If you want fewer zones, raise IV proxy threshold and tighten weak-trend filters.
If you want more zones, lower IV proxy threshold and loosen weak-trend filters.
Limitations
This is a proxy model, not live options gamma.
In strong trends, pinning assumptions can break, the regime filter is there to reduce that risk, but not eliminate it.
Auto strike step is designed for typical market ranges, manual step is recommended for niche tick sizes or custom markets.
Disclaimer
Educational and informational only, not financial advice.
Not a complete trading system.
Always validate settings per asset and timeframe.
NW Curved Interest ZonesThis indicator automatically scans and plots curved (non-linear) interest zones using Nadaraya-Watson kernel regression smoothing to create a dynamic, adaptive "mean" curve. It then identifies and draws the strongest parallel curved zones where price has repeatedly bounced with statistical validation – perfect for non-linear, organic trending or ranging markets.
How It Works (Technical Methodology)
Curved Mean Calculation
The core curve is generated via Nadaraya-Watson kernel regression (Gaussian weighting):
Smooths closing prices over the lookback period with user-adjustable bandwidth (default 30.0) – higher = smoother/less reactive, lower = tighter fit.
Range methods: "Lookback Bars" (default 400), "Fixed Start Date", or "Entire History".
Channel Envelope Detection
Measures maximum deviations above/below the smoothed curve across the period.
Defines full channel height and base offset for percentage-based zoning.
Stable Update & Anti-Repaint Logic
Full recalculation only after user-defined closed bars (default 50) OR on forced break (if price escapes visible zone envelope).
All data (curve points, slope for projection, levels, scores) snapshotted and frozen until next confirmed update.
Prevents flickering/live-bar repainting while allowing adaptive refresh.
Auto Mode Scanning
When enabled:
Scans channel height in % steps (default 1.0%).
Each candidate creates a thin curved zone parallel to the NW curve (thickness % of price, default 0.01%).
Counts valid "hits": Price touches zone and holds without break for user-defined bars (default 20).
Break source: "Close" (conservative) or "Wick" (sensitive).
Direction inferred from close relative to zone center.
Level Selection
Ranks by hit count, filters close clusters (min distance %), limits to max zones (default 8).
Manual mode: Directly applies user percentages (e.g., 0/50/100 for bottom/median/top).
Curved Zone Construction
Zones drawn as smooth, filled polylines (curved=true) following the kernel regression shape.
Historical section uses exact smoothed points; future projection uses last slope for realistic extension.
Optional long future extension or limited projection.
Dynamic coloring: Supply (above price), Demand (below price).
Dashboard
Table displays current price at each zone (stable during bar), % level, hit count (green when strong).
Update status with countdown or "TRIGGERED!" on force break.
How to Use
Ideal for markets with natural curvature (parabolic moves, rounded bottoms/tops, organic trends).
High hit counts: Proven curved support/resistance – expect strong reactions.
Bandwidth: Higher (50+) for major structural curves; lower (10–20) for shorter-term adaptive zones.
Hold Bars: Increase for stricter validation in noisy assets.
Force Break Update: Keeps zones relevant during strong trends/breakouts.
Supply Zones (Curved above price): Dynamic overhead resistance.
Demand Zones (Curved below price): Dynamic underlying support.
Confluence: Excellent with volume, order blocks, or divergence for entries/exits.
Manual Mode: Quickly overlay classic % (e.g., channel parallels).
Smooth, non-repainting curved zones provide superior visual alignment to real price action compared to linear channels.
Disclaimer
This indicator is a technical analysis tool and should be used in conjunction with other forms of analysis. Past performance does not guarantee future results. Always use proper risk management.
Max Pain Options [QuantLabs] v5 (Balanced)Institutional Grade Options Analysis: Max Pain, Gamma & Pin Risk
For years, TradingView users have been flying blind without access to Options Chain data. QuantLabs: Max Pain & Gamma Exposure changes that. This is not just a support/resistance indicator—it is a sophisticated, algorithmic model that reverse-engineers the incentives of Market Makers using synthetic Black-Scholes logic.
This tool visualizes the "invisible hand" of the market: the hedging requirements of large dealers who are forced to buy or sell to keep their books neutral.
CORE FEATURES:
🔴 Max Pain Gravity Model The bright red line represents the "Max Pain" strike—the price level where the maximum amount of Options Open Interest (Calls + Puts) expires worthless.
Theory: As OpEx (Expiration) approaches, Market Makers maximize profits by pinning the price to this level.
Strategy: Use this as a mean-reversion target. If price is far away, look for a snap-back to the red line.
🟣 Gamma Exposure Profiles (The Purple Lines) These neon histograms show you the estimated "Gamma Walls."
Long Gamma: Dealers trade against the trend (stabilizing price).
Short Gamma: Dealers trade with the trend (accelerating volatility).
Visual: The larger the purple bar, the harder it will be for price to break through that level.
📦 Algorithmic "Pin Risk" Zones The dashed red box highlights the "Kill Zone." When price enters this area near expiration, volatility often dies as dealers pin the asset to kill retail premiums.
Warning: Do not expect breakouts while inside the Pin Zone.
📊 Institutional HUD A clean, non-intrusive dashboard provides real-time Greeks and risk analysis:
Pin Risk: High/Medium/Low probability of a pinned close.
Exp Mode: Detects if the market is in "Short Gamma" (Squeeze territory) or "Long Gamma" (Chop territory).
HOW IT WORKS (The Math): Since live options data is not available via Pine Script, this engine uses a proprietary Synthetic OI Distribution Model. It inputs Volume, Volatility (IV), and Time-to-Expiry into a modified Black-Scholes equation to probability-map where the heavy open interest likely sits.
SETTINGS & CUSTOMIZATION:
Responsiveness: Tuned for the "Goldilocks Zone" (Spread: 12, Decay: 22) to catch local liquidity walls without over-fitting.
Visuals: Designed for Dark Mode. High-contrast Neon aesthetics for maximum readability.
Dynamic Stoch200+MACD+Gann Confluence (Cardinal + Ordinal)If you're scrolling through hundreds of indicators on TradingView looking for a reliable edge, here's why this one stands out and deserves a spot on your chart:Ultra-High-Conviction Reversal Signals (Rare but Powerful)
Most indicators spam signals and repaint. This one requires four independent confluences to fire:Hidden bullish/bearish divergences on a very long-period Stochastic (200) – catches major cycle turns, not noise.Matching hidden divergences on MACD histogram – confirms momentum shift.A strong directional candle (close in top/bottom 20% of range) – filters weak wicks.
Price within ~1.75% of a dynamic Gann Square of 9 level (cardinal + ordinal angles).
Because it demands all four at once, signals are extremely rare — often only a handful per year on daily/weekly timeframes. When they appear, they frequently mark significant tops and bottoms.Fully Adaptive Gann Levels (No Static Lines)
Unlike most Gann scripts with fixed levels that quickly become irrelevant, this one:Automatically anchors to the most recent significant pivot low or high.
Calculates authentic Square of 9 rotations (45°, 90°, 135°, 180°, 225°, 270°, 315°, 360°).
Updates dynamically as new swings form — works on any timeframe and any market (BTC, stocks, forex, indices).
Clean & Customizable Toggle cardinal (strong) vs ordinal (intermediate) levels for plotting and signal checks.
Adjustable pivot sensitivity and proximity tolerance.
Minimal chart clutter: bold lines for major levels, subtle for intermediates, plus clear large triangles for entries.
Best For
Swing traders and position traders seeking high-probability reversal zones rather than frequent scalps. Excellent for Bitcoin and volatile assets where geometric levels + extreme momentum divergences often align at cycle extremes.In short: If you want an indicator that stays quiet most of the time but screams when a real reversal is likely — this is it. Add it, watch the Gann levels adapt, and wait patiently for the rare multi-confluence setups. Quality over quantity.
ADR Dashboard with Move, Left and AlertsIndicator Name: ADR Dashboard with Move, Left and Alerts
Overview
The ADR Dashboard is a powerful real-time trading tool that tracks how much a stock, crypto, or other asset has moved today relative to its Average Daily Range (ADR). It provides a clear visual representation of:
1. Today’s price movement (Move)
2. Remaining potential movement left to reach ADR (Left)
3. Percentage of ADR covered (% Covered)
4.Additionally, it provides automated alerts for key movement thresholds.
A) What it Does
1.Calculates the Average Daily Range (ADR):
2. Uses True Range over a user-defined lookback period (default 14 days).
3. ADR measures typical daily volatility.
B) Tracks Today’s Move:
1. Move = Current Price – Today’s Open (Realtime)
2. Positive → bullish move, Negative → bearish move
C) Tracks Remaining Potential (Left):
1. Left = ADR – |Move| (Realtime)
2. Shows how much of the ADR is still available for today’s move
3. Percentage Covered:
4. % Covered = |Move| / ADR × 100
D) Color-coded for visual clarity:
1. Green (<50%) → small move, plenty of range left
2. Yellow (50–80%) → moderate move, watch for acceleration
3. Orange (80–100%) → strong move, ADR almost reached
4. Red (>100%) → ADR exceeded, momentum may be exhausted
E) Dashboard Table:
1. Columns: ADR | Move | Left | % Covered
2. Position: middle-right of the chart
F) Left column color-coded:
1. Green → some ADR left
2. Red → ADR fully reached or exceeded
3. Move column: usually yellow for visibility, but could be enhanced for positive/negative moves
G) Alerts
The indicator provides directional alerts:
Bullish Alerts (upward moves):
1. 90% ADR warning: fires when Move ≥ 90% of ADR → early warning of strong bullish momentum
2. 100% ADR breach: fires when Move ≥ ADR → full daily range reached
Bearish Alerts (downward moves):
1. 90% ADR warning: fires when Move ≤ -90% of ADR → early warning of strong bearish momentum
2. 100% ADR breach: fires when Move ≤ -ADR → full daily range reached
All alerts are unique and fire once per session per threshold.
H) How Traders Can Use This Indicator
Momentum Trading:
1. Identify strong intraday moves approaching ADR.
2. Enter positions early at 90% ADR warning or take profits near 100% ADR.
Scalping & Intraday Trading:
1. Gauge how much of today’s range is left for quick entries/exits.
2. Avoid trades when ADR is almost fully consumed → reduces risk of reversals.
Swing Trading:
1. Combine with trend indicators to see if today’s move is significant relative to historical volatility.
I) Risk Management:
1. Set profit targets or stop-loss levels based on Move and Left values.
Visual Efficiency:
At-a-glance view of Move, Left, % Covered, and alert status without manual calculations.
Key Features
1. Real-time Move and Left updates
2. Color-coded % Covered and Left for quick visualization
3. Alerts for 90% and 100% ADR levels, bullish and bearish
4. Clean dashboard table at middle-right of the chart
5. Works across stocks, crypto, forex, and other markets
J) Why This Indicator is Powerful
1. Combines volatility (ADR) with real-time price tracking
2. Provides visual clarity and actionable alerts
3. Helps traders stay ahead of intraday moves, manage risk, and time entries/exits effectively
Global Macro Scanner & Relative PerformanceDescription: This indicator is an all-in-one Macro Dashboard that allows traders to track money flow across major global asset classes in real-time. It combines a floating data table with a normalized percentage-performance chart.
Features:
Macro Dashboard (Table): Displays the current value, daily % change, and status (Inflow/Outflow) for 9 key economic sectors:
US M2 Supply: Tracks monetary inflation/tightening.
DXY (US Dollar): Currency strength.
Bonds (AGG): US Aggregate Bond market.
Stocks (VT): Total World Stock Index.
Real Estate (VNQ): Vanguard Real Estate ETF.
Commodities: Oil (WTI), Gold, and Silver.
Crypto: Total Crypto Market Cap.
Relative Performance Chart (Lines): Instead of plotting raw prices (which have vastly different scales), this script plots the Percentage Return relative to a baseline.
Lookback Period: You can set a lookback (default 100 bars). The script sets the price 100 bars ago as "0%" and plots how much each asset has gained or lost since then.
Comparison: This allows you to visually see which assets are outperforming or underperforming relative to each other over the same time period.
Visual Aids:
Dynamic Labels: Each line is tagged with a label at the current candle so you can identify assets without needing a legend.
Colors: Each asset has a distinct, fixed color for consistency between the table and the chart.
How to use:
Add the script to your chart.
Adjust the "Lookback" setting in the inputs to change the starting point of the comparison (e.g., set it to the start of the year to see Year-to-Date performance).
Use the dashboard to spot daily money flow rotation (e.g., Money moving out of Stocks and into Gold).
SCOTTGO - Float, Change %, Vol & RVol DataFloat, Vol & Short Data Dashboard
Overview
The Float, Vol & Short Data Dashboard is a professional-grade monitoring tool designed for equity traders who need to track supply, demand, and momentum in real-time. By aggregating float size, relative volume, and short-selling activity into a clean, customizable table, this script helps you identify high-conviction trade setups without cluttering your price chart.
Key Metrics Included
Float: (Shares) – Instantly see the available supply of shares to gauge potential volatility.
Change %: (From close) – Tracks the percentage gain/loss since the previous day's closing price.
Change %: (From open) – Monitors intraday strength by calculating the move from the 9:30 AM EST market open.
Volume: – Displays current daily volume with automated formatting (K, M, B).
RVOL: (Daily) – Relative Volume compared to a 10-day SMA; essential for spotting "volume-fueled" breakouts.
Short %: (Approx.) – Calculates the daily Short Volume Ratio (Short Volume / Total Volume), providing a real-time proxy for short-seller sentiment.
Professional Customization
This script was built with a focus on UI/UX:
Three-Row Header System: Features high-contrast main titles with muted-grey sub-titles for maximum readability.
Smart Color Logic: Price changes automatically toggle between green and red, while RVol highlights in orange when activity exceeds 1.5x average.
Adjustable Layout: Change the table position, text size, and background opacity.
Column Spacing: Includes a custom slider to adjust the horizontal gap between data columns, ensuring the dashboard fits any screen resolution.
How To Use
Add the script to your chart and use the Settings menu to toggle metrics or adjust the Column Spacing to your preference. Ideal for day traders and swing traders monitoring US Equities where float and short volume data are most impactful.
Session Volume Analyzer [JOAT]
Session Volume Analyzer — Global Trading Session and Volume Intelligence System
This indicator addresses the analytical challenge of understanding market participation patterns across global trading sessions. It combines precise session detection with comprehensive volume analysis to provide insights into when and how different market participants are active. The tool recognizes that different trading sessions exhibit distinct characteristics in terms of participation, volatility, and volume patterns.
Why This Combination Provides Unique Analytical Value
Traditional session indicators typically only show time boundaries, while volume indicators show raw volume data without session context. This creates analytical gaps:
1. **Session Context Missing**: Volume spikes without session context provide incomplete information
2. **Participation Patterns Hidden**: Different sessions have different participant types (retail, institutional, algorithmic)
3. **Comparative Analysis Lacking**: No easy way to compare volume patterns across sessions
4. **Timing Intelligence Absent**: Understanding WHEN volume occurs is as important as HOW MUCH volume occurs
This indicator's originality lies in creating an integrated session-volume analysis system that:
**Provides Session-Aware Volume Analysis**: Volume data is contextualized within specific trading sessions
**Enables Cross-Session Comparison**: Compare volume patterns between Asian, London, and New York sessions
**Delivers Participation Intelligence**: Understand which sessions are showing above-normal participation
**Offers Real-Time Session Tracking**: Know exactly which session is active and how current volume compares
Technical Innovation and Originality
While session detection and volume analysis exist separately, the innovation lies in:
1. **Integrated Session-Volume Architecture**: Simultaneous tracking of session boundaries and volume statistics creates comprehensive market participation analysis
2. **Multi-Session Volume Comparison System**: Real-time calculation and comparison of volume statistics across different global sessions
3. **Adaptive Volume Threshold Detection**: Automatic identification of above-average volume periods within session context
4. **Comprehensive Visual Integration**: Session backgrounds, volume highlights, and statistical dashboards provide complete market participation picture
How Session Detection and Volume Analysis Work Together
The integration creates a sophisticated market participation analysis system:
**Session Detection Logic**: Uses Pine Script's time functions to identify active sessions
// Session detection based on exchange time
bool inAsian = not na(time(timeframe.period, asianSession))
bool inLondon = not na(time(timeframe.period, londonSession))
bool inNY = not na(time(timeframe.period, nySession))
// Session transition detection
bool asianStart = inAsian and not inAsian
bool londonStart = inLondon and not inLondon
bool nyStart = inNY and not inNY
**Volume Analysis Integration**: Volume statistics are calculated within session context
// Session-specific volume accumulation
if asianStart
asianVol := 0.0
asianBars := 0
if inAsian
asianVol += volume
asianBars += 1
// Real-time session volume analysis
float asianAvgVol = asianBars > 0 ? asianVol / asianBars : 0
**Relative Volume Assessment**: Current volume compared to session-specific averages
float volMA = ta.sma(volume, volLength)
float volRatio = volMA > 0 ? volume / volMA : 1
// Volume classification within session context
bool isHighVol = volRatio >= 1.5 and volRatio < 2.5
bool isVeryHighVol = volRatio >= 2.5
This creates a system where volume analysis is always contextualized within the appropriate trading session, providing more meaningful insights than raw volume data alone.
Comprehensive Session Analysis Framework
**Default Session Definitions** (customizable based on broker timezone):
- **Asian Session**: 1800-0300 (exchange time) - Represents Asian market participation including Tokyo, Hong Kong, Singapore
- **London Session**: 0300-1200 (exchange time) - Represents European market participation
- **New York Session**: 0800-1700 (exchange time) - Represents North American market participation
**Session Overlap Analysis**: The system recognizes and highlights overlap periods:
- **London/New York Overlap**: 0800-1200 - Typically the highest volume period
- **Asian/London Overlap**: 0300-0300 (brief) - Transition period
- **New York/Asian Overlap**: 1700-1800 (brief) - End of NY, start of Asian
**Volume Intelligence Features**:
1. **Session-Specific Volume Accumulation**: Tracks total volume within each session
2. **Cross-Session Volume Comparison**: Compare current session volume to other sessions
3. **Relative Volume Detection**: Identify when current volume exceeds historical averages
4. **Participation Pattern Analysis**: Understand which sessions show consistent high/low participation
Advanced Volume Analysis Methods
**Relative Volume Calculation**:
float volMA = ta.sma(volume, volLength) // Volume moving average
float volRatio = volMA > 0 ? volume / volMA : 1 // Current vs average ratio
// Multi-tier volume classification
bool isNormalVol = volRatio < 1.5
bool isHighVol = volRatio >= 1.5 and volRatio < 2.5
bool isVeryHighVol = volRatio >= 2.5
bool isExtremeVol = volRatio >= 4.0
**Session Volume Tracking**:
// Cumulative session volume with bar counting
if londonStart
londonVol := 0.0
londonBars := 0
if inLondon
londonVol += volume
londonBars += 1
// Average volume per bar calculation
float londonAvgVol = londonBars > 0 ? londonVol / londonBars : 0
**Cross-Session Volume Comparison**:
The system maintains running totals for each session, enabling real-time comparison of participation levels across different global markets.
What the Display Shows
Session Backgrounds — Colored backgrounds indicating which session is active
- Pink: Asian session
- Blue: London session
- Green: New York session
Session Open Lines — Horizontal lines at each session's opening price
Session Markers — Labels (AS, LN, NY) when sessions begin
Volume Highlights — Bar coloring when volume exceeds thresholds
- Orange: High volume (1.5x+ average)
- Red: Very high volume (2.5x+ average)
Dashboard — Current session, cumulative volume, and averages
Color Scheme
Asian — #E91E63 (pink)
London — #2196F3 (blue)
New York — #4CAF50 (green)
High Volume — #FF9800 (orange)
Very High Volume — #F44336 (red)
Inputs
Session Times:
Asian Session window (default: 1800-0300)
London Session window (default: 0300-1200)
New York Session window (default: 0800-1700)
Volume Settings:
Volume MA Length (default: 20)
High Volume threshold (default: 1.5x)
Very High Volume threshold (default: 2.5x)
Visual Settings:
Session colors (customizable)
Show/hide backgrounds, lines, markers
Background transparency
How to Read the Display
Background color shows which session is currently active
Session open lines show where each session started
Orange/red bars indicate above-average volume
Dashboard shows cumulative volume for each session today
Alerts
Session opened (Asian, London, New York)
High volume bar detected
Very high volume bar detected
Important Limitations and Realistic Expectations
Session times are approximate and depend on your broker's server timezone—manual adjustment may be required for accuracy
Volume data quality varies significantly by broker, instrument, and market type
Cryptocurrency and some forex markets trade continuously, making traditional session boundaries less meaningful
High volume indicates participation level only—it does not predict price direction or market outcomes
Session participation patterns can change over time due to market structure evolution, holidays, and economic conditions
This tool displays historical and current market participation data—it cannot predict future volume or price movements
Volume spikes can occur for numerous reasons unrelated to directional price movement (news, algorithmic trading, etc.)
Different instruments exhibit different session sensitivity and volume patterns
Market holidays and special events can significantly alter normal session patterns
Appropriate Use Cases
This indicator is designed for:
- Market participation pattern analysis
- Session-based trading schedule planning
- Volume context and comparison across sessions
- Educational study of global market structure
- Supplementary analysis for session-based strategies
This indicator is NOT designed for:
- Standalone trading signal generation
- Volume-based price direction prediction
- Automated trading system triggers
- Guaranteed session pattern repetition
- Replacement of fundamental or sentiment analysis
Understanding Session Analysis Limitations
Session analysis provides valuable context but has inherent limitations:
- Session patterns can change due to economic conditions, holidays, and market structure evolution
- Volume patterns may not repeat consistently across different market conditions
- Global events can override normal session characteristics
- Different asset classes respond differently to session boundaries
- Technology and algorithmic trading continue to blur traditional session distinctions
— Made with passion by officialjackofalltrades
V-Max: Crypto Scaling & Professional Risk Calculator (Public EdiOverview
The V-Max Crypto Scaling & Risk Calculator is a technical risk-management dashboard designed to automate the mathematics of trade execution. It serves as a "Physical Risk Engine," allowing traders to align their position sizing with objective market volatility rather than emotional impulse. This ensures that the dollar-risk per trade remains constant regardless of price volatility or leverage。
Core Technical Logic & Features
This script focuses on the quantitative aspects of capital preservation:
Quantitative Position Sizing Engine: Automatically calculates the precise trade quantity using the formula: $(Total Capital \times Risk \%) / SL Distance$. This keeps the loss exposure fixed for every trade。
Multi-Mode Volatility Stop-Loss: Provides three distinct algorithms for calculating risk boundaries:
3M Range: Based on short-term periodic price range averages。
ATR-Based: Utilizing the Average True Range for smoothed volatility assessment。
Structural Mode: Automatically identifying local swing highs/lows as defensive anchors。
Low-Volatility "Choke Zone" Monitor: The engine monitors current market range against a user-defined threshold. It provides a visual warning when the market enters a "Choke Zone," suggesting that the current volatility is too low for a favorable risk-reward ratio。
Real-time HUD Visualization: Renders a dynamic dashboard and on-chart execution lines (Entry & SL) for immediate tactical awareness。
How to Use
Risk Setup: Enter your total trading capital and preferred risk percentage (e.g., 1.5%) in the settings。
Logic Selection: Select your desired SL source (Range, ATR, or Structural) based on the current market environment。
Execution: Use the calculated "Suggested Quantity" displayed on the dashboard to input into your exchange interface。
產品概述
V-Max 加密貨幣風控計算機 是一款技術性風險管理儀表板,旨在自動化執行紀律所需的複雜計算。它作為一個實時的「物理風險引擎」,幫助交易者將倉位規模與客觀的市場波動率掛鉤,而非憑情緒操作。
核心技術邏輯
定量倉位計算:引擎精確計算交易數量,確保每筆交易的美元風險始終保持恆定。
多模式波動率止損:提供三種不同邏輯(3M Range, ATR, 結構高低點)來計算風險邊界。
低波動「窒息區」監控:當市場進入波動極低的「窒息區」時發出警告,提醒交易者目前的風險報酬比統計上不利。
Access & Support
This script is published as a Free Public Utility in the TradingView Library. Disclaimer: Past performance does not guarantee future results. This tool provides technical analysis only and does not offer financial advice.
V-Max Strategic Horizon: Cross-TF Coordinate Sync (Public EditioOverview
The V-Max Strategic Horizon is a technical visualization utility designed to solve the problem of coordinate drift during multi-timeframe analysis. It serves as a "Physical Coordinate Anchor," ensuring that high-level resistance and support boundaries from macro timeframes (e.g., 1H, 4H, or 1D) remain strictly locked and visible even when the trader scales down to 1M or 3M execution charts.
Core Technical Logic
Timeframe Anchoring Engine: The script utilizes request.security with a fixed lookback_cnt to pull the absolute highest and lowest price points from a specified anchor timeframe.
Absolute Coordinate Locking (Zero-Drift): Unlike manual horizontal lines that may become misaligned, this tool employs the line.new system with extend.both logic. This ensures the horizons are mathematically tied to the price scale, providing a consistent strategic reference across all chart resolutions.
High-Speed Computational Logic: To prevent the "Script Timeout" errors common in multi-timeframe indicators, the v11.0 engine eliminates iterative loops, favoring vectorized calculations for real-time responsiveness.
Dynamic Metadata Labeling: The script features an automated labeling system that dynamically identifies the source of the data (e.g., "1H Anchor") and displays the precise price coordinate, reducing cognitive load during high-frequency trading.
How to Use
Set Your Anchor: Choose your strategic timeframe (e.g., 1H for day trading, 1D for swing trading) in the settings.
Define the Scan Range: Adjust the lookback count to determine the "strength" of the historical horizon.
Execute with Context: Watch how the price interacts with the "Red" (Resistance) and "Green" (Support) horizons on your 3M chart to identify macro-rejections or breakouts.
產品概述
V-Max 戰略地平線 是一款解決多時框分析中座標位移問題的技術工具。它作為「物理座標錨點」,確保大週期(如 1H、4H 或 1D)的壓力與支撐邊界,在交易者切換至 1M 或 3M 執行圖表時,依然嚴格鎖定且清晰可見。
核心技術邏輯
時框錨定引擎:利用跨時框數據抓取技術,獲取指定基準時區的絕對價格極值。
絕對座標鎖定(零位移):採用 line 渲染系統配合同步延伸邏輯,確保地平線在數學上與價格刻度綁定,提供一致的戰略參考。
極速運算邏輯:v11.0 引擎優化了跨時框數據處理,消除了複雜迴圈,確保在短線圖表上實現零延遲性能。
Access & Support
This script is published as a Free Public Utility in the TradingView Library. Disclaimer: For technical analysis purposes only.
Advanced Power Index (GGE)# Advanced Power Index (GGE)
## Overview
The Advanced Power Index is a momentum oscillator that provides faster and more responsive signals compared to traditional RSI indicators. It uses direct summation calculations instead of exponential smoothing, making it particularly effective for short to medium-term trading.
## Key Features
- **Faster Response**: Reacts more quickly to price changes than standard RSI
- **Clearer Signals**: Provides sharper, more defined momentum shifts
- **Customizable Levels**: Overbought (68) and Oversold (32) zones
- **Visual Alerts**: Color-coded plot and background highlighting for critical zones
- **Adaptive**: Works well in both trending and ranging markets
## How It Works
The indicator calculates the ratio between positive and negative price changes over a specified period, converting this into a 0-100 scale oscillator. Unlike traditional RSI which uses Wilder's smoothing method, this approach delivers more immediate signals for momentum changes.
## Trading Applications
### 1. Overbought/Oversold Strategy
- **Oversold (< 32)**: Potential buying opportunity when indicator rises back above 32
- **Overbought (> 68)**: Potential selling opportunity when indicator falls back below 68
### 2. Midline Crossovers
- **Above 50**: Bullish momentum, consider long positions
- **Below 50**: Bearish momentum, consider short positions
### 3. Divergence Trading
- **Bullish Divergence**: Price makes lower lows while indicator makes higher lows
- **Bearish Divergence**: Price makes higher highs while indicator makes lower highs
### 4. Trend Following
- In uptrends: Use pullbacks to the 50 level as entry points
- In downtrends: Use rallies to the 50 level as exit/short points
## Color Coding
- **Green**: Strong bullish momentum (> 68)
- **Red**: Strong bearish momentum (< 32)
- **Yellow**: Neutral zone (32-68)
## Settings
- **Period**: Default 14, adjustable based on your trading timeframe
- **Price Type**: Close, Open, High, Low, or custom source
- **Highlight Zones**: Toggle background highlighting for critical levels
## Best Timeframes
- Most effective on 5-minute to 4-hour charts
- Ideal for day trading and scalping strategies
- Can be combined with trend indicators for confirmation
## Tips for Use
- Don't use in isolation - combine with volume, support/resistance levels
- Works best in liquid, actively traded markets
- Consider using alongside moving averages or MACD
- Always implement proper risk management and stop-losses
## Advantages Over Standard RSI
✓ Faster signal generation
✓ Less lag in volatile markets
✓ Better suited for short-term trading
✓ Clearer momentum shifts
✓ More responsive to sudden price changes
---
**Note**: No indicator is perfect. Always use proper risk management and combine multiple forms of analysis before making trading decisions.
**Disclaimer**: This indicator is for educational and informational purposes only. Past performance does not guarantee future results. Trading involves substantial risk of loss.
Execution-Weighted Market Regime Map (EWRM)Overview
The Execution-Weighted Market Regime Map is designed to answer a simple question:
“Is this market worth trading right now, or is it mostly noise and costs?”
Instead of focusing only on trend vs range, it evaluates whether conditions are likely to:
offer clean, follow-through price movement
chop back and forth
be dominated by costs like spread and slippage
It is meant for day traders and swing traders who want to choose when to trade, not just where to enter .
Core idea
Most indicators try to predict direction.
EWRM focuses on tradability.
It highlights:
when the market moves cleanly and is easier to execute
when volatility is unstable and unreliable
when “cost of trading” (spread and slippage) eats potential profit
The indicator shows this using:
a visual dashboard
background color changes
clear regime labels
Key concepts in plain language
SRR – Spread-to-Range Ratio
How big the trading costs are compared to how much price is moving.
High SRR = the market moves little but costs you a lot → bad environment.
Low SRR = price moves much more than it costs to trade → better environment.
PEI – Pullback Efficiency Index
Measures how “clean” trends are.
If pullbacks lead to smooth continuation, PEI is high.
If pullbacks constantly fail and reverse, PEI is low.
SRP – Slippage Risk Proxy
Estimates how likely you are to get worse fills than expected.
Fast spikes, thin liquidity zones, and whipsaw behavior increase SRP.
What EWRM helps you do
avoid overtrading during messy conditions
size up when conditions are smooth and directional
identify when volatility is expanding or collapsing
adapt behavior by time of day (open, midday, close)
How it works at a high level
It measures how much the market is moving
It checks whether volatility is stable or chaotic
It estimates how expensive and difficult execution is
It breaks the day into premarket, open, midday, and power hour
It combines all of this into an overall “regime” label
It colors the background or dashboard so you can read the state instantly
There are no buy/sell arrows. It is a decision-support tool, not a signal generator.
How to use it
trade more when conditions are clean and execution-friendly
stand aside when cost and noise dominate movement
prefer trend setups when trend regimes are detected
stay cautious when regime flips frequently
Think of it as a weather map for the market, not a GPS.
Inputs and parameters
Core settings
Realized Volatility Length – how fast the tool reacts to volatility changes
Volatility Stability Length – how stable/unstable volatility appears
ATR Length – used to scale and normalize movement
General Lookback – how much history is analyzed
Session settings
Premarket
Opening drive
Midday
Power hour
These let the tool treat each time window differently, since behavior changes through the day.
Cost settings
Estimated Spread – approximate buy/sell price difference
Estimated Slippage – expected extra cost from fast movement
These make the tool focus on realistic, after-cost trading conditions .
Visual settings
toggle dashboard
toggle background shading
toggle regime labels
choose X/Y position of the panel
Limitations
uses estimates of spread and slippage, not live order-book data
cannot remove all uncertainty
best used as a filter, not a trading system
Suggested use
filter out bad environments
increase selectivity
align position size with regime quality
combine with your own strategy or entries
StoxAI Magic Trend Indicator V5- Added Alert Functionality for Trend Change
- Adjustments in Neutral Range of some Indicators like RSI etc.
- Adjustment in fonts to make it more readable.
Ultra Position Calculator v1 Ultra Position Calculator is a professional-grade, interactive risk management tool designed for speed and precision.
Stop calculating position sizes manually or guessing your leverage. This tool allows you to define your trade setup directly on the chart by simply clicking, and it instantly calculates the exact position size needed to adhere to your fixed risk.
Key Features
1. Interactive Click-to-Trade
* No need to type numbers manually.
* Simply click 3 times on the chart to set your levels: Entry , Stop Loss , and Take Profit .
2. Auto Position Sizing
* Input your fixed risk amount (e.g., $100).
* The indicator automatically calculates the required Position Size (USDT) to ensure you never lose more than your set risk.
3. Pro Dashboard
* High-Contrast UI: Designed with a solid dark gray background and high-contrast text for maximum readability.
* Profit Preview: Instantly see your potential profit (in USDT) if your TP is hit.
* Risk/Reward Ratio: Automatically calculates and displays the R:R ratio of your setup.
4. Visual Clarity
* Plots clear Entry (White), Stop Loss (Red), and Take Profit (Green) lines on the chart for visual confirmation.
---
How to Use
1. Add to Chart: Add the indicator to your chart.
2. Set Levels: The cursor will turn into a crosshair. Click on the chart in this order:
* 1st Click: Entry Price
* 2nd Click: Stop Loss Price
* 3rd Click: Take Profit Price
3. Check Dashboard: Look at the bottom-right panel to see your calculated Open Size .
4. Adjust Risk: Open settings to change your "Risk per Trade" (default is $100).
---
Why use this?
Professional trading is about risk management. This tool removes the friction of calculating lot sizes, allowing you to focus on price action and execution speed.
Created for the Phoenix Capital community.
ATR Tick Targets (Daily + Intraday)ATR Tick Targets (Daily + Intraday)
This indicator calculates ATR-based tick targets and stops using both intraday ATR and daily ATR, then converts the result directly into tick distances relative to the current price.
It’s designed for traders who think in ticks rather than raw price units, especially futures traders (e.g., MGC, ES, NQ, CL, etc.).
🔍 What it does
✔️ Calculates:
Intraday ATR
Daily ATR
A combined ATR value (user-selectable)
✔️ Converts ATR → ticks using the symbol’s minimum tick size
✔️ Plots:
ATR-based long TP / SL
ATR-based short TP / SL
✔️ Displays:
tick distances for TP and SL
ATR values used in calculation
optional label shifted to the right of price
⚙️ ATR combination methods
You can choose how ATR is derived:
Intraday only
Daily only
Average (default)
Max (more conservative stops / larger targets)
This allows you to match your volatility model to your trading style.
🎯 Typical use cases
This tool is useful if you:
set fixed tick SL/TP from ATR
scale target size with volatility
trade futures or tick-based markets
want a volatility-aware RR framework
want targets that expand in trends and contract in chop
It does not generate trade signals. It simply provides objective ATR-based distances that you can plug into your own strategy.
👁️ Visual control
Options include:
show/hide lines
show only current + previous bar
show full historical levels
toggle long/short model independently
offset info label to avoid covering candles
⚠️ Notes
Works on any timeframe
Tick values depend on the symbol’s minimum tick size
Intended for analysis, not guaranteed execution distances
SterlCore FX [JOATSterlCore FX Matrix is a multi-timeframe forex indicator that integrates market structure analysis, central bank policy proxies, currency strength correlation, session-based liquidity tracking, and volatility diagnostics into a single overlay system.
Note: This script is published as an invite-only INDICATOR. It does not generate backtesting results or automated trade execution. Access requires authorization through the script's access control settings.
## Why This Script Merits Invite-Only Protection
This indicator combines multiple analytical dimensions that individually exist as separate tools across the trading community. The value proposition lies in the specific integration methodology and composite scoring system that synthesizes:
Multi-timeframe EMA lattice with adaptive ATR channels for structure analysis
Central bank policy pressure assessment using normalized currency index calculations
Real-time currency strength matrix across eight major currencies with correlation intelligence
Session-specific VWAP calculations with drift metrics and range analysis
Composite macro confluence scoring that weights and combines all analytical modules
The proprietary elements include the mathematical weighting system for the macro confluence score, the specific normalization methods for currency strength calculations, and the integration logic that prevents conflicting signals across modules. While individual components like EMAs and RSI are standard, their specific combination, the composite scoring methodology, and the multi-module integration represent original development work that justifies source code protection.
---
## How Components Work Together
The indicator's value comes from how its modules interact, not from any single component:
Data Flow:
1. Multi-timeframe EMAs establish directional bias across strategic, tactical, and execution timeframes
2. Currency strength matrix identifies which currencies are strengthening/weakening across the broader market
3. Policy proxies assess central bank pressure differentials between base and quote currencies
4. Session VWAPs track intraday institutional positioning and drift
5. Correlation grid monitors whether related pairs confirm or contradict the current pair's signals
6. Momentum and volatility filters ensure signals only fire during favorable market conditions
Integration Logic:
Each module produces a normalized score (-1 to +1). These scores are weighted and combined into the macroConfluence composite:
Structure score receives highest weight (50%) as the primary trend filter
Carry composite (30%) captures policy-driven flows
Currency strength spread (20%) validates pair-specific momentum
Momentum, liquidity, session drift, and correlation act as modifiers that can dampen or amplify signals
Why This Integration Matters:
A standard EMA crossover might signal "buy" while currency strength shows the base currency weakening, session VWAP shows price below fair value, and correlation pairs are diverging. The composite scoring system catches these conflicts and reduces signal confidence accordingly. This multi-dimensional validation is what separates this indicator from simple mashups that display multiple indicators without integration.
---
## Core Functionality
This indicator addresses the challenge of synthesizing multiple analytical dimensions in forex trading. Currency markets operate across multiple timeframes simultaneously, with central bank policy shifts, cross-pair correlations, and session-specific liquidity patterns all influencing price action. Most indicators focus on a single dimension; this script attempts to integrate several.
What This Script Does:
Multi-timeframe structure analysis using synchronized EMAs across strategic (daily), tactical (4-hour), and execution (hourly) timeframes
Central bank policy pressure assessment through normalized currency index proxies
Real-time currency strength matrix tracking eight major currencies (USD, EUR, GBP, JPY, AUD, CAD, CHF, NZD)
Cross-pair correlation monitoring using configurable reference pairs
Session-based VWAP calculations with drift and range metrics for Asia, Europe, and US trading windows
Market structure detection including break-of-structure (BOS) confirmation, liquidity sweep identification, and RSI-based divergence alerts
Composite macro confluence score combining all modules with configurable weights
---
## Technical Architecture
### Multi-Timeframe Structure Lattice
The indicator calculates exponential moving averages (EMAs) across three timeframes:
Strategic EMA (default: Daily timeframe, 96-period EMA) — Anchors to longer-term monetary drift and macro flows
Tactical EMA (default: 4-hour timeframe, 55-period EMA) — Captures rotational pressure during positioning for economic data or policy events
Execution EMA (default: 1-hour timeframe, 21-period EMA) — Tracks microstructure in real time
An adaptive ATR-based channel surrounds the execution EMA to define a "value corridor" for entry consideration. Break-of-structure (BOS) logic requires price to close beyond prior swing highs/lows by a configurable ATR percentage threshold to reduce false breakouts.
### Policy Gradient & Carry Intelligence
The script uses currency index proxies (defaults: FX_IDC:EURUSD and FX_IDC:USDJPY ) to approximate central bank policy pressure. These proxies are smoothed via EMA and normalized over a lookback period.
The carryComposite calculation blends:
Normalized policy spread between base and quote currency proxies
Policy drift (difference between tactical and macro timeframe policy spreads)
Carry acceleration (rate of change in policy spread)
Carry opportunity signals appear when the composite exceeds a threshold and aligns with structure bias and currency strength dispersion.
### Currency Strength Matrix
Eight currency baskets are tracked using configurable symbol inputs (defaults use $FX_IDC pairs). Each currency's strength is normalized to a -1 to +1 scale relative to its lookback range. The heatmap table displays which currencies are dominating, allowing quick assessment of broad market moves before they appear in individual pair price action.
### Correlation Intelligence Grid
Three reference pairs (defaults: FX_IDC:EURUSD , FX_IDC:GBPUSD , FX_IDC:USDJPY ) are monitored on a higher timeframe. The script calculates correlation coefficients and assigns qualitative descriptors: "Lockstep +", "Aligned +", "Loose", "Aligned -", or "Lockstep -". A correlation consensus value feeds into the macro confluence calculation, dampening signals when reference pairs show conflicting behavior.
### Momentum, Volatility & Liquidity Stack
Dual ROC momentum — Fast and slow rate-of-change calculations prevent whipsaw from single-length oscillators
Volatility pulse — Compares current ATR to a slower baseline; signals require volatility above a floor threshold
Volatility forecast slope — Uses linear regression to project ATR 21 bars ahead, warning of imminent expansion or contraction
Liquidity pulse — Compares current volume to smoothed average; low participation is visually indicated via background tinting
### Session Awareness & Performance Console
Asia, Europe, and US trading sessions are tracked with configurable UTC windows. Each session maintains:
Live VWAP that resets at session open
Drift score quantifying price deviation from VWAP in ATR terms
Range percentage showing session expansion relative to VWAP
Session bias composite feeds into macro confluence to reduce signal aggression when all sessions are mean-reverting.
### Liquidity & Market Structure Suite
Liquidity sweeps — Detects stop hunts above prior highs or below prior lows within a configurable lookback
RSI divergence — Identifies momentum divergences using confirmed pivot points only
Supply/demand zones — Automatically generated from pivot highs/lows and projected forward for a set number of bars
### Macro Alignment Engine
The macroConfluence score combines:
Structure score (weighted average of strategic/tactical/execution EMAs)
Carry composite
Currency strength spread (base minus quote)
Momentum score
Liquidity modifier
Session bias composite
Correlation consensus
Long/short alignment signals require:
Macro confluence exceeding configurable threshold (default: 0.55)
Volatility pulse above floor threshold
Optional: Price above/below tactical EMA (execution filter toggle)
---
## Visual Elements
Candle Coloring: Candles are recolored based on macro confluence: teal for bullish alignment, magenta for bearish alignment, neutral gray for distribution phases.
Background Tint: Volatility intensity modulates chart background; bold colors indicate elevated ATR, washed-out tones suggest choppy conditions.
Labels:
Macro Align Long/Short — Primary entry signals when confluence exceeds threshold
BOS↑/↓ — Break-of-structure confirmation
Sweep↑/↓ — Liquidity sweep detection
RSI Bull/Bear Div — Momentum divergence alerts
Carry Bias± — Policy-strength alignment flags
Session Overlays: Transparent background shading indicates active trading sessions (Asia, Europe, US) with configurable opacity.
Session VWAPs: Each region's VWAP is plotted in a distinct color (teal for Asia, blue for Europe, purple for US).
---
## Dashboard Tables
The indicator includes several configurable information tables:
Intelligence Dashboard (top-right, default) — Displays strategic/tactical/execution bias, policy pressure, currency spread, volatility pulse, policy impulse, session drift, correlation, and macro state
Currency Heatmap (bottom-right, default) — Shows normalized strength values for all tracked currencies
Correlation Grid (bottom-left, default) — Lists reference pairs with correlation coefficients and qualitative states
Session Performance Panel (bottom-center, default) — Displays drift scores and range percentages for each session
Diagnostics Table (top-left, optional) — Additional session range metrics and liquidity pulse values
All table positions are configurable via input settings to avoid overlap with TradingView UI elements.
---
## Configuration Parameters
Multi-Timeframe Structure: All EMA timeframes and lengths are adjustable. Default strategic timeframe is Daily; tactical is 4-hour; execution is 1-hour.
Policy Proxies: Base and quote currency policy proxy symbols are user-configurable. Defaults use $FX_IDC pairs for broad compatibility.
Currency Strength: Each currency's tracking can be toggled on/off. Symbol inputs allow substitution of alternative data sources if default indices are unavailable.
Correlation References: Three reference pair symbols, timeframe, and lookback period are all configurable.
Signal Thresholds: Macro alignment trigger, volatility pulse floor, and carry opportunity threshold are adjustable to match different trading styles.
Visual Controls: Label visibility, zone display, session overlays, VWAP plotting, and all dashboard tables can be toggled independently.
---
## Technical Implementation Notes
Pine Script v6 compliant
All request.security calls use lookahead_off to prevent historical repainting
BOS, divergence, and sweep detection rely on confirmed pivot points only
Session VWAP calculations reset strictly on session boundaries
Zone objects are automatically capped and managed to respect TradingView resource limits
All calculations include division-by-zero guards and NA handling for real-time stability
---
## Usage Considerations
Timeframe Selection: The indicator is designed for forex pairs. Default timeframes (D/4H/1H) are optimized for swing and intraday trading. Scalpers may prefer shorter execution timeframes; position traders may extend strategic to weekly.
Pair Compatibility: Tested on major pairs ( FX:EURUSD , FX:GBPUSD , FX:USDJPY , OANDA:USDCHF , OANDA:AUDUSD , OANDA:USDCAD , OANDA:NZDUSD ), cross-pairs, and FX-derived CFDs. Policy proxy symbols should be adjusted to match your data feed availability.
Session Windows: Default UTC windows (Asia: 22:00-06:00, Europe: 06:00-13:00, US: 13:00-21:00) can be customized. Adjust for daylight saving time transitions as needed.
Signal Interpretation: Macro alignment signals indicate confluence across multiple dimensions but do not guarantee profitable outcomes. Use in conjunction with risk management and market context. The indicator is a tool for analysis, not a standalone trading system.
Resource Usage: With all features enabled, the script operates within TradingView's resource budgets. Disable unused modules (currency tracking, correlation grid, diagnostics) if running multiple instances on a single layout.
---
## Limitations & Compromises
Policy proxies are approximations using currency indices; actual central bank policy requires external economic analysis
Correlation calculations use price-based correlation, which may lag during regime shifts
Session VWAPs reset at session boundaries; overlapping sessions (e.g., London/NY) may show conflicting signals
Supply/demand zones are generated from pivots; false zones may appear during ranging markets
Macro confluence is a composite score; individual components may conflict, requiring discretionary interpretation
The indicator is optimized for trending and rotational markets. Performance may degrade during extended consolidation or during major economic event volatility when multiple central banks act simultaneously.
---
## Alert System
The script includes four alert conditions:
SterlCore FX Bullish Alignment — Fires when macro confluence exceeds threshold with volatility and EMA filters satisfied
SterlCore FX Bearish Alignment — Mirror of bullish logic
SterlCore FX Carry Long — Fires when carry composite, currency spread, and structure align for long bias
SterlCore FX Carry Short — Mirror of carry long logic
All alerts fire once per bar at bar close.
-Made with passion by officialjackofalltrades
V-Max: Crypto Position Master (Risk Engine)V-Max: Crypto Position Master (Risk Engine)
Overview The Crypto Position Master is a technical risk-management dashboard designed to automate the complex calculations required for disciplined trade execution. It serves as a real-time "Physical Risk Engine," allowing traders to align their position sizing with objective market volatility rather than emotional impulse.
Core Mathematical Logic & Features This script focuses on the quantitative aspects of trade planning:
Quantitative Position Sizing: The engine calculates the precise trade quantity using the formula: $(Total Capital \times Risk \%) / Stop Loss Distance$. This ensures that the dollar-risk per trade remains constant regardless of price volatility or leverage.
Multi-Mode Volatility Stop-Loss: The script provides three distinct logic modes for calculating risk boundaries:
3M Average Range: Based on short-term periodic price range.
ATR-Based: Utilizing the Average True Range for smoothed volatility assessment.
Structural Price Action: Identifying key swing highs/lows as defensive anchors.
Visual Execution Projection (HUD): It projects a tactical overlay on the chart, visualizing the entry point, calculated stop-loss, TP1 (partial reduction level), and the final Take Profit target.
Refill Zone Calculation: The engine identifies a "Refill" or "Pullback" zone, calculated as a specific percentage of the distance between the entry and the stop-loss, facilitating laddered entry strategies.
Low-Volatility "Choke Zone" Monitor: The script continuously compares current 3-minute price action against user-defined volatility thresholds. It alerts the user when the market enters a "Choke Zone," where the risk-reward ratio is statistically unfavorable.
How to Use
Enter your total trading capital and preferred risk percentage per trade in the settings.
Select your desired Stop-Loss source logic.
Use the calculated "Quantity" and HUD levels displayed on the dashboard to execute your trade through your preferred exchange.
產品概述 Crypto Position Master 是一款技術性風險管理儀表板,旨在自動化執行紀律所需的複雜計算。它作為一個實時的「物理風險引擎」,幫助交易者將倉位規模與客觀的市場波動率掛鉤,而非憑情緒操作。
核心數學邏輯與功能 本腳本專注於交易規劃的量化層面:
定量倉位計算: 引擎使用公式 $(總資金 \times 風險 \%) / 止損距離$ 計算精確的交易數量。這確保了無論價格波動或槓桿倍數如何,每筆交易的美元風險始終保持恆定。
多模式波動率止損: 提供三種不同的邏輯來計算風險邊界:3M 平均波幅、ATR 指標以及結構性價格高低點。
執行 HUD 投影: 在圖表上實時投影進場點、計算出的止損點、TP1(部分減倉位)以及最終止盈目標。
補倉區 (Refill Zone) 計算: 引擎會識別進場位與止損位之間的「回撤補倉區」,協助優化分批建倉策略。
低波動「窒息區」監控: 持續比較 3 分鐘波幅與設定門檻,當市場進入「窒息區」(風險報酬比統計上不利)時發出警告。
Access & Authorization This is an Invite-Only script. For instructions on how to obtain authorization, please refer to the Signature field in my TradingView profile.
Disclaimer: This script is for technical analysis and educational purposes only. It does not provide financial advice.
Institutional Z-Score Pro
═══════════════════════════════════════════════════════════════════════════════
INSTITUTIONAL Z-SCORE PRO v1.0
Professional Mean Reversion & Momentum Indicator
═══════════════════════════════════════════════════════════════════════════════
SUBTITLE:
Professional Z-Score indicator with 4 calculation methods, regime detection, MTF analysis, quadrant statistics, and win rate tracking. Used by institutional traders.
🎯 OVERVIEW
The Institutional Z-Score Pro transforms traditional Z-Score analysis into a
professional-grade trading system used by quantitative hedge funds and
institutional traders. This indicator identifies statistical extremes, measures
momentum shifts, and provides probability-based edge calculations across
multiple timeframes and market regimes.
Unlike basic Z-Score indicators, this version incorporates robust statistical
methods, adaptive calculations, regime detection, and comprehensive performance
tracking to give you the edge professional traders use.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✨ KEY FEATURES
📊 FOUR Z-SCORE CALCULATION METHODS:
• Standard (SMA/StdDev) - Traditional approach
• Robust (MAD) - Median Absolute Deviation for outlier resistance
• Exponential (EWMA) - Faster adaptation to trends
• Volume-Weighted - Institutional footprint tracking
🔄 ADAPTIVE TECHNOLOGY:
• Volatility-adjusted lookback periods
• Regime-aware threshold adjustments
• Dynamic smoothing based on market conditions
🎭 REGIME DETECTION SYSTEM:
• ADX-based trend classification (Uptrend/Downtrend/Range)
• Volatility regime identification (High/Normal/Low Vol)
• Adaptive thresholds for different market conditions
📈 MULTI-TIMEFRAME ANALYSIS:
• Higher timeframe Z-Score overlay
• MTF trend alignment indicators
• Cross-timeframe confirmation signals
📊 ADVANCED QUADRANT ANALYSIS:
• Real-time position tracking (4 quadrants)
• Win rate calculation per quadrant
• Average return per quadrant
• Distribution percentage analysis
• Expected value calculations
📉 PERCENTILE RANKING:
• Historical context (252-day rolling)
• Current Z-Score percentile position
• Extreme move identification
🎨 PROFESSIONAL VISUALIZATION:
• Color-coded Z-Score plot by regime
• Momentum histogram (Z-Change)
• Standard deviation bands (±1σ, ±2σ)
• Dynamic extreme zones
• Filled probability zones
• Two comprehensive data tables
🔔 SIX ALERT CONDITIONS:
• Extreme Overbought/Oversold
• Long/Short Reversal Signals
• Bullish/Bearish Momentum Confirmation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 METHODOLOGY
WHAT IS Z-SCORE?
Z-Score measures how many standard deviations a value is from its mean. In
trading, it identifies statistical extremes:
• Z > +2: Price is 2 standard deviations above average (overbought)
• Z < -2: Price is 2 standard deviations below average (oversold)
• Z near 0: Price is near its average (neutral)
ROBUST Z-SCORE (MAD METHOD):
Instead of simple mean/standard deviation (susceptible to outliers), the MAD
(Median Absolute Deviation) method uses:
• Median instead of mean (more robust)
• MAD instead of standard deviation (outlier resistant)
• Used by quantitative hedge funds for options pricing
VOLUME-WEIGHTED Z-SCORE:
Gives more weight to high-volume bars, revealing institutional activity:
• VWAP-based calculation
• Identifies smart money moves
• Better for options and derivatives trading
ADAPTIVE LOOKBACK:
Automatically adjusts calculation period based on volatility:
• High volatility → Shorter lookback (more responsive)
• Low volatility → Longer lookback (more stable)
• Reduces false signals across market conditions
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 QUADRANT ANALYSIS EXPLAINED
The indicator tracks momentum changes through 4 quadrants:
Q1 (Z+, ΔZ+) → Strong Uptrend ⬆⬆
• Both Z-Score and momentum positive
• Trend continuation signal
• Best in trending up markets
Q2 (Z+, ΔZ-) → Potential Top ⬇
• Overbought but momentum fading
• Mean reversion setup
• Best in ranging markets
Q3 (Z-, ΔZ-) → Strong Downtrend ⬇⬇
• Both Z-Score and momentum negative
• Trend continuation signal
• Best in trending down markets
Q4 (Z-, ΔZ+) → Potential Bottom ⬆
• Oversold but momentum improving
• Mean reversion setup
• Best in ranging markets
The table shows COUNT, %, AVERAGE RETURN, and WIN RATE for each quadrant,
allowing you to identify which setups have the best historical edge.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 HOW TO USE
STEP 1: CHOOSE YOUR Z-SCORE METHOD
• Stocks/Forex: Standard or Exponential
• Crypto/Volatile: Robust (MAD)
• Options/High Volume: Volume-Weighted
STEP 2: CONFIGURE TIMEFRAMES
Current TF → Recommended HTF:
• 5min → 1H
• 15min → 4H
• 1H → 1D
• 4H → 1W
• 1D → 1W
STEP 3: UNDERSTAND THE REGIME
Watch the regime indicator in the table:
• UPTREND: Use Q1 signals (trend continuation)
• DOWNTREND: Use Q3 signals (trend continuation)
• RANGE: Use Q2/Q4 signals (mean reversion)
STEP 4: WAIT FOR ALIGNMENT
Best trades occur when:
✓ Z-Score extreme (>2 or <-2)
✓ Momentum confirming (Z-Change aligned)
✓ Correct regime (trending vs ranging)
✓ MTF alignment (same direction on higher TF)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💼 TRADING STRATEGIES
🔵 STRATEGY 1: MEAN REVERSION (Ranging Markets)
Entry Conditions:
• Market Regime: Range (ADX < 25)
• Z-Score < -2 (oversold)
• Z-Change > 0 (momentum turning positive)
• Quadrant: Q4
• MTF: Not in strong downtrend
Entry: Long when all conditions met
Stop: Below recent low or -1.5 ATR
Target: Z-Score = 0 (mean)
Expected: 55-60% win rate
🔴 STRATEGY 2: TREND CONTINUATION (Trending Markets)
Entry Conditions:
• Market Regime: Uptrend (ADX > 25)
• Z-Score > 0 (above average)
• Z-Change > 0 (positive momentum)
• Quadrant: Q1
• MTF: Bullish aligned
Entry: Long pullbacks to +1 Z-Score
Stop: Below 0 Z-Score
Target: Trail with +2 Z-Score
Expected: 60-65% win rate
🟡 STRATEGY 3: EXTREME FADE (High Probability)
Entry Conditions:
• Z-Score > 3.0 (extreme overbought)
• Percentile Rank > 95%
• Volume: High
• Z-Change: Negative (momentum fading)
Entry: Short on first Z-Change < 0
Stop: Above recent high
Target: Z-Score = +1
Expected: 65-70% win rate
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS GUIDE
CORE Z-SCORE SETTINGS:
• Z-Score Length: 40 (default), 20-60 for faster/slower
• Source: 'close' for price, 'Returns' for % changes
• Z-Score Method: Start with 'Standard', try others for your asset
• Adaptive Lookback: Enable for automatic regime adjustment
• Smoothing Factor: 2.0 (higher = more smooth)
MULTI-TIMEFRAME:
• Enable MTF: Toggle on for confirmation
• Higher Timeframe: 3-5x your current timeframe
• Show MTF Alignment: Visual confirmation
REGIME DETECTION:
• Enable: Always recommended
• ADX Length: 14 (standard)
• Trend Threshold: 25 (lower = more trends detected)
• Volatility Length: 20
QUADRANT ANALYSIS:
• Lookback Bars: 100-500 (more = better statistics)
• Show Table: Display quadrant metrics
• Show Probabilities: Display win rates
VISUALIZATION:
• Show Bands: ±1σ, ±2σ reference levels
• Show Extreme Zones: Dynamic overbought/oversold
• Color by Regime: Visual regime identification
• Extreme Threshold: 2.5 (adjust per asset)
ADVANCED METRICS:
• Show Percentile: Historical ranking
• Percentile Length: 252 (trading days in year)
• Show Edge: Win rates and returns
ALERTS:
• Enable Alerts: Toggle on
• Alert Threshold: 2.0 (lower = more alerts)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 ALERT CONDITIONS
The indicator provides 6 built-in alert conditions:
1. EXTREME OVERBOUGHT: Z-Score > threshold
Use: Fade extremes, prepare for reversal
2. EXTREME OVERSOLD: Z-Score < -threshold
Use: Buy oversold, mean reversion setup
3. REVERSAL LONG SIGNAL: Oversold + momentum turning up
Use: High-probability long entries
4. REVERSAL SHORT SIGNAL: Overbought + momentum turning down
Use: High-probability short entries
5. MOMENTUM LONG: Strong uptrend confirmed
Use: Trend continuation longs
6. MOMENTUM SHORT: Strong downtrend confirmed
Use: Trend continuation shorts
To set alerts: Right-click chart → Add Alert → Select condition → Create
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 READING THE TABLES
QUADRANT TABLE (Top Right):
• Q1-Q4: Quadrant identifier
• Type: Z-Score and momentum direction
• Count: Number of occurrences
• %: Distribution percentage
• Avg Return: Mean return per quadrant (YOUR EDGE!)
• Win %: Win rate per quadrant (YOUR PROBABILITY!)
Focus on quadrants with:
✓ High win rate (>55%)
✓ Positive average return
✓ Current regime alignment
METRICS TABLE (Top Left):
• Current Z-Score: Real-time Z value
• Percentile Rank: 0-100% (95%+ = extreme)
• HTF Z-Score: Higher timeframe value
• MTF Alignment: Timeframe agreement
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎓 BEST PRACTICES
✅ DO:
• Use regime filters (don't fight strong trends)
• Combine with volume analysis
• Respect multi-timeframe alignment
• Track your quadrant edge over time
• Use appropriate Z-Score method for your asset
• Set alerts for extreme moves
• Adjust thresholds per asset volatility
❌ DON'T:
• Trade against strong trends without confirmation
• Ignore regime indicators
• Use same settings for all assets
• Expect 100% win rate (no indicator guarantees this)
• Trade every signal (be selective)
• Ignore risk management
• Trade during major news events
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 IDEAL FOR:
✓ Options traders (identifies statistical extremes)
✓ Mean reversion strategies
✓ Trend continuation confirmation
✓ Swing trading (multi-day holds)
✓ Day trading with proper timeframe selection
✓ Statistical arbitrage
✓ Quantitative trading approaches
✓ Risk-managed trading systems
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📚 ASSET-SPECIFIC RECOMMENDATIONS
STOCKS (S&P 500, Large Cap):
• Method: Standard or Exponential
• Length: 40-60
• Extreme Threshold: 2.5
• HTF: 4H or 1D
CRYPTOCURRENCY (BTC, ETH):
• Method: Robust (MAD)
• Length: 30-40
• Extreme Threshold: 3.0-3.5
• HTF: 4H or 1D
FOREX (EUR/USD, GBP/USD):
• Method: Standard
• Length: 40-50
• Extreme Threshold: 2.0-2.5
• HTF: 4H
COMMODITIES (Gold, Oil):
• Method: Volume-Weighted or Standard
• Length: 40-60
• Extreme Threshold: 2.5-3.0
• HTF: 1D
INDICES (SPX, NDX):
• Method: Volume-Weighted
• Length: 40-50
• Extreme Threshold: 2.5
• HTF: 4H or 1D
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ IMPORTANT NOTES
WHAT THIS INDICATOR DOES:
✓ Identifies statistical extremes
✓ Quantifies momentum changes
✓ Provides probability-based edge
✓ Adapts to market regimes
✓ Tracks historical performance
WHAT THIS INDICATOR DOESN'T DO:
✗ Guarantee profits (no indicator does)
✗ Replace risk management
✗ Work in all market conditions
✗ Account for fundamental events
✗ Predict black swan events
LIMITATIONS:
• Less effective during breaking news
• Requires sufficient historical data (100+ bars)
• Performance varies by asset and timeframe
• Not suitable for very low liquidity assets
• Should be combined with proper risk management
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔧 TECHNICAL SPECIFICATIONS
• Pine Script Version: 6
• Overlay: No (separate pane)
• Max Bars Back: 500
• Real-time Calculation: Yes
• Repainting: No (confirmed bars only)
• MTF Security: Lookahead disabled
• Performance: Optimized for speed
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📖 FURTHER READING
To understand the statistical concepts:
• Z-Score and Standard Normal Distribution
• Median Absolute Deviation (MAD)
• Exponentially Weighted Moving Average (EWMA)
• Volume-Weighted Average Price (VWAP)
• Average Directional Index (ADX)
Trading Applications:
• Mean Reversion Strategies
• Statistical Arbitrage
• Quantitative Trading Systems
• Options Volatility Trading
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 TIPS & TRICKS
OPTIMAL USAGE:
1. Start with default settings
2. Observe for 50+ bars to build statistics
3. Analyze which quadrants perform best on your asset
4. Adjust extreme threshold based on volatility
5. Enable MTF for higher probability setups
6. Use alerts to catch opportunities
COMBINING WITH OTHER INDICATORS:
• RSI: Confirm overbought/oversold
• Volume: Validate signal strength
• Support/Resistance: Entry/exit levels
• Moving Averages: Trend confirmation
BACKTESTING TIPS:
• Review quadrant statistics after 100+ trades
• Focus on positive expectancy quadrants
• Adjust strategy based on regime performance
• Track win rate and average return separately
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🆘 TROUBLESHOOTING
ISSUE: No signals appearing
SOLUTION: Check if extreme threshold is too high, reduce to 2.0
ISSUE: Too many false signals
SOLUTION: Enable regime detection, increase threshold, enable MTF
ISSUE: Quadrant statistics all zero
SOLUTION: Wait for 100+ bars to accumulate data
ISSUE: HTF Z-Score shows N/A
SOLUTION: Ensure MTF is enabled and timeframe is valid
ISSUE: Win rates seem low
SOLUTION: Different market conditions favor different quadrants, analyze by regime
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📞 SUPPORT & UPDATES
For questions, suggestions, or bug reports:
• Comment below
• Message me directly
• Check for updates regularly
PLANNED ENHANCEMENTS:
• Machine learning integration
• Additional statistical methods
• Backtesting module
• Custom alert messages
• More regime types
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚖️ DISCLAIMER
This indicator is for educational and informational purposes only. It should
not be considered financial advice. Trading involves substantial risk of loss.
Past performance does not guarantee future results. Always conduct your own
research and consider consulting with a licensed financial advisor before
making investment decisions.
The indicator provides statistical analysis and probability-based signals, but
cannot predict future price movements with certainty. Use proper risk
management, position sizing, and stop losses on all trades.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🙏 CREDITS & ACKNOWLEDGMENTS
Statistical methods inspired by quantitative finance research and institutional
trading practices. Special thanks to the TradingView community for feedback
and suggestions.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 VERSION HISTORY
v1.0 - Initial Release
• 4 Z-Score calculation methods
• Adaptive lookback periods
• Regime detection system
• Multi-timeframe analysis
• Quadrant analysis with statistics
• Percentile ranking
• 6 alert conditions
• Professional visualization
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🌟 If you find this indicator useful, please:
• Give it a like 👍
• Add to favorites ⭐
• Share with fellow traders 🔄
• Leave a comment with your feedback 💬
Thank you for using Institutional Z-Score Pro!
Happy Trading! 🚀📈
═══════════════════════════════════════════════════════════════════════════════
#zscore, #mean #reversion, #momentum, #statistical analysis, #regime detection, #multi-timeframe, #quantitative, #institutional, #probability, #statistics, #overbought, #oversold,
RONBO UT Bot + BUY - SELL 4h rangebased on the UT BOT this will work on the 4 h range
it will set a box with calculations between BUY and SELL
RONBO UT Bot + SELL - BUY 4h rangebased on the UT BOT in the 4 hr range
it will set a box with calculations between the SELL and BUY moments
so you can see the profit if you SELL and BUY
ROBO UT Bot + BUY - SELL rangebased on the UT BOT in the 4 hr range
it will set a box with calculations between the SELL and BUY moments
so you can see the profit if you SELL and BUY
MC Stats V.51. Automatically draws the opening price line of the first H4 candlestick of the day and changes it at the start of the new day.
2. Automatically draws a line of +/- 500 points from the opening price line.
3. Displays the number of pips of the candlestick body and the total including the wick in real-time.
1. ตีเส้นราคาเปิดของ H4 แท่งแรกของวัน โดยอัตโนมัติและเปลี่ยนเม่ื่อเริ่มวันใหม่
2. ตีเส้น +-500 จุดจากเส้นราคาเปิด โดยอัตโนัมัติ
3. แสดงจำนวน pip ของเนื้อเทียนและทั้งหมดรวมไส้เทียน แบบ Realtime






















