Strategy

Session Range Completion ClockThis indicator measures WHEN, inside a chosen intraday session, that session's range is actually
built. It answers a question that session tools normally skip: by a given time of day, how much of
the day's eventual range is typically already spent, and has the extreme that will define the day
usually already printed?
It draws no levels, marks nothing on price, and produces no signals. It is a measurement
instrument that reports descriptive statistics over the sessions in your loaded history.
THE UNDERLYING PRINCIPLE
A session's range is not built at a constant rate, and how it is built differs by symbol, by
session and by contract. The script assumes nothing about the shape - it measures it on whatever
instrument and window you point it at.
"How much range is left" and "is the extreme already in" are two different statistics, and the
script keeps them separate. For every completed session in the loaded history it records the
running high and low at the end of each time bucket, then waits for the session to close so the
FINAL range is known. It then attributes, for each bucket:
- the fraction of the final range that had been traversed by the end of that bucket;
- whether the session's high had already been made at or before that bucket;
- whether the session's low had already been made;
- whether both were already in place, meaning the range was finished and everything afterwards
happened inside it;
- the traversed range expressed in units of daily ATR or of the previous day's range, which makes
the figure comparable across volatility regimes.
These are accumulated across sessions and reported as means and frequencies.
HOW TO READ THE TABLE
The table is drawn once, on the last bar of the chart. Each row is a point in time, labelled with
the clock time at the end of that bucket.
"n" is the number of sessions contributing to that row. "Range built" is the mean percentage of
the session's final range already traversed. "High set" and "Low set" are the percentage of
sessions in which that extreme was already established. "Both set" is the percentage of sessions
in which the entire range was already complete; that column is shaded by value. "Range/unit" is
the mean range so far in the normalization unit selected in the inputs, which is named in the
bottom-right cell.
If the session contains more buckets than the row limit, buckets are sampled at an even stride so
the table still ends on the session's final bucket.
The pane also plots two lines during a live session: the current session's range so far, and the
mean range so far of all prior qualifying sessions at the same point in the session, both in the
same unit. That is a like-for-like comparison at equal elapsed session time. It is not a
projection and the script does not extend either line forward.
On a daily or higher chart the table prints a message instead of statistics: the whole measurement
is defined on intraday bars and there is nothing to compute.
WHAT IT DOES NOT DO
It does not predict where price will go, does not identify breakouts, and does not mark levels. A
high "Both set" figure at a given time means only that historically, on this symbol and this
session, the range was usually already complete by then. It is a frequency over past sessions, not
a statement about today, and nothing in the script says whether acting on it would be a good idea.
METHOD, AND WHY IT DOES NOT REPAINT
A session is folded into the statistics only after it has closed, so the session in progress never
contributes to its own statistics.
Historical values are never recalculated. The statistics accumulate forward in time, which means
the historical-mean line on early bars was computed from a smaller sample than the same line on
recent bars. That is deliberate; the alternative would be a curve that silently rewrites its own
past.
The daily normalization unit comes from a single bundled request on the daily timeframe. The
requested expression is offset by one bar and the request uses lookahead, which is the pair the
Pine Script documentation specifies for confirmed higher-timeframe values: the offset discards the
daily bar that is still forming and returns the one before it, which was already final. Historical
and realtime bars therefore receive the same value. This matters more here than it looks, because
the unit is latched once at session start and then used for that whole session - a unit that
differed between live and reloaded charts would give a session two different "Range/unit" figures
depending on when you looked at it.
Time buckets are anchored to the declared session start time rather than to the first bar
observed. This keeps the time-of-day axis stable on illiquid symbols, on sessions that run through
midnight, and on continuous 24-hour sessions where there is no gap between sessions to detect. A
session string containing more than one range, such as 0900-1130,1230-1500, is treated as a single
window running from the first start to the last end; buckets falling inside the break carry the
pre-break state forward, which is what you want, because the range does not reset over lunch. An
optional day mask such as 0930-1600:23456 is respected.
SETTINGS
Session and Session time zone define the window. Use the exchange's own time zone so buckets stay
aligned across daylight-saving changes.
Bucket size should be a multiple of the chart timeframe. A bucket narrower than the chart
timeframe contains no bars of its own and simply carries the previous bucket's state forward.
Minimum session completeness excludes half-days, early closes and partially loaded history, which
would otherwise depress the late-session figures. Lower it if a market you are studying
legitimately has short sessions.
Normalise range by chooses between daily ATR and the previous day's range. ATR is smoother; the
previous day's range reacts faster.
ORIGINALITY
The session and time-of-day category on this platform is overwhelmingly made of level-drawing
tools: opening-range boxes, session high/low lines, session shading. Those draw where. Very little
published measures when, and the two are different objects - this script plots nothing on price at
all.
There is a small existing family of scripts that chart the distribution of the hour at which the
daily high or low prints, and the "High set" and "Low set" columns overlap with that idea. This is
not a reskin of any of them: the accumulator here is cumulative by elapsed session time rather
than a histogram of one timestamp, it is folded only on session close, it is keyed to a
user-supplied session string with mid-session-break handling and a day mask, and it is combined
with final-range-fraction and volatility normalization. No code is borrowed from any published
script.
LIMITATIONS
Requires an intraday chart timeframe.
The sample is whatever history the chart has loaded, which on lower timeframes may be only a few
hundred sessions - check "n" before reading anything into a row.
Results are sensitive to the chart timeframe, because the exact bar on which an extreme prints is
resolution-dependent. Coarser timeframes will place extremes in later buckets than they truly
occurred.
The "Range/unit" column can be based on a smaller sample than the percentage columns, because the
earliest sessions in the loaded history have no completed daily bar to normalize against and are
skipped for that column only.
Sessions spanning a daylight-saving transition can be misattributed by one hour for a single day.
On non-standard chart types - Heikin Ashi, Renko, Kagi, Point and Figure, Range - the highs and
lows are synthetic, so the statistics describe the synthetic series rather than traded prices.
The statistics describe the loaded history only and carry no assumption that the distribution is
stable over time.
Source is open and commented. Indicator

Indicator

Liquidity Sweep & ATR Envelope⚡ Liquidity Sweep & ATR Envelope
The market hunts stops. This tool shows you where it just happened — and whether price actually rejected the grab or kept right on going. 🎯
Liquidity sweeps caught at volatility extremes, confirmed by a real reclaim, fully resolved on the bar they fire. No repaint. No HTF trickery.
🔍 THE MECHANICS
📐 The envelope — an ATR band around a 20-period basis. It's the visual anchor on the chart AND the qualification threshold at once: the same measurement does both jobs, so there's no separate cosmetic ATR filter bolted on top.
🎯 Pivot + envelope, both required — a signal needs the wick to breach a confirmed pivot level AND clear the band plus a clearance buffer. Levels are one-shot: any wick through a tracked pivot consumes it, signal or not. Re-arms on the next confirmed pivot.
↩️ Reclaim, not just recovery — the close has to snap back past the swept level by at least half the wick's own penetration depth (adjustable, 0 to disable). A candle that barely creeps back over the line doesn't count as a rejection — the snap-back has to beat the sweep.
Levels are one-shot: any wick through a tracked pivot consumes it — signal or not — and the tool re-arms on the next confirmed swing. What you see is exactly what happened.
🛡️ Non-repaint by construction — pivots confirm after their right-side bars, and every signal, marker, zone, and alert is gated to bar close. A triangle that printed yesterday printed on that bar and never moved. What you backtest is what you trade. ✅
🎨 On the chart:
🌊 Hero ATR envelope with event-driven band glow — bands light up when price presses them or on a fresh sweep.
📦 Gradient sweep zones from swept level to wick extreme — historical signals legible at a glance.
👣 Swept-history footprints so you can read where liquidity already got taken.
🎛️ 8 themes (Suite, Ocean, Royal, Ember, Mono, Frost + full Custom), optional bar tint, trigger-threshold line, compact status table.
🔔 Clean JSON alerts (direction / level / trigger) — wire it straight into your automation.
⏱️ Timeframe notes — single-timeframe and scale-free. Every threshold is measured in ATR or as an intra-bar ratio, so it ports across instruments and timeframes with zero rescaling. Defaults are tuned on H1 and carry to M15 unchanged — comparable signal frequency and reclaim quality on both. On H4 and above the setup is rarer by nature; drop Pivot Left/Right to 3 if you want more events there. Read every signal as liquidity-location context, not a standalone entry — pair it with your structure read (or Confluence Context, regime/confluence indicator on my profile) for direction. 🧭
📈 How to use it — the tool tells you where the market just swept liquidity and rejected. Stack it with structure.
Built to one standard: still useful after it's been on your chart for a while. Indicator

