Apex First-Touch PredictorApex First-Touch Predictor — Which Zone Gets Hit First?
A multi-factor framework for the question every SMC trader actually asks: when price sits between an Order Block and a Fair Value Gap, which one gets touched first?
The Problem This Indicator Was Built To Solve
You spot a clean setup on the 5m chart. There's an unmitigated Order Block above. There's a Fair Value Gap below. Both are valid draws. Both are well-formed.
So which one does price hit first?
This is the question that costs SMC and ICT traders more money than any other. You enter long, expecting the OB to get tagged — price takes out the FVG instead, stops you out, then runs to the OB without you. Or the reverse. The setup wasn't wrong. The sequence was wrong.
Most SMC indicators draw the zones beautifully but tell you nothing about which side resolves first. This one tries to.
What It Does
The First-Touch Predictor analyzes six independent factors to estimate which zone — upper or lower — price is more likely to touch first from its current position:
Higher-Timeframe Bias (BOS / CHoCH detection on HTF-1 and HTF-2)
Premium / Discount Position in the HTF dealing range
Liquidity Draw (composite of equal highs/lows, prior day H/L, zone proximity)
Session / Killzone Strength (NY AM, London, NY PM, Asia, Lunch)
Recent Structural Displacement (signed body/range over last 3 bars)
Volatility Regime (ATR expansion vs contraction)
Each factor produces a signed vote in . The weighted aggregate produces a directional call with a confidence estimate (capped at 75% — no market prediction deserves higher).
A Strong-Liquidity Override kicks in when one side has heavily stacked liquidity within reasonable reach. This encodes the well-known ICT principle that price tends to sweep obvious liquidity before HTF bias plays out.
What You'll See On Your Chart
Auto-detected Order Blocks with text labels (Bull OB / Bear OB) pinned to the origin candle
Auto-detected Fair Value Gaps with text labels (Bull FVG / Bear FVG) pinned to the imbalance bars
Premium / Discount zones with explicit text markings: Heavy Premium, Premium, EQ (50%), Discount, Heavy Discount — drawn as faint background bands
Directional arrow on the current bar pointing toward the predicted first-touch zone
Dashed target line marking the midpoint of the predicted zone
Info panel at middle-right showing First Target, Confidence, HTF Bias, P/D Zone, Session, Liquidity, Target Mid, and Raw Score
Tooltips on every panel row explaining what the metric means and how to interpret it
A ⚡ icon appears next to the Liquidity row when the override rule is active.
How To Use It
This is a bias-confirmation tool, not a signal generator. The intended workflow:
Identify a setup yourself using your own framework
Check the panel — does the directional call agree with your read?
When your analysis and the indicator agree: higher conviction setup, consider standard sizing
When they disagree: stand aside or wait for additional confluence
Always pre-define both scenarios — entry, stop, and target for if first-touch goes upper and if it goes lower. The indicator's job is to bias which scenario is more likely; your job is execution.
The Confidence number is meant to inform position sizing, not certainty. 65–75% means the factors are aligned. 52–58% means thin edge. Below 52% means stand aside.
Configurable Inputs
HTF-1 (Bias) timeframe — default 60m
HTF-2 (Regime) timeframe — default 240m
Swing pivot length, max zones per type, liquidity tolerance
Toggle every visual element independently (zones, labels, P/D zones, panel, arrow, target line)
All six factor weights are exposed and tunable
Strong-Liquidity Override on/off
Color customization (Material palette by default, color-blind friendly)
Built-In Alerts
High-Confidence UP Target (score crosses above +0.60)
High-Confidence DOWN Target (score crosses below -0.60)
Directional Flip (score crosses zero)
Honest Limitations You Should Know
I built this to be useful, not to oversell. Here's what it cannot do:
It is not predictive in any guaranteed sense. No indicator is. Markets are probabilistic; this tool tries to score probability, not prophesy outcomes.
It does not see news. Major economic events (CPI, FOMC, NFP) will override any structural read. Use an economic calendar alongside.
The factor weights are reasoned, not statistically optimized. Future versions may include backtested weight tuning.
Order Block detection is simplified. It catches the most common BOS-origin OB pattern; institutional-grade detection requires more nuance.
Confidence is capped at 75% by design. If you ever see a tool claim 85%+ confidence on directional calls, be skeptical.
Best on liquid instruments during major sessions. Performance degrades in low-volume hours and illiquid pairs.
Why I'm Releasing This Free
This is part of a broader project on multi-factor SMC analysis. I'd rather have thousands of traders stress-testing it on real charts and giving feedback than charge a few people for an unrefined tool. If you find it useful, drop a comment with what's working, what's not, or what factor you'd like to see added. That feedback shapes future versions.
Best Timeframes & Markets
Designed for intraday trading on the 5m, 15m, and 1H charts. Works on:
Index futures (ES, NQ, YM)
Major FX pairs (EURUSD, GBPUSD, USDJPY, etc.)
Liquid crypto (BTC, ETH)
High-volume stocks during regular trading hours
Less reliable on low-volume pairs, illiquid stocks, or weekend crypto.
Credits & Methodology
Built on Smart Money Concepts (SMC) and Inner Circle Trader (ICT) methodology — specifically: Order Blocks, Fair Value Gaps, Premium/Discount theory, liquidity engineering, killzone timing, and displacement analysis. The weighted multi-factor approach is original; the underlying concepts are not.
Disclaimer
This indicator is provided for educational and analytical purposes only. It is not financial advice. Past performance of any market structure does not guarantee future results. Always use proper risk management. Trade your own analysis, not any single indicator's output.
Engagement
Boost the script if it earns its place on your chart. Drop a comment with your timeframe, instrument, and what's working or breaking. I read every comment and the feedback shapes the next version.
Indicator

