Indicator

Valar PA ToolkitValar PA Toolkit (VPATK) 是一套为 Al Brooks 价格行为交易者打造的多合一工具箱,七个模块各司其职,均可独立开关和配色,轻量不遮挡裸K。
1. Gap Series 缺口系列 自动标记三种缺口并用色块填充:开盘缺口(相邻K线影线间)、影线缺口(隔一根K线)、实体缺口。每种缺口支持多空方向独立配色、互斥过滤(如实体缺口可排除影线缺口)和独立警报。缺口开着 = 强势,缺口关闭 = 转弱。
2. Bar Counter K线计数 自动检测 session 边界(K线间隔超30分钟视为新时段)并重新编号,仅显示当前时段。支持每隔 N 根显示、重点编号高亮(默认 18/40/60),完美适配 RTH 81-bar 结构定位(B1-18 开盘段 / B19-40 / B41-60 / B61-81 盘尾段)。
3. Moving Average 双EMA 两条独立 EMA,默认 5min 20EMA(蓝)+ 1h 20EMA(红),周期/时间级别/数据源/颜色全可调,时间级别留空则跟随图表。高时间级别数据缺失时自动续算不断线。
4. I & O Bar 内外包K线 标注 Inside Bar(i)、Outside Bar(o)及连续形态:ii/iii、oo/ooo、ioi。五种标注独立配色。IOI 确认后自动替换中间的 o。ii/oo/ioi 都是 Breakout Mode,预警即将突破。
5. BOFT 突破跟随 三根K线结构检测:二号K线收盘突破一号高/低点后,三号K线的跟随分强弱两档(收于二号实体极值内=弱,突破二号极值=强)。多空强弱四色箭头标记,可选背景染色和参考线。强跟随 = 突破大概率走出第二段。
6. CMP K线中点 在最近 N 根K线上画 50% 中点线。Al Brooks 认为 50% 回调是最重要的回调级别,前一根K线中点常是突破单/限价单的入场参考。
7. ATR 面板 右上角表格显示:当前周期 ATR、日线 ATR、前日 ATR、当日波幅。当当日波幅同时超过日线 ATR 和前日 ATR 时数值变红——当日该走的量已走完,警惕追在趋势末端(可挂警报)。
Description
Valar PA Toolkit (VPATK) is an all-in-one toolkit built for Al Brooks price action traders. Seven independent modules, each with its own toggles and colors, designed to stay lightweight and never clutter your naked chart.
1. Gap Series Automatically marks and fills three gap types: Opening Gaps (between adjacent bars), Wick Gaps (one bar apart), and Body Gaps. Each type supports separate bull/bear colors, mutual exclusion filters, and independent alerts. Open gap = strength; closed gap = weakening.
2. Bar Counter Detects session breaks (any gap over 30 minutes starts a new session) and renumbers bars from 1, showing the current session only. Configurable step display and highlighted key bars (default 18/40/60) — perfect for navigating the 81-bar RTH structure (B1-18 open / B19-40 / B41-60 / B61-81 close).
3. Moving Average Two independent EMAs, defaulting to 5min 20EMA (blue) + 1h 20EMA (red). Length, timeframe, source, and color are all adjustable; leave timeframe blank to follow the chart. Auto-continues calculation when higher-timeframe data is missing — no broken lines.
4. I & O Bar Marks Inside Bars (i), Outside Bars (o), and consecutive patterns: ii/iii, oo/ooo, ioi — each with its own color. When an ioi confirms, it automatically replaces the o on the middle bar. ii/oo/ioi are all Breakout Mode patterns signaling an imminent breakout.
5. BOFT (Breakout Follow Through) Three-bar structure detection: after Bar 2 closes beyond Bar 1's high/low, Bar 3's follow-through is graded weak (closes within Bar 2's range) or strong (closes beyond Bar 2's extreme). Four-color arrow markers for bull/bear × weak/strong, with optional background tint and reference lines. Strong follow-through = high odds of a second leg.
6. CMP (Candle Mid Point) Draws the 50% midpoint line on the last N bars. Al Brooks considers the 50% pullback the most important retracement level — the prior bar's midpoint is often the reference for stop/limit entries.
7. ATR Panel Top-right table showing: current TF ATR, daily ATR, previous daily ATR, and today's range. When today's range exceeds BOTH daily ATR and previous daily ATR, the value turns red — the day's expected move is done, don't chase the trend's end (alert included). Indicator

Indicator

THE ULTIMATE INDICATOR @JustinPerezTradesINDEX CAPITAL GROUP & @JUSTINPEREZTRADES PRESENT
SMC + HTF PO3 + Opening Range Breakouts & Targets + Volume Candles
A powerful all-in-one overlay indicator that merges four tools into a single script:
Smart Money Concepts (SMC)
HTF PO3 (Higher Timeframe projected candles)
Opening Range Breakouts & Targets (ORB)
Volume Candles
Everything is organized into clear input groups so you can turn features on or off independently.
1. Smart Money Concepts (SMC)
Internal & Swing Structure → BOS (Break of Structure) and CHoCH (Change of Character)
Order Blocks → Internal and Swing order blocks
Equal Highs / Equal Lows → Liquidity levels
Fair Value Gaps (FVG)
Strong / Weak Highs & Lows
Premium / Discount / Equilibrium Zones
Multi-Timeframe Highs & Lows (Daily, Weekly, Monthly)
Optional SMC trend-based candle coloring
2. HTF PO3
Projects higher-timeframe candles to the right of the chart
Shows Open, High, Low, Close with dashed connector lines
Displays running volume Delta for the current HTF candle
Adjustable number of candles and right-side offset
3. Opening Range Breakouts & Targets (ORB)
Draws the Opening Range (default 30 min or custom session)
Marks OR High, OR Low, and midpoint
Breakout signals (▲ / ▼) with optional Daily Bias filter
Automatic measured targets based on % of Opening Range width
Adaptive or Extended target display
Optional session-based Moving Average (resets at OR start)
4. Volume Candles (New)
Colors candles based on volume strength:
High Volume → Bright green/red
Normal Volume → Standard green/red
Low Volume → Muted gray
Optional small volume labels (e.g. 1.4M, 820K) on high-volume bars
Fully adjustable multipliers and colors
Can be used alone or together with SMC trend coloring
How to Use
Paste the full script into the Pine Editor and click Add to Chart.
Open the indicator settings — features are clearly grouped:
SMC - ...
HTF PO3 - ...
ORB - ...
Volume Candles
Enable only the tools you need to keep the chart clean.
Recommended starting setup:
SMC → Internal + Swing Structure + Internal Order Blocks + Equal Highs/Lows
HTF PO3 → 60-minute (or your preferred HTF), 1–2 candles
ORB → 30-minute range, Breakout Signals on, Targets on (50%)
Volume Candles → Enabled with labels on
Practical Workflow
Mark the Opening Range.
Wait for a breakout signal.
Confirm direction with SMC structure (BOS/CHoCH) and Order Blocks.
Check volume strength on the breakout candle.
Glance at the HTF PO3 projection for higher-timeframe context.
Use Premium/Discount zones for better entry location.
Alerts Included
All original SMC alerts are available:
Internal / Swing BOS & CHoCH
Order Block breakouts
Equal Highs / Lows
Fair Value Gaps Indicator