ATR Stop Loss Calibrator - Volatility Exit LadderATR Stop Loss Calibrator - Volatility Exit Ladder is an ATR-based exit-reference overlay designed to compare multiple volatility-scaled price distances from a user-selected reference.
The script does not generate entries, market-direction signals, take-profit targets, position sizes, trade recommendations, or broker orders. The terms "Long" and "Short" only identify whether an ATR distance is drawn below or above the active reference price.
Its primary purpose is to help users study how different ATR multipliers, reference models, ATR update policies, and ratcheting methods affect potential exit-reference levels.
Core calculation
The script first calculates True Range as:
True Range = max(
High - Low,
abs(High - Previous Close),
abs(Low - Previous Close)
)
The selected smoothing method is then applied to True Range to calculate ATR.
The available ATR smoothing methods are:
Wilder RMA
EMA
SMA
WMA
Each ladder level is calculated from the active reference price and the ATR value currently in use:
Long Tier n = Reference - ATR Used x Tier Multiplier n
Short Tier n = Reference + ATR Used x Tier Multiplier n
The default multipliers are:
Tier 1 = 1.0 ATR
Tier 2 = 2.0 ATR
Tier 3 = 3.0 ATR
Users can freely modify all three multipliers.
The script keeps the effective tiers in strictly ascending order. If the entered values are out of sequence, the levels are normalized using a minimum 0.05 ATR separation. The readout reports when this normalization has occurred.
Core tier
One of the three tiers can be selected as the Core reference tier.
The Core tier:
Receives the strongest visual emphasis
Is used for the Long and Short cushion calculations
Is used by the reach-state logic
Is used by the core-level alert conditions
The other two tiers remain visible as secondary reference distances.
This makes it possible to compare a primary exit-distance assumption against tighter and wider alternatives without treating every line as equally important.
Reference models
The script provides six reference models.
1. Confirmed bar step
This is the default model.
It uses the selected source value from the previous completed bar together with the previous completed ATR value.
With the default Close source, the levels are recalculated from the prior bar's confirmed close.
This mode updates once per completed bar and is intended for users who prefer stable, confirmed-bar reference values.
2. Live rolling
This model uses the selected source value and developing ATR value from the current bar.
The levels can therefore move while the realtime bar is open.
This mode is intended for users who deliberately want an intrabar volatility ruler rather than a completed-bar reference.
3. Daily snapshot
This model creates a reference at the beginning of each new daily period.
The reference can use either:
The new period's opening price
The previous chart bar's closing price
4. Weekly snapshot
This model uses the same snapshot process at the beginning of each new weekly period.
5. Monthly snapshot
This model uses the same snapshot process at the beginning of each new monthly period.
6. Manual anchor
This model allows the user to enter an independent reference price and start time.
The anchor begins on the first chart bar whose opening time is at or after the selected timestamp.
This can be used to study ATR distances from a price chosen through the user's own analysis. The script does not decide where the manual reference should be placed.
ATR behavior for locked references
Daily, Weekly, Monthly, and Manual references are locked-reference models.
For these models, the ATR value can operate in one of three ways.
Frozen at anchor
The ATR captured when the reference begins remains fixed until the reference resets.
This creates a stable volatility unit for the entire reference cycle.
Confirmed each bar
The reference price remains locked, while the ATR distance is recalculated from the previous completed bar.
This allows the ladder width to adapt to confirmed changes in volatility without moving the underlying reference price.
Live each bar
The reference price remains locked, while the developing ATR value is used.
The ladder can therefore expand or contract while the realtime bar is open.
Exit-distance behavior
Locked-reference models also provide three level behaviors.
1. Non-ratcheting ladder
Each level remains a direct ATR distance from the locked reference.
The levels may still change if Confirmed each bar or Live each bar is selected as the ATR update policy.
2. Immediate ratchet
The ratchet activates as soon as the reference cycle begins.
For the Long side, the script tracks the highest favorable price reached after the anchor and allows the levels to move upward, but not downward.
For the Short side, the script tracks the lowest favorable price reached after the anchor and allows the levels to move downward, but not upward.
3. Delayed ratchet
The ratchet remains inactive until price has moved favorably by a user-selected number of anchor ATR units.
The activation distance is measured from the locked reference using the ATR captured when the reference cycle began.
After activation, the Long levels can only tighten upward and the Short levels can only tighten downward.
Ratchet update timing
Ratchet calculations can use either:
Confirmed bars
Live extremes
Confirmed bars update the favorable extreme and ratchet levels only after a bar closes.
Live extremes allow the ratchet to respond to the developing high or low of the current realtime bar.
Reach evaluation
The selected Core tier can be evaluated using either Close or Wick logic.
Close mode
A Long Core level is considered reached when the closing price is at or below the level.
A Short Core level is considered reached when the closing price is at or above the level.
Wick mode
A Long Core level is considered reached when the bar's low touches or crosses the level.
A Short Core level is considered reached when the bar's high touches or crosses the level.
Confirmed-bar events are enabled by default.
When confirmed-bar ratcheting is used, the current bar is evaluated against the level that existed before that bar was completed. The script does not tighten a level from the current bar's favorable extreme and then assume that the same bar subsequently reached that newly calculated level.
This avoids making an unsupported assumption about whether the bar's high or low occurred first.
The detailed readout can distinguish between:
Not reached
Wick reached
Close beyond
Visual design
The default chart view uses a compact current-level projection rail near the latest bars.
It does not draw six full-width historical bands across the entire chart by default.
The rail includes:
A dashed reference level
Three optional Long-side ATR levels
Three optional Short-side ATR levels
A solid, visually emphasized Core tier
Dotted or dashed secondary tiers
A compact vertical spine connecting each side's visible levels
The Long side uses cyan by default.
The Short side uses pink by default.
The active reference uses yellow by default.
All colors, line widths, visible tiers, rail length, right extension, tag size, and display options can be modified.
Right-edge tags
The default Core only setting displays no more than three primary tags:
Reference
Long Core
Short Core
An All tiers mode is available for users who want to inspect every individual level.
The tags can also be disabled.
Historical research view
The historical ATR path is disabled by default to preserve candle visibility.
When enabled, it displays the recent history of the reference and selected tiers over a user-defined number of bars.
An optional historical ribbon can be added between the reference and the selected Core tier.
The historical view is intended for research and comparison. The compact current rail remains the default presentation.
Readout
The compact readout summarizes:
Active reference price
ATR value in use
ATR as a percentage of the reference
Selected Core tier and multiplier
Long Core price and remaining cushion in ATR units
Short Core price and remaining cushion in ATR units
Current display status
The detailed layout additionally shows:
Reference model
Locked-reference behavior
Ratchet activation state
Core-level reach state
The panel location and text size can be changed from the settings.
Data Window outputs
The script provides the following research values in PulseWire's Data Window:
Active reference
ATR used
ATR as a percentage of the reference
Long Tier 1
Long Tier 2
Long Tier 3
Short Tier 1
Short Tier 2
Short Tier 3
Long Core
Short Core
Long cushion in ATR units
Short cushion in ATR units
These outputs allow users to inspect exact numerical values without adding more text to the chart or indicator status line.
Alerts
The following alert conditions are available:
Long ATR Core reference reached
Short ATR Core reference reached
Any displayed ATR Core reference reached
Long delayed ratchet activated
Short delayed ratchet activated
Locked ATR reference reset
Reach alerts follow the selected Close or Wick test and the Confirmed-bar events setting.
Suggested workflow
1. Select whether to display Both sides, Long only, or Short only.
2. Choose the reference model that matches the intended study.
3. Select the ATR length and smoothing method.
4. Enter three ATR multipliers and choose the primary Core tier.
5. For Daily, Weekly, Monthly, or Manual references, select the ATR update policy and optional ratchet behavior.
6. Select Close or Wick reach evaluation.
7. Keep Confirmed-bar events enabled when stable completed-bar alerts are preferred.
8. Use the compact current rail for normal chart viewing.
9. Enable the historical path only when reviewing how the levels behaved across recent bars.
Example research configurations
Confirmed bar step can be used to compare current price with ATR distances calculated from the prior completed bar.
Daily snapshot with Frozen at anchor can be used to maintain one fixed volatility unit from the daily period open or previous close.
Manual anchor with Delayed ratchet can be used to study how an independently selected reference would behave after a favorable ATR-based excursion.
These are research configurations, not trade recommendations.
Default configuration
The default configuration uses:
Both Long and Short sides
Confirmed bar step
Close as the rolling reference source
ATR length 14
Wilder RMA smoothing
1.0, 2.0, and 3.0 ATR tiers
Tier 2 as the Core tier
Non-ratcheting behavior
Close-based reach evaluation
Confirmed-bar events
Current projection rail enabled
Historical path disabled
Reach markers disabled
Core-only right-edge tags
Compact readout
Calculation behavior
The default Confirmed bar step model uses completed-bar source and ATR values.
The default confirmed event setting also waits for the bar to close before generating a reach event.
Live rolling, Live each bar, Live extremes, or disabling confirmed-bar events intentionally allows values or event states to change while the realtime bar is developing.
The lines projected to the right side of the latest bar are visual extensions only. They do not access future prices or future chart data.
Limitations
ATR is a backward-looking measurement of historical price range. It does not predict future volatility, market direction, reversal probability, or execution quality.
The displayed levels are analytical references. They are not stop orders and are not transmitted to a broker.
Actual order execution may differ from a displayed level because of gaps, spread, slippage, liquidity, market closures, broker rules, or instrument-specific contract conditions.
Results depend on the chart symbol, timeframe, available price history, exchange calendar, and data feed.
Synthetic chart types can produce levels from synthetic OHLC values rather than directly traded prices. Standard price charts are preferable when the levels are being compared with executable market prices.
A narrower ATR multiple is not automatically better, and a wider multiple is not automatically safer. Appropriate distances depend on the user's method, holding period, instrument, risk limits, and execution environment.
"Calibrator" refers to the visual comparison of user-selected ATR distances. The script does not optimize settings, score multipliers, or identify a best parameter.
This indicator is provided for analytical and educational use. It does not constitute investment, financial, or trading advice. All analysis, risk decisions, and order placement remain the user's responsibility. Indicator