Shannon Entropy Terrain 3D [LliterH]SHANNON ENTROPY TERRAIN 3D
─────────────────────────────────────────────────────────────────────
Most market regime filters give you a single number. This indicator gives
you a landscape.
Shannon Entropy of price log-returns is computed simultaneously across
20 different lookback windows and rendered as a 3D thermal terrain surface.
Each layer of that surface answers the same question with a different time
horizon: is the market currently structured or random?
The result is a visual map that reveals what a flat oscillator cannot —
whether the order or chaos you see in one timeframe is isolated or systemic.
THE MATHEMATICS
─────────────────────────────────────────────────────────────────────
Shannon Entropy quantifies the unpredictability of a system:
H = -sum( p_i * log2(p_i) )
Applied to the distribution of price log-returns ln(close/close ) over
a rolling window, H measures how randomly recent price behavior has been
distributed — independent of direction or magnitude.
This indicator normalizes H to a 0-100 scale using:
H_norm = H / log2(N) * 100
where N is the number of histogram bins. Result interpretation:
0 Perfect order One directional move dominates the window
30 Order boundary Market is structured, patterns are reliable
50 Neutral plane Mixed regime, no clear consensus
70 Chaos boundary Market begins to lose predictability
100 Maximum chaos Returns distributed uniformly at random
READING THE TERRAIN
─────────────────────────────────────────────────────────────────────
The surface is colored by entropy VALUE at each point, not by depth.
This means color always communicates information — not decoration.
Deep navy to cyan Entropy 0-30 Order zone
Cyan to warm yellow Entropy 30-50 Transitioning toward order
Yellow to orange Entropy 50-70 Transitioning toward chaos
Orange to crimson Entropy 70-100 Chaos zone
Two floating wireframe rectangles mark the critical thresholds:
Cyan frame at 30 The order boundary
Red frame at 70 The chaos boundary
When the terrain surface breaches a frame, the market has crossed a
regime threshold across that lookback range.
The left wall shows the entropy profile of the oldest bar in view.
The right wall shows the live entropy profile of the current bar.
The label at the right edge displays two readings:
LOCAL Short lookback layer — fast, reactive to recent bars
MACRO Long lookback layer — slow, structural regime
PRACTICAL READING GUIDE
─────────────────────────────────────────────────────────────────────
The most valuable insight this indicator provides is CONSENSUS.
SCENARIO 1 — All layers cold (terrain below neutral plane, blue-cyan)
The market is ordered across every time horizon simultaneously.
Short lookback and long lookback agree: structure is present.
This is the highest-conviction environment for any systematic strategy.
Trend-following entries have high reliability. Range plays are clean.
Set-and-forget methodology works in this condition.
SCENARIO 2 — All layers hot (terrain above 70% frame, orange-red)
The market is noisy across every time horizon simultaneously.
No lookback window finds structure. Returns are near-random.
Breakouts are likely false. Stop hunts increase in frequency.
The correct response is to reduce position size or stand aside.
This condition often precedes or follows major news events.
SCENARIO 3 — Front cold, back cold (local and macro both ordered)
The strongest structural signal. The market has been trending
long enough for even the longer lookback windows to confirm order.
This is the ideal session condition for a London momentum setup.
SCENARIO 4 — Front hot, back cold (local chaos, macro structure)
A brief disruption within a structurally ordered trend.
The long-term framework is intact. The short-term is noisy.
Wait for the front layers to cool before entering.
The entry timing is off, but the directional bias may still be valid.
SCENARIO 5 — Front cold, back hot (local order, macro chaos)
A short-term window of clarity within a chaotic structural backdrop.
Trade with reduced size. The macro environment does not support
clean follow-through. Tighter management required.
SCENARIO 6 — Terrain crossing the 70% frame in real time
Watch the right wall and the label. When the LOCAL reading crosses
above 70 during a trade, consider whether the entry signal was
generated during the chaos or before it. If after — reassess.
HOW THIS BENEFITS YOUR TRADING
─────────────────────────────────────────────────────────────────────
The fundamental problem in discretionary trading is not finding signals —
it is knowing which signals to trust on a given day.
A strategy with a 60% win rate in ordered markets may drop to 40% in
chaotic markets. The signal logic does not change. The market regime does.
This indicator addresses that problem directly by:
1. Showing regime quality BEFORE you look for an entry. If the terrain
is red before your session opens, the day is compromised before it
starts. You know this at 3:00 AM, not after two losing trades.
2. Showing whether the regime is LOCAL or SYSTEMIC. A brief spike in
local entropy during an otherwise ordered session is different from
full-spectrum chaos. The terrain makes this distinction visual and
immediate.
3. Providing a historical map of the last 45 bars. You can see when
the chaos started, whether it is intensifying or resolving, and how
the current bar relates to the recent structural pattern.
4. Operating independently of direction. It does not tell you to buy
or sell. It tells you whether the environment supports the signals
your system generates. This separation is intentional and correct.
PARAMETERS
─────────────────────────────────────────────────────────────────────
Terrain
Time History (Width) Bars displayed on X axis. Default 45.
Entropy Layers (Depth) Lookback windows on Y axis. Default 18.
Min Lookback (Front) Shortest window. Most reactive. Default 8.
Max Lookback (Back) Longest window. Most structural. Default 55.
Histogram Bins Entropy resolution. Default 10.
Terrain Smoothing EMA smoothing per layer. Default 4.
Camera
Yaw Rotates the landscape left or right.
Pitch Tilts the viewing angle up or down.
Scale X, Y, Z Stretch each axis independently.
Offset X, Y Reposition the terrain within the pane.
Style
Wireframe Grid overlay on or off.
Surface Fill Filled terrain on or off.
Side Walls Left and right entropy profile panels.
Threshold Contour Frames 30% and 70% floating reference frames.
Thermal palette All five color anchors are adjustable.
METHODOLOGY
─────────────────────────────────────────────────────────────────────
Input signal: natural log returns ln(close/close ).
Log returns are scale-independent, symmetric, and stationary — the
mathematically correct input for entropy analysis of financial time series.
Histogram method: returns are binned into N equal-width intervals over
the lookback window. Probabilities are relative frequencies. This is a
direct implementation of Shannon's discrete entropy formula.
Normalization: H divided by log2(N), the theoretical maximum entropy for
N equiprobable bins. Output is always bounded in .
Thermal color: each strip is colored by the mean entropy of its two
constituent rows, not by its position in the Y axis. Color always
encodes information value, not spatial location.
Rendering: all drawing is performed exclusively on the last bar.
The terrain matrix updates incrementally every bar for efficiency.
WHAT MAKES THIS DIFFERENT
─────────────────────────────────────────────────────────────────────
Existing 3D terrain indicators color by depth (Y axis position).
That choice is arbitrary — the color tells you where you are in the
structure, not what the data says at that point.
This indicator colors by entropy value (Z axis). The thermal gradient
is a direct encoding of the measurement. You read regime from color
without consulting a separate legend.
The floating threshold frames at 30% and 70% are 3D reference planes
that the terrain can physically breach. This is not available in any
other published terrain indicator.
The side wall panels render the full entropy distribution across all
lookback layers at a single point in time, functioning as entropy
histograms projected in 3D space.
Shannon Entropy applied to multi-lookback terrain is, to the author's
knowledge, not represented in the published PulseWire library.
LIMITATIONS
─────────────────────────────────────────────────────────────────────
This indicator measures regime quality, not direction. It does not
generate buy or sell signals and should be used alongside a complete
entry methodology.
Histogram entropy with lookback windows below 8 bars approaches the
Nyquist sampling limit and produces unreliable readings. The minimum
lookback is constrained to 5 bars as a safeguard.
Performance: the indicator is computationally intensive for PulseWire's
rendering engine. If responsiveness is slow, reduce Entropy Layers and
Time History. Recommended maximums: 20 layers, 55 bars width.
█ DISCLAIMER
This indicator is provided for educational and informational purposes only. It does not constitute financial, investment, or trading advice. Past performance is not indicative of future results. Trading involves substantial risk of loss and is not suitable for every investor. Always conduct your own research and consult a qualified financial professional before making any trading decisions. The author is not responsible for any losses incurred from the use of this tool
─────────────────────────────────────────────────────────────────────
Published under Mozilla Public License 2.0
© LliterH
───────────────────────────────────────────────────────────────────── Indicator

Quantum Master EngineQuantum Master Engine
Description:
The Quantum Master Engine is an institutional-grade quantitative trading suite designed for scalpers and day traders. It unifies a multi-timeframe dashboard (HUD) with a highly advanced visual Strike Box execution system.
Core Features:
MTF Confluence Matrix: Natively processes up to four timeframes simultaneously, analyzing Hidden Markov Model (HMM) shifts, Volatility Regimes, and Macro Trend EMAs in a clean, non-intrusive HUD.
Kinetic Strike Boxes: Visualizes entry triggers directly on the chart based on Neon Velocity algorithms, Whale Volume Bubbles, and structural Confluence engines.
Quantum Auto Targets: Say goodbye to static stop losses. The algorithm actively scans the chart for unmitigated High-Volume Nodes (HVNs) to use as magnetic Take Profits and Stop Losses. If no nodes are present, it intelligently falls back to real-time Dynamic ATR targets.
Risk Management Integration: Calculates safe lot sizes automatically based on strict account percentage rules and dynamic stop-loss distances.
Webhooks: Fully wired for external JSON automation, broadcasting precision entry points, exact pip distances, and momentum exhaustion exit triggers.
Indicator

Sigmoid Transition Trailing Stop [LuxAlgo]The Sigmoid Transition Trailing Stop indicator provides a dynamic risk management tool that utilizes a mathematical sigmoid function to smoothly adjust stop levels when price trends become overextended. Unlike traditional trailing stops that move linearly or remain static until a new high/low is formed, this script proactively "catches up" to price during periods of high momentum using a non-linear transition.
🔶 USAGE
The indicator functions as a trend-following stop-loss or take-profit level. When the price crosses the trailing stop, the trend direction flips, and a new stop is calculated based on the ATR-derived distance.
The unique behavior of this tool occurs during "Adjustment" phases. When the distance between the price and the trailing stop becomes too wide (exceeding the initial ATR multiplier), the script triggers a sigmoid transition. During this phase:
The trailing stop line becomes solid (0% transparency) to indicate an active adjustment.
The stop level moves towards the price following an S-curve, providing a smooth acceleration and deceleration of the stop level.
The adjustment concludes once the sigmoid duration is reached or if the stop gets too close to the price (defined by the Min Distance setting).
🔹 Visual Cues
Green Line/Fill: Indicates a bullish trend where the stop is below the price.
Red Line/Fill: Indicates a bearish trend where the stop is above the price.
Solid Line: The sigmoid adjustment is currently active, moving the stop closer to price.
Transparent Line: The stop is in its standard state, maintaining its level or trailing highs/lows.
🔶 DETAILS
The core of the script is the sigmoid function, which creates a natural-looking transition between two price levels. Mathematically, it maps a linear time input (bars passed) to an S-shaped curve between 0 and 1.
The logic ensures that the "trailing" property is never violated; even during a sigmoid transition, the stop level can only move in the direction of the trend (up for bullish, down for bearish). If the price moves against the trend during an adjustment, the stop will simply hold its level until the price moves favorably again or the adjustment period ends.
🔶 SETTINGS
🔹 General Settings
ATR Length: The lookback period used to calculate the Average True Range, which determines the volatility-based distance of the stop.
ATR Multiplier: The base distance (in ATR units) used when the trend first flips.
Sigmoid Length (Bars): The number of bars over which the sigmoid transition occurs once triggered.
Sigmoid Amplitude (ATR Units): The maximum distance the stop is allowed to travel toward the price during an adjustment phase.
Min Distance (ATR Units): A safety buffer that prevents the sigmoid adjustment from moving the stop too close to the current price, preventing premature exits.
Indicator