Strong Dividend Screener | ProjectSyndicateStrong Dividend Screener turns dozens of charts into a single institutional-style dashboard, ranking a curated universe of 40 established, dividend-paying US companies by performance across six timeframes and scoring each one on professional-grade risk metrics — Beta, Sharpe, Sortino, Omega, Z-Score, Kelly, Calmar, and drawdown from the 52-week high — so you can find this year's income-and-growth leaders and weigh their risk-adjusted quality at a glance, all on one clean, sortable panel. Every figure is computed live on the daily timeframe from real price history, not hard-coded, so the board reflects the market as it actually is right now.
💰 Curated 40-Name Dividend Universe — the screener watches a hand-picked list of 40 dividend-paying US stocks that have combined a real distribution policy with genuine 2026 year-to-date price strength: industrials, energy infrastructure, semis, financials, REITs, and consumer names. Instead of flipping through forty charts, you see every name's performance and risk profile side by side and immediately spot who is leading and who is rolling over. Note that dividend policy is the selection criterion for the universe — the panel itself measures price behaviour and risk, not distribution data.
🗓️ Six-Timeframe Performance — each stock is tracked across Week, Month, Quarter, 6-Month, 12-Month, and Year-to-Date returns, so you can separate a one-week catalyst pop from a genuine long-run trend and see momentum building or fading across horizons in a single row.
🧮 Institutional Risk Metrics, Done Properly — beyond raw returns, every name is scored on Sharpe (excess return per unit of total volatility), Sortino (return per unit of downside risk only), Omega (probability-weighted gains versus losses above the risk-free threshold), Z-Score (how stretched the recent move is in standard deviations), and the Kelly fraction (a theoretical optimal-sizing read from return and variance). The stats are annualized from daily returns over a rolling window with a configurable risk-free rate, so the risk picture is consistent and comparable across the whole list.
📉 Off Hi% — Distance From the 52-Week High — a dedicated column shows exactly how far each name sits below its rolling one-year peak, colour-coded on an inverted scale so shallow pullbacks glow amber and deep damage turns red. For an income-oriented portfolio this is where the work happens: a quality payer that is 6% off its high is a very different proposition from one that is 35% off, even when both show a strong YTD number.
⚖️ Calmar Ratio — Return Per Unit of Pain — annualized return divided by the worst 252-day drawdown, giving you return earned against the deepest hole the stock actually put its holders in. For positions you intend to hold and collect from, drawdown tolerance matters more than raw momentum, and Calmar is the cleanest single number for that trade-off.
🎯 Basket-Relative Beta — Beta is measured against an equal-weight basket of the 40 names in the screener, so it tells you how a stock moves relative to this specific dividend-payer cohort rather than a broad index. Beta above 1 swings harder than the group; below 1 is steadier. You control the lookback length used for the beta and correlation calculation.
🌡️ Annualized Weekly Volatility — a dedicated Wk Vol column annualizes the standard deviation of recent weekly returns, giving you a fast read on how violent each name's price action is before you size into it — useful for separating the genuinely defensive compounders from the high-beta cyclicals that happen to pay a distribution.
🔀 Dynamic Sorting — Nine Ways to Rank — sort the entire board by any of the six performance columns plus Sharpe, Calmar, or Off Hi% with a single setting. Rank by YTD to find the year's leaders, by Week to catch what is moving on fresh news, by Calmar to surface the smoothest risk-adjusted compounders, or by Off Hi% to find quality names on a pullback — the table re-ranks instantly.
🎨 Bloomberg-Amber Theme with Colour-Coded Strength — a clean amber-on-black dashboard with a multi-level gradient that runs from bright amber on the strongest gains through to deep red on the steepest losses, so strength and weakness jump out the moment you look at the panel.
🧩 Fully Customizable Dashboard — place the table anywhere on the chart (Top / Middle / Bottom paired with Left / Center / Right), choose your text size (Tiny / Small / Normal / Large), set the sort column, the beta length, and the risk-free rate and periods — all from the settings menu, no code editing required.
🔒 Daily-Timeframe Lock — the screener is built for daily data and will prompt you to switch if you load it on a lower timeframe, so the returns, volatility, and ratios are always calculated on the basis they are designed for.
⚡ Lightweight and Efficient — the whole 40-name board is built from a tight, well-organized script that runs smoothly on PulseWire, with a clean merged title heading and an alternating-row layout for easy reading. Delisted, halted, or renamed tickers degrade gracefully to blank rows rather than breaking the panel.
🎯 Why this is different — most dividend watchlists show you a yield number and stop there, which tells you nothing about whether the underlying business is actually working. This screener puts six horizons of performance and a full institutional risk stack — Sharpe, Sortino, Omega, Z-Score, Kelly, Calmar, Beta, annualized volatility, and drawdown from the highs — for forty established payers on one sortable, colour-coded panel, so you are ranking income candidates by risk-adjusted quality and trend health rather than by headline yield alone.
🚀 Where to use it — apply it to any daily chart to monitor the dividend-paying leadership group as a whole. Use it for top-down scanning, sector rotation, drawdown screening, and quality ranking before you drill into an individual name's chart for entry timing and pair it with your own yield and payout-ratio research.
⚠️ Important — this is a research and decision-support dashboard, not a buy/sell system, and it makes no performance guarantees. The panel does not fetch or display live dividend yield, payout ratio, or distribution history — PulseWire limits a script to 40 external data requests, and the 40-name universe consumes all of them, so every column is derived from price. Treat dividend policy as the reason these names are on the list and verify current yield, payout ratio, and coverage independently before acting. The universe is a snapshot of this year's dividend-paying momentum leaders and will drift over time; the board re-ranks live, but membership is fixed until updated. A high YTD number does not confirm a safe or sustainable distribution — strong price performance and dividend durability are separate questions. All figures are historical and descriptive, computed from past price data, and say nothing certain about the future. Risk metrics like Sharpe, Sortino, Omega, Z-Score, Kelly, and Calmar are simplified, assumption-based estimates and should inform your judgment, not replace it. Always pair the screener with your own analysis and risk management. Indicator

Quant Regime Oscillator [JOAT]════════════════════════════════
QUANT REGIME OSCILLATOR
════════════════════════════════
A separate-pane composite oscillator that fuses two classic quant signals — how stretched price is from its own mean, and how strong its momentum is relative to recent volatility — into a single bounded line from -100 to +100 . A Kaufman Efficiency Ratio regime filter then decides whether the market is Trending , Mean-Reverting , or Random , so signals only fire when conditions actually support them.
▎ WHAT IT DOES
It condenses mean-deviation and normalized momentum into one clean, smoothed oscillator, classifies the current market regime, and prints sparing BUY / SELL labels only at stretched extremes that align with a trend. A dashboard summarizes every moving part at a glance.
▎ HOW IT WORKS
• Z-Score component — price is measured against its moving mean and standard deviation, then clamped at ±3σ and rescaled to ±100. This captures how far price has deviated from equilibrium.
• Momentum component — rate-of-change is normalized by its own standard deviation (volatility-adjusted), clamped at ±3σ and rescaled to ±100. This measures thrust independent of raw price size.
• Composite blend — the two components are combined using your chosen weights, EMA-smoothed, and clamped into a single -100..+100 oscillator , with an EMA signal line layered on top.
• Regime filter — a Kaufman Efficiency Ratio (directional change ÷ total path) scores 0..1. High values = trending; low values = mean-reverting; in-between = random. Direction is read from price versus its mean.
• Signal gate — a raw BUY needs the oscillator to cross up over its signal, to have recently visited oversold , and to sit inside a trending-up regime. SELL is the mirror. A cooldown enforces a minimum bar gap so labels stay few and never stack.
• Divergence — pivot highs/lows on the oscillator are compared to price pivots to flag regular bullish and bearish divergences.
▎ HOW TO USE IT
• Read the oscillator like a bounded momentum gauge — blue above zero, magenta below. Pushes into the dotted ±80 extreme bands mark exhaustion zones.
• BUY pills appear at oversold turns inside up-trends; SELL pills at overbought turns inside down-trends. Treat them as context-filtered setups, not standalone triggers.
• Use the regime as your playbook: in Trending , favor pullback continuation; in Mean-Rev , fade the band extremes; in Random , stand aside or size down.
• The subtle pane background tint mirrors the regime — blue for trending-up, magenta for trending-down, grey for mean-reverting.
• Divergence dots on the oscillator hint at weakening thrust; combine with your own structure and risk levels.
▎ KEY SETTINGS
• Engine — Z-Score length, Momentum (ROC) length, per-component weights, oscillator smoothing, and signal-line length.
• Regime — Efficiency Ratio window plus the Trending and Mean-Revert thresholds that split the three regimes.
• Signals — Overbought / Oversold levels, OB/OS recall window, minimum bars between signals (cooldown), and divergence pivot length.
• Visuals — toggle the gradient fill, oscillator line, signal line, regime background, and signal markers.
• Dashboard — show/hide, position, and text size.
▎ DASHBOARD
A compact blue/magenta panel reporting: the current bias (Long / Short / Flat), the composite score, raw Z-Score in σ, the momentum value, the active regime with a strength percentage, the OB/OS state , any live divergence , and the current signal status.
▎ ALERTS
• QRO — Long — oscillator crossed up from oversold in a trending-up regime.
• QRO — Short — oscillator crossed down from overbought in a trending-down regime.
• QRO — Any Signal — fires on either a long or short signal.
▎ NOTES
• Works on all timeframes and all assets — the oscillator is self-normalizing, so it adapts to the instrument automatically.
• Every visual layer is toggleable for a clean chart; the cooldown keeps markers sparse on any timeframe.
• Signals confirm on the closed bar and are non-repainting once the bar completes; divergence markers reference confirmed pivots offset back by the pivot length.
For research and education only. This is not financial advice. No indicator can predict the future, and past behavior does not guarantee future results. Always do your own analysis and manage your own risk.
Made with passion by JackOfAllTrades ⚡
Indicator

Strategy

FIROZ RSI MACD SIGNAL//@version=6
indicator("FIROZ RSI MACD SIGNAL", overlay=true)
//====================
// INPUTS
//====================
rsiLength = input.int(14, title="RSI Length")
rsiOB = input.int(70, title="RSI Overbought")
rsiOS = input.int(30, title="RSI Oversold")
fastLen = input.int(12, title="MACD Fast")
slowLen = input.int(26, title="MACD Slow")
signalLen = input.int(9, title="MACD Signal")
//====================
// RSI
//====================
rsi = ta.rsi(close, rsiLength)
//====================
// MACD
//====================
= ta.macd(close, fastLen, slowLen, signalLen)
//====================
// BUY / SELL
//====================
buySignal = ta.crossover(hist, 0) and ta.crossover(rsi, rsiOS)
sellSignal = ta.crossunder(hist, 0) and ta.crossunder(rsi, rsiOB)
//====================
// TREND
//====================
trend = hist >= 0 ? "Bullish" : "Bearish"
//====================
// CONFIDENCE
//====================
int confidence = 60
if buySignal
confidence := 95
else if sellSignal
confidence := 95
else if hist > 0 and rsi > 50
confidence := 80
else if hist < 0 and rsi < 50
confidence := 80
else
confidence := 60
//====================
// BUY LABEL
//====================
plotshape(
buySignal,
title="BUY",
style=shape.labelup,
location=location.belowbar,
color=color.green,
text="BUY",
textcolor=color.white)
//====================
// SELL LABEL
//====================
plotshape(
sellSignal,
title="SELL",
style=shape.labeldown,
location=location.abovebar,
color=color.red,
text="SELL",
textcolor=color.white)
//====================
// CONFIDENCE LABEL
//====================
if barstate.islast
label.new(
bar_index,
high,
"Trend : " + trend +
" Confidence : " + str.tostring(confidence) + "%" +
" RSI : " + str.tostring(math.round(rsi)) +
" MACD Hist : " + str.tostring(hist, "#.##"),
style=label.style_label_left,
color=trend == "Bullish" ? color.green : color.red,
textcolor=color.white)
//====================
// ALERTS
//====================
alertcondition(buySignal, title="BUY Alert", message="FIROZ BUY Signal")
alertcondition(sellSignal, title="SELL Alert", message="FIROZ SELL Signal") Indicator