Average Daily Range ProjectionWHAT IT DOES
The Average Daily Range (ADR) Projection converts a historical average range into live price levels based on the range already realized during the current session.
Rather than anchoring fixed ADR bands to the session open or another single reference price, the indicator conditions each projection on the session's developing high and low. It answers a specific question: given the range already traded, where would price need to reach for this session to equal its recent average range?
Two independent sets let you compare separate baselines, such as the regular trading session versus the full futures session or a short lookback versus a longer one. This shows when price has satisfied one definition of its typical range while remaining below another.
CALCULATION
For each set, the indicator averages high minus low over up to the most recent N completed session windows. The ADR is fixed at the start of a new session; only the projected prices change as the current high and low develop. A partial session encountered when the script first loads is excluded.
Let ADR be the historical average, H the current session high, and L the current session low:
remaining = max(ADR - (H - L), 0)
upper projection = H + remaining
lower projection = L - remaining
Before the session has completed its ADR, these reduce to:
upper projection = L + ADR
lower projection = H - ADR
These are conditional range-completion thresholds. A new high raises the lower projection, while a new low lowers the upper projection. As realized range expands, the additional movement required to equal ADR decreases. A reached threshold freezes and is labeled FILLED.
HOW TO READ IT
An open projection marks the price that would complete the configured average range in that direction, assuming the opposite session extreme does not change first. Its distance from price represents remaining range relative to the benchmark, not a prediction that price will reach it.
A FILLED label means the session range has reached or exceeded that set's trailing mean. If one set is filled while the other remains open, the session has satisfied one baseline but not the other.
Previous-session lines may be retained to review completed thresholds on the selected instrument and timeframe.
INPUTS
ADR Period sets the maximum number of completed sessions in each average. During initial data collection, the indicator starts after one complete session and uses the available sample until the selected period is populated.
Session Start, Session End, and Timezone define each measurement window; overnight windows are supported. Set 1 and Set 2 may use different windows, ADR periods, and styling. Show Previous Sessions retains completed levels, while Max Previous Sessions limits their number. Other controls manage labels, first-fill emphasis, and the optional information table.
The default Pacific-time windows are:
Set 1: 06:30 to 13:55, 14-session ADR
Set 2: 15:00 to 13:55, 14-session ADR
ALERTS
Four alert conditions cover upper and lower fills for both sets.
LIMITATIONS AND CALCULATION BEHAVIOR
ADR is a trailing sample mean, not a percentile, confidence interval, forecast, or estimate of reversal probability. Reaching it does not establish that a move is rare, exhausted, or likely to reverse. Outliers and volatility-regime changes can materially affect the average.
The script does not use future data or lookahead and does not repaint completed levels from future information. Active projections intentionally update as the session high or low changes, including during an open realtime bar. Completed-session lines show final or filled levels, not every level occupied intraday. Label Offset moves labels to the right for readability only; it does not reference future prices.
Calculations use extended-hours data so a full-session window remains intact on a regular-hours chart. Results depend on the data supplied by the symbol's feed, and an off-chart fill may already be marked when the next visible bar opens.
Designed for intraday charts with standard candles. Synthetic chart types can produce ranges and alerts based on synthetic prices rather than actual traded OHLC values. Indicator

Indicator

Indicator

Regime Quadrant Map [XWiseTrade]Most "regime" indicators sort the market into two boxes: trending or ranging. But that single axis hides the variable that actually decides whether a trend is tradeable - volatility. A market drifting up in dead-calm conditions and a market ripping up in violent conditions are both "trending," yet they demand opposite tactics. Collapsing them into one label is why so many trend filters fail exactly when you lean on them. This indicator separates the two questions that a one-dimensional filter fuses together, and maps the result onto four regimes instead of two.
WHY VOLATILITY IS MEASURED AS AN ATR Z-SCORE, NOT RAW ATR
Raw ATR tells you nothing on its own - an ATR of 15 is enormous on one instrument and trivial on another, and huge in one era and small in the next. What matters is whether volatility is unusually high or low relative to this market's own recent behaviour. So ATR here is ranked against its own distribution over a lookback window and expressed as a Z-score: how many standard deviations above or below its own norm current volatility sits. That makes the reading self-referential and comparable across any symbol or timeframe, instead of an absolute number you'd have to re-learn for every chart.
WHY TREND IS MEASURED WITH EFFICIENCY RATIO, NOT A MOVING-AVERAGE SLOPE
A rising moving average tells you price is higher than it was - it does not tell you how price got there. Efficiency Ratio does: it divides the net directional move by the total distance price actually travelled to make it. A value near 1 means a clean, purposeful move; near 0 means price thrashed back and forth to end up in nearly the same place. Two charts with an identical slope can have completely different efficiency, and that difference - not the slope - is what separates a trend you can ride from a trap. Slope measures result; Efficiency Ratio measures quality.
THE FOUR QUADRANTS
Crossing the two axes gives four regimes, each with a distinct character:
- GRIND (trending + low volatility) - a steady, efficient directional move; the kind you can lean into.
- EXPANSION (trending + high volatility) - a violent directional move; momentum conditions, wider risk.
- COIL (ranging + low volatility) - compression; energy building, often ahead of a breakout.
- CHOP (ranging + high volatility) - whipsaw with no follow-through; the regime most accounts quietly bleed in.
HOW TO USE IT
Watch the regime label and background tint for the current quadrant, or read the two plotted lines directly against their dashed thresholds - the ATR Z-score line for the volatility axis, the Efficiency Ratio line for the trend axis. Both thresholds and both lookbacks are adjustable, so you can set what counts as "high volatility" or "trending" for your own instrument and timeframe. An alert fires whenever the market crosses into a new quadrant, so you don't have to watch it to know the regime shifted.
WHAT MAKES IT DIFFERENT
Standard regime tools reduce the market to a single trend-versus-range line and treat volatility as an afterthought. This one builds regime from two independent axes, measures volatility as a self-referential Z-score rather than an absolute number, measures trend by path efficiency rather than slope, and resolves the market into four actionable states instead of two - because "trending" alone was never enough to decide how to trade it.
These are descriptive regime classifications for discretionary use, not buy/sell signals. Indicator