ATR Trailing Stops for Hyperliquid Spot + Perps [HYPR-run]DESCRIPTION:
A drop-in ATR trailing exits module. Four architectures that maximize
profit on winning trades using volume weighted volatility instead of fixed levels or
plain ATR. Built modular; the trailing logic is self-contained so you
can drop it into any existing indicator or strategy as a plug-and-play
exits block. Two independent stops (long/short), spot and perps.
DISCOVERING EDGE
ATR trailing exits are popular, everyone uses them, but this indicator doesn't just trail on volatility, it trails on meaningful volatility that very few people measure. In order to gain a persistent, mechanical edge in how winners run and protect capital on the trades that don't work, we explored a more meaningful expression of ATR trailing exits.
VOLUME-WEIGHTED ATR vs PLAIN ATR
Plain ATR treats every candle equally. Volume-weighted ATR will only expand stops when volume validates the volatility, preventing premature exits on noise and letting winners run further on real moves. Over hundreds of trades this single difference can compound in the spirit of letting winners run further, losers stay controlled versus fixed levels or vanilla ATR.
- Four modes (A3.1, A4.0, A4.1, A4.2) cover different trailing
behaviors: ratcheting, chandelier anchor, free-floating, and raw
baseline. All size stop distance from volatility, not fixed levels.
- Modular engine. The trailing logic is self-contained; drop it into
any existing indicator or strategy as a plug-and-play exits block.
- Alerts fire built-in JSON webhook payloads. Paste your webhook URL,
create the alert, execute on the exchange of your choice.
ATR MODES
A3.1: LinReg + plain ATR, no ratchet. The baseline. Linear regression
projects where price is heading, plain ATR sets the distance. Stop moves
freely in both directions. Use as a reference or when you want a raw
trailing stop.
A4.0: LinReg + VWATR + Efficiency Ratio + ratchet (default). The
all-rounder. Volume-weighted ATR discounts low-liquidity candles. The
Efficiency Ratio (Kaufman) measures trend quality: in a clean trend it
widens the stop to let price run; in chop it tightens. Ratchet floor
means the stop only moves in your favor.
A4.1: Chandelier + VWATR + ratchet + first-bar multiplier. Anchored to
the highest high (longs) or lowest low (shorts). First-bar multiplier
sets a tighter initial stop, then the standard multiplier takes over as
the ratchet locks in gains. Use when entering off key levels.
A4.2: LinReg + VWATR, no ratchet. Same as A4.0 but without ratchet
floor or Efficiency Ratio. Stop moves freely with the projection, giving
the trade room through consolidation at the cost of less locked profit.
FEATURES
- Four ATR architectures selectable via dropdown
- Volume-weighted ATR: low-liquidity candles contribute less
- Efficiency Ratio: tightens in chop, widens in trend (A4.0)
- Ratchet floor: stop only moves in your favor (A4.0, A4.1)
- First-bar multiplier for tighter initial protection (A4.1)
- Separate ATR lookbacks for longs and shorts
- Separate multipliers for longs and shorts
- Two-bar confirmation prevents single-wick fakeouts
- Gradient fill between price and stop (intensifies near danger)
- Stop line color shifts with ATR regime (green stable, amber expanding)
- Ratchet circles mark each new locked-in level on the stop line
- Dashboard: mode, stop price, gap %, ER, VWATR %, regime state
- Dark/light theme toggle for any chart background
- Independent long/short alert toggles
- No JSON snippet needed; close payload is built into the script
HOW IT WORKS
Volume-weighted ATR scales each bar's true range by its volume relative
to the lookback average. High-volume bars contribute more; thin candles
contribute less. This prevents low-liquidity spikes from inflating stop
distance. Separate lookbacks for longs (default 14) and shorts (default
26) reflect that crypto drops faster than it climbs.
The Efficiency Ratio measures directional movement versus noise on a 0-1
scale. It scales the ATR multiplier between 0.8x (choppy) and 1.2x
(trending), adapting stop width to market regime. Only active in A4.0.
Two-bar confirmation requires a confirmed close beyond the stop level.
A single wick does not trigger the exit. The cross must hold for at
least one additional bar close.
ALERTS
Close Long fires as SPOT (sell spot position). Close Short fires as
PERPS (close short; spot is long-only). Toggle each independently.
Alert payload is built into the script as JSON; works with any webhook
receiver that accepts market/ticker/position fields.
CREDITS
ATR: J. Welles Wilder (1978)
Efficiency Ratio: Perry Kaufman Indicator

Indicator