Strat Reversal Read Stoch DMI v1.0OVERVIEW
Strat Reversal Context — Stochastic + DMI/ADX is a lower-pane analysis tool designed to evaluate the market environment surrounding price-action reversal patterns.
The indicator does not detect Strat patterns, generate trade entries, or predict that a reversal will succeed. Instead, it is intended to be used alongside a separate price-action or Strat-pattern indicator.
It combines three types of information:
1. Stochastic range location
2. DMI/ADX directional pressure
3. Optional higher-timeframe candle direction
Together, these components address three questions:
• Is price currently at, approaching, or recently leaving an overbought or oversold area?
• Is the existing upward or downward directional pressure rising, holding, or fading?
• Would a contemplated reversal point with or against the selected higher-timeframe direction?
PURPOSE AND ORIGINALITY
This script is not simply a visual combination of a Stochastic oscillator and DMI/ADX.
Its primary contribution is a state-classification engine that interprets the relationship between:
• The location of both Stochastic lines
• The relative position of +DI and −DI
• Whether the distance between +DI and −DI is widening or narrowing
• Whether ADX is rising, falling, or relatively unchanged
• The direction of one user-selected higher timeframe
The script converts those relationships into plain-language observations intended to complement price-action reversal analysis.
Examples include:
• LOOK FOR BULL REVERSAL
• BULL REVERSAL EARLY
• 2D STILL IN FORCE
• LOOK FOR BEAR REVERSAL
• BEAR REVERSAL EARLY
• 2U STILL IN FORCE
These classifications are contextual observations only. They are not buy or sell signals and are not presented as probabilities.
STOCHASTIC COMPONENT
The Stochastic oscillator measures the location of the current close within the recent high-low range.
The default settings are:
• Stochastic length: 14
• %K smoothing: 3
• %D smoothing: 3
• Overbought level: 80
• Oversold level: 20
The script distinguishes among three types of oscillator location.
FULL EXTREME
Both %K and %D are beyond the selected threshold.
Examples:
• Both lines at or below 20: OVERSOLD
• Both lines at or above 80: OVERBOUGHT
EARLY EXTREME
One Stochastic line has reached the selected threshold while the other has not yet reached it.
Examples:
• OVERSOLD EARLY
• OVERBOUGHT EARLY
RECENT EXTREME
After both lines have reached an extreme, the condition can remain relevant for a user-selected number of analysis-timeframe candles.
Examples:
• RECENTLY OVERSOLD
• RECENTLY OVERBOUGHT
This recent-extreme window allows the oscillator to identify an area of interest without requiring the price-action reversal to occur on the exact candle when both Stochastic lines cross the threshold.
DMI AND ADX COMPONENT
DMI and ADX are used to evaluate directional pressure.
• +DI represents upward directional movement.
• −DI represents downward directional movement.
• ADX measures the strength of the directional movement without independently identifying bullish or bearish direction.
The script uses Strat-style language for directional pressure:
• 2U pressure means upward directional pressure.
• 2D pressure means downward directional pressure.
These labels describe DMI pressure only. They do not classify the actual price candle as a 2U or 2D candle.
The script compares the current DMI and ADX readings with their values a user-selected number of candles earlier.
The pressure read can display:
• 2U RISING
• 2U HOLDING
• 2U FADING
• 2D RISING
• 2D HOLDING
• 2D FADING
• BALANCED
RISING PRESSURE
Directional pressure is classified as rising when:
• The corresponding DI line is dominant
• ADX is rising by at least the selected minimum amount
• The distance between the dominant and opposing DI lines is widening
FADING PRESSURE
Directional pressure can be classified as fading when:
• ADX is declining, or
• The distance between the dominant and opposing DI lines is narrowing
HOLDING PRESSURE
Pressure is classified as holding when neither the rising nor fading conditions are met.
ACTION STATES
LOOK FOR BULL REVERSAL
This state requires a full or recently oversold Stochastic area and evidence that downside pressure is no longer strongly expanding, or that upward DMI pressure has taken control.
Actionable interpretation:
Watch for a separately confirmed bullish price-action reversal pattern. Do not enter based on this classification alone.
BULL REVERSAL EARLY
An oversold area may be developing, but the Stochastic or DMI/ADX conditions have not yet reached the stronger bullish-reversal classification.
Actionable interpretation:
Pay attention, but do not anticipate a reversal before price confirms one.
2D STILL IN FORCE
Stochastic is oversold or approaching oversold, but:
• −DI remains dominant
• ADX is above the selected strong-trend threshold
• ADX is rising
• The bearish DMI gap is widening
Actionable interpretation:
Do not assume that oversold automatically means price must reverse. Downward directional pressure remains active, so any bullish reversal pattern is attempting to reverse continuing downside pressure.
LOOK FOR BEAR REVERSAL
This is the bearish mirror of LOOK FOR BULL REVERSAL.
A full or recently overbought Stochastic area is present, and upward pressure is no longer strongly expanding, or downward DMI pressure has taken control.
Actionable interpretation:
Watch for a separately confirmed bearish price-action reversal pattern.
BEAR REVERSAL EARLY
An overbought area may be developing, but the oscillator or directional-pressure conditions have not yet reached the stronger bearish-reversal classification.
Actionable interpretation:
Watch the area, but do not anticipate a bearish reversal before price confirms one.
2U STILL IN FORCE
Stochastic is overbought or approaching overbought, but:
• +DI remains dominant
• ADX is above the selected strong-trend threshold
• ADX is rising
• The bullish DMI gap is widening
Actionable interpretation:
Do not assume that overbought automatically means price must reverse. Upward directional pressure remains active.
HIGHER-TIMEFRAME CONTEXT
The user can select one timeframe for higher-timeframe context.
For example:
• Analysis timeframe: 15 minutes
• Higher-timeframe context: 4 hours
The selected higher-timeframe candle is classified as:
• BULL when its close is above its open
• BEAR when its close is below its open
• NEUTRAL when its close equals its open
The table then compares the contemplated reversal direction with the selected higher-timeframe direction.
WITH HTF
A bullish reversal is aligned when the selected higher timeframe is bullish.
A bearish reversal is aligned when the selected higher timeframe is bearish.
AGAINST HTF
A bullish reversal is against the selected higher timeframe when that timeframe is bearish.
A bearish reversal is against the selected higher timeframe when that timeframe is bullish.
This alignment does not validate or invalidate a reversal. It tells the user whether the contemplated reversal would move with or against the selected higher-timeframe candle direction.
The higher-timeframe context is not a complete multi-timeframe-continuity calculation. It represents the direction of one user-selected timeframe only.
HIGHER-TIMEFRAME CANDLE MODES
LAST CLOSED
The default setting uses the most recently completed candle from the selected higher timeframe.
This produces a stable higher-timeframe directional read.
LIVE
The live option uses the currently developing higher-timeframe candle.
Because the candle has not closed, its direction can change before completion. Users should account for this when relying on live higher-timeframe information.
ANALYSIS TIMEFRAME
The Stochastic, DMI, ADX, pressure classifications, action states, and ribbon can be calculated from a user-selected analysis timeframe.
Leaving the input blank uses the current chart timeframe.
Selecting another timeframe allows, for example:
• A 15-minute analysis read on a 5-minute chart
• A 1-hour analysis read on a 15-minute chart
When the selected analysis timeframe is higher than the chart timeframe, its developing values may change until that analysis-timeframe candle closes.
DISPLAY
The lower pane includes:
• Blue %K Stochastic line
• Orange %D Stochastic line
• Overbought and oversold reference levels
• User-adjustable 50 centerline
• Historical action-state ribbon
• Current-state action table
• Adjustable ribbon color legend
The centerline can be customized by:
• Color
• Thickness
• Solid, dashed, or dotted style
The action ribbon records the historical classification associated with each chart candle. Its thickness and vertical position are adjustable.
The legend identifies the ribbon colors for:
• LOOK BULL
• BULL EARLY
• 2D ACTIVE
• LOOK BEAR
• BEAR EARLY
• 2U ACTIVE
• NO EXTREME
Optional diagnostic plots can display:
• ADX
• +DI
• −DI
These lines are hidden by default to keep the primary display uncluttered.
ACTION TABLE
The current-state table displays:
• Analysis timeframe
• Stochastic area
• Directional pressure and ADX behavior
• Selected higher-timeframe direction
• Alignment with or against that timeframe
• Current action classification
• Plain-language trader thought
Example:
TIMEFRAME 15m
STOCH RECENTLY OVERSOLD
PRESSURE 2D FADING | ADX 18.4 FALLING
HTF DIRECTION 4H BULL | CLOSED
ALIGNMENT WITH HTF
ACTION LOOK FOR BULL REVERSAL
THOUGHT BULL STRAT — WITH HTF
HOW TO USE
1. Select the timeframe from which the Stochastic and DMI/ADX environment should be calculated.
2. Select one higher timeframe for directional context.
3. Observe whether the indicator identifies an overbought, oversold, early, or recent-extreme area.
4. Read whether 2U or 2D directional pressure is rising, holding, or fading.
5. Wait for a separately confirmed price-action reversal pattern.
6. Use the HTF row to determine whether that contemplated reversal would move with or against the selected higher-timeframe candle direction.
The script is intended to provide context for a trader’s existing reversal methodology. It should not replace independent price-action confirmation, risk management, or testing.
ALERTS
Alert conditions are available for transitions into:
• LOOK FOR BULL REVERSAL
• LOOK FOR BEAR REVERSAL
• 2D STILL IN FORCE
• 2U STILL IN FORCE
Alerts identify a change in the calculated environment. They do not represent trade-entry instructions.
LIMITATIONS
All components are derived from price data. Stochastic, DMI, ADX, and price-action patterns are therefore related observations rather than independent sources of information.
Overbought conditions can persist during strong upward movement. Oversold conditions can persist during strong downward movement.
DMI and ADX are lagging calculations and may respond after directional movement has already begun.
A higher-timeframe candle direction is not equivalent to complete higher-timeframe continuity.
This indicator has not been presented as a backtested trading strategy. It does not calculate win rate, expected value, profitability, or the probability that a reversal will succeed.
The classifications are descriptive states based on the selected inputs. Traders should independently test the states across their chosen symbols, markets, sessions, and timeframes.
This script is an independent analytical tool and is not affiliated with or endorsed by TheStrat or its creators. Indicator

Indicator