Session Runway & Volatility Expansion Matrix🛫 Session Runway & Volatility Expansion Matrix — runway isn't one number. It's two, and they fail for different reasons.
Most session/exhaustion tools give you a single verdict: room left, or not. But a trade can run out of space (price already covered its expected range) or run out of time (the session's ending) — and those call for opposite responses. One says wait, the other says stand down. This tool splits them so you know which one you're looking at.
WHAT'S UNDER THE HOOD
📏 Average Session Range engine — one continuous London-open→NY-close envelope per day (single anchor, DST-safe via timezone-aware session windows). Realized range from the last N valid sessions feeds a rolling average; a completeness gate throws out holiday/half-day pollution before it can skew the number.
📐 Space axis — Ceiling = sessionLow + m·ASR, Floor = sessionHigh − m·ASR. Each edge freezes the instant a confirmed close breaks it, so "+N beyond" measures real travel past the edge, not drift from the opposite extreme still extending.
⏳ Time axis — not a straight-line clock. Session range accrues early (London/NY opens), so achievable distance = 1 − elapsed^p: late-session minutes buy less runway than their share of the clock implies. A structural gate also suppresses false time-outs in the two windows where a fresh range burst is still ahead of price (pre-NY, and NY's own fill-window) — this is about where orders fill, not a forecast.
📊 The 2×2 verdict
🟩 CLEAR — SPACE ok + TIME ok → room in both; green light to look for an entry on your system
🟨 TIME LOW — SPACE ok + TIME running out
🟨 EXHAUSTED — range spent + TIME still ok
🟥 NO RUNWAY — both gone; a fresh trade likely can't reach target
🔁 Regime split — directional efficiency (net session displacement ÷ realized range, signed) separates ROTATION days, where the ASR-exhaustion read holds, from EXPANSION (trend) days, where a broken edge stops being a danger zone and flips into a trend-continuation reference instead. The 2×2 stands down on expansion days and a separate flag takes over, so the tool never fights a trend day with a rotation-day read.
🧭 H4 direction gate (optional, non-repainting) — decides which side of the matrix is live.
WHY THIS IS ONE TOOL, NOT FOUR
Space, time, direction and regime aren't independent in practice — a space-based verdict on a trend day is backwards, and a time-axis read that ignores which side is live tells you nothing. Fusing them is the point: the matrix exists to resolve how these four interact into a single session-native verdict, which is exactly the reconciliation you'd otherwise have to do by hand, every session, on every chart.
🔔 Alerts — Runway Clear and Low Runway (rotation-gated, so they never fire against a trend day), plus a separate Expansion Day flag for the regime flip. All confirmed-bar. Payload carries runway in pips, % ASR consumed, and % session elapsed.
📐 Built for FX majors and crosses that trade the London and New York sessions — EURUSD, GBPUSD, USDJPY, AUDUSD, NZDUSD, USDCAD, USDCHF, EURGBP, EURJPY, GBPJPY and similar. JPY pip sizing is automatic. It also runs on metals (e.g. XAUUSD) and indices/futures, which read in ticks — set the Pip size override to your instrument's real pip/tick for correct numbers, and note that in Fixed-pips target mode this override sets the actual target distance, not just the displayed numbers, so metals/index users on Fixed mode should set it. Designed for the M5 to H1 timeframes.
Indicators that pass the "still useful after it's been on your chart a while" test — every read maps to a decision, no decoration.
— SlatinaTrades Indicator

Poor trend[ALT_analyst]Poor trend
ATTENTION: This script is STRICTLY for market environment recognition (Regime Filter). It does NOT provide entry signals or trading recommendations.
■Overview
This indicator, "Poor trend ", is an administrative filter designed not to search for entry signals, but to logically validate and enforce the decision to "take no position."
In directional trading, significant drawdowns occur during low-quality, trendless environments. This script continuously quantifies market stagnation across five independent modules. By mathematically demonstrating the degradation of a directional edge, it provides an objective baseline to suppress unnecessary entries and avoid whipsaw losses.
■Mathematical Proof of Edge Degradation in "Poor Trends"
The mathematical edge of a directional strategy is governed by the Expected Value equation:
Expected Value = (Win Probability * Average Win) - (Loss Probability * Average Loss)
For directional trading (trend-following or breakout), a "Poor Trend" mathematically degrades this equation. When market action exhibits low volatility, restricted ranges, and low liquidity, the probability of a directional breakout (Win Probability) decreases. Simultaneously, the shrinking ATR compresses the potential profit margin (Average Win). As the Average Win approaches transaction costs (spread/commission) and the Win Probability drops, the Expected Value strictly converges toward a negative figure. This script objectively flags the exact parameters where this mathematical degradation occurs.
5 Danger Detection Modules (Calculation Logic & Output Examples)
The script evaluates five independent conditions to calculate a total "Danger Score" (0 to 5).
1. Lack of Trend (ADX)
Calculation Logic:
is_low_adx = adx < adx_threshold (Default: 20)
Why this calculation: The Average Directional Index (ADX) measures absolute trend strength. A value below 20 statistically demonstrates that price action is dominated by noise rather than a directional vector, lowering the Win Probability.
Actual Output Example: If the current ADX value is 15.5, the logic evaluates 15.5 < 20. This returns true (Boolean), adding 1 to the Danger Score.
2. Low Volume (SMA)
Calculation Logic:
is_low_vol = sma(volume, 20) < sma(volume, 50)
Why this calculation: Compares short-term versus long-term volume averages. A drop in short-term volume detects liquidity withdrawal from the market, mathematically increasing slippage risks and transaction costs.
Actual Output Example: If the 20-period SMA volume is 1,200 and the 50-period SMA is 1,500, the logic evaluates 1200 < 1500. This returns true, adding 1 to the Danger Score.
3. Volatility Shrinking (Z-Score)
Calculation Logic:
width_z = (st_width - width_mean) / width_std < 0.0
Why this calculation: Standardizes the current ATR band width against its 50-period history using a Z-score. A negative Z-score proves statistical volatility compression, severely limiting the Average Win potential.
Actual Output Example: If the current band width is 10, the 50-period mean is 15, and the standard deviation is 5. The Z-score is (10 - 15) / 5 = -1.0. Since -1.0 < 0.0, it returns true, adding 1 to the Danger Score.
4. Unstable Direction (Whipsaw)
Calculation Logic: flip_count >= whip_threshold (Default: 3)
Why this calculation: Counts how many times the Supertrend direction has flipped over the last 20 periods. Frequent flips empirically prove directional instability and high whipsaw risk.
Actual Output Example: If the Supertrend has changed direction 4 times within the last 20 bars, the logic evaluates 4 >= 3. This returns true, adding 1 to the Danger Score.
5. Price Stuck (Trapped Inside Bands)
Calculation Logic:
is_trapped = (high < upperBand) and (low > lowerBand)
Why this calculation: Confirms both the high and low of the current candle are completely confined within the ATR boundaries. This proves zero momentum exists to break statistical limits.
Actual Output Example: If the Upper Band is 110, Lower Band is 90, Candle High is 105, and Candle Low is 95. The logic evaluates (105 < 110) and (95 > 90). Both are true, returning true, adding 1 to the Danger Score.
■Visual & UI Specifications
Danger Ribbon: The space between the Normal and Inverse lines fills with color based on the Danger Score (1: Yellow to 5: Dark Red). A score of 0 ("PEACE") renders the ribbon fully transparent.
Sparse Labels: To eliminate chart clutter, status labels ("WAIT", "STOP", "MAX DANGER") are strictly plotted only on the exact bar where the Danger Score increases or resets to 0.
Dashboard Table: A real-time matrix at the bottom right displays the precise binary status ("DETECTED" or "CLEAR") of all 5 modules, providing instantaneous administrative clarity on market conditions.
■Operating Policy
When the Danger Score is active (Ribbon is colored, modules are DETECTED), the statistical Expected Value for directional trading is compromised. Utilize this indicator strictly as an objective administrative filter to halt new entries and justify capital preservation.
Disclaimer
The information and scripts provided in this publication are for educational and informational purposes only. They do not constitute financial, investment, or trading advice. Trading in financial markets involves a high degree of risk, and you may lose some or all of your capital. Past performance is not necessarily indicative of future results. The author assumes no responsibility or liability for any trading losses incurred as a result of using this script. Please conduct your own due diligence and make trading decisions at your own risk.
Indicator

OBV Signal Confluence [MarkitTick]💡 This advanced technical utility provides a comprehensive evaluation of market momentum by synthesizing cumulative volume flow with structural trend dynamics and dynamic support levels. Designed for rigorous market analysis, it evaluates directional shifts by demanding strict confluence across multiple dimensions, including momentum divergence, historical trend validation, and volatility expansion. Rather than relying on isolated price action, this tool builds a holistic profile of market participation, delivering a complete framework for structured trade management and robust signal verification.
● ✨ Originality and Utility
Most traditional momentum oscillators evaluate price velocity in a vacuum, completely ignoring the underlying participation required to sustain a trend. This utility stands apart by merging volume-weighted momentum with strict filtering mechanisms to evaluate the true strength of a market move. By integrating a multi-tiered filtration system, it effectively isolates high-probability directional shifts while filtering out low-participation market noise.
The utility is entirely self-contained, projecting dynamic trade management levels directly onto the chart when momentum alignment is confirmed. It seamlessly bridges the gap between raw data analysis and actionable trade management. By establishing precise entry, invalidation, and multiple target zones based on current market volatility, it transforms raw volume data into a structured operational blueprint.
Furthermore, the inclusion of a comprehensive heads-up display ensures that all underlying metrics—from momentum strength to historical trend states—are continuously aggregated and visually accessible, allowing for rapid contextual assessment without cluttering the primary analytical workspace.
● 🔬 Methodology and Concepts
This tool operates on a sophisticated, multi-layered evaluative engine. To protect the integrity of the underlying architecture, the methodology is described conceptually:
Cumulative Volume Flow: The primary engine evaluates the continuous flow of market volume, categorizing buying and selling pressure based on specific price action thresholds. This cumulative data is then smoothed against a dynamic, user-selectable baseline to establish the core momentum trajectory.
Higher Timeframe Confluence: To prevent acting on insignificant intraday fluctuations, the engine references the structural momentum of a higher timeframe. Signals are strictly gated unless the localized momentum aligns with this broader, macro-level directional bias.
Momentum Divergence Detection: The utility continuously scans for structural discrepancies between price pivot extremes and the corresponding extremes in the volume flow. When price establishes new structural boundaries without validating volume participation, the system flags these areas as potential exhaustion or reversal zones.
Volatility and Participation Filters: Trend strength and volume ratios are continuously measured against established historical averages. The engine requires both a minimum threshold of directional strength and a surge in relative volume participation to validate any momentum shift, ensuring that structural breaks are supported by actual market activity.
Dynamic Risk Profiling: Upon signal confirmation, the tool automatically calculates an invalidation level utilizing a multiplier of the underlying asset's average true volatility. Profit targets are then extrapolated from this established risk parameter, ensuring that every projected setup adheres to strict, predefined risk-to-reward ratios.
● 🎨 Visual Guide
The visual interface is designed to provide immediate contextual awareness while maintaining a clean charting environment:
Momentum Histogram: Plotted as columns, this visualizes the delta between the cumulative volume flow and its dynamic baseline. Color intensity shifts dynamically to reflect both the direction and the immediate acceleration or deceleration of the momentum.
Heat Candles: When enabled, this feature overrides the native chart candles, painting the price action to match the underlying volume momentum state, allowing for rapid visual confirmation of the current trend environment.
Divergence Markers: Distinct upward and downward triangular shapes are plotted directly on the chart to indicate areas where structural price action has diverged from the supporting volume flow.
Trade Management Levels: Upon a confirmed momentum shift, dashed horizontal lines appear to project the Entry, Stop Loss (SL), and three tiered Take Profit (TP) zones.
Risk/Reward Shading: Shaded background zones visually map the risk parameters, contrasting the invalidation zone against the projected reward territory to provide an immediate assessment of the trade's structural viability.
Heads-Up Dashboard: A customizable table anchored to the chart corner. It provides a real-time aggregate readout of all critical internal metrics, including current trend state, raw momentum values, divergence status, participation ratios, and active trade progression percentages.
● 📖 How to Use
Establish Context: Monitor the Heads-Up Dashboard to evaluate the current macro trend state and participation ratios. Wait for the dashboard to indicate alignment between directional momentum, volume participation, and trend strength.
Identify Confluence: Look for structural momentum shifts indicated by the histogram crossing its zero-line, strictly validated by the alignment of the Heat Candles. Divergence markers appearing prior to these shifts serve as early warning signs of an impending structural rotation.
Signal Confirmation: Wait for the current bar to close. The utility is engineered to execute calculations on confirmed data to ensure structural stability. A confirmed signal will instantly plot the dynamic trade management levels.
Execute and Manage: Utilize the projected Entry, Stop Loss, and Take Profit levels to structure your position. The Risk/Reward shading and the progress tracker on the dashboard will provide continuous feedback as the price action develops toward the established targets.
Alert Integration: For automated tracking, configure the built-in alert conditions which generate structured data payloads for long entries, short entries, position closures, and individual target strikes.
● ⚙️ Inputs and Settings
Core: Define the source data for momentum calculations and select the preferred baseline calculation method and lookback length. This also includes the pivot length for divergence detection.
Filters: Activate and calibrate the higher timeframe alignment constraints. Set the specific lengths and minimum thresholds for directional strength and volume participation multipliers to strictly define what constitutes a valid breakout.
Trade: Toggle the visibility of the dynamic management levels. Adjust the volatility lookback, the invalidation multiplier, and customize the exact risk-to-reward ratios for all three projected profit targets.
Vis: Control the visual clutter by toggling the histogram, zero line, divergence signals, and heat candles on or off according to personal preference.
Dash: Enable or disable the Heads-Up Dashboard and anchor it to any of the four chart corners for optimal workspace organization.
Alerts: Define custom action strings and dynamic payload identifiers to integrate seamlessly with external execution engines or tracking software.
Colors: Fully customize the aesthetic profile of the indicator. Modify the specific hex values and opacities for the histogram states, trade levels, risk shading, divergence markers, and the internal dashboard elements to match your charting theme.
● 🔍 Deconstruction of the Underlying Scientific and Academic Framework
The foundation of this utility is deeply rooted in the principles of Auction Market Theory and the Law of Effort versus Result. In any financial market, price discovery is driven by the continuous auction process between buyers and sellers. However, price alone is a one-dimensional metric. Volume represents the actual energy or "effort" expended to move that price. By systematically analyzing the relationship between price displacement and volume flow, this tool effectively maps the true liquidity absorption within the market.
When a market establishes a new structural price extreme, fundamental market mechanics dictate that this move must be supported by an equivalent expansion in volume participation. If the aggregate volume flow begins to decelerate while price continues to advance, a structural divergence is formed. This indicates a severe lack of liquidity supporting the current auction, highlighting an area where the prevailing trend is highly vulnerable to mean reversion or a complete structural failure.
Furthermore, the integration of volatility-based risk profiling adheres to established quantitative risk management principles. Market volatility is not static; it constantly expands and contracts in cyclical phases. By anchoring invalidation levels to a dynamic multiplier of average true volatility, the utility ensures that risk parameters adapt to the current market environment. This prevents premature invalidation during periods of high liquidity expansion while maintaining tight structural constraints during periods of market consolidation.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. We expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicator

SuperTrend Engine [Quantum Algo]SuperTrend Engine
====================================================
🔶 OVERVIEW
SuperTrend Engine is a volatility-adaptive SuperTrend indicator built on one idea: every SuperTrend gives you signals — this one shows you the whipsaws it saved you from, tells you its real win rate on your chart, and admits when it is wrong.
The engine self-tunes its factor with a fully transparent formula, confirms flips through a Whipsaw Shield that absorbs fake-outs and marks every one it absorbed, stamps every buy and sell flip with its live, honestly-computed win rate on the current symbol, settles every marker into its real outcome ten bars later, and draws the trade geometry — entry, trailing stop, one-R and two-R references — the moment a flip confirms.
🔶 WHAT IS A SUPERTREND?
A SuperTrend is a trailing stop built from the Average True Range: a band placed a volatility-scaled distance from price that ratchets in the trend's favor and never retreats. While price holds above the band, the trend is up and the band trails below as a stop; a close through the band flips the state. It is one of the most followed trend-following tools in retail trading — and its famous weakness is the whipsaw: sideways markets flip it back and forth, and a fixed factor that survives chop is too slow in trends. This engine is built specifically against that weakness.
🔶 WHY THIS SCRIPT IS ORIGINAL
1. The Whipsaw Shield — visible absorbed fake-outs. A flip only confirms when the close clears the opposite band by a volatility margin. When the raw trail flips and reverses before clearing it, the engine holds its direction and prints a small ghost marker where the whipsaw died, with a running Whipsaws Shielded counter in the dashboard. Other tools try to reduce whipsaws quietly; to our knowledge, none renders the failures it absorbed. Here the evidence is on the chart.
2. Honest per-symbol flip statistics. Every flip is stamped with its live win rate on this exact symbol and timeframe — shrinkage-adjusted so thin history cannot show fake confidence, with a Wilson confidence bound and sample count in the hover tooltip. The indicator audits itself in public instead of asserting signals.
3. Markers that settle into their outcome. Each buy and sell marker resolves ten bars later: the trend color if the flip delivered, faded gray if it failed. Scroll any chart and read the engine's true track record directly off the markers — including the losses.
4. Transparent adaptation, not a black box. The factor self-tunes between your two bounds using Perry Kaufman's Efficiency Ratio — tight when price moves cleanly, wide in chop — and the dashboard shows the live factor and efficiency reading every bar. The adaptation can be verified with a calculator; nothing asks for trust.
5. A trade plan, not just a line. On every confirmed flip the engine draws the entry, the trailing stop, and one-R and two-R reference levels, and the dashboard tracks the open signal's running R-multiple live.
6. A breathing chart. The glow between price and trail intensifies with trend distance and fades as price returns to the stop, grade-A flips (volume, efficiency, and a decisive break together) print in the accent color, and the whole layer stays capped and clean.
🔶 HOW IT WORKS
Adaptive trail: Classic ratcheting SuperTrend bands are computed from the Average True Range, with the factor interpolated between the trend bound and the chop bound by the Efficiency Ratio — the ratio of net price movement to total path length over the lookback.
Whipsaw Shield: The raw band flip is treated as a candidate, not a signal. Only a close beyond the opposite band plus the margin confirms the flip; a raw flip that reverses first is counted, marked as a ghost, and absorbed.
Statistics: Each confirmed flip records what price did ten and thirty bars later, in the flip's direction, into capped first-in-first-out databases. Win rates are pulled toward fifty percent by pseudo-samples and carry Wilson lower bounds. Until the minimum sample is met, markers read "collecting history" instead of inventing a number.
Outcome settlement: Every marker stores its flip price and recolors by the realized ten-bar outcome, then joins the capped history.
Grading: Volume z-score, efficiency level, and break decisiveness combine into an A, B, C grade on every flip.
Non-repainting: Flips, shields, grades, statistics, and settlement are all evaluated on closed bars. Once printed, nothing moves.
🔶 HOW TO USE IT
1. Works on any market — cryptocurrency, forex, gold, indices, stocks, futures — and any timeframe. Trending instruments suit tighter trend bounds; choppy ones benefit from a wider chop bound and a larger shield margin.
2. Treat the flip as regime information and the trail as the stop: the line is the invalidation, and the one-R and two-R references scale targets to the risk the stop defines.
3. Read the ghost markers as the tool working: a cluster of × marks in a range is the chop a fixed-factor SuperTrend would have traded.
4. Judge fresh flips against the settled history and the statistics rows — a symbol whose markers keep settling gray is telling you trend-following struggles there, and that is information worth having before the next flip.
5. Use the grade for position confidence: an A-grade flip with volume, high efficiency, and a decisive break is a different event from a drift-through.
6. Watch the live factor and efficiency in the dashboard to see the adaptation reasoning in real time.
🔶 SETTINGS
- Adaptive trail: Average True Range length, factor in strong trend, factor in chop, Efficiency Ratio length.
- Whipsaw Shield: flip margin and ghost marker toggle.
- Statistics: sample cap, minimum samples to grade, shrinkage strength, Wilson z-score, markers to keep.
- Trade plan toggle and plans to keep.
- Visuals: all colors, glow fill, candle tinting.
- Themeable dashboard: position, four text sizes, title band, background, frame, grid, and three text colors.
🔶 ALERTS
- Buy Flip / Sell Flip — the adaptive trail flipped with the confirmation margin cleared.
- Whipsaw Shielded — a raw flip reversed before confirming; the engine held its direction.
- Grade A Flip — full quality confluence: volume, efficiency, and a decisive break.
🔶 FREQUENTLY ASKED QUESTIONS
Does the indicator repaint? No. Every flip, shield event, grade, statistic, and marker settlement is evaluated at bar close. Once printed, nothing moves.
How is this different from other adaptive or machine-learning SuperTrends? Adaptation itself is not the claim — several tools adapt the factor. The differences are transparency and honesty: the adaptation here is one verifiable formula shown live on the dashboard, the whipsaws it absorbs are rendered instead of hidden, every signal carries its real statistics with confidence bounds, and every marker settles into its true outcome.
What does a ghost × marker mean? The raw SuperTrend flipped there and reversed before clearing the confirmation margin. The engine held its direction and counted the whipsaw it absorbed.
Why does a marker turn gray? The flip failed: ten bars later, price had not moved in its direction. Gray markers are the audit trail working — an honest tool must be able to show its losses.
Why do the win rates hover near fifty percent on some symbols? Because that is the truth of trend-flip performance there. The shrinkage and confidence bounds are designed to display small honest numbers rather than large misleading ones.
🔶 CREDITS
The SuperTrend trailing stop was created by Olivier Seban; the Average True Range is by J. Welles Wilder Jr. (1978); the Efficiency Ratio is by Perry J. Kaufman; the Wilson score interval is by Edwin B. Wilson (1927). This script gratefully acknowledges all four. The Whipsaw Shield, the transparent adaptive-factor design, the per-symbol statistical engine, the outcome-settling markers, the trade plan layer, and all code in this script are original work — no third-party or open-source script code was reused.
🔶 LIMITATIONS
Trend-following flips underperform by nature in prolonged ranges; the shield reduces but cannot eliminate that cost, and shielded entries confirm slightly later than raw ones — the margin trades earliness for reliability. Statistics need history to mature and are honest about being thin early. Volume grading is less meaningful on symbols with unreliable volume reporting. No indicator replaces independent analysis.
🔶 DISCLAIMER
This script is provided strictly for educational and informational purposes. It is not financial advice, an investment recommendation, or a solicitation to buy or sell any financial instrument. Past behavior of any flip, statistic, or grade does not guarantee future results. Trading involves substantial risk. Always do your own research and manage risk independently. Indicator

ATR Chandelier StopTrade Control Adaptive ATR Chandelier Stop
The Trade Control Adaptive ATR Chandelier Stop is a volatility based trailing stop designed for swing and position traders who want a more objective way to manage exits and protect gains.
Instead of applying the same fixed percentage stop to every stock, the indicator uses Average True Range, or ATR, to account for how much each symbol typically moves. More volatile stocks receive wider stop levels, while lower volatility stocks receive tighter stop levels.
How it works
For long positions, the trailing stop is calculated as:
Highest high over the selected lookback period minus ATR multiplied by the selected multiplier
With the default settings, the calculation is:
22 bar highest high minus 3 times the 14 bar ATR
This creates a stop that hangs below the stock’s recent high, which is why it is called a Chandelier stop.
As the stock makes new highs, the stop can move higher. During normal pullbacks, the stop generally does not move lower while the bullish trend remains intact.
When price closes below the trailing stop, the indicator changes to a bearish state and begins plotting the corresponding stop above price.
Default settings
ATR Length: 14
Price Lookback: 22
ATR Multiplier: 3.0
Automatic Volatility Adjustment: Off by default
These settings are intended as a balanced starting point for swing and position traders using the daily chart and holding trades for several weeks to several months.
Adaptive volatility option
The optional adaptive setting adjusts the ATR multiplier based on ATR as a percentage of the stock price.
When enabled, the indicator gives highly volatile stocks additional room and may tighten the stop for lower volatility stocks. The standard 3 ATR setting remains the default for traders who prefer a simpler and more consistent approach.
Best uses
The indicator is designed for:
• Swing trading
• Position trading
• Trend following
• Managing profitable trades
• Reducing emotional exit decisions
• Monitoring individual stocks or watchlists
It is generally most useful on the daily timeframe.
Alert condition
The script includes an alert condition for a confirmed daily close below the trailing stop.
Recommended PulseWire alert settings:
Condition: Daily Close Below ATR Stop
Interval: 1D
Trigger: Once per bar close
The alert is designed to trigger when the trend first changes from bullish to bearish. It does not repeatedly alert every day while price remains below the stop.
Important considerations
The Trade Control Adaptive ATR Chandelier Stop is a trade management tool, not a complete trading strategy.
Traders should also consider technical support and resistance, entry price, position size, maximum acceptable loss, earnings risk, gap risk, and overall market conditions.
A stock can gap below the plotted stop, particularly around earnings or major news. The indicator does not guarantee execution at the displayed price. Indicator

ATR Trend Rail🚦 ATR Trend Rail — a trend rail that knows when to shut up.
Most ATR / SuperTrend clones flip you into every chop-fest, then repaint the "perfect" entry after the candle closes. This one doesn't. It runs on a single idea: a trailing ATR band is only worth trading when the market regime agrees with it. 🎯
WHAT'S UNDER THE HOOD
📐 The rail — a trailing ATR band that latches trend state and rides price until volatility says the move is done. Adaptive, clean, no lag-heavy MA soup.
🧭 Regime filter (the whole point) — every flip is gated against a regime SMA. Leave it on your chart timeframe, or point it at an HTF for a top-down bias. Wrong side of regime? The signal never fires. This is the piece most trend tools skip entirely.
🚫 Non-repainting, for real — flips confirm on closed bars only, the regime pull runs lookahead-off with a realtime offset, and each leg's regime status locks the moment the flip bar closes. What you see in replay is what you'd have traded live. No hindsight magic.
🌫️ Faded legs — trends that fire against regime don't disappear, they dim. You still see the move; you just know it didn't earn a signal. Context, not censorship.
🔔 Alerts that behave — Bull, Bear, and Flip, confirmed-bar only. Set them once and trust them.
READ IT IN ONE GLANCE
🟢 Bright rail under price → confirmed uptrend, regime agrees
🔴 Bright rail over price → confirmed downtrend, regime agrees
⚪ Faded rail → the move exists, regime says wait
🔺 Triangle + Bull / Bear tag → a flip that passed the gate
Still useful after it's been on your chart a while. 🚦
— SlatinaTrades Indicator

Regime Ribbon + CompassTraditional ADX asks you to read three tangled lines at once — +DI, −DI, and the ADX line — and combine them in your head in real time. This tool collapses all three into a single, intuitive read: direction by color, trend strength by height. No sub-pane needed — the entire regime picture lives right on your price chart.
◈ WHAT IT DOES
The Regime Ribbon recolors a smoothed baseline directly on your candles: green when the directional index confirms an uptrend with strength, red for a downtrend with strength, and muted gray during low-ADX chop. An optional faint background tint reinforces the current regime at a glance.
The Regime Compass — a floating right-edge gauge — turns the same read into a live instrument you can check at a glance:
Fill direction shows who's in control: the meter fills upward from its midline when bulls lead (+DI over −DI) and downward when bears lead (−DI over +DI).
Fill color matches the regime: green for an up-regime, red for a down-regime, dim gray during chop.
Fill height encodes conviction: the stronger the trend (higher ADX), the further the meter fills toward its pole. A weak or ranging market barely lifts off the midline; a powerful trend pushes the fill close to the edge.
Bull / Bear poles mark the top and bottom of the gauge so you always know which way is which.
A live readout on the meter prints the current state and ADX value — for example "▲ TREND 34", "▼ TREND 28", or "◈ CHOP 12" — and a light-blue dashed midline marks the neutral point.
One glance answers both questions traders normally have to compute from three separate lines: which way, and how much to trust it. The gauge floats to the right of the last candle so it never sits on top of your price action, and it can be slid further out to taste.
An on-chart dashboard ties everything together in one row along the bottom of the chart — no separate pane. Each cell is a live readout:
REGIME — the current state in plain terms: BULL ▲, BEAR ▼, or CHOP ◈, colored to match.
ADX — the raw ADX value plus a word for context: WEAK (below the trend threshold), TREND (trend confirmed), or STRONG (a powerful move).
STRENGTH — a compact bar that fills with ADX, so you can gauge trend power without reading the number.
+DI — the positive directional value (up-pressure).
−DI — the negative directional value (down-pressure).
BALANCE — the two directional values distilled into a single signed percentage. Positive means bulls lead, negative means bears lead, and the size shows how lopsided it is. This is the "collapsed" read at the heart of the tool.
TP/SL — the take-profit and stop-loss distances currently configured, with their unit (percent or ATR).
COOLDOWN — how many bars remain before a new signal is allowed, or "clear" when it's ready.
STATUS — the current position state: FLAT, LONG ●, or SHORT ●.
Together the ribbon, compass, and dashboard give you the full regime picture — direction, strength, the underlying directional balance, your trade parameters, and current state — all on the price chart, readable in a single glance.
◈ HOW TO USE
Read it in two steps — direction, then conviction:
Ribbon and compass green with the meter filling high → an uptrend with conviction. Continuation-style approaches tend to suit these conditions, and the taller the compass fill, the more decisive the move.
Red with the meter filling low → a downtrend with conviction.
Ribbon dim gray and the compass short (hugging the midline) → ADX is low; a chop/range regime where trend-following is prone to whipsaw and range tactics tend to fit better. Many traders simply stand aside here.
Watch the BALANCE cell and the compass together: when balance swings from negative to positive (or vice-versa) and the compass starts filling with height, that's the regime waking up — the shift from chop into a directional move.
Optional markers and funnel labels highlight the exact moment the regime flips into a confirmed strong trend, drawing example take-profit and stop-loss reference levels on the chart so you can see the setup framed end to end.
A practical workflow: use the ribbon for your at-a-glance bias, the compass for how much weight to give it, the BALANCE cell to spot early shifts, and the STATUS/COOLDOWN cells to keep your own entries disciplined.
◈ SETTINGS
Regime Engine — DI Length, ADX Smoothing, Trend Threshold (the ADX level separating trend from chop), Strong-Trend level.
Regime Ribbon — baseline length, background tint toggle.
Regime Compass — right-edge offset, width, height (in ATR).
Trade Levels — TP/SL in Percent or ATR, ATR length, TP/SL box toggle.
Risk Management — cooldown between signals, max bars in trade, optional EOD flatten window.
Webhook — optional alert payload with a configurable strategy ID.
Dashboard — on/off.
◈ NON-REPAINTING
All signals evaluate only on confirmed (closed) bars, and every directional value is read from closed bars — so a signal that prints will not disappear or shift intrabar. Entry logic arms on the signal bar's close and references the next bar's open, matching realistic order timing. No future data is used anywhere in the logic.
◈ DISCLAIMER
This script is a technical-analysis tool provided for educational and informational purposes only. It is not financial advice, does not predict future price movement, and does not guarantee any outcome. Trading carries a substantial risk of loss. Always do your own research and manage your own risk. The past behavior of any indicator or market condition does not indicate future results. Indicator

Multi-Timeframe ATR Stop & Contract Risk TableSummary
The Multi-Timeframe ATR Stop & Contract Risk Table is an educational risk-management tool that displays Average True Range (ATR) values from multiple lower timeframes in a single table. It converts ATR into points, ticks, and estimated dollar values to help traders compare current market volatility across intraday timeframes.
The indicator is intended to assist with trade planning and position sizing. It does not generate trade signals or recommend entries or exits.
Description
Average True Range (ATR) is a widely used volatility measurement that estimates the average movement of price over a specified lookback period.
This script displays ATR values from the following timeframes:
1 Minute
2 Minute
3 Minute
5 Minute
For each timeframe the table displays:
ATR in Points
ATR converted to Ticks
Estimated Full-Size Contract Dollar Value
Estimated Micro Contract Dollar Value
The calculations can use the chart symbol's point value automatically or a manually specified value when desired.
The indicator is designed to reduce mental calculations when comparing potential stop distances across multiple intraday timeframes.
Features
Multi-timeframe ATR calculations
Independent ATR length
Multiple ATR smoothing methods
RMA
SMA
EMA
WMA
Automatic symbol point-value detection
Optional manual point-value override
Estimated dollar risk for full-size contracts
Estimated dollar risk for micro contracts
Adjustable ATR multiplier
Adjustable contract quantities
Compact table positioned on the chart
Tooltips throughout the settings and table
How to Use
Select an ATR length appropriate for your market.
Choose the desired ATR smoothing method.
Confirm or manually enter the contract point value if necessary.
Adjust the ATR multiplier if your trading plan uses stops based on a fraction or multiple of ATR.
Use the table to compare recent volatility between the 1-, 2-, 3-, and 5-minute timeframes.
The displayed values may be useful when estimating stop distances and approximate monetary exposure before entering a trade.
Educational Notes
Average True Range measures recent volatility.
ATR does not indicate:
market direction
trend strength
probability of success
optimal entry locations
ATR should be interpreted together with the user's own market analysis and risk-management methodology.
Intended Use
This script is intended for educational and informational purposes.
It assists traders by presenting volatility information in a compact format that may reduce manual calculations during trade planning.
Limitations
Dollar values are estimates based on the selected point value and contract quantity.
Actual fills, slippage, commissions, and execution costs are not included.
Different markets may use different contract specifications.
ATR is a lagging volatility measure and should not be interpreted as a predictive indicator.
Originality Statement
This indicator was developed as an original implementation using Pine Script® v6.
The calculations use publicly documented ATR methodology available within PulseWire's Pine Script® environment. The implementation, table layout, user interface, conversion logic, and visualization were written specifically for this script and are not copied from another published PulseWire indicator. Indicator

Reversal Scalper 2.0- Adib NooraniReversal Scalper - Smoothed Stoch & ATR Trend Filter
Hey everyone, I originally put this script together to help me scalp XAUUSD and Indian equities on lower timeframes, specifically to solve a problem I was having with standard momentum oscillators.
We all know the main issue with using a regular Stochastic for scalping: it’s great for spotting exhaustion, but when a strong trend kicks in, the oscillator just stays pegged in the overbought or oversold zones. If you try to trade those reversal signals blindly, you just get run over by the trend.
To fix this, I created a mashup that combines a smoothed Stochastic with a custom ATR-based structural trend ribbon. The whole point of combining these two indicators is to use the ATR bands to define the actual market structure, and only take the Stochastic reversal signals when the trend filter confirms that the push is actually exhausted.
How the math works:
First, the bottom oscillator (what I call the Reversal Strength Meter) is based on a standard 8-period Stochastic. But to cut out the erratic noise you usually get on the 1m or 5m charts, I ran it through a 5-period Simple Moving Average. It gives a much cleaner read on momentum.
Second, the background trend filter uses a long-term ATR (100-period, halved) multiplied by a deviation factor (default is 3). The script looks back at recent swing highs and lows to project a volatility channel. I linked this channel to the bar colors so you don't need to look at messy lines on your chart.
How to trade with it:
If the price breaks hard outside the ATR channel, the candles change color (white for a strong push up, black for a strong push down). When you see this, it means the trend is expanding—do not look for reversals, even if the Stochastic is at an extreme.
For Longs: Wait for a strong downward push that turns the candles black. Let the smoothed Stochastic dip below the 20 level. You only enter long when the candles go back to their normal color (showing the structural selling pressure has stopped) AND the stochastic crosses firmly back up above 20.
For Shorts: Wait for a bullish push that turns the candles white. Let the stochastic ride up above 80. Your short trigger is when the candles return to normal and the stochastic crosses back down below 80.
I left the inputs open so you can adjust the Stochastic lengths and the ATR deviation factor depending on what timeframe or asset you are trading. Hope this helps you guys filter out the fake outs. Indicator

Currency Strength Meter [ForexCracked]🔵 OVERVIEW
A currency strength meter that ranks the eight major currencies against each other in real time, and then tells you the one thing you actually opened it for: which pair to trade right now.
It reads all 28 major crosses, so every currency is measured across all seven of its pairs, not just against the dollar.
🔵 WHAT MAKES THIS ONE DIFFERENT
Almost every strength meter measures each pair's percent change and averages it. That has a flaw nobody talks about: a 40 pip move in a quiet pair and a 40 pip move in a violent one are treated as the same event, when they are not remotely the same event.
This meter measures every move in ATR units instead. A currency only scores highly if it has moved far relative to how far that pair normally moves. Quiet pairs stop being drowned out by naturally volatile ones, and the ranking stops flattering whichever currency happens to be paired with the wildest counterpart that week.
🔵 WHAT IT SHOWS
• A live ranking of USD, EUR, GBP, JPY, CHF, AUD, NZD and CAD, strongest to weakest
• Each currency's strength in ATR units, so the numbers mean something rather than being an index
• Whether each currency is strengthening or weakening against its own recent reading, not just where it sits
• The Best Pair line: long the strongest currency, short the weakest
• The Spread: the distance between strongest and weakest
🔵 THE SPREAD (read this one first)
The spread is the gap between the strongest and the weakest currency. It answers a question most traders skip: is anything actually happening?
A wide spread means currencies are genuinely diverging and a strength-based trade has something to work with. A narrow spread means everything is drifting together, the ranking is mostly noise, and the best trade is usually no trade. Check the spread before you trust the ranking.
🔵 HOW TO USE
• Read the spread. If it is small, the ranking is not telling you much, so wait.
• Take the Best Pair as a starting point, not an entry. It tells you where the divergence is, not when to get in.
• Prefer a currency that is both highly ranked and still strengthening over one that is highly ranked and already fading, since the second one has usually made its move.
• Confirm the pair on the chart with your own entry method. A strength meter frames the trade. It does not time it.
• Lengthen the Lookback for swing trading and shorten it for intraday.
🔵 SETTINGS
• Strength Lookback: how many bars back the move is measured over (default 24)
• ATR Length: the volatility yardstick every move is divided by (default 14)
• Symbol Prefix: leave blank on most charts. If the pairs do not load, set it to your data provider, for example OANDA: or FX:
• Show Ranking Table: toggles the strongest-to-weakest table in the top right (default on)
• Plot Strength Lines: toggles the eight strength curves in the pane (default on)
⚠️ DISCLAIMER
Relative strength tells you which currencies are moving and which are not. It does not tell you when to enter, and strong currencies reverse. Results depend on market conditions, settings, and your own execution and risk management. Shared for educational and research purposes. Not financial advice. Indicator

ATR Range Adaptive ATR Range Adaptive — TF-adaptive volatility bands with dashboard.
A precision volatility tool that projects the statistical extent of a "normal" bar move as five horizontal levels around the previous close — and recalculates automatically on whatever timeframe you're viewing.
How it works:
Add the indicator once. From the previous closed bar of the current chart timeframe it draws the middle line (previous close) plus four ATR-multiplied bands — ±0.5 × ATR and ±1.0 × ATR. Switch to 1H → hourly levels. Switch to 5M → 5-minute levels. No presets to change.
What it shows:
- Previous close as the anchor (middle line)
- +100% band (upper strong resistance) at previous close + 1 × ATR
- +50% band (intermediate resistance) at previous close + 0.5 × ATR
- -50% band (intermediate support) at previous close - 0.5 × ATR
- -100% band (lower strong support) at previous close - 1 × ATR
- Corner dashboard: current TF, previous close, 1 ATR as a percentage of price, and each level's value + distance from the live price
Key features:
- Fully TF-adaptive: no fixed daily/monthly assumption — bands follow the chart's timeframe
- Selectable ATR smoothing: RMA (Wilder), EMA, SMA, WMA
- Adjustable ATR length and multiplier
- Level lines extend a configurable number of bars to the right
- Middle line can be toggled independently of the ATR bands
- Dashboard: 6 anchor positions, 4 text sizes, adjustable cell transparency
- Full color palette for each band + header and text
- Tooltip on "1 ATR, %" explains volatility bands (low / normal / elevated / high)
- Clean overlay: only 5 lines and 1 dashboard, no chart clutter
Who it's for:
Traders who want a fast, timeframe-aware read on how far price has already stretched from the previous close — and where a "normal" move statistically ends. Useful for intraday range trading, scalping around ATR extremes, sizing stops, and spotting bars that break out of typical volatility. Indicator

FractalMemoryLib [Jayadev Rana]FractalMemoryLib packages the pattern-memory engine used by the Fractal Memory Projection indicator and the Fractal Memory Strategy so any script can import it.
WHAT IT DOES
The library finds the historical window whose movement shape most resembles the most recent bars (mean squared distance between stdev-normalized log returns), replays what followed that window as a projected close path, and sizes stops and targets adaptively by volatility regime.
EXPORTED FUNCTIONS
logRet(src) - one-bar log return of a series.
bestMatch(src, winLen, scanDepth, gapAhead) - scans up to scanDepth bars back and returns the offset of the most similar window plus a 0-100 similarity score. gapAhead reserves bars after the match for a projection.
analogPath(src, offset, fcLen, scaleF) - array of fcLen projected closes built by replaying the returns that followed the match, rescaled by scaleF (for example current ATR over ATR at the match).
adaptiveR(atrLen, rankLen, base) - volatility-adaptive unit risk: ATR times (base plus its 0-1 percentile rank), plus the rank itself. Call on every bar.
volRegime(volRank) - "Low", "Normal" or "High" label from the rank.
targets(entry, dirSign, unitR, slMult) - stop loss and TP1/TP2/TP3 at 1R, 2R and 3R.
USAGE NOTES
Call adaptiveR on every bar for ta consistency. bestMatch and analogPath are loop-heavy; for display purposes call them on the last bar only, and make sure the chart has at least scanDepth plus gapAhead bars of history. When the library itself is added to a chart it draws a small demo projection line from the best analog.
The analog projection is a statistical reference to a similar past episode, not a prediction, and not financial advice. Library

Fractal Memory Strategy [Jayadev Rana]Fractal Memory Strategy trades the same engine as the Fractal Memory Projection indicator: it looks for the historical episode most similar to current price action, and only takes trend flips that agree with how that episode played out. Exits scale out at three volatility-adaptive targets.
HOW IT DECIDES
An ATR trailing stop tracks the trend. When it flips, the last 30 closes are converted to normalized log returns and compared against past windows by mean squared distance. The bars that followed the best analog give a net direction; the flip is only traded when the analog direction agrees (the filter can be disabled). Orders are processed on bar close, so no lookahead is involved. For visual context the strategy also draws the 50-candle ghost projection beyond the last bar - it is display-only and never affects order logic.
ENTRIES AND EXITS
On a confirmed bullish flip with agreement the strategy closes any short and enters long; the mirror applies to shorts. One unit of risk R equals ATR times (1.2 plus the ATR percentile rank over 200 bars), so targets and stops widen in volatile regimes and tighten in quiet ones. Position exits: one third at 1R, one third at 2R, the remainder at 3R, with a stop at 1.5R (all adjustable). Direction can be restricted to long-only or short-only.
PROPERTIES USED IN THE PUBLISHED BACKTEST
10,000 initial capital, 10 percent of equity per trade, 0.01 percent commission per order, 2 ticks slippage, no pyramiding, orders on close. These are deliberately conservative; adjust them to match your own broker before drawing any conclusion.
PANEL
Match similarity, volatility regime, forecast direction, closed trade count and win rate.
NOTES
The analog projection is a statistical reference, not a prediction, and past behaviour does not guarantee anything about the future. Results vary by symbol and timeframe; test on your own market with realistic costs before considering any live use. This is an educational tool, not financial advice. Strategy

Advanced Fibonacci Golden Zone [HexaTrades]Advanced Fibonacci Golden Zone automatically finds the market's significant swing legs and projects the Fibonacci Golden Zone, the 0.5 – 0.618 retracement pocket of the latest leg. That band is where trend-continuation entries are classically hunted. No manual fib drawing: the script detects the swing, anchors the retracement correctly for both directions, draws the zone the moment the swing confirms, manages the setup's whole lifecycle, and drives a duplicate-free alert stream.
⭐️How it works
True late-zone detection:
When a swing confirms, the script scans every bar from the actual pivot through the confirmation bar (wicks or closes, per Zone Touch Source). If the price has already reached the zone's near edge anywhere in that window, the zone is late and is skipped; no zone is ever painted behind a reaction that already happened. Strict rule: exactly touching the edge counts as late.
Superseded setups :
A skipped candidate retires the previously active setup immediately: status “Superseded”, zone frozen/faded, and total silence no false “Invalidated” alert (that one is reserved for setups price actually broke).
Invalidation frozen ATR buffer:
A setup dies when a bar closes beyond the protective swing by more than the Invalidation Buffer (× ATR). The buffer is measured once, at setup creation, and the invalidation price stays fixed for the setup's lifetime; later ATR changes can't move it. Dead zones gray out instantly and can never alert again; a broken leg is “poisoned” so its later extensions can't spawn a fresh setup.
Zone anchoring retracements vs projections
Bullish (up-leg): Retracement anchored at 0.0 at the high, 1.0 at the low → the 0.5–0.618 band sits below price as potential support.
Bearish (down-leg) : Mirror-anchored → the 0.5–0.618 band sits above the price as potential resistance.
Retracements (0–1.0) and continuation projections (1.272× / 1.618× of the impulse, beyond the extreme) are computed by separate functions and labelled separately projections are targets, not retracement ratios.
True late-zone detection :
When a swing confirms, the script scans every bar from the actual pivot through the confirmation bar (wicks or closes, per Zone Touch Source). If the price has already reached the zone's near edge anywhere in that window, the zone is late and is skipped; no zone is ever painted behind a reaction that already happened. Strict rule: exactly touching the edge counts as late.
Superseded setups:
A skipped candidate retires the previously active setup immediately: status “Superseded”, zone frozen/faded, and total silence no false “Invalidated” alert (that one is reserved for setups price actually broke).
Invalidation frozen ATR buffer:
A setup dies when a bar closes beyond the protective swing by more than the Invalidation Buffer (× ATR). The buffer is measured once, at setup creation, and the invalidation price stays fixed for the setup's lifetime; later ATR changes can't move it. Dead zones gray out instantly and can never alert again; a broken leg is “poisoned” so its later extensions can't spawn a fresh setup.
⭐️ Features
- Automatic Golden Zone (default 0.5 – 0.618, both ratios configurable)
- Optional fib levels: retracements 0 · 0.236 · 0.382 · 0.5 · 0.618 · 0.786 · 1.0 + separately labelled 1.272× / 1.618× projections
- ZigZag + HH / HL / LH / LL structure labels with live structure bias
- Historical zones stay frozen & softened; optional “One zone per leg” replaces same-leg drafts in place (off by default)
- Zone lifecycle: Waiting → Inside Zone → Rejected / Broke Out → Invalidated / Superseded dead zones gray out and go permanently silent
⭐️How to use it
- Wait for a fresh zone in the direction of the structure (HH+HL → longs, LH+LL → shorts).
- Let price come into the zone covered by the “Price Enters Golden Zone” .
- Look for the rejection: a candle that gets into the zone and closes back out in the trend direction.
- Targets & invalidation: Target 1 = the 0.0 level (the impulse extreme), Target 2 = the 1.272× projection, Target 3 = the 1.618× projection; status “Invalidated” (close beyond the protective swing + buffer) is the classical exit.
⭐️Alert
1 · Golden Zone Invalidated: close beyond the protective swing + frozen ATR buffer — kills the setup
2 · 1.618× Projection Reached: continuation target hit (also completes 1.272× if reached directly)
3 · 1.272× Projection Reached: continuation target hit
4 · Bullish / Bearish Rejection: candle gets into the zone, closes back out in trend direction (completes the entry latch too)
5 · Zone Breakout: price closes straight through the zone
6 · Price Enters Golden Zone: first touch of the zone
No zone-interaction alert can fire on the candle that creates a setup; signals are eligible from the following confirmed candle.
Bar-close confirmation is enforced in code (barstate.isconfirmed is part of every alert condition); alerts cannot trigger intrabar regardless of the frequency you pick. Still select “Once Per Bar Close”.
Advanced Fibonacci Golden Zone combines confirmed market structure, automatic Fibonacci mapping and complete setup management in one tool. It helps traders identify fresh retracement opportunities without manually drawing Fibonacci levels while keeping invalidation, projections and alerts consistent. Use it alongside trend context, price action and proper risk management—not as a standalone entry signal.
We would love to hear your suggestions. If you have ideas for new features, indicators, analytics, or improvements, please share your feedback. Your input helps guide future updates and improve the indicator for all traders.
Wedge pattern detector indicator is for educational and analytical purposes only. It is not financial advice. Trading involves risk. Always use proper risk management and combine this indicator with your own analysis before taking any trade.
Indicator