Stop Loss Cascades (Breakouts) [Kioseff Trading]Hello friends and traders!
🔹Introduction
This indicator " Stop-Loss Clustering (Breakouts) " attempts to model trader stop-loss placement logic and identify price areas where a large amount of stop losses might cluster.
The idea is, if stop losses are indeed highly concentrated in a specific area, price extending through that area may produce high-velocity breakout conditions via forced order flow .
I'll cover this topic more thoroughly throughout the description. For now, just know that stop loss location & size data is not publicly available . Any model of their concentration locations is highly assumptive.
However, there's some reasonable academic research we can reference to make worthwhile estimates.
Academic references supporting the concepts discussed are listed at the end of this description. To maintain readability, I won't cite individual statements inline.
🔹The Premise
🔸Liquidity, Behavior, and Stop Cascades
Markets operate through a continuous limit order book , where two fundamental order types interact:
Limit orders , which provide liquidity by resting in the book
Market orders , which consume liquidity by exhausting those resting orders
This mechanical interaction drives price movement - incoming order flow consuming available liquidity .
This begs the question.. Does liquidity distribute evenly across the LOB?
If it did : If liquidity were evenly distributed, price impact could be modeled as a relatively smooth function of incoming order flow.
But it doesn’t : Liquidity is unevenly distributed. Academic research supports this claim and, regardless, this is an intuitive conclusion most traders arrive at.
Liquidity forms localized concentrations and gaps.
Liquidity concentrations are commonly referenced as: liquidity shelves , liquidity clusters , liquidity zones .
Liquidity gaps are commonly referenced as: liquidity vacuums , thin book zones .
As a result, identical order flow can produce very different price movements depending on the state of the order book.
Let’s consider an example..
Assume price is trading at $99.
The price levels $100, $101, $102 have resting sell limit order concentrations of 100.
This is where you come in.
You execute a market order buy for 300 size.
Your order first exhausts all sell-side resting order concentrations at the $100 level.
You still have 200 size that needs to be filled, and the ask price has moved from $100 to $101.
Your order will now sequentially exhaust available liquidity at the $101 level, the ask price will increase to $102, and your final 100 size will exhaust the $102 level.
To keep the example simple, we’ll say that your order moved price from $99 to $102, and now the ask price is $103.
But, you still want to accumulate.
The nearest sell-side levels in the LOB are $103, $104, $105.
The $103 level has a sell limit order concentration of 500.
$104 and $105 both have concentrations of 50.
You execute your same market order buy for 300 size.
This time, price doesn’t move.. At all..
Instead, you consumed 300 of the 500 size at $103 with your order, and the level remains a barrier.
Your order was absorbed by available liquidity.
This example demonstrates how price movement depends on available liquidity , not simply the size of incoming orders.
In the first scenario, liquidity was thin and the order walked through multiple price levels, causing price to move quickly.
In the second scenario, a large concentration of resting liquidity absorbed the same order, preventing price from advancing.
🔸Liquidity Does Not Distribute Evenly
Alright, we understand that liquidity doesn’t distribute evenly. And we understand that high concentrations of liquidity can act as price barriers (liquidity shelves) while sparse liquidity can permit rapid price movement - we saw this in our example above.
There’s an important question we should ask next before we move on..
If liquidity distributes unevenly, then where does it tend to cluster? And where does it tend to thin?
Of course, knowing these tendencies provides multi-purpose advantages.
If price approaches a liquidity vacuum - a local block of the order book with thin resting liquidity - rapid price movement can occur without requiring unusually strong aggressive order flow.
If price approaches a liquidity shelf - a local block of the order book with thick resting liquidity - price can stall or contract even if the same level of aggressive order flow that previously moved price continues.
With this in mind, order flow intensity alone does not determine price movement . The distribution of liquidity across surrounding price levels plays a similarly important role.
So, is there any evidence of where liquidity tends to concentrate ?
🔸Empirical Observations
Empirical research on limit order books shows that liquidity does not distribute smoothly across the LOB . Instead, depth tends to concentrate at specific price levels, producing irregular profiles with localized peaks in resting liquidity.
These concentrations arise because order placement is not random . Traders frequently anchor decisions to widely observed reference prices such as:
• prior highs
• prior lows
• round numbers
• widely referenced price extremes
Because many traders monitor the same price history, order placement decisions often reference similar price levels.
This concept is simpler than it sounds.
Let’s use market structure traders for example.
Market structure traders frequently reference prior swing highs and swing lows when making decisions about entries, exits, and risk.
A trader entering a long position may place their stop-loss below a recent swing low , reasoning that if price breaks that level, the trade idea is invalidated.
A trader entering a short position may place their stop-loss above a recent swing high for the same reason.
Timeframe price aggregation may differ; however, we’re all looking at roughly the same recent highs and lows when evaluating a chart (structure).
When many traders collectively reference the same prices, orders may accumulate near those levels. This produces localized depth concentrations, which traders refer to as liquidity shelves .
Liquidity shelves act as temporary barriers where the book contains disproportionately large resting liquidity compared to surrounding prices.
🔸Research documenting liquidity clustering includes :
Bourghelle & Cellier (2007) , who find that limit orders cluster at prominent price levels (especially round numbers), creating localized depth concentrations that can act as price barriers.
Kavajecz & Odders-White (2004) , who demonstrate that prices identified as support or resistance coincide with higher resting limit order depth
These findings suggest that many commonly observed price levels may correspond to real concentrations of liquidity rather than being purely visual artifacts on a chart.
Kavajecz & Odders-White (2004) is an important observation for support/resistance traders!
Kavajecz & Odders-White (2004) show that levels traders commonly call support and resistance often align with areas where more limit orders are resting in the order book.
This suggests a plausible mechanical pathway through which support and resistance levels can emerge!
🔸Liquidity Shelves and Price Interaction
When liquidity clusters around a price level, the resulting liquidity shelf can influence how price behaves when it approaches that area.
Price interaction with these shelves is state-dependent :
If incoming order flow is absorbed, price may stall or reverse
If resting liquidity is consumed, price may transition rapidly to the next liquidity zone
Once a shelf is depleted, follow-through can accelerate due to thinner liquidity beyond the level
Research on order book dynamics supports this mechanical view of price movement.
For example:
Jean-Philippe Bouchaud, J. Doyne Farmer, and Fabrizio Lillo (2009) demonstrate that price impact emerges from the interaction between order flow and finite liquidity
From this perspective, price does not move simply because a level is crossed.
Price moves because available liquidity at that level has been consumed.
🔸Latent Liquidity and Stop Clustering
In addition to visible liquidity from limit orders, markets also contain latent liquidity .
This is where ”Stop-Loss Clustering (Breakouts)” becomes important - we’re almost done!
Latent liquidity consists of conditional orders such as stop-losses that are not visible in the order book until triggered .
Although these orders aren’t public information, empirical studies show that stop orders tend to cluster near widely referenced price levels .
Research by Carol Osler (2001, 2002) using institutional FX order data finds that stop-loss orders frequently accumulate just beyond salient price levels such as prior highs and lows.
When these stops trigger, they convert into aggressive market orders and can generate bursts of directional order flow that may accelerate price movement.
🔸Stop-Loss Cascades
Stop losses add another layer of latent order flow that isn’t visible in the order book until it triggers.
If enough of them sit around the same price area.. Think “hidden pressure” waiting to activate. Nothing happens while price trades nearby, but once that level is traded at, those stops convert into market orders and immediately begin consuming available liquidity.
This matters because stop placement is unlikely to be random in most instances. Traders frequently anchor stops to widely observed prices such as prior highs, prior lows, or other prominent structure points, or use volatility methods such as ATR, etc.
So when price approaches one of these areas, two things can happen.
If the resting liquidity there is large enough, the incoming orders can be absorbed and price may stall or reject.
But if that liquidity gets consumed, the stops sitting just beyond the level begin triggering. Those triggered stops add additional market orders, which consume more liquidity and can push price further into the next layer of stops.
This creates a cascading effect:
price reaches a stop cluster
stops trigger and convert into market orders
liquidity gets consumed faster
price moves further, triggering more stops
When this chain reaction starts, price can transition very quickly from a slow battle near the level to rapid expansion through it.
This is one of the mechanical reasons why some reference-point breaks barely move, while others accelerate rapidly.
🔹How It Works
Now that we understand the why - let’s discuss how the indicator works.
🔸Absorbtion Extremes
The image above shows the absorption extremes model.
In this model, the indicator treats recent & relevant swing points as plausible stop clustering candidates.
You can find similar swing point identification mechanics in other indicators.
However, this model assigns subsequent volume to the swing level after its formation.
There are limitations and assumptions - let’s go over them.
The images above explain how the indicator determines the intensity of a possible stop-cluster around a swing level.
There are limitations and assumptions
1: The indicator assigns all “directional volume” to a swing level after it’s formed and while it remains the closest active swing point to the current price.
“Buy volume” is assigned to the closest active swing low.
“Sell volume” is assigned to the closest active swing high.
I say “buy volume” and “sell volume” because there’s assumptions on what constitutes the relevant classification.
The indicators follow the traditional two-region tick model for classifying buy volume and sell volume.
Higher close = “buy volume” proxy
Lower close = “sell volume” proxy
Depending on the granularity you select (the indicator is capable of using tick data), this model can be more/less accurate.
However, even with tick-level data and bid/ask quotes, trade direction must still be inferred using classification rules. Because some trades occur inside the spread or involve hidden liquidity, perfect classification is not possible without exchange aggressor flags.
For assumptions..
The model assigns ALL classified volume to the swing level.
In reality, traders use a wide range of risk management methods, and not every position will place a stop loss directly at the most recent swing point. ATR-based stops, percentage-based stops, and other volatility-based methods are also common.
Because the true distribution of stop placement is unobservable, the model assumes that positions entered are structurally invalidated at the closest swing level based on their classified direction.
As a result, the values displayed by the indicator should be interpreted as relative proxies for potential stop concentration, rather than precise estimates of actual stop-loss size.
The displayed magnitudes are intentionally exaggerated and comparative, designed to highlight where stop pressure may accumulate relative to other levels.
The images above show how to interpret the indicator when using this model.
The image above shows the triggered stop-cluster graph.
Each point corresponds to a triggered stop-cluster - assuming it exists.
The greater the size attached to that cluster, the further distant the data point is placed.
Far away from zero line = large size.
Close to zero line = low size.
Radiating/glowing points indicate a potentially large cluster trigger.
🔸 Volatility-At-Entry Model (Time Scaled)
The Volatility-At-Entry model uses ATR scaled by various timeframes to predict plausible stop loss placements.
For this model, the indicator uses the same tick classification model to assign volume directionally.
Volume is then dispersed across six common timeframes (1m, 5m, 15m, 30m, 1h, 4h) and 3 common ATR multiples for risk management (1ATR, 1.5ATR, 2ATR).
This model assumes traders are entering positions across various timeframes and are scaling risk congruent with those timeframes.
For instance,
A trader using the 1-minute chart for opportunity is more likely to use a stop loss closer to entry than a trader using the 4-hour chart for opportunity.
If this assumption is reasonable to you - great, we can move forward!
The image above visualizes the model.
Purple-shaded regions indicate a price area with less opportunity for stop loss clustering. Either transaction intensity around eligible price areas was low, or position accumulation wasn’t given sufficient time.
Pink-shaded regions indicate a price area with greater opportunity for stop loss clustering. Volume was significant around these regions or price has traded within proximity for extended periods.
This model naturally shows more future opportunity than historical outcomes. You can select to show historical outcomes in the settings, this image shows examples of such outcomes.
The image above shows the triggered stop loss graph in effect for this model. Stop clustered are distributed across more price areas with this model - from low intensity to high intensity. Therefore, a cluster is almost always “triggering” to some degree.
A classification model for what’s typical and what’s unusual is used for the graph in this case. Radiating points always indicate large stop clusters triggered. Anything within the green/pink line indicates usual size.
Typical Move
The image above explains the nearest cluster information table.
The size and location of the nearest buy-stop cluster and sell-stop cluster are recorded.
Additionally, the indicator identifies whether clusters of similar size were triggered in the past, and how price behaved following those events.
Since all models here are highly assumptive, and similar sized clusters might only have one or two relative neighbors, treat these measurements as a description of history rather than a prediction.
The model takes the logarithm of the current stop-volume (buy or sell) to normalize its scale and compare it with a historical dataset of previously observed stop-volume sizes that have also been log-scaled.
It then identifies historical observations whose sizes are most similar to the current value, either by selecting all observations within a tolerance range around that value (where the range is based on the typical spacing between historical observations), or by selecting the single closest match.
Finally, the model retrieves the historical price moves associated with those matched observations, producing a sample of “typical moves” that occurred when stop-volume magnitude was similar to the current situation.
Ratio Meter
The stop-cluster ratio meter shows the current sum of active and triggered all buy-side clusters and sell-side clusters.
This meter is useful for quick scanning across assets to see if active or recently triggered stop clusters are lopsided.
Additional Features
The single most important setting outside model selection is the lower timeframe used to retrieve volume from.
This setting is set to 1-minute data by default because it works with paid and free plans. If you want better granularity, I strongly suggest changing this setting to either 1-second or 1-tick. This will sacrifice the number of identifiable cluster locations, because better granularity data has less programmatically retrievable values.
🔹Closing Remarks
Stop-loss clustering is an appealing concept because it offers a plausible explanation for why some breakouts accelerate so quickly while others stall. When a large number of conditional orders sit near the same price, a breakout through that area can trigger a cascade of market orders that rapidly consume liquidity and push price toward the next available zone.
However, it’s important to remember that the models used in this indicator are approximations, not direct measurements. True stop-loss locations and sizes are not publicly observable, and many traders use different risk management techniques that cannot be perfectly inferred from chart data alone. The goal of this indicator is therefore not to identify exact stop locations, but to highlight price areas where stop pressure may plausibly accumulate relative to surrounding levels.
Like any model based on behavioral assumptions and historical observations, results should be interpreted probabilistically. Large clusters do not guarantee breakouts, and small clusters do not guarantee quiet price behavior. Instead, the indicator is best used as a tool for context and situational awareness.
References
General Microstructure and Price Formation
Madhavan, A. (2000). Market microstructure: A survey. Journal of Financial Markets, 3(3), 205–258.
O'Hara, M. (1995). Market Microstructure Theory. Blackwell.
Biais, B., Glosten, L., & Spatt, C. (2005). Market microstructure: A survey of microfoundations, empirical results, and policy implications. Journal of Financial Markets, 8(2), 217–264.
Limit Order Books and Liquidity as Resting Orders
Gould, M. D., Porter, M. A., Williams, S., McDonald, M., Fenn, D. J., & Howison, S. D. (2013). Limit order books. Quantitative Finance, 13(11), 1709–1742.
Rosu, I. (2009). A dynamic model of the limit order book. Review of Financial Studies, 22(11), 4601–4641.
Biais, B., Hillion, P., & Spatt, C. (1995). An empirical analysis of the limit order book and the order flow in the Paris Bourse. Journal of Finance, 50(5), 1655–1689.
Liquidity Clustering and Depth Concentration
Kavajecz, K. A., & Odders-White, E. R. (2004). Technical analysis and liquidity provision. Review of Financial Studies, 17(4), 1043–1071.
Bourghelle, D., & Cellier, A. (2007). Limit order clustering and price barriers on financial markets. Working paper / SSRN.
Order Flow and Price Impact
Bouchaud, J.-P., Farmer, J. D., & Lillo, F. (2009). How markets slowly digest changes in supply and demand. In Handbook of Financial Markets: Dynamics and Evolution.
Stop Orders and Price Cascades
Osler, C. L. (2003). Currency orders and exchange-rate dynamics: Explaining the success of technical analysis. Journal of Finance, 58(5), 1791–1819.
Osler, C. L. (2005). Stop-loss orders and price cascades in currency markets. Journal of International Money and Finance, 24(2), 219–241.
Liquidity Provision and Execution
Ho, T., & Stoll, H. (1981). Optimal dealer pricing under transactions and return uncertainty. Journal of Financial Economics, 9(1), 47–73.
Almgren, R., & Chriss, N. (2000). Optimal execution of portfolio transactions. Journal of Risk, 3(2), 5–39.
Menkveld, A. J. (2013). High frequency trading and the new market makers. Journal of Financial Markets, 16(4), 712–740.
Behavioral Anchoring and Attention
Kahneman, D., & Tversky, A. (1974). Judgment under uncertainty: Heuristics and biases. Science, 185(4157), 1124–1131.
Barber, B. M., & Odean, T. (2008). All that glitters: The effect of attention and news on the buying behavior of individual and institutional investors. Review of Financial Studies, 21(2), 785–818.
George, T. J., & Hwang, C. Y. (2004). The 52-week high and momentum investing. Journal of Finance, 59(5), 2145–2176.
Mizrach, B., & Weerts, S. (2007). Highs and lows: A behavioral and technical analysis. SSRN working paper.
Indicator