GProf - Break & RetestGProf - Break & Retest
═══════════════════════════════════════════
OVERVIEW
This indicator detects one complete sequence: consolidation against a key level, a breakout WITH momentum, and the retest of the broken level. It watches the levels for you, stays silent through weak drifts and fakeouts, and speaks at the two moments that matter — when a level breaks with force, and when price comes back to test it.
The core idea is polarity: a level that held for hours gets violated with conviction, and the trade is the market returning to confirm the flip — old support rejecting as new resistance, or old resistance holding as new support.
───────────────────────────────────────────
TWO CONSOLIDATION PATTERNS, ONE CONFIRMATION GATE
PATTERN 1 — TIGHT COIL: a short compressed window pressing directly against the level, with zero closes beyond it. Price knocking on a door.
PATTERN 2 — RANGE-SIT: price spends an extended window entirely on one side of the level, the whole range within a capped height of it, then breaks the boundary. This captures the classic premarket-range breakout or breakdown, where the premarket high or low is the boundary of the consolidation itself.
Either pattern must then be CONFIRMED. A break with no force is fully silent — no label, no alert:
• MOMENTUM CANDLE — the breakout (or a continuation candle within a few bars) has a body of at least a set percentage of the daily ATR; OR
• QUALIFIED FVG — a Fair Value Gap of a set minimum size prints within the confirmation window.
Whichever arrives first arms the setup, and the alert tells you which one it was.
───────────────────────────────────────────
LEVELS AND THE ONE-BREAK DOCTRINE
Tracked levels: PMH/PML, YH/YL, PDC, WH/WL — computed internally, non-repainting, with session boundaries read in exchange time so they hold up through daylight-saving changes and holiday-shortened weeks.
LIFETIME VIRGINITY: a level may signal ONE break per lifetime. The first close beyond it consumes the level; wicks never spend it — sweeps that close back are probes, not violations. A spent level renews when its value changes or at the session roll. This kills re-break noise: a level violated at midday cannot fire again in the evening.
LIVE-LEVEL MATURITY: running levels (WH/WL always; PMH/PML while the premarket window is open) must rest untouched for a set number of bars before they can arm — every new weekly high is technically a "break of WH," and this suppresses that churn while keeping the first quality break.
WHEN "YESTERDAY" ROLLS: Roll Mode is Auto by default — futures roll at the 18:00 ET session open, equities at the next regular-session open — so evening and overnight sessions trade against the levels of the session that just completed.
The full doctrine in one sentence: a level may signal one break per lifetime, provided it has aged while live and is broken with momentum.
───────────────────────────────────────────
THE RETEST — TWO SPECIES
IMMEDIATE KISS-BACK: while the breakout leg is still building, a return to within tolerance of the broken level fires the retest — the fast test-and-reject, often within a bar or two of the break.
SWING 50% RETEST: if price runs instead, the swing confirms, the leg's 50% level is drawn, and the deeper retracement to the 50% or the level — whichever price reaches first — fires the retest.
A+ FLAG: when the leg's 50% coincides with the broken level itself, the retest is tagged A+ — two independent trade logics agreeing on one price.
───────────────────────────────────────────
SIGNALS AND ALERTS
On the chart: the consolidation box, a "B&R " label on the confirmed break, a dotted 50% line once the swing confirms, and a "RETEST " label (with A+ when earned). Breaks that armed but failed are marked with a small x; unconfirmed breaks leave no trace.
Two independent alert stages, each toggleable:
• CONFIRMED BREAKOUT — the level, the direction, and which confirmation fired.
• RETEST ENTERED — the level and price, with the A+ tag when the 50% sits on the level. Off by default; many traders use the breakout alert to get to the chart and watch the retest form.
Alert setup: ONE alert per chart, condition "Any alert() function call", expiration Open-ended. The toggles in settings control what fires. Note: PulseWire alerts snapshot settings at creation — after changing settings, recreate the alert.
───────────────────────────────────────────
HOW TO USE IT
Traders who study break-and-retest setups typically treat the breakout alert as the heads-up and the retest as the decision point — watching for a confirmation candle at the retest before acting. The consolidation box shows you what broke; the tags tell you how it was confirmed.
This indicator identifies structure and sequence. It does not generate buy/sell recommendations, does not place trades, and does not replace your own analysis and risk management.
───────────────────────────────────────────
TECHNICAL NOTES
• Non-repainting: every state transition confirms on bar close; ATR uses completed daily bars; no lookahead anywhere.
• Intraday timeframes only. Built for index and commodity futures but works on any liquid symbol; thresholds are a percentage of daily ATR with tick floors, so they travel across instruments and volatility regimes.
• Coil and range windows, momentum and FVG thresholds, maturity, timeouts, retest tolerance, and session times are fully configurable.
───────────────────────────────────────────
DISCLAIMER
This script is for informational and educational purposes only. It does not constitute financial, investment, or trading advice. A broken level retesting is a pattern, not a guarantee of future price behavior. All trading decisions made using this tool are solely the responsibility of the user. Indicator

GProf - Kangaroo TailGProf - Kangaroo Tail
═══════════════════════════════════════════
OVERVIEW
This indicator detects a single, specific reversal event: a liquidity-sweep candle at a meaningful level — the Kangaroo Tail. Price runs an extreme, sweeps through a level where liquidity rests, and is rejected hard within one candle, closing back on the other side.
It is deliberately quiet. Most sessions it prints nothing. It speaks only when a candle sweeps a genuine multi-hour extreme, shows textbook rejection anatomy, and does so at a nameable level. The Kangaroo Tail is not a candle pattern that happens to be near a level — it is a level rejection whose evidence is a candle.
───────────────────────────────────────────
THE CANDLE (KT Short shown — KT Long is the mirror)
1. THE SWEEP — the candle's high prints a new high versus a long lookback (default 78 bars, about 6.5 hours on the 5m). Room to the left, measured in time: the extreme must be genuinely fresh, which excludes signals from inside congestion — you cannot sweep a multi-hour high from within chop.
2. REJECTION ANATOMY — the entire body sits in the bottom third of the range (body position is the filter; color is reported, not required). The opposite wick is capped tightly, and the sweep wick itself must be significant: at least a set percentage of the daily ATR, with a tick floor, so the threshold scales across instruments.
3. CONTEXT — the body sits inside the previous candle's range (toggleable), and a large prior same-direction candle raises a caution tag on the signal rather than suppressing it: the thrust into a level is often strong, and that thrust-sweep-reject sequence is the pattern at its best.
───────────────────────────────────────────
THE LEVEL — REQUIRED, AND MEASURED CORRECTLY
No level, no signal. The confluence set:
• Session levels: PMH/PML, YH/YL, PDC, WH/WL — computed internally, non-repainting.
• Camarilla pivots: R3/R4 for shorts, S3/S4 for longs, from yesterday's RTH high/low/close, DRAWN on the chart (S3/S4 green, R3/R4 red, central pivot marked).
• Up to three custom levels — enter your own higher-timeframe lines and they become part of the confluence set.
Two details most level tools get wrong:
LEVEL-IN-WICK GEOMETRY: the level must lie within the sweep wick's span. A deep sweep THROUGH the level is the pattern at its strongest, not a disqualification. When the wick spans more than one level, the nearest to the wick tip is named.
LIVE-LEVEL MATURITY: a running level (WH/WL always; PMH/PML while the premarket window is open) must rest untouched for a set number of bars before it counts — a sweep candle's own extreme IS the newborn premarket high, and a level seconds old is not structure.
WHEN "YESTERDAY" ROLLS: Roll Mode is Auto by default — futures roll at the 18:00 ET session open, equities at the next regular-session open — so evening and overnight signals test the session that just completed and the Camarilla levels derived from it. Session boundaries are read in exchange time, correct year-round through daylight-saving changes.
───────────────────────────────────────────
SIGNALS AND ALERTS
A qualifying candle prints one label — "KT ▼" or "KT ▲" — carrying its context: the level swept, whether the wick landed inside an unfilled qualified Fair Value Gap, and a caution tag when the prior candle was large.
The alert message includes everything needed to assess without opening the chart: sweep depth in points, the level, FVG confluence, body color, and reference trade geometry — trigger one tick beyond the KT extreme, stop one tick beyond the wick, and the 1:1 target.
Alert setup: add the indicator, create ONE alert with condition "Any alert() function call", expiration Open-ended. Direction is controlled in settings. Note: PulseWire alerts snapshot settings at creation — after changing settings, recreate the alert.
A near-miss diagnostics mode (off by default) is available for investigation: candles at a level that fail exactly one anatomy check print a small marker naming it.
───────────────────────────────────────────
HOW TO USE IT
The Kangaroo Tail marks a completed liquidity event at structure. Traders who study these typically look for entry on a break of the candle's extreme in the rejection direction, with the stop beyond the sweep wick — the geometry the alert pre-computes. Keep your own higher-timeframe levels current in the custom slots: the level set is the heart of the tool.
This indicator identifies a candle pattern at a level. It does not generate buy/sell recommendations, does not place trades, and does not replace your own analysis and risk management.
───────────────────────────────────────────
TECHNICAL NOTES
• Non-repainting: all detection confirms on bar close; ATR uses completed daily bars; levels are built from session windows with no lookahead.
• Intraday timeframes only. Built for index and commodity futures but works on any liquid symbol; size thresholds are a percentage of daily ATR with tick floors, so they travel across instruments.
• Sweep lookback, anatomy thresholds, proximity band, maturity, and session times are fully configurable.
───────────────────────────────────────────
DISCLAIMER
This script is for informational and educational purposes only. It does not constitute financial, investment, or trading advice. A rejection candle at a level is a pattern, not a guarantee of future price behavior. All trading decisions made using this tool are solely the responsibility of the user. Indicator

GProf - Levels, RVOL, ATRGProf - Levels, RVOL, ATR
═══════════════════════════════════════════
OVERVIEW
This indicator answers the three questions an intraday trader asks before and during every session, in one tool:
1. LOCATION — Where is price relative to the structure that matters?
2. PARTICIPATION — Who showed up today, compared to a normal day?
3. RANGE — How much movement is statistically normal, and how much has already been spent?
It combines key session levels, time-of-day Relative Volume (RVOL), and a 14-day ATR with a live Range/ATR reading, shown as clean level lines plus a compact on-chart dashboard. Built with index and commodity futures in mind (NQ, ES, YM, RTY, GC, CL and their micros), it works on any intraday symbol with volume data, and adapts its session logic automatically between futures and equities.
───────────────────────────────────────────
LAYER 1: LOCATION — SESSION LEVELS
• YH / YL — Yesterday's High and Low, RTH-only or full session day.
• PDC — Previous Day Close.
• PMH / PML — Premarket High and Low (4:00am–9:30am ET, or the full overnight session to capture the entire Globex range on futures). Live during the premarket, then frozen at the open.
• WH / WL — The current week's running High and Low, updating in real time.
Each level is a labeled horizontal line with a matching price-scale marker. Colors, width, and labels are configurable, and each group toggles independently.
WHEN "YESTERDAY" ROLLS: by default, Roll Mode is Auto — futures roll yesterday's levels at the 18:00 ET session open (the exchange's own trading-day boundary, so evening and overnight sessions reference the day that just completed), while equities and other symbols roll at the next regular-session open. A manual override is available. Session-day and week boundaries are read in exchange time, so they are correct year-round through daylight-saving changes and hold up across holiday-shortened weeks.
───────────────────────────────────────────
LAYER 2: PARTICIPATION — RVOL
Raw volume comparisons mislead: the first 30 minutes of a session always dwarf lunch hour. This RVOL is time-of-day aware. It records the cumulative session-volume profile for each of the last N sessions, then compares today's cumulative volume to the average at the same elapsed minute of the session.
A reading of 100% means participation is exactly normal for this time of day; 150% means today is running half again above normal. The dashboard colors the reading against a configurable threshold. RVOL is a regular-session metric and reads N/A outside those hours.
───────────────────────────────────────────
LAYER 3: RANGE — ATR(14) AND RANGE/ATR
The dashboard shows the daily ATR (default 14 days), calculated from completed daily bars only — stable all day, never repainting intraday.
More useful than the raw number is Range/ATR: today's range so far as a percentage of the ATR. Under 70% (green), a statistically normal amount of range remains. Between 70–100% (orange), the day is approaching its average. Over 100% (red), the day has already exceeded a normal range, so late continuation attempts are fighting a mostly-spent tape.
Optional ATR Projection Bands (off by default) draw Today's Low + ATR and Today's High − ATR as live exhaustion estimates; when they invert, the day has exceeded its average range — visible at a glance.
───────────────────────────────────────────
HOW TO USE IT
Before the open: note where price sits relative to PMH/PML, YH/YL, and PDC. Confluence between these marks the zones most likely to produce reactions.
At the open: watch RVOL. An opening drive on 130%+ participation behaves very differently from one on 60%.
During the session: use Range/ATR as context for continuation versus exhaustion. A breakout attempt at 95% of ATR deserves more skepticism than the same pattern at 40%.
This indicator draws context only. It does not generate signals, place trades, or replace your own analysis and risk management.
───────────────────────────────────────────
TECHNICAL NOTES
• Non-repainting by design: no lookahead requests, no lower-timeframe data. Levels are built from chart-bar session windows; ATR uses completed daily bars; RVOL uses only accumulated history.
• Best on standard intraday timeframes (1m, 3m, 5m, 15m, 30m). Not intended for daily or higher charts.
• RVOL needs its lookback period of visible chart history to build a full profile; readings in the first sessions after loading are based on fewer samples.
• Session times, timezone, and roll behavior are fully configurable; defaults follow US equities/futures conventions.
───────────────────────────────────────────
DISCLAIMER
This script is for informational and educational purposes only. It does not constitute financial, investment, or trading advice. Past behavior of price, volume, or volatility does not guarantee future results. All trading decisions made using this tool are solely the responsibility of the user. Indicator

GProf - FVG AlertsGProf - FVG Alerts
═══════════════════════════════════════════
OVERVIEW
This indicator detects standard 3-candle Fair Value Gaps (FVGs), draws every gap as a live zone, and fires an alert only when a gap is both large enough to matter and sits in an area with room to the left. It is built to surface displacement worth trading and stay silent on the rest.
Everything confirms on the close of the third candle — nothing is drawn or alerted intrabar, so a gap that appears mid-candle and vanishes before the close never produces a false alert.
───────────────────────────────────────────
DETECTION
• Bullish FVG — the current candle's low is above the high from two bars ago. The zone spans from that prior high (bottom) to the current low (top).
• Bearish FVG — the current candle's high is below the low from two bars ago. The zone spans from the current high (bottom) to that prior low (top).
───────────────────────────────────────────
THE ALERT FILTER — SIZE AND ROOM
Every FVG is drawn. An alert fires only when BOTH conditions are met:
1. SIZE — the gap is at least a set percentage of the daily ATR (default 2%), with a tick floor. Measuring against ATR rather than a fixed point value makes the threshold portable: it means the same thing on a fast index future and a slow one, and it adapts as volatility changes. A fixed-points mode is also available.
2. ROOM TO THE LEFT — the origin of the impulse that created the gap must be in clean territory: the anchor level (the extreme of the move) has few prior candle bodies overlapping it across a lookback window (defaults: 3 bodies over 20 bars). A gap that forms in the middle of prior congestion is drawn but does not alert.
Gaps are shown in three tiers so the chart teaches you over time:
• Full color — qualified on size AND room: these alert.
• Muted gray — big enough, but the anchor lacked room to the left: drawn, silent.
• Faint — below the size threshold: drawn, silent.
Watching which large gaps had room and which did not, and how price treats each, tells you where your own thresholds belong.
───────────────────────────────────────────
ZONE MANAGEMENT
• Zones extend right until fully filled: a bullish gap is removed when price trades down through the bottom of the zone, a bearish gap when price trades up through the top.
• Partial fills leave the zone at its original size — the original boundaries remain the reference, not the shrinking remainder.
• A configurable cap limits how many zones stay on the chart; oldest are removed first.
───────────────────────────────────────────
ALERTS — HOW TO SET UP
1. Add the indicator to your chart.
2. Open the Alert dialog and set the Condition to this indicator.
3. Select "Any alert() function call".
4. Set Expiration to Open-ended and choose your notification methods.
One alert covers everything. The Alert Direction input controls what fires: Both, Bullish Only, Bearish Only, or Off. Alert messages include the symbol, timeframe, direction, gap size in points and as a percentage of ATR, whether room-to-the-left is clean, and the exact zone boundaries.
Note: PulseWire alerts snapshot the indicator's settings when created. If you change the size threshold or other settings later, edit and re-save (or recreate) the alert for the new values to take effect.
───────────────────────────────────────────
HOW TO USE IT
FVGs mark displacement — areas price moved through so fast that an imbalance was left behind. Many traders study them as zones of interest for retracement entries, targets, or invalidation. This indicator identifies and sizes the gaps, flags the significant ones that also have room to the left, and otherwise stays out of the way. Combine it with your own market structure analysis, session context, and risk management.
This indicator identifies a chart pattern. It does not generate buy/sell recommendations, does not place trades, and does not replace your own analysis and risk management.
───────────────────────────────────────────
TECHNICAL NOTES
• Non-repainting: detection, drawing, and alerts occur on confirmed bar closes only.
• Works on any symbol and timeframe. Size thresholds are a percentage of daily ATR with tick floors, so they travel across instruments and volatility regimes; a fixed-points mode is available.
• Colors, transparency, borders, size threshold, and the room-to-the-left lookback are fully configurable.
───────────────────────────────────────────
DISCLAIMER
This script is for informational and educational purposes only. It does not constitute financial, investment, or trading advice. Fair Value Gaps are a chart pattern, not a guarantee of future price behavior. All trading decisions made using this tool are solely the responsibility of the user. Indicator

Indicator

Days of the Week Days of the Week Separators
This indicator provides a clean and customisable way to distinguish each trading day on an intraday chart. It places a vertical separator at the beginning of every enabled day and displays the corresponding weekday label in the centre of that day’s trading period.The day label is positioned above the developing daily high and automatically moves higher if a new high is established. This keeps the label clear of price action while maintaining a consistent and uncluttered chart layout.
The indicator can help traders:
• Distinguish individual trading days quickly
• Review how price developed throughout the trading week
• Identify daily market structure and directional progression
• Analyse day-to-day changes in volatility and momentum
• Locate the beginning of each new trading day
• Maintain a clearer chart when studying intraday price action
Default configuration
• Days displayed: Monday to Friday
• Day boundary: 00:00
• Time zone: Europe/London
• Separator style: Dashed
• Separator width: 1
• Label position: Halfway through each day
• Label style: Centred rectangle
• Display timeframes: Intraday charts only
The Europe/London time-zone setting automatically follows changes between Greenwich Mean Time and British Summer Time. The day-start hour and minute can also be changed to accommodate alternative trading-day definitions or different market methodologies.
Customisable settings
Users can:
• Enable or disable individual weekdays
• Change the day-start hour and minute
• Select a preferred time zone
• Show or hide the vertical separators
• Change the separator colour, width and style
• Choose between dashed, dotted and solid lines
• Show or hide the weekday labels
• Adjust the horizontal position of the labels
• Change the label colour, text colour, opacity and size
• Adjust the distance between each label and its daily high
• Enable or disable the restriction for daily and higher timeframes
Label behaviour
Each weekday label is positioned according to the selected number of hours after the beginning of the trading day. The default value of 12 places it halfway between the two daily separators. The label’s vertical position is calculated using the developing daily high and an ATR-based offset. If price establishes a new high during the day, the label moves upward automatically to remain above the price action. The offset can be increased or reduced from the settings.
Timeframe behaviour
The indicator is designed specifically for intraday analysis. By default, it automatically hides on the 1D timeframe and above, as daily separators provide limited value on daily, weekly and monthly charts. This restriction can be disabled from the settings if required.
Important information
On instruments with continuous or highly liquid intraday trading, the separator should appear at the selected day-start time. If no candle is available at that exact time because of a market closure, trading break or missing data, the separator will appear on the first available candle belonging to the new trading day.
This indicator is intended as a chart-organisation and market-context tool. It does not generate independent entry or exit signals. Indicator