Indicator

Neighboring Trailing Stop [LuxAlgo]The Neighboring Trailing Stop indicator provides a dynamic, data-driven trailing stop-loss mechanism by analyzing the local distribution of prices relative to the current market position. It uses a "k-nearest neighbors" approach to identify support and resistance levels based on historical price clusters, offering a unique alternative to standard volatility-based stops like ATR.
🔶 USAGE
The indicator helps traders identify trend reversals and manage open positions by providing a protective stop that adjusts based on where price has historically "congested" near the current level.
🔹 Trend Interpretation
Bullish Trend: When the stop-loss line is below the price (colored green), the market is in a bullish state. The trailing stop will only move upward, securing profits as the price creates new local distribution highs.
Bearish Trend: When the stop-loss line is above the price (colored red), the market is in a bearish state. The trailing stop will only move downward, following the price as it explores lower distribution zones.
🔹 Signals
The script plots "B" (Buy) and "S" (Sell) labels at the point of trend reversals. These occurs when the price breaks through the current "neighboring" distribution boundary, suggesting a shift in the local market structure.
🔶 DETAILS
The methodology behind this indicator is rooted in non-parametric statistics and price distribution analysis rather than simple moving averages or volatility.
🔹 Price Distribution & K-Neighbors
The script maintains a "Historical Buffer" of recent prices in a sorted array. For every new bar, it identifies the position of the current price within this sorted distribution. It then looks at k neighbors above the price and k neighbors below the price.
🔹 Percentile Bands
Within these local "neighborhoods" of price data, the script calculates a specific percentile. This allows the indicator to ignore outliers and focus on where the bulk of historical price action occurred near the current level. If the price moves into a "discovery" phase where it exceeds the range of its historical neighbors, a trend reversal is triggered.
🔹 Trailing Logic
The resulting levels are smoothed via an SMA to prevent erratic jumps. The trailing stop is "ratcheted"—meaning it can only move in the direction of the trend (up for long, down for short)—ensuring that realized gains are protected even if the distribution neighborhood expands.
🔶 SETTINGS
Historical Buffer (Bars): Determines how many historical price points are kept in the distribution memory. A larger buffer considers more history, leading to more stable but slower-reacting levels.
Neighboring Range (K): The number of price points to analyze immediately above and below the current price. Smaller values make the stop more sensitive to local price changes.
Percentile: Controls the depth within the neighborhood used for the stop level. A higher percentile (e.g., 90) places the stop further away from the current price.
Smoothing: Applies a Simple Moving Average (SMA) to the raw distribution levels to create a smoother trailing line.
Indicator

Indicator