TJR Session highs and lowsSession Highs and Lows — Killzone Levels
Marks the high and low of the major trading sessions as extended horizontal
levels, plus a vertical line at a time of your choice, and clears the chart
at the start of each new day.
What it draws:
• Asian Range high/low
• London Killzone high/low
• New York AM Killzone high/low
• London Close Killzone high/low
• A vertical line at a configurable time of day
Once a session closes, its extreme is labelled and extended to the right, so
you can see which levels price is reacting to. Every session has its own
on/off switch, session times, timezone, colour and line width.
Settings worth knowing:
• Timezone per session — define each killzone in whatever timezone it
actually belongs to. Defaults are Zurich for Asia and London, New York for
the two NY sessions, so both sides stay correct across DST changes. Set any
of them to "Exchange" to follow the symbol's own timezone.
• Vertical time line — pick any hour and minute (default 15:30 Zurich, the US
cash open). It is drawn at the daily reset, so the level is already on the
chart hours before that candle exists.
• Daily reset — choose the reset time (default midnight) and how many days of
drawings to keep. 1 gives you a clean chart every morning, 2 keeps
yesterday's levels until today's replace them, 0 never deletes anything.
• Show session labels — turn the text off for a lines-only chart.
• Stop extending on mitigation — a level's line ends at the bar where price
first trades through it, instead of running on forever.
Notes:
• Intraday timeframes only. Works on any intraday resolution, including
1 minute and hourly.
• No alerts are included.
Based on the original "Session Highs and Lows" by tc3oliver, MPL-2.0.
You can change the code easily with Claude. Indicator

Adaptive Trend ConsensusAdaptive Trend Consensus (ATC)
Why this exists
Nearly every trend tool has the same failure mode: it is excellent while a market trends and it bleeds out while a market chops. The usual response is to stack more trend indicators on top of each other — three moving averages, a Supertrend and a MACD. That does not help, because those tools are all measuring the same thing. When one is wrong they are usually all wrong together. Stacking correlated indicators increases confidence without increasing information.
ATC takes a different approach. It uses a single orthogonal measurement — how efficiently price is moving — and lets that measurement adapt, weight and gate everything else.
The spine: Kaufman's Efficiency Ratio
Efficiency Ratio (ER) is the net distance price travelled over N bars divided by the total path length it walked to get there:
ER = |close − close | / Σ|close − close |
A perfectly straight move returns 1.0. Pure noise returns close to 0.0. ER says nothing about direction — only about the quality of movement. That is what makes it a genuinely independent input rather than another trend indicator in disguise.
In this script ER does three jobs at once:
It sets the baseline's speed. The baseline is an adaptive moving average whose smoothing constant is derived from ER, so it tracks price tightly during efficient moves and goes nearly flat during noise. It does not need a "fast" and a "slow" setting, because it is both.
It sets the trail's width. A ratcheting ATR trail is built around that baseline, but the ATR multiplier is scaled inversely to efficiency — roughly 1.6× ATR in a clean trend, widening toward 4.0× as efficiency collapses. The trail therefore tightens when it should be responsive and widens exactly when whipsaw risk is highest. A fixed-multiplier Supertrend cannot do this.
It gates the whole script. Below the ER threshold the indicator declares a non-trending regime, greys out, and stops issuing signals entirely. This is the single most important behaviour in the script: it is designed to say nothing, often.
The consensus score
Rather than an AND chain of boolean filters — brittle, and it fails silently when one condition is marginal — ATC produces a weighted score from −100 to +100 across four deliberately uncorrelated components:
Component What it measures Why it is here
Structure (40%) Adaptive trail direction + baseline slope normalised in ATR units The trend reading itself
MTF alignment (25%) The same engine run on two higher timeframes, each weighted by its own efficiency Context — and a chopping higher timeframe correctly contributes almost nothing
Momentum quality (20%) Rate of change converted to a z-score against its own recent distribution Standardised, so it is comparable across symbols and volatility regimes
Participation (15%) Chaikin Money Flow — is volume transacting toward the highs or the lows Trends without participation decay; auto-disabled with weight redistributed on symbols with no volume feed
Weights are fully adjustable, and disabling a component redistributes its weight rather than leaving a hole in the score.
Exhaustion damping
When price runs a long way from the adaptive baseline the trend is not absent — it is late. Flipping the signal there would be wrong. Instead ATC damps the score's magnitude toward neutral in proportion to how stretched price is in ATR terms. The effect is to discourage fresh entries into an extended move without forcing an exit from a position already working. The dashboard shows the stretch in ATR units and how much damping is being applied.
Non-repainting
Higher-timeframe data is read with a one-bar offset inside the higher-timeframe context, so only closed higher-timeframe bars are ever used. Historical signals match what would have been available live. The usual trade-off applies: confirmation arrives at the close of the higher-timeframe bar rather than during it.
How to read it
Baseline — coloured by consensus score. Grey means no trade.
Trail — the adaptive stop line; its distance from price tells you the current regime at a glance.
Dashboard — every component's contribution shown separately, so you can see why the score is what it is rather than trusting a black box.
Markers — ▲ / ▼ on entry, ✕ on exit, ! when the trend is extended.
Defaults
Tuned for intraday index and futures work. The session filter is available for cash-hours-only operation. Longer-horizon users should raise the Efficiency Ratio length and the chop gate; faster users should lower both.
Honest limitations
ATC is a trend tool. In a genuinely range-bound market it will correctly refuse to trade, which means long stretches of no signals. That is the design, not a fault.
The chop gate is a threshold on a continuous variable, so it will occasionally re-enter a trend late after a shakeout drops ER below the gate.
Higher-timeframe confirmation lags by construction. That is the price of not repainting.
Chaikin Money Flow depends on the venue's volume feed. On spot forex it reflects tick volume, which is a proxy, not real participation.
No indicator has an edge on its own. This is a decision-support tool, not a trading system. Indicator

Indicator

Order Block Engine [JOAT]═══ ORDER BLOCK ENGINE ═══
Most order-block tools paint a fresh box on every candle and bury the chart. This one does the opposite. It only marks the last opposing-close candle that appears just before a genuine displacement leg — a move that closes through a confirmed swing by more than a volatility-scaled threshold, backed by a volume expansion. The result: only a handful of clean, unmitigated, high-grade zones survive on screen at once.
▎ WHAT IT DOES
It maps institutional-style order blocks, grades each one from 0 to 10 by ★ quality, extends the surviving zones to the right until price mitigates them, and fires a single clean BUY / SELL pill on a valid retest + reaction — complete with an R-multiple TP/SL zone construct. A grey/white and blue-chrome dashboard keeps the running read of structure, bias and zone quality in one corner.
▎ HOW IT WORKS
— Confirmed swing structure. Pivot highs and lows are tracked with a configurable lookback. Each swing stays "unbroken" until price genuinely closes through it.
— Displacement break. A bullish break needs an up-close candle that closes above the last swing high by more than Displacement × ATR ; a bearish break mirrors it below the swing low. ATR scaling means the threshold self-adjusts to any asset or timeframe.
— Volume confirmation. The breaking candle's volume must exceed its own moving-average baseline by the chosen multiplier. On symbols with no volume feed, this filter auto-skips.
— Order-block selection. Once a break is confirmed, the engine walks back through recent bars to find the last opposing-close candle — the down-close before a bullish break, or the up-close before a bearish break. That candle's high/low becomes the zone.
— ★ Grade (0-10). Each block is scored on three factors: how far the break displaced (in ATR), how strong the volume expansion was, and the body-to-range ratio of the origin candle. The composite maps to a 0-10 grade and a tier (WEAK → FAIR → SOLID → STRONG → ELITE).
— Mitigation & signals. Live zones extend right on each bar. If price closes fully through a zone, it is mitigated — frozen and greyed (or deleted). If instead price wicks back into the zone and the bar reacts back out with a close in the right direction, and the block's grade clears your minimum, a BUY / SELL signal fires. One signal per bar, longs take priority.
— Trade construct. On a signal the engine builds an entry line at close, a stop a buffer beyond the zone edge (× ATR), and TP1 / TP2 at your chosen R multiples — drawn as green TARGET and red RISK zone boxes that extend, then freeze when SL or TP2 is touched.
▎ HOW TO USE IT
— Treat the surviving zones as decision areas , not guarantees. A blue zone is a bullish order block; a slate zone is bearish. The ★ tag shows its grade at a glance.
— Wait for price to return into a zone. The engine only signals on a retest + reaction , so you are not chasing the initial impulse.
— Use the BUY / SELL pill's grade (e.g. ★★★★ 7.8/10) as a confidence read — higher grades reflect stronger displacement, volume and candle body.
— The TARGET ZONE and RISK ZONE boxes frame reward against risk before you commit. Entry, SL, TP1 and TP2 are all labelled with their R multiples.
— Grey zones are spent — they have already been mitigated and are kept only as context for prior structure.
— Combine with your own higher-timeframe bias; order blocks aligned with trend tend to be the cleaner reactions.
▎ KEY SETTINGS
— Engine: ATR length, structure pivot width, displacement break multiple, OB candle search depth, and bull/bear toggles.
— Filters: volume expansion on/off with baseline length and multiplier, minimum grade required to signal, and confirm-on-close to avoid intrabar repaint.
— Zones: show zones, max zones kept (4-6 recommended), extension length, fill transparency, ★ grade labels, keep-mitigated-grey toggle, and bull/bear colours.
— Signals & Risk: show BUY/SELL pills, draw TP/SL zone, stop buffer (× ATR), TP1 and TP2 R multiples, projection length, and max trade sets kept.
— Extras: optional zone-reader candle tinting and an optional VWAP + σ band.
▎ DASHBOARD
A compact panel (five positions, three text sizes) reports: current Bias , count of live Bullish and Bearish OBs, the Nearest zone level and its distance in %, the Strongest zone's grade and tier, the Last Mitigated zone, the Active Signal state, and running Signal and Trade W/L tallies. The W/L count is an illustrative record of how the historical construct resolved — not a performance promise.
▎ ALERTS
— OB Bullish Signal — fires on a bullish order-block retest + reaction.
— OB Bearish Signal — fires on a bearish order-block retest + reaction.
Both include ticker and interval in the message.
▎ NOTES
— Works on all timeframes and all assets ; ATR and volume baselines adapt automatically.
— Confirm On Bar Close evaluates detection, mitigation and signals on closed bars only, so confirmed signals do not repaint.
— Everything is toggleable — zones, grades, pills, trade boxes, candles, VWAP and dashboard — for a chart as clean or as detailed as you like.
— The volume filter self-disables on feeds without volume, so nothing breaks on those symbols.
For research and education only. This is not financial advice. No indicator can predict the future, and past behaviour never guarantees future results. Always do your own analysis and manage your own risk.
Made with passion by JackOfAllTrades ⚡ Indicator