SuperTrend Recovery [LuxAlgo]The SuperTrend Recovery indicator provides a modified version of the classic SuperTrend algorithm that incorporates a dynamic "recovery" mechanism designed to adjust the trailing stop when price action moves significantly against the current trend. This script aims to help traders manage volatile environments by tightening the trend band when the market experiences deep pullbacks without triggering a full trend reversal.
🔶 USAGE
The indicator can be used similarly to a standard SuperTrend to identify market direction and potential trailing stop-loss levels. However, the unique recovery logic allows for a more adaptive response to price deviations.
🔹 Trend Detection
When the price is above the band, the indicator signals a BULL trend.
When the price is below the band, the indicator signals a BEAR trend.
Trend switches are marked with "BULL" or "BEAR" labels and a colored circle at the switch point.
🔹 Recovery Mechanism
In a standard SuperTrend, the band stays flat if price moves against the trend (but doesn't break it). In the SuperTrend Recovery version, if the price drops significantly below the "Switch Price" (for a bull trend) or rises above it (for a bear trend), the band begins to move toward the price based on the Recovery Alpha . This allows the trailing stop to "catch up" during high-volatility pullbacks, potentially securing a faster exit if the recovery fails.
🔶 DETAILS
The core of this indicator lies in its two-stage calculation: the Base SuperTrend and the Recovery Logic.
🔹 Base Logic
The indicator calculates a base upper and lower band using the Average True Range (ATR) multiplied by a user-defined factor. Under normal conditions, the band follows the classic rules: it can only move up during a bull trend and only down during a bear trend.
🔹 Recovery Logic
When price enters a "loss" state relative to the price where the trend initially started (the Switch Price), the script checks if the deviation exceeds the Recovery Threshold .
If the threshold is met, the band is calculated as an exponential moving average (EMA) of the current price and the previous band value, weighted by the Recovery Alpha :
targetBand = alpha * close + (1.0 - alpha) * prevBand
This creates a "tapering" effect where the band aggressively tightens toward the price during deep retracements, helping to mitigate drawdown by providing an earlier exit signal compared to the standard static band.
🔶 SETTINGS
🔹 Supertrend Settings
ATR Length : The lookback period used to calculate market volatility.
Base Multiplier : The factor applied to the ATR to determine the distance of the band from the price.
🔹 Recovery Logic
Recovery Alpha (%) : Determines how quickly the band adjusts toward the price when the recovery logic is active. Higher values make the band more reactive.
Recovery Threshold (xATR) : The distance (in ATR units) the price must deviate from the switch price before the recovery mechanism activates.
🔹 Visualization
Show Gradient Fills : Toggles the background gradient between the price (source) and the SuperTrend band.
Show Signal Labels : Toggles the "BULL" and "BEAR" labels at trend reversal points.
Indicator

Volatility-Based Stop CalculatorVolatility-Based Stop Calculator
Daily volatility-based stop distance and target levels with regime awareness using VIX-derived stress features
Overview
Volatility-Based Stop Calculator is a daily risk-sizing helper that computes ATR-based stop distances and target levels using a volatility regime score built from VIX momentum, VIX acceleration, and SPY realized volatility. It is not a signal or entry tool; it provides a consistent stop distance and target ladder for the current session.
Key Features
Volatility Regime Scoring: Uses VIX momentum (5‑day change), VIX acceleration, and SPY realized volatility to create a daily severity score.
Quantile Buckets: Maps the severity score into 4 volatility buckets (LOW / NORMAL / ELEVATED / EXTREME).
Dynamic k Multiplier: Adjusts stop distance via VIX percentile, gap risk (ETFs only), realized vol ratio, and VIX9D term stress.
ATR-Based Stops: Final stop distance is ATR × k, rounded to tick size.
Targets Ladder: Plots TP1/TP2/TP3 and stop levels from a reference price (daily close or live price).
Overlap Consolidation: In Both mode, overlapping long/short levels are merged into a single line/label.
Live Lines + Labels: Uses dynamic lines and labels (not plot lines) for clean chart overlays.
Table Summary: Monospace table showing regime, k, ATR, stop distance, and volatility stats.
How It Works
Daily Data Pull: Uses daily bars for all volatility calculations to match the original daily model.
Severity Score: Ranks VIX momentum, VIX acceleration, and SPY realized vol, then blends them with weights.
Bucket Mapping: Converts severity into 4 quantile buckets and selects base k per bucket.
Dynamic Adjustments: Adds VIX percentile, ETF gap risk, asset vs market realized vol, and VIX9D term stress.
Stop + Targets: Computes stop distance and applies 1R/2R/3R targets from the reference price.
Use Cases
Stop Placement: Avoid stops that are too tight in high volatility or too wide in low volatility.
Risk Sizing: Use the stop distance with your own risk model to size positions.
Daily Context: Track volatility regime shifts without needing a separate regime model.
Consistent Execution: Standardize stop/target placement across sessions.
Settings
Volatility Inputs:
VIX Symbol, VIX9D Symbol
SPY Symbol (market baseline)
NQ/ES Baseline Symbols (futures baselines)
Stop Model:
ATR EMA Span
VIX Percentile Window
Severity Lookback
Bucket Lookback
Gap Lookback (ETFs)
Bucket Smoothing
Display:
Show Levels (Long/Short/Both)
Use Live Price (current chart) or Daily Close
Level Line Style/Width
Label Size and Position
Long/Short/Overlap colors
Table Styling:
Background, header, border, frame, and text settings
Table position and text size
Technical Notes
All volatility calculations are based on daily data; intraday charts use daily series under the hood.
Futures gap adjustment is disabled; ETFs include gap risk.
This is a risk sizing helper, not a trade signal generator.
Best Practices
Use daily regime output to set stops, then execute on your preferred timeframe.
Confirm symbol mappings for VIX/VIX9D/ES/NQ in your data feed.
If levels feel too wide or tight, adjust the k inputs rather than ATR length first.
A daily volatility‑based stop calculator that adapts stop distance and targets to the current regime.
Indicator

Dynamic Strike Selection Indicator [ARJO]Dynamic Strike Selection Indicator
OVERVIEW
The Dynamic Strike Selection Indicator is a visual analysis tool designed for traders observing NSE (National Stock Exchange of India) instruments, particularly those interested in options. It displays a trend-based oscillator in the lower chart pane and automatically calculates option strike prices , presenting them in an easy-to-read table. The indicator helps users observe trend changes and understand how option strikes might be selected based on current market conditions.
IT has a dashboard that shows you:
Where the trend might be heading (through the oscillator)
What option strikes align with the current price level
When trend transitions occurred
CONCEPTS
This indicator combines several technical analysis concepts in a beginner-friendly format:
1. Trend Observation (Chandelier Exit)
The indicator uses a method called "Chandelier Exit" which observes price volatility to identify potential trend directions. When the indicator shows green, it suggests an upward trend pattern; red suggests a downward pattern. These are reference points, not predictions.
2. Smoothed Price Movement
Raw price data can be noisy. This indicator applies mathematical smoothing (called "Ehlers 2-Pole filter") to reduce short-term fluctuations, making it easier to observe the underlying trend direction.
3. Momentum Oscillator
The oscillator (displayed as bars and lines in the lower pane) shows the difference between smoothed price and its moving average. Positive values suggest upward momentum; negative values suggest downward momentum . This is similar to how MACD or LBR works.
4. Strike Price Calculation
For option traders , the indicator automatically calculates:
ATM (At-The-Money): The strike price closest to the current underlying price
OTM (Out-of-The-Money): Strike prices at a distance from ATM, based on your settings
These calculations use standard rounding methods based on each instrument's official strike interval.
FEATURES
Visual Components:
Color-Coded Oscillator: Green/teal for potential uptrend, purple/red for potential downtrend
Histogram Display: Visual bars showing momentum strength
Chandelier Exit Lines: Plotted on the main price chart as reference levels
Information Table: Displays calculated strikes, timestamps, and optional tracking data
Supported Instruments:
Major indices: NIFTY, BANKNIFTY
Popular stocks: RELIANCE, HDFCBANK, ICICIBANK, INFY, TCS, SBIN, and more
Any NSE instrument (using manual strike interval setting)
Flexible Configuration:
Choose between "Sell Mode" and "Buy Mode" perspectives
Customize strike interval for any instrument
Adjust sensitivity of trend detection
Modify visual appearance (colors, table position, text size)
Track entry prices and observe P&L calculations (for reference only)
Features:
Automatic strike interval detection for predefined instruments
Manual override option for custom requirements
Real-time option premium fetching (where available)
Timestamp recording of trend transitions
Active trade highlighting based on current trend
HOW TO USE
Step 1: Adding the Indicator
Open your PulseWire chart with an NSE instrument (e.g., NIFTY, BANKNIFTY, or any stock)
Search for " Dynamic Strike Selection Indicator " in the Indicators menu
Click to add it to your chart
You'll see an oscillator appear in a pane below your price chart and a table in the corner
Step 2: Basic Settings
Click the settings (gear icon) on the indicator. Here are the key settings to understand:
Symbol Settings:
Symbol Source: Keep it on " Use Chart Symbol " to analyze whatever instrument is on your chart
Custom Symbol: Only change if you want to analyze a different instrument while viewing another chart
Expiry Date:
Set the expiry date of the option contracts you're observing
Use the dropdown menus for Day, Month, and Year
Example: For 30th January 2025, select Day: 30, Month: 01, Year: 25
Trade Entry (Optional):
Trade Mode: Choose "Sell" or "Buy" based on your observation perspective
Lot Size: Enter your intended lot size for P&L calculation reference
PUT/CALL Entry Price: Manually enter prices if you want to track reference P&L
OTM Strike Distance:
Default is 4 (means 4 strikes away from ATM)
Increase for further OTM strikes, decrease for closer strikes
Step 3: Understanding the Display
The Oscillator (Lower Pane):
Green/Teal Bars: Suggest bullish momentum characteristics
Purple/Red Bars: Suggest bearish momentum characteristics
Zero Line: The reference point - above suggests strength, below suggests weakness
Color Change: When the oscillator changes from red to green (or vice versa), it indicates a potential trend transition
Active Row Highlighting:
In Sell Mode: Green background on PUT row during uptrend, Red background on CALL row during downtrend
In Buy Mode: Green background on PUT row during downtrend, Red background on CALL row during uptrend
This helps you observe which strike aligns with the current trend direction
Visual Customization:
Change oscillator colors under "Color Settings"
Adjust table position, size, and transparency under "Table Settings"
Modify table colors to match your chart theme
NOTES FOR BEGINNERS
Start Simple: Use default settings first. Don't change too many parameters initially.
Paper Trade First: Observe the indicator for several days before considering any real trades. Note how often trend transitions occur and how strikes align.
Understand Your Instrument: Know the strike interval for your chosen stock/index. NIFTY/BANKNIFTY use 100, most stocks use 10, 20, or 50.
Timeframe Matters: The indicator behaves differently on different timeframes. A 5-minute chart will show more transitions than a 1-hour chart.
Use with Other Analysis: This indicator is one tool among many. Combine with price action, support/resistance, and volume analysis.
Don't Chase: Just because a transition occurs doesn't mean you must act. Observe the quality of the move.
Backtest Observations: Use PulseWire's replay feature to observe how the indicator performed historically.
CONCLUSION
The Dynamic Strike Selection Indicator serves as an educational tool for observing trend-based oscillator patterns and understanding how option strikes might be mathematically selected based on current market conditions. It combines visual trend analysis with structured strike price calculations, helping users study the relationship between momentum patterns and option strike references.
The indicator is designed to enhance chart interpretation skills and provide transparency into strike selection methodologies. It does not predict future price movements or guarantee any outcomes. Users are encouraged to use it as one component of a broader analytical approach, always conducting independent research and maintaining realistic expectations about market analysis tools.
DISCLAIMER
This indicator is strictly for educational and analytical observation purposes. It is NOT a trading system, signal generator, or financial advisory service.
What This Indicator Does NOT Do:
Does not predict future price movements with certainty
Does not guarantee profitable trades or outcomes
Does not constitute financial, investment, or trading advice
Does not replace the need for independent research and analysis
Does not eliminate trading risks or ensure success
What You Must Understand:
All calculated strikes, P&L values, and trend observations are informational references only
Option trading involves substantial risk and can result in complete loss of invested capital
Past indicator performance does not predict future results
Trend transitions shown are historical observations, not predictions
The "active" highlighting is a visual reference tool, not a trade recommendation
Conduct thorough independent research before taking any trading decision. and consult qualified, licensed financial professionals for personalized advice.
The creator of this indicator is not a registered investment advisor, broker, or financial planner. This tool is provided "as is" without warranties of any kind. By using this indicator, you acknowledge that you understand these risks and limitations, and you agree that all trading decisions and their consequences are solely your responsibility. If you do not fully understand these risks or are unsure about options trading, do not use this indicator for live trading .
Indicator

Profit Punch: Risk & Target Planner (ATR + Fixed R)Profit Punch: Risk & Target Planner (ATR + Fixed R)
This indicator is a complete trade planning tool designed to visualize your Risk (R) and Reward levels instantly. Whether you use a volatility-based strategy (ATR) or precise manual levels, this tool draws your roadmap directly on the chart.
It solves the problem of calculating "R-Multiples" manually and ensures every trade plan is consistent.
Key Features
1. Smart Risk Calculation
Auto Mode (ATR): Uses the stock's daily volatility (ATR) to automatically suggest a logical Stop Loss.
Manual Mode: Lets you type in your exact Stop Loss price (e.g., below a recent low), and the tool automatically adjusts your Profit Targets to match that specific risk.
2. Hybrid Targeting (The "Nuance")
You can set a tight manual stop but keep your profit targets based on daily volatility (ATR). This allows for "Hybrid" setups where you risk a small amount (tight stop) but aim for a standard volatility move (ATR targets).
3. Backtesting Friendly
Use the "Target Date" feature to apply the tool to any past candle. It will calculate the targets based on what the volatility was on that specific day , allowing you to accurately review past trades.
4. Clean & Customizable
Editable Labels: Rename "1R" to "Goal 1" or "Take Profit".
Clean Look: Toggle any line on/off to keep your chart simple.
Timeframe Independent: Calculations are always anchored to Daily data for consistency, even if you are viewing a 5-minute chart.
How to Use
Step 1: Add to Chart. The lines will appear on the latest bar by default.
Step 2: Set Entry. In Settings, check "Use Manual Entry" to type your exact buy price, or leave unchecked to use the closing price.
Step 3: Set Stop. Choose "Auto (ATR)" for a volatility-based stop, or "Manual Price" to type in your specific stop level.
Step 4: Visualize. The tool draws your 1R, 3R, 5R, and 7R targets instantly.
Settings Guide
Risk Factor: Multiplier for the ATR calculation (Default is 1.5).
Target Base: Choose whether profit targets are multiples of your Stop Distance (Classic) or Fixed ATR (Volatility).
Custom Labels: Change the text displayed on the chart (e.g., "Safe Exit" instead of "1R").
Who is this for?
This tool is built for swing traders, educators, and anyone who uses "R-Multiples" (Risk Units) to manage their portfolio. It is especially useful for creating consistent trade plan screenshots. Indicator

Luminous Volatility Flux [Pineify]```
Luminous Volatility Flux - Dynamic ATR Bands with Hull Moving Average Baseline
The Luminous Volatility Flux indicator is a sophisticated trend-following and volatility analysis tool that combines the responsiveness of the Hull Moving Average (HMA) with adaptive ATR-based bands that expand and contract based on real-time market volatility conditions. This indicator helps traders identify trend direction, volatility regimes, and potential breakout opportunities with high-probability entry signals.
Key Features
Hull Moving Average baseline for low-lag trend detection
Dynamic volatility bands that breathe with market conditions
Flux Factor system comparing short-term vs long-term ATR
Volatility-filtered breakout signals to reduce false entries
Gradient-filled zones for intuitive visual analysis
Real-time bar coloring based on trend direction
How It Works
The indicator operates on three core calculation layers:
1. Hull Moving Average Baseline
The foundation of this indicator is the Hull Moving Average, calculated using the formula: WMA(2*WMA(n/2) - WMA(n), sqrt(n)). Unlike traditional moving averages, the HMA dramatically reduces lag while maintaining smoothness. This makes it ideal for identifying trend changes earlier than conventional EMAs or SMAs. When the HMA is rising, the baseline turns green indicating bullish momentum; when falling, it turns red for bearish conditions.
2. Volatility Flux Factor
The unique aspect of this indicator is the Flux Factor calculation. It compares short-term ATR (default 14 periods) against long-term ATR (default 100 periods) to determine the current volatility regime:
Flux Factor > 1.0 = Volatility Expansion (market is more volatile than usual)
Flux Factor < 1.0 = Volatility Compression (market is in a squeeze)
This ratio creates a dynamic multiplier that causes the bands to expand during high volatility periods and contract during consolidation phases.
3. Dynamic Band Calculation
The upper and lower bands are calculated as: Baseline ± (Short ATR × Multiplier × Flux Factor). This means the bands automatically widen when volatility increases and tighten during quiet market conditions, providing context-aware support and resistance levels.
Trading Ideas and Insights
Trend Following: Trade in the direction of the baseline color. Green baseline suggests looking for long opportunities; red baseline suggests short opportunities.
Volatility Breakouts: The indicator plots "Flux" signals when price breaks above the upper band (bullish) or below the lower band (bearish) during volatility expansion phases. These signals indicate potential momentum continuation.
Mean Reversion: During compression phases (tight bands), prices often revert to the baseline. Consider taking profits near the bands and re-entering near the baseline.
Squeeze Detection: When bands are unusually tight (Flux Factor < 1), the market is coiling for a potential explosive move. Prepare for breakout trades.
How Multiple Indicators Work Together
This indicator integrates three distinct technical analysis concepts into a cohesive system:
The Hull Moving Average provides the trend direction foundation with minimal lag. The dual ATR comparison (short vs long) creates the Flux Factor that measures relative volatility. The dynamic bands combine both elements, using the HMA as the center and ATR-based deviations that scale with the Flux Factor.
The synergy works as follows: The HMA identifies the trend, the Flux Factor determines market regime (expansion vs compression), and the bands provide dynamic support/resistance levels. Breakout signals only trigger when all components align - price breaks the band AND volatility is expanding. This multi-layered approach filters out many false signals that would occur with static bands or simple moving average crossovers.
Unique Aspects
Unlike Bollinger Bands that use standard deviation, this indicator uses ATR ratio-based dynamic bands that better capture directional volatility
The Flux Factor concept is original - comparing two ATR timeframes to create a volatility regime indicator
Breakout signals are filtered by volatility expansion, reducing false signals during choppy, low-volatility conditions
Gradient fills provide instant visual feedback on the strength of the bullish or bearish zones
How to Use
Add the indicator to your chart. It works on all timeframes and instruments.
Observe the baseline color for overall trend direction (green = bullish, red = bearish).
Watch for band expansion/contraction to gauge volatility regime.
Look for "Flux" signals for potential breakout entries - these appear only during volatility expansion.
Use the gradient zones to identify potential support (lower green zone) and resistance (upper red zone) areas.
Customization
Baseline Length (default: 24) - Controls the HMA period. Lower values = more responsive but noisier; higher values = smoother but more lag.
ATR Length (default: 14) - Short-term ATR period for band calculation. Standard setting works well for most markets.
Flux Multiplier (default: 2.0) - Controls band width. Increase for wider bands (fewer signals), decrease for tighter bands (more signals).
Flux Sensitivity (default: 100) - Long-term ATR period for Flux Factor calculation. Higher values create a more stable volatility reference.
Conclusion
The Luminous Volatility Flux indicator offers traders a comprehensive view of market conditions by combining trend detection, volatility analysis, and signal generation into one elegant tool. Its adaptive nature makes it suitable for various market conditions - from trending markets where it identifies direction and momentum, to ranging markets where it highlights compression and potential breakout zones. The volatility-filtered signals help traders focus on high-probability setups while the visual gradient fills make chart analysis intuitive and efficient.
Note: This indicator is designed as a technical analysis tool. Always use proper risk management and consider multiple factors before making trading decisions. Past performance does not guarantee future results.
```
Indicator

ATR Stop LinesATR Stop Lines
Plots dynamic stop-loss levels on the price chart based on ATR (Average True Range). Optionally adjusts stop distance based on volatility regime.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IT DOES
Green line — Long stop (Close − ATR × multiplier)
Red line — Short stop (Close + ATR × multiplier)
Lines move with price and volatility. When regime-adjust is enabled, stop distance widens in high volatility and tightens in low volatility.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 REGIME-ADJUSTED MULTIPLIERS
When enabled, the multiplier auto-adjusts based on the ATR percentile:
LOW (< 25th pctl) — 1.0× ATR — Tight stops, small moves expected
NORMAL (25–50th pctl) — 1.5× ATR — Standard distance
HIGH (50–75th pctl) — 2.0× ATR — Wider to avoid noise
EXTREME (> 75th pctl) — 2.5× ATR — Widest, or skip the trade
Disable regime-adjust to use a fixed multiplier for all conditions.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 HOW TO USE
Entry: Note stop line level when entering a trade. Set stop-loss at or beyond that level.
Trailing: Move stop to new line level as price advances in your favor.
Sizing: Wider stop = smaller position to maintain constant risk.
Example:
BTC Daily, ATR = \$2,000, Regime = HIGH (2.0×)
Entry: \$50,000 → Long stop: \$46,000 / Short stop: \$54,000
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 STATUS LABEL
VOL — Current regime (LOW / NORMAL / HIGH / EXTREME)
ATR — Raw ATR value in price units
Mult — Active multiplier
Stop Dist — Current stop distance in price units
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS
ATR Settings:
ATR Length (default: 14)
Percentile Lookback (default: 100)
Timeframe:
Use Fixed Timeframe — Lock to specific TF
Fixed Timeframe (default: D)
Stop Settings:
Regime-Adjusted Multiplier — Toggle auto-adjust on/off
Base ATR Multiplier — Used when regime-adjust is off
LOW/NORMAL/HIGH/EXTREME Multipliers — Customize per regime
Display:
Show Long Stop / Show Short Stop
Show Status Label
Long/Short Stop Colors
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 ALERTS
Vol → EXTREME
Vol → LOW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 COMPANION INDICATOR
Use with ATR Volatility Regime (separate pane) for full context:
Pane indicator → percentile visualization, zone backgrounds
This indicator → actionable stop levels on price chart
Both use identical ATR/percentile logic and stay in sync.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 NOTES
Works on any timeframe
Stops are dynamic — recalculate each bar
Not a signal generator — use with your own entry logic
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏷️ TAGS
ATR, stop-loss, volatility, risk-management, position-sizing, trailing-stop, swing-trading Indicator

Yang-Zhang Stop Lines Yang-Zhang Stop Lines - Advanced Volatility Indicator
📊 Description
The Yang-Zhang Stop Lines is an advanced technical indicator that uses the Yang-Zhang volatility estimator to calculate dynamic stop loss and take profit levels. Unlike traditional methods such as ATR or Bollinger Bands, Yang-Zhang considers multiple components of market volatility, offering a more accurate and robust measurement.
🎯 Key Features
Superior Volatility Calculation:
Implements the complete Yang-Zhang estimator, considering overnight volatility, open-close, and Rogers-Satchell components
More accurate than traditional ATR for markets with gaps and distinct sessions
Automatically adapts to market conditions
Intelligent Levels:
Buy Stop (Green): Lower level calculated for long position protection
Sell Stop (Red): Upper level calculated for short position protection
Mirrored Levels: Additional projections based on daily amplitude
Continuous Bands: Real-time visualization of intraday volatility
Daily Anchoring:
Fixed levels calculated at the beginning of each day
Facilitates trade planning with stable references
Horizontal lines extending throughout the trading session
⚙️ Configurable Parameters
Calculation Timeframe: Defines the period for volatility analysis (default: 60min)
Period: Lookback window for statistical calculations (default: 20)
Multiplier: Adjusts level sensitivity (default: 1.0)
Base Price: Reference for stop calculations (default: close)
Visual Options: Bands, fixed lines, labels, fill, and customizable colors
💡 How to Use
For Day Traders:
Use daily fixed levels as reference for stop loss and targets
Watch for price crossovers at levels for reversal signals
Mirrored levels serve as extended targets
For Swing Traders:
Configure higher timeframes (4h, daily) for medium-term analysis
Use the multiplier to adjust to your risk/reward objectives
Combine with trend analysis and support/resistance
Risk Management:
Position stops just below/above calculated levels
Adjust position size based on amplitude
Monitor the info table to check current volatility
📈 Information Table
The indicator displays in the top-right corner:
Current Yang-Zhang Volatility (in %)
Buy Stop Level
Sell Stop Level
Calculated Amplitude
🔔 Included Alerts
Alert when price crosses Buy Stop
Alert when price crosses Sell Stop
🎨 Visual Customization
Independent colors for each element
Adjustable line width
Optional fill between bands
Optional informative labels
📝 Technical Notes
This indicator correctly implements the complete Yang-Zhang estimator formula, including:
Overnight variance
Open-close variance
Rogers-Satchell component
Optimized k weighting
Ideal for traders seeking a scientific and statistically robust approach to stop definition and volatility analysis.
Compatible with all assets and timeframes. Recommended for liquid markets. Indicator

Indicator

Indicator

Indicator

Indicator

Risk ModuleThis indicator provides a visual reference for position sizing and approximate stop and target placement. It supports trade planning by calculating equalized risk per trade and maintaining consistent exposure across different markets.
For more information about the concept, see the post Position Sizing and Risk Management .
Fixed Fractional Risk
The indicator calculates the number of shares that can be traded to maintain consistent monetary risk. The formula is based on the distance between the current price and stop reference, adjusting position size proportionally. A closer stop results in a larger position size, while a wider stop results in a smaller one.
Position Size = (Account Size × Risk %) ÷ (Entry Price – Stop Price)
Stop and Target
Stop placement is derived from volatility using the Average True Range (ATR). The target is plotted as a multiple of the stop distance, defining the risk-to-reward relationship in R units.
Stop = Price ± ATR × Multiplier
Target = Price ± (R × Risk Distance)
Chart Elements
The stop and target levels are plotted above and below the current price, with the stop marked by a red dot and the target by a green dot. The information table displayed on the chart shows the number of shares to trade, stop level, and target level.
Setup and Configuration
This configuration only needs to be set once, but can be adjusted later if preferred.
1. Start by setting the account size and risk percentage per trade to define the monetary amount risked on each trade. These values form the basis for position size calculation.
2. Set the ATR multiplier to determine stop distance, common values range between 1 and 3 ATR. Lower values place stops closer to price, increasing sensitivity but risking short-term noise. Higher values widen the stop, which reduces noise impact but extends time in risk.
3. Set the R-multiple to determine target distance relative to the stop. A value of 1 represents a 1:1 risk-to-reward relationship. Lower values reduce potential reward but tend to increase win rate, whereas higher values increase potential reward but tend to reduce win rate. The selection depends on system characteristics and trade expectancy.
When the parameters are defined, the indicator displays the stop, target, and calculated position size on the chart. All that remains is to enter the trade with the number of shares shown in the table and place bracket orders at the plotted stop and target levels.
Settings Overview
Account Size / Risk %: Defines account capital and per-trade exposure.
ATR Multiplier: Adjusts stop distance relative to volatility.
R Multiple: Sets target distance relative to stop (risk-reward ratio).
Position: Choose Long or Short direction.
Table Position: Controls information table placement and scale.
Indicator

Indicator