GCM Fibonacci Engine for Elliott WavesDescription:
Title: GCM Fibonacci Engine for Elliott Waves (GCM FEEW)
“Algorithmic Precision Meets Dynamic Market Structure.”
-uniGram
Overview
The GCM Fibonacci Engine for Elliott Waves (FEEW) is a proprietary, institutional-grade technical suite engineered to decode complex market geometries in real-time. Built under the Global Chart Metrics (GCM) standard, this script eliminates the subjectivity of traditional Elliott Wave counting. By fusing strict structural rule validation with an auto-adaptive Fibonacci engine, the GCM FEEW delivers clinical, rule-based mapping of market cycles, engineered specifically for high-performance traders operating in fast-moving markets.
Core Architecture & Features
• Institutional Rule Validator: The engine doesn't just label zig-zags; it validates them mathematically. It strictly measures against core Elliott Wave principles (e.g., Wave 3 cannot be the shortest, Wave 2 cannot retrace 100% of Wave 1). Valid motive waves print in institutional Green/Red, while corrective or broken structures instantly flag as Orange (a-b-c).
•Live "Ghost Leg" Tracking: Eliminates repainting confusion. The engine tracks historical, confirmed waves with solid visual lines, while the current, developing wave is displayed dynamically as a dotted Gray line with a '?' label. You see the market forming in real-time without false confirmations.
• Auto-Adaptive Fibonacci Engine: A context-aware algorithm that automatically calculates whether the current market leg requires a Fibonacci Retracement or a Trend-Based Extension by comparing previous swing logic.
• Smart Radar & Proximity Buffer: Replaces visual clutter with actionable intelligence. Fibonacci levels remain neutral until price action enters a customizable % buffer zone. Once triggered, the level glows dynamically, signaling a high-probability mitigation or reaction zone.
• Performance Optimized (v6): Coded in pure Pine Script v6, utilizing advanced array memory management and garbage collection to ensure zero chart lag, even when tracking micro-scalping timeframes.
How to Trade with the GCM FEEW
1. Identify the Structure: Look for confirmed 1-2-3-4-5 motive waves (Green for Bullish, Red for Bearish). Ignore the noise when the engine detects a corrective (Orange a-b-c) phase.
2. Anticipate the Reversal: When the Gray dotted "Ghost Leg" approaches a key auto-plotted Fibonacci level (e.g., the 0.618 Golden Ratio or 1.618 Extension), prepare for execution.
3. Wait for the Radar Glow: Do not front-run the market. Wait for the price to enter the Smart Radar buffer zone. When the Fib level glows and highlights the status, look for your preferred entry trigger (e.g., a Fair Value Gap or Order Block reaction) within that specific zone.
Disclaimer & Risk Warning
This script is for educational and analytical purposes only. Global Chart Metrics (GCM) and the GCM FEEW indicator do not provide financial advice. Trading in financial markets involves a high degree of risk, and past performance is not indicative of future results. Always use proper risk management and backtest any algorithm alongside your own strategy before deploying live capital.
HAPPY TRADING
--------------------------------------------------------------------------------
Kannada Version (ಕನ್ನಡ ಅನುವಾದ)
ಶೀರ್ಷಿಕೆ: GCM Fibonacci Engine for Elliott Waves (GCM FEEW)
“ಅಲ್ಗಾರಿದಮಿಕ್ ನಿಖರತೆ ಮತ್ತು ಡೈನಾಮಿಕ್ ಮಾರ್ಕೆಟ್ ಸ್ಟ್ರಕ್ಚರ್ನ ಅದ್ಭುತ ಸಂಯೋಜನೆ.”
-uniGram
ಅವಲೋಕನ (Overview)
GCM Fibonacci Engine for Elliott Waves (GCM FEEW) ಎಂಬುದು ಲೈವ್ ಮಾರ್ಕೆಟ್ನ ಸಂಕೀರ್ಣ ಚಲನೆಗಳನ್ನು ನಿಖರವಾಗಿ ಡಿಕೋಡ್ ಮಾಡಲು ವಿನ್ಯಾಸಗೊಳಿಸಲಾದ ಇನ್ಸ್ಟಿಟ್ಯೂಷನಲ್-ಗ್ರೇಡ್ (Institutional-grade) ಅಲ್ಗಾರಿದಮಿಕ್ ಟೂಲ್ ಆಗಿದೆ. ಗ್ಲೋಬಲ್ ಚಾರ್ಟ್ ಮೆಟ್ರಿಕ್ಸ್ (GCM) ಬ್ರಾಂಡ್ ಅಡಿಯಲ್ಲಿ ರಚಿಸಲಾದ ಈ ಎಂಜಿನ್, ಸಾಂಪ್ರದಾಯಿಕ ಎಲಿಯಟ್ ವೇವ್ ಎಣಿಕೆಯ ಗೊಂದಲಗಳನ್ನು ನಿವಾರಿಸುತ್ತದೆ. ಕಟ್ಟುನಿಟ್ಟಾದ ನಿಯಮಗಳ ಪರೀಕ್ಷೆ ಮತ್ತು ಆಟೋ-ಅಡಾಪ್ಟಿವ್ ಫಿಬೊನಾಚಿ ಎಂಜಿನ್ನ ಸಂಯೋಜನೆಯೊಂದಿಗೆ, ಇದು ಪ್ರೊಫೆಷನಲ್ ಟ್ರೇಡರ್ಗಳಿಗೆ ಮಾರುಕಟ್ಟೆಯ ದಿಕ್ಕನ್ನು ಪತ್ತೆಹಚ್ಚಲು ಸಹಾಯ ಮಾಡುತ್ತದೆ.
ಕೋರ್ ಆರ್ಕಿಟೆಕ್ಚರ್ ಮತ್ತು ವೈಶಿಷ್ಟ್ಯಗಳು (Core Architecture & Features)
• ಇನ್ಸ್ಟಿಟ್ಯೂಷನಲ್ ರೂಲ್ ವ್ಯಾಲಿಡೇಟರ್ (Rule Validator): ಈ ಎಂಜಿನ್ ಕೇವಲ ಹೈ ಮತ್ತು ಲೋ ಗಳಿಗೆ ಲೇಬಲ್ ಹಾಕುವುದಿಲ್ಲ. ಬದಲಾಗಿ, ಇದು ಎಲಿಯಟ್ ವೇವ್ನ ಪ್ರಮುಖ ನಿಯಮಗಳನ್ನು ಗಣಿತೀಯವಾಗಿ ಪರೀಕ್ಷಿಸುತ್ತದೆ (ಉದಾ: Wave 3 ಅತ್ಯಂತ ಚಿಕ್ಕದಾಗಿರಬಾರದು, Wave 4, Wave 1 ಅನ್ನು ಓವರ್ಲ್ಯಾಪ್ ಮಾಡಬಾರದು). ನಿಯಮಬದ್ಧ ವೇವ್ಗಳನ್ನು ಹಸಿರು/ಕೆಂಪು ಬಣ್ಣದಲ್ಲಿ ತೋರಿಸುತ್ತದೆ ಮತ್ತು ನಿಯಮ ಮುರಿದರೆ (Corrective wave) ಅದನ್ನು ತಕ್ಷಣವೇ ಆರೆಂಜ್ ಬಣ್ಣದಲ್ಲಿ (a-b-c) ಸೂಚಿಸುತ್ತದೆ.
• ಲೈವ್ "ಘೋಸ್ಟ್ ಲೆಗ್" ಟ್ರ್ಯಾಕಿಂಗ್ (Ghost Leg Tracking): ರಿಪೇಂಟ್ (Repaint) ಗೊಂದಲವನ್ನು ಇದು ಸಂಪೂರ್ಣವಾಗಿ ತಡೆಯುತ್ತದೆ. ಕನ್ಫರ್ಮ್ ಆದ ಹಳೆಯ ವೇವ್ಗಳನ್ನು ಸಾಲಿಡ್ (Solid) ಲೈನ್ಗಳಲ್ಲಿ ತೋರಿಸಿದರೆ, ಪ್ರಸ್ತುತ ರೂಪುಗೊಳ್ಳುತ್ತಿರುವ ಲೈವ್ ವೇವ್ ಅನ್ನು ಗ್ರೇ (Gray) ಬಣ್ಣದ ಚುಕ್ಕೆಗಳ (Dotted) ಲೈನ್ ಮತ್ತು '?' ಲೇಬಲ್ ಮೂಲಕ ತೋರಿಸುತ್ತದೆ.
• ಆಟೋ-ಅಡಾಪ್ಟಿವ್ ಫಿಬೊನಾಚಿ ಎಂಜಿನ್: ಹಿಂದಿನ ಸ್ವಿಂಗ್ಗಳನ್ನು (Swings) ಆಧರಿಸಿ, ಪ್ರಸ್ತುತ ಟ್ರೆಂಡ್ಗೆ 'ಫಿಬೊನಾಚಿ ರಿಟ್ರೇಸ್ಮೆಂಟ್' ಬೇಕೇ ಅಥವಾ 'ಟ್ರೆಂಡ್-ಬೇಸ್ಡ್ ಎಕ್ಸ್ಟೆನ್ಷನ್' ಬೇಕೇ ಎಂಬುದನ್ನು ಈ ಸ್ಮಾರ್ಟ್ ಎಂಜಿನ್ ತಾನೇ ನಿರ್ಧರಿಸುತ್ತದೆ.
• ಸ್ಮಾರ್ಟ್ ರಾಡಾರ್ ಮತ್ತು ಬಫರ್ ಝೋನ್ (Smart Radar): ಬೆಲೆಯು ಫಿಬೊನಾಚಿ ಲೆವೆಲ್ನ ನಿರ್ದಿಷ್ಟ ಬಫರ್ (Buffer %) ವಲಯವನ್ನು ಪ್ರವೇಶಿಸಿದಾಗ ಮಾತ್ರ ಆ ಲೈನ್ ಹೈಲೈಟ್ (Glow) ಆಗುತ್ತದೆ. ಇದು ಟ್ರೇಡರ್ಗಳಿಗೆ ಎಂಟ್ರಿ ತೆಗೆದುಕೊಳ್ಳಲು ನಿಖರವಾದ ಅಲರ್ಟ್ ನೀಡುತ್ತದೆ.
• ಹೈ-ಪರ್ಫಾರ್ಮೆನ್ಸ್ ಕೋಡಿಂಗ್ (v6): Pine Script v6 ನಲ್ಲಿ ಅತ್ಯಾಧುನಿಕ ಅರೇ (Array) ಲಾಜಿಕ್ ಬಳಸಿ ಬರೆಯಲಾಗಿದೆ. ಮೈಕ್ರೋ-ಸ್ಕಾಲ್ಪಿಂಗ್ ಟೈಮ್ಫ್ರೇಮ್ಗಳಲ್ಲೂ ಇದು ಯಾವುದೇ ಲ್ಯಾಗ್ (Lag) ಇಲ್ಲದೆ ಕೆಲಸ ಮಾಡುತ್ತದೆ.
GCM FEEW ಬಳಸಿ ಟ್ರೇಡ್ ಮಾಡುವುದು ಹೇಗೆ? (How to Trade)
1. ಸ್ಟ್ರಕ್ಚರ್ ಗುರುತಿಸಿ: ಕನ್ಫರ್ಮ್ ಆದ 1-2-3-4-5 ವೇವ್ಗಳನ್ನು (ಹಸಿರು ಅಥವಾ ಕೆಂಪು) ಗಮನಿಸಿ. ಮಾರುಕಟ್ಟೆ ಆರೆಂಜ್ ಬಣ್ಣದ a-b-c ಲೇಬಲ್ ತೋರಿಸಿದರೆ ಆ ಗೊಂದಲದ ವಲಯದಲ್ಲಿ ಟ್ರೇಡ್ ಮಾಡುವುದನ್ನು ತಪ್ಪಿಸಿ.
2. ರಿವರ್ಸಲ್ ನಿರೀಕ್ಷಿಸಿ: ಗ್ರೇ ಬಣ್ಣದ ಲೈವ್ ಲೆಗ್ (Ghost leg) ಆಟೋಮ್ಯಾಟಿಕ್ ಫಿಬೊನಾಚಿ ಲೆವೆಲ್ನ (ಉದಾಹರಣೆಗೆ 0.618 ಅಥವಾ 1.618) ಹತ್ತಿರ ಬಂದಾಗ ಟ್ರೇಡ್ಗೆ ಸಿದ್ಧರಾಗಿ.
3. ರಾಡಾರ್ ಹೈಲೈಟ್ ಆಗಲು ಕಾಯಿರಿ: ಬೆಲೆಯು ಸ್ಮಾರ್ಟ್ ರಾಡಾರ್ ಬಫರ್ ಝೋನ್ ಒಳಗೆ ಬಂದಾಗ ಆ ಲೆವೆಲ್ ಹೈಲೈಟ್ ಆಗುತ್ತದೆ. ಆ ವಲಯದಲ್ಲಿ ನಿಮ್ಮ ಎಂಟ್ರಿ ಟ್ರಿಗ್ಗರ್ (Order Block ಅಥವಾ FVG) ಸಿಕ್ಕಾಗ ಟ್ರೇಡ್ ಎಕ್ಸಿಕ್ಯೂಟ್ ಮಾಡಿ.
ಹಕ್ಕುತ್ಯಾಗ ಮತ್ತು ಅಪಾಯದ ಎಚ್ಚರಿಕೆ (Disclaimer & Risk Warning)
ಈ ಸ್ಕ್ರಿಪ್ಟ್ ಕೇವಲ ಶೈಕ್ಷಣಿಕ ಮತ್ತು ವಿಶ್ಲೇಷಣಾತ್ಮಕ ಉದ್ದೇಶಗಳಿಗಾಗಿ ಮಾತ್ರ. Global Chart Metrics (GCM) ಮತ್ತು GCM FEEW ಇಂಡಿಕೇಟರ್ ಯಾವುದೇ ರೀತಿಯ ಹಣಕಾಸು ಸಲಹೆಯನ್ನು ನೀಡುವುದಿಲ್ಲ. ಹಣಕಾಸು ಮಾರುಕಟ್ಟೆಗಳಲ್ಲಿ ಟ್ರೇಡಿಂಗ್ ಮಾಡುವುದು ಹೆಚ್ಚಿನ ಅಪಾಯವನ್ನು ಒಳಗೊಂಡಿರುತ್ತದೆ ಮತ್ತು ಹಿಂದಿನ ಫಲಿತಾಂಶಗಳು ಭವಿಷ್ಯದ ಲಾಭವನ್ನು ಖಾತರಿಪಡಿಸುವುದಿಲ್ಲ. ನೈಜ ಬಂಡವಾಳವನ್ನು ಹೂಡಿಕೆ ಮಾಡುವ ಮೊದಲು ಯಾವಾಗಲೂ ನಿಮ್ಮ ಸ್ವಂತ ರಿಸ್ಕ್ ಮ್ಯಾನೇಜ್ಮೆಂಟ್ ಬಳಸಿ ಮತ್ತು ಬ್ಯಾಕ್ಟೆಸ್ಟ್ (Backtest) ಮಾಡಿ.
HAPPY TRADING Indicator

Indicator

Sphinx Unicorn - FVG Breaker Nesting ModelDescription:
Sphinx Unicorn identifies a specific price structure from ICT-influenced methodology: a swing point that forms inside an unfilled fair value gap (FVG), which price then reclaims through displacement. This structure is commonly called a "unicorn" — a breaker nested within an FVG. The script scans for these continuously, tracks each candidate through a defined lifecycle, and confirms only those that complete the full sequence.
What makes this different from a generic FVG or order-block indicator
Most FVG scripts simply draw every gap. Most breaker scripts simply mark broken structure. This one requires the two to coincide and survives a multi-stage confirmation before it marks anything as complete:
The nesting test — a swing must sit inside an FVG that is still unfilled at the moment the swing forms. A gap price has already traded through is rejected, which removes the majority of low-quality candidates on intraday timeframes.
The Balanced Price Range (BPR) gate — activation requires the breaking leg to leave its own fair value gap that overlaps the nesting gap. A slow drift through the level does not qualify; only a genuine displacement that creates a second, opposing inefficiency does.
A self-scaling displacement filter — the gap left by the breaking leg must be at least a configurable fraction (default 0.75) of the size of the gap it inverts. This means a large level demands a proportionally decisive break to confirm, while a small level needs less. The threshold scales with the structure itself rather than using a fixed point or tick value, so it adapts across instruments and volatility regimes without re-tuning.
How it calculates
FVGs are detected using the standard three-bar definition (a gap between the first and third bar's wicks). A pivot is qualified as "nested" when its price falls strictly within an unfilled gap's range inside the search window. Overlapping gaps in the same direction are collapsed into a single zone drawn at the largest gap, so clustered inefficiencies read as one level rather than a stack of boxes. Displacement is confirmed on bar close beyond both the swing and the gap's far edge, subject to the BPR and ratio conditions above.
The four zone states
Level (grey, thin): a nested swing that has been superseded by a newer one. Price may still react here, but it is no longer the watched candidate and cannot activate.
Armed (grey, dashed): the current front-runner — the zone actively being evaluated for displacement.
Active (green or red): a confirmed unicorn. The displacement completed with a valid BPR.
Spent (purple): an Active zone that price has since mitigated. It is retained as a reference level, since a proven structure often sees price return to it.
How to use it
This tool marks where a precise entry structure exists. It is not a standalone system and is best used as one input within a layered approach. In practice it is strongest when the confirmed zone aligns with an independently identified key level — for example a higher-timeframe draw on liquidity, a volume or dealer-positioning level, or a session reference — and when it is paired with SMT (Smart Money Technique) divergence read across correlated instruments on the manipulation leg that forms the breaker. A confirmed unicorn sitting at a defended level, with SMT divergence present on that leg, represents the confluence this structure is designed to isolate. A confirmed unicorn with no surrounding context should be treated with more caution.
Alerts are provided for both the arming and activation of a zone, in each direction.
Inputs
Swing strength, FVG search radius, strict-nesting toggle, displacement-close requirement, BPR requirement and lookback, minimum displacement gap size, and the self-scaling displacement ratio. Display controls cover zone colors per state, the on-chart zone limit, and the mitigation rule (touch versus close-through). A diagnostic panel shows a live count of zones in each state.
Limitations and behavior traders should know
The nesting swing is detected using pivots, which require bars on both sides to confirm. A zone therefore arms only after the pivot's right-hand bars have formed; it does not arm on the exact pivot bar in real time.
On strongly trending sessions the model produces few or no setups, because reversals into unfilled opposing gaps are rare in a one-directional market. Empty output in a trend is expected behavior, not a failure.
SMT divergence, referenced above as a recommended confluence, is read by the trader from correlated instruments and is not drawn by this script.
This indicator marks structure. It does not predict direction, guarantee outcomes, or constitute a trading system on its own.
Open-source. Part of the Sphinx suite by Hermetic Trader. Indicator
