CISD Order Block+ (M1D)CISD Order Block+ finds the candle that changed the state of delivery and turns it into the order block you deal from. A run of down candles delivers lower; price then closes back above the highest body edge of that run. That reclaim is the change in the state of delivery, and the candle it reclaimed is a bullish order block — its body is the array, its midpoint is the entry, and the range it delivered through projects the targets. Bearish mirrors it exactly. Nothing engages until liquidity has been swept, and one raid produces one setup. It maps structure. It does not fire trades.
The sequence it looks for
Bullish below; bearish mirrors.
Liquidity is taken. Price wicks through a swing low and closes back above it — sellside raided and rejected. With no sweep there is no setup, and the swing that was taken is consumed, so the same low cannot be raided twice.
Delivery runs down. Two or more consecutive down candles print. This is the leg that did the raiding.
The run is reclaimed. Within a set window of bars, a candle CLOSES back above the run's highest body edge. That close is the change in the state of delivery.
The origin candle becomes the order block. The highest-bodied candle of the run, the one price just closed back over, which is usually but not always the run's first candle. Its body high is the level, its body midpoint is the entry, and its own body low is the distal edge.
The targets project. The run's body-to-body range, cast forward past the level in standard deviations.
The anchor is the point of the whole thing. Most implementations mark the last down candle before the up move, or measure the midpoint across the entire displacement leg. This one anchors on the run's extreme body — the level whose reclaim actually reverses the delivery — and takes its 0.5 from that single candle's own body, not from the leg. Those produce different prices, and the difference is where you get filled.
These are established Inner Circle Trader concepts — the change in the state of delivery, the order block, the liquidity raid, consequent encroachment and standard deviation projections. This script is an original implementation of them.
One raid, one setup
A down leg is rarely a single run. It is more often three down, a pause, two down, a pause, two more — each with its own body high sitting at a different price. A rally back through that leg closes above each of those levels in turn, on different bars, which is how a CISD tool ends up printing four or five setups off one raid.
This script treats that as one event. When a setup confirms, every other pending run in that leg is discarded and the sweep that produced it is marked as used; the next setup on that side requires a new sweep. The one that survives is the FIRST close that reverses the delivery, not the highest level, because the run nearest the low is the one that actually delivered into the raid. The higher runs further back up the leg are old delivery, and a close through those comes after the move has already gone.
What it draws
The CISD level. A solid line at the origin candle's body high, anchored at the candle that formed it and tagged CISD at its right end. This is the trigger — the price whose reclaim made the setup, and the price whose loss ends it.
The 0.5. A dotted line at the consequent encroachment of that candle's body, tagged 0.5. The entry level: the discount half of the block on a bullish setup, the premium half on a bearish one. Both the line and its tag can be turned off independently.
The swept level. A dotted line at the raided level, running from the swing that formed it to the candle that took it, with a small x centred on the line. It shows the liquidity the whole setup was built on, and it belongs to the setup — when the block fails, the mark goes with it.
The distal edge. The far side of the origin candle's body, dotted, off by default. Turn it on for the full three-level block.
Standard deviations. The unit is the run's body-to-body range — the highest body edge to the lowest body edge across every candle in the run, so a three-candle run measures all three — projected past the CISD level at 1, 2, 2.5 and 4 by default, the multiples editable as a list. They draw as short stubs numbered on their left rather than as extended levels, and they are carried by the latest setup only: four multiples on four live setups is thirty-two objects and reads as a grid, and targets only matter for the setup you are in. Off by default, since projections sit far from price and stretch the price scale.
The block as a zone. Available behind an input, off by default. The levels are the thing; the box is optional.
Why the chart stays clean
Five things retire drawings, so nothing accumulates.
Failure erases. A set is deleted the moment price closes back through its CISD level. Delivery has reverted, the block is spent, and it leaves — lines, tags, sweep mark and all.
One price, one level. A new set whose level lands within half a body of a live one replaces it, on either side. They are one level re-detected as price chops around it, and two tags at one price is two names for one thing.
Age retires. A level price never closed back through would otherwise stay live forever. Sets older than a configurable age are dropped.
Live sets are capped. Oldest first, past a set limit.
Bodyless origins never qualify. An origin candle with almost no body is rejected outright. It is not an array, and its level and its 0.5 would print on top of each other.
A setting keeps failed sets on the chart, redrawn dotted and stripped of their projections, for anyone who wants the record instead of the read.
Everything is drawn black by default so the chart reads as one system rather than a colour code. State is carried by line style instead: solid means the level is live, dotted means it is reference. Every colour is an input if you want direction back in the hues.
Reversals
When a block fails it is not merely deleted, it arms the other side. The level that just failed IS the liquidity that was taken, so the opposite setup can confirm on the bar the failure happens rather than waiting for a fresh swing to form and confirm. Pivot confirmation is inherently late — a swing is only known once the bars either side of it exist — and on a sharp turn that lateness is the difference between marking the reversal and missing it. The behaviour is a setting, and turning it off restores strict pivot-only raids.
Reading it in practice
The CISD line is the trigger, not the entry. The setup is confirmed the moment price closes back through it; what you want next is the retrace into the 0.5, which is the half of the block delivering at a discount on a long. Stop beyond the distal edge — the far side of the origin candle's body — and let the standard deviation stubs frame where the leg is projecting toward. The sweep mark tells you which pool funded the move, which is usually the first thing to check when deciding whether the setup has a story behind it.
The setup ends when price closes back through the CISD level. That is the same line that confirmed it, and the script treats it as the invalidation, which is why a failed set erases itself.
Method and repainting
All detection evaluates on closed bars. The run, the reclaiming close, the sweep and the invalidation are confirmed on candle close, never intrabar — an in-progress candle, wick included, never creates or removes a set. Swing points come from a standard pivot and confirm the configured number of bars after they print, which is inherent to pivot detection: a swing is only known once the bars either side of it exist. Levels anchor to the candle that formed them and are drawn a fixed number of bars past the reclaim.
Alerts fire once per bar close on a confirmed setup.
Settings
Sweep gate: whether a sweep is required at all, pivot length, whether a sweep means a wick through with a close back inside or a close through, how far a raid may precede the run, whether the swept level is marked, one setup per sweep, whether a failed setup counts as a raid, and a minimum bar gap between setups on a side that applies only when the sweep gate is off.
Detection: minimum and maximum candles in the run, the earliest and latest bar of the reclaim window, a minimum origin body as a multiple of ATR, and which side to detect — both, bullish only or bearish only.
Drawing: the 0.5 line and its label, the distal edge, zone mode, bars drawn past the reclaim, the cap on live sets, whether failed sets are kept, merging sets at the same price, and the age at which a set retires.
Standard deviations: on or off, latest set only, the multiples list, whether the unit measures the whole run or the origin candle alone, stub length and stub offset.
Style: a colour per element and one label size for everything.
Analytics only
This is a decision-support tool for discretionary ICT study. It maps a structural sequence — a raid, a delivery leg, and the close that reverses it — and marks the levels that sequence produces. It contains no buy or sell signals and it does not tell you when to enter or exit. Its alerts announce that the pattern completed; they are notifications, not trade instructions.
Disclaimer
This is a decision-support tool for discretionary ICT trading. It is not financial advice, and no market's past behaviour is indicative of future results. Индикатор

Closed-Bar Anatomy Percentile Panel [BSL]A candle with a small body and a long upper wick has a name. Learning the name
does not tell you whether the body is small FOR THIS CHART, or whether the
wick is long compared to the last five hundred bars.
Closed-Bar Anatomy Percentile Panel replaces the name with four numbers
and a rank for each:
BODY 18.0% PCTL 26 · SMALLER THAN 74% OF THEM · n=500
UPPER WICK 61.0% PCTL 93 · LARGER THAN 93% OF THEM · n=500
LOWER WICK 21.0% PCTL 44 · n=500
CLOSE POSITION 12.0% PCTL 08 · n=500
Plus the bar's whole range against its own median: 1.4 times.
FOUR SHARES OF ONE BAR
Body, upper wick and lower wick are shares of the bar's OWN range, and the
three of them always add to 100. A large body on a small bar and a large body
on a huge bar produce the same number, which is the point: the shape is
separated from the size, and the size gets its own line.
Close position is where the close sits inside the range, from bottom to top.
It is a LOCATION, not a direction. An up bar and a down bar with identical
geometry produce identical body and wick shares; only the close position
separates them, and that is a fact about where the bar closed, not a verdict
about what it means.
RANKED AGAINST WHAT, EXACTLY
Against the previous 500 bars of this same chart. Not against a textbook, not
against another instrument, and not against the bar itself: the bar being
described is excluded from its own comparison window, which is what makes
"thinner than 74% of the last 500 bars" mean the last 500 OTHER bars.
Change the window and the percentiles change, because you have changed the
question.
NO NAME, NO BULL COLOUR, NO BEAR COLOUR
There is no pattern name anywhere in this script: not in the title, an input
label, a tooltip, a panel cell or an alert.
There is also no bullish colour and no bearish colour anywhere in the source.
A green body would put back the verdict this panel exists to remove, and it
would arrive through the palette, where nobody argues with it. The numbers are
printed in one neutral colour and left alone.
WHEN A NUMBER IS WITHHELD
A bar with no range at all has no shares. Every share would be a division by
zero, so the panel prints a dash rather than a fabricated figure.
A bar with no range ANYWHERE in the window withholds all four ranks, rather
than quietly ranking against 499 bars while the panel still says 500. A small
misstatement about a denominator compounds into a large one about a
percentile.
An absent rank is not a rank of zero, and the drawing keeps them apart: an
absent rank draws as dots, an actual zero draws as an empty bar. They look
different because they mean different things.
The bar still forming gets its own row, separate from the four, with its live
shares and no percentile at all. Its shape can still change.
WHY ALL FOUR ROWS SHOW THE SAME n
Because they must. All four use the same window, the same warm-up, and none of
them waits on an outcome, a bar's geometry is finished the moment it closes.
So all four become available and unavailable together, and the only unfinished
observation on the chart is the bar still open, which is why it sits in a row
of its own.
Four equal sample sizes here are a fact you can rely on, not a default value
nobody filled in.
SETTINGS
- Window: 500 bars
- Panel position: Bottom center
Six positions, and the panel opens at the bottom center. Six rows is a lot of
panel, so it needs a strip nothing else draws in: the legend and the trading
buttons take the top left, the platform's own logo sits in the bottom left, and
the price scale owns the right.
RANKING A SMOOTHING AGAINST ITSELF
The body share of a Heikin Ashi candle is a property of the averaging, not of
the session. Ranking it would rank one smoothing setting against itself.
Renko, Kagi, Point & Figure and Range have the same problem in their own way.
On those chart types the panel freezes and publishes nothing.
FOUR PERCENTILES, PUBLISHED
Four values are published for other indicators to pick up in their Source
setting: the four percentiles. On any bar where a rank is unavailable they
carry no value at all, which is not the same as a percentile of zero, and the
difference matters to anything consuming them, because zero is the lowest
possible rank and "no value" is not a rank.
These four are the only entries this panel puts in that dropdown. It draws no
series on the chart and offers no alerts, so there is nothing else to pick by
mistake.
THERE ARE NO ALERTS
There is no event here to alert on. An alert on a percentile crossing would be
a signal wearing a description's clothes, so the script offers none.
WHAT IT WILL NOT TELL YOU
It has no direction, no bias, no score and no signal, and it emits no events.
A description is not a signal, and presenting one as the other is the exact
overreach this panel exists to argue against.
It measures nothing that happens afterwards. It names no pattern, uses no
support or resistance level, and every number it prints describes a single
bar. There is no multi-bar shape anywhere in it.
Where outcomes are measured is elsewhere: Signal Audit Lab takes any
event series and reports what followed.
This tool describes the geometry of one closed bar. It does not predict price,
guarantee performance or provide trading advice. Validate the behaviour on
your own symbols, timeframes and execution assumptions before making
decisions.
Open-source Pine Script® v6. Educational use only. Индикатор

AMD Po3 with Live Edge Stats WillyAlgoTrader Version OrGa## English
### AMD Po3 with Live Edge Stats — OrGa
The **OrGa version** is an enhanced New York Session-focused adaptation of the original AMD Po3 concept by WillyAlgoTrader.
The indicator is designed to identify **Power of Three / AMD market cycles**:
**Accumulation → Manipulation → Distribution**
Instead of treating every liquidity grab as a trade signal, the script first detects a statistically compressed accumulation range. A valid manipulation requires price to sweep one side of the range and subsequently **close back inside the range**. Only after this confirmation is the Distribution phase activated.
### Core Logic
**Accumulation**
* Detects compressed ranges using a Donchian-based volatility percentile model
* Default range boundaries are derived from confirmed pivot highs and lows
* Minimum range maturity prevents very young consolidations from generating premature sweep signals
**Manipulation**
* Detects liquidity sweeps above or below the accumulation range
* A sweep alone is not sufficient
* Price must return and close back inside the range within the configured number of bars
* If price fails to return, the event is classified as a breakout rather than a manipulation
**Distribution**
* A confirmed sweep below the range projects an upward distribution
* A confirmed sweep above the range projects a downward distribution
* The confirmed Distribution candle acts as the reference entry candle
### 🐊 Entry Signals
Confirmed Distribution entries are displayed directly on the chart:
**🐊 D ▲ = Long setup**
**🐊 D ▼ = Short setup**
The signal is generated only after candle close.
The entry emoji can be changed in the indicator settings.
### Reference Trade Model
For every confirmed setup the indicator calculates:
* Reference Entry
* Stop Loss
* Distribution Target
* Risk-to-Reward Ratio
* Risk distance in %
* Trade outcome statistics
The Stop is placed beyond the full manipulation extreme with an ATR-based safety buffer.
The Distribution target is calculated using a configurable Fibonacci extension.
**OrGa default: 1.618**
The Fib extension remains fully adjustable, allowing values such as:
* 1.272
* 1.5
* 1.618
* 2.0
The target should be interpreted as an expected distribution objective rather than a mandatory take-profit level.
### OrGa Liquidity & Confluence Model
The OrGa version adds contextual liquidity levels to help evaluate the quality of each AMD setup.
Available confluences include:
* Previous Day High / Previous Day Low
* London High / London Low
* Daily Open
* New York Session VWAP
Each confirmed Distribution setup receives a **Confluence Score**.
Example:
**🐊 D ▲ 3/4**
The score helps distinguish a random range sweep from a sweep occurring at meaningful market liquidity.
By default, the confluence score is informational and does **not** block signals.
An optional minimum score filter can be enabled if only higher-confluence setups should be traded.
### New York Session Optimisation
The OrGa configuration is primarily designed around the **15-minute chart** and the New York trading session.
Default workflow:
**4H Trend Bias → 15M AMD Setup → optional 5M Execution**
The default New York manipulation window is:
**09:30–12:00 America/New_York**
Using the native New York timezone automatically accounts for US daylight-saving changes. Traders using European chart time therefore do not need to manually adjust the session throughout the year.
### Higher-Timeframe Bias
The OrGa default HTF filter is:
**4H Close vs EMA 50**
* Above EMA50 → Long distributions preferred
* Below EMA50 → Short distributions preferred
The HTF data uses the previous confirmed higher-timeframe candle to avoid future-data leakage.
If a manipulation is rejected by the HTF bias, the range can optionally re-arm and wait for a sweep of the opposite side.
### Alerts
TradingView alerts are available for confirmed entries.
Separate conditions are provided for:
**🐊 OrGa LONG Entry**
**🐊 OrGa SHORT Entry**
Entry signals are confirmed on candle close.
The script also supports dynamic alerts for:
* Liquidity Sweep
* Confirmed Distribution
* Target reached
* Stop hit
* Timeout
Webhook JSON formatting is available for external integrations.
### Repainting
The core AMD signal logic is evaluated on **confirmed candles only**.
The higher-timeframe bias uses confirmed HTF data.
Pivot-based range boundaries require confirmation bars, which introduces normal pivot confirmation lag, but this is not future leakage.
The script is therefore designed for live use without intentional future-data leakage or classic signal repainting.
### Recommended Usage
The indicator should not be used as a blind Buy/Sell system.
Higher-quality setups typically combine:
* Valid accumulation
* Liquidity sweep
* Return inside the range
* 4H directional bias
* PDH / PDL or London liquidity
* Daily Open positioning
* Session VWAP alignment
* Strong New York timing
For refined execution, a confirmed 15M Distribution signal can be followed by a 5M market-structure confirmation such as CHOCH, FVG retest or liquidity reclaim.
The objective of the OrGa version is not to generate more signals, but to identify **cleaner and more contextual AMD setups with transparent risk, targets and live statistics**.
---
## Deutsch
### AMD Po3 with Live Edge Stats — OrGa
Die **OrGa-Version** ist eine auf die New-York-Session ausgerichtete Weiterentwicklung des ursprünglichen AMD-Po3-Konzepts von WillyAlgoTrader.
Der Indikator sucht nach **Power-of-Three- bzw. AMD-Marktzyklen**:
**Accumulation → Manipulation → Distribution**
Dabei wird nicht jeder Liquidity Grab automatisch als Trading-Signal interpretiert. Zuerst muss eine statistisch komprimierte Accumulation Range entstehen. Danach muss eine Range-Grenze gesweept werden und der Kurs anschliessend **wieder innerhalb der Range schliessen**. Erst dann wird die Distribution bestätigt.
### Kernlogik
**Accumulation**
* Erkennt enge Ranges über ein Donchian-basiertes Volatilitäts-Perzentil
* Die Range-Grenzen werden standardmässig aus bestätigten Pivot Highs und Pivot Lows gebildet
* Eine Mindest-Reifezeit verhindert Signale aus sehr jungen und instabilen Ranges
**Manipulation**
* Erkennt Liquidity Sweeps oberhalb oder unterhalb der Accumulation Range
* Ein Sweep alleine ist noch kein Signal
* Der Kurs muss innerhalb der definierten Anzahl Kerzen wieder in die Range zurückkehren und dort schliessen
* Erfolgt keine Rückkehr, wird die Bewegung als Breakout und nicht als Manipulation gewertet
**Distribution**
* Sweep unterhalb der Range → erwartete Distribution nach oben
* Sweep oberhalb der Range → erwartete Distribution nach unten
* Die bestätigte Distribution-Kerze bildet den Referenz-Entry
### 🐊 Entry-Signale
Bestätigte Distribution-Setups werden direkt im Chart dargestellt:
**🐊 D ▲ = Long-Setup**
**🐊 D ▼ = Short-Setup**
Das Signal entsteht erst nach dem Schluss der Kerze.
Das Entry-Emoji kann in den Einstellungen geändert werden.
### Referenz-Trade-Modell
Für jedes bestätigte Setup berechnet der Indikator:
* Referenz-Entry
* Stop Loss
* Distribution Target
* Risk-to-Reward
* Risikoabstand in %
* Ergebnisstatistiken
Der Stop liegt hinter dem vollständigen Manipulations-Extrem und erhält zusätzlich einen ATR-basierten Sicherheitsabstand.
Das Distribution Target basiert auf einer frei einstellbaren Fibonacci Extension.
**OrGa-Standard: 1.618**
Der Wert kann jederzeit beispielsweise auf folgende Werte geändert werden:
* 1.272
* 1.5
* 1.618
* 2.0
Das Ziel ist als erwartete Distribution-Reichweite zu verstehen und nicht zwingend als fixer Take Profit.
### OrGa Liquidity- und Confluence-Modell
Die OrGa-Version ergänzt zusätzliche Marktlevels, damit die Qualität eines AMD-Setups besser beurteilt werden kann.
Berücksichtigte Confluences:
* Previous Day High / Previous Day Low
* London High / London Low
* Daily Open
* New York Session VWAP
Jedes bestätigte Distribution-Setup erhält einen **Confluence Score**.
Beispiel:
**🐊 D ▲ 3/4**
Dadurch lässt sich unterscheiden, ob lediglich irgendeine Range-Grenze gesweept wurde oder ob der Sweep gleichzeitig an relevanter Marktliquidität stattgefunden hat.
Standardmässig dient der Score nur als Zusatzinformation und blockiert keine Signale.
Optional kann ein Mindestscore aktiviert werden, wenn nur Setups mit höherer Confluence gehandelt werden sollen.
### Optimierung für die New-York-Session
Die OrGa-Konfiguration ist primär für den **15-Minuten-Chart** und die New-York-Session ausgelegt.
Empfohlener Workflow:
**4H Trend Bias → 15M AMD Setup → optional 5M Execution**
Das standardmässige Manipulationsfenster für New York lautet:
**09:30–12:00 America/New_York**
Durch die Verwendung der echten New-York-Zeitzone werden Sommer- und Winterzeit automatisch berücksichtigt. Bei einem europäischen TradingView-Chart muss die Session deshalb nicht laufend manuell angepasst werden.
### Higher-Timeframe Bias
Der OrGa-Standard verwendet:
**4H Close gegenüber EMA50**
* Über EMA50 → Long-Distributionen bevorzugt
* Unter EMA50 → Short-Distributionen bevorzugt
Für den HTF-Bias wird ausschliesslich die vorherige bestätigte 4H-Kerze verwendet.
Wird eine Manipulation vom HTF-Bias abgelehnt, kann die bestehende Range optional re-armed werden und auf einen Sweep der gegenüberliegenden Seite warten.
### TradingView-Alarme
Für bestätigte Entries stehen separate TradingView-Alarmbedingungen zur Verfügung:
**🐊 OrGa LONG Entry**
**🐊 OrGa SHORT Entry**
Die Entry-Alarme werden erst nach bestätigtem Candle Close ausgelöst.
Zusätzlich unterstützt der Indikator dynamische Alarme für:
* Liquidity Sweep
* bestätigte Distribution
* Target erreicht
* Stop getroffen
* Timeout
Für externe Integrationen kann eine Webhook-JSON-Ausgabe aktiviert werden.
### Repainting
Die eigentliche AMD-Signallogik wird ausschliesslich auf **bestätigten Kerzen** ausgewertet.
Auch der Higher-Timeframe Bias basiert auf bestätigten HTF-Daten.
Die Pivot-Grenzen benötigen einige Kerzen zur Bestätigung. Dadurch entsteht ein normaler Pivot-Bestätigungs-Lag, jedoch kein Future Leak.
Der Indikator ist damit für den Live-Einsatz ausgelegt und verwendet keine absichtliche zukünftige Kursinformation.
### Empfohlene Anwendung
Der Indikator sollte nicht als blindes Buy-/Sell-System verwendet werden.
Hochwertige Setups kombinieren idealerweise:
* saubere Accumulation
* Liquidity Sweep
* Rückkehr innerhalb der Range
* passenden 4H Bias
* PDH / PDL oder London Liquidity
* passende Position gegenüber dem Daily Open
* Session-VWAP-Bestätigung
* gutes Timing innerhalb der New-York-Session
Für einen präziseren Entry kann nach einem bestätigten 15M-Distribution-Signal auf dem 5M-Chart beispielsweise auf CHOCH, FVG-Retest oder Liquidity Reclaim gewartet werden.
Das Ziel der OrGa-Version ist nicht, möglichst viele Signale zu erzeugen, sondern **sauberere und besser kontextualisierte AMD-Setups mit transparentem Risiko, Zielprojektion und Live-Statistik zu liefern**.
Индикатор

Reversal Radar PRO | Market Tops & Bottoms
↺ Reversal Radar PRO — Tops & Bottoms
Most “reversal” tools fire one arrow and disappear. This one runs three layers: a heads-up while the bar is still forming, a confirmed print after the swing is locked, and a live status on whether that reversal is still valid.
The point is not to catch every wick. It is to grade the turn, map the zone, and tell you when the chase is already late.
① Early-warning
Live-bar gauge. It can repaint — that is stated on purpose. Use it as danger / opportunity forming, not as an entry.
② Confirmed
Pivot-locked after the right-side bars. Does not repaint. Weighted 0–100 confidence with a grade, a vote floor, and a cooldown. Factors that can vote: RSI extreme, RSI divergence (quality-scored), volume climax, Bollinger pierce, over-extension from the mean, Stoch-RSI, wick rejection, engulfing, higher-TF RSI, liquidity sweep. Regime can boost or cut the score. Hidden divergence trims it — that is continuation, not a turn.'
③ Follow-through
Once a confirmed top or bottom is on, the radar tracks:
Active / late / soft invalid / hard invalid / target hit
Soft and hard invalidation distances
Chase quality (good → poor) vs progress to target
Mapped target and R:R
🗺 On the chart
Confirmed labels (confidence + grade) or simple arrows
Tiny diamonds for early-warning
Reversal zone boxes at the pivot
Clustered S/R that merge nearby swings, count touches, and flip when broken
📟 Dashboard
Regime and “best play” (fade the trend, or both sides). Trend efficiency. Volatility state. RSI / HTF RSI / Stoch-RSI. Bollinger position. Extension. Volume vs average. Divergence quality. Early-warn reading. Active signal, status, chase, target. Nearest S/R. Last print and how many bars ago.
🎯 How to use it
Wait for confirmed unless you accept that early-warning will flicker. In a strong uptrend, bottoms are the preferred fade — not every red wick. If chase already reads late, you missed the turn; do not market-order the remainder. Hard invalidation ends the idea. Soft invalidation is a warning, not a rewrite of history. Индикатор

ZigZag Break - Phase 3 Toggle Sync V6 (Display Only)### Overview
"ZigZag Break - Phase 3 Toggle Sync V6" is an analytical tool designed to visualize market structure transitions based on Dow Theory and multi-timeframe Moving Average (MA) dynamics.
It automatically detects key structural swing points (labeled 1 to 6), tracks horizontal breakout levels, and monitors multi-timeframe MA alignments to provide structured, multi-step signal conditions.
### Key Features
1. **Dow Theory & Vertex Tracking (1-2-3 Patterns):**
- Identifies trend reversal origin points (Vertex 1) upon confirmed price breaks.
- Plots sequential market structure vertices (1, 2, 3, 4, 5, 6) based on strict price action criteria.
- Automatically draws persistent horizontal levels for key even/odd structural highs and lows.
2. **Multi-Timeframe MA Alignment & Sorting:**
- Evaluates MA directions across higher timeframes.
- Displays a real-time sorted panel showing the hierarchical order of current price relative to MTF MAs.
3. **Sequential Step-Alert System:**
- Evaluates multi-stage technical events (e.g., Convergence -> Divergence -> Structural Peak/Valley or Dow Break).
- Fires unified alerts when a custom sequence of technical conditions is fully met.
### Technical & Repainting Notice
- **Use of `lookahead_on`:**
This indicator utilizes `lookahead=barmerge.lookahead_on` inside multi-timeframe `request.security` functions. This design explicitly references confirmed historical higher-timeframe bar closes (`close `) to calculate higher-timeframe market structure levels without referencing unconfirmed real-time higher-timeframe data.
- **Historical Consistency:**
Historical line/label positions correspond strictly to completed higher-timeframe bar boundaries. Current real-time bars process ongoing price updates dynamically until bar close.
■ 概要
「ZigZag Break - Phase 3 Toggle Sync V6」は、ダウ理論に基づく波形・構造変化と、マルチタイムフレーム(MTF)における移動平均線(MA)の方向性を可視化・分析するためのテクニカル指標です。
過去の高値・安値に対する終値ブレイクを起点とした構造転換(頂点1〜6)の全自動検出、重要な水平線の自動描画、および複数段階のテクニカル条件を組み合わせたステップアラート機能を搭載しています。
■ 主な機能
1. ダウ理論 & 頂点追跡(1-2-3パターン):
- 終値での高値/安値ブレイクを検知し、構造の転換点(頂点1)およびその後の波形(1, 2, 3, 4, 5, 6)を自動ナンバリング。
- 直近の偶数頂点(2, 4, 6)や奇数頂点(3, 5)、ブレイク起点となる最重要水平線を追跡・描画。
2. マルチタイムフレーム(MTF)MA方向 & リアルタイムソート:
- 各時間足のMAの傾き・位置関係を判定。
- 現在価格と上位足MAの階層構造をリアルタイムで並び替えて一覧表示するソートテーブル機能。
3. 段階的ステップアラート(Step Alert System):
- 「MAの収束」→「MAの拡散」→「山谷形成 / ダウブレイク」といった複数のテクニカルイベントの順次達成をトリガーとするアラート機能。
■ テクニカル仕様および「lookahead_on」に関する注記
・`lookahead_on` の使用について:
本インジケーターでは、マルチタイムフレームのデータ取得処理(`request.security`)において `lookahead=barmerge.lookahead_on` を使用しています。これは、未確定の上位足リアルタイムデータによるシグナル変化を避け、確定済みの過去足終値(`close `)に基づいた正確な構造計算・描画を行うための仕様設計です。
・ヒストリカルデータとリアルタイムデータの挙動:
過去チャート上のラインやラベルの表示位置は、確定した上位足のバー境界に基づいて正確に描画されます。進行中のリアルタイム足においては、足確定まで価格変化に応じて動的に計算が更新されます。
Индикатор

Volume Profile - Pivot Anchored Pro [JPT]🔷 OVERVIEW
Volume Profile – Pivot Anchored Pro is an educational volume analysis indicator that automatically creates volume profiles between confirmed swing highs and swing lows. It helps traders visualize where significant trading activity occurred throughout each market swing.
The indicator displays important volume-based levels including the Point of Control (POC) and Value Area High/Low (VAH/VAL), allowing traders to study areas where price may have experienced strong acceptance or rejection.
The indicator is designed to help traders analyze market structure, volume distribution, and key price areas. It does not predict future price movement or guarantee profitable trades.
🔷 FEATURES
• Automatic pivot high and pivot low detection
• Pivot-to-pivot volume profile generation
• Bullish and bearish volume visualization
• POC (Point of Control) level
• VAH (Value Area High) level
• VAL (Value Area Low) level
• High and Low labels for each profile
• Multiple historical volume profiles
• Customizable profile rows
• Adjustable Value Area percentage
• Adjustable profile width
• Customizable colors and display settings
• Clean chart layout with minimal clutter
🔷 HOW IT WORKS
• Detects confirmed swing highs and swing lows.
• Identifies completed price swings between pivot points.
• Calculates the volume distribution across different price levels within each swing.
• Identifies the POC, representing the price level with the highest traded volume.
• Calculates the Value Area, based on the selected Value Area percentage.
• Displays VAH and VAL to define the upper and lower boundaries of the Value Area.
• Draws the volume profile directly on the chart for easy market analysis.
🔷 HOW TO USE
Look for newly completed pivot-to-pivot volume profiles.
Use the POC to identify important high-volume price levels that may act as areas of support, resistance, or price acceptance.
Use VAH and VAL to understand the boundaries of the Value Area and observe how price reacts around these levels.
Compare multiple profiles to study how volume distribution changes from one market swing to another.
Consider combining the indicator with your own price action, market structure, support/resistance, liquidity, and risk management techniques.
🔷 IMPORTANT NOTE
This indicator is intended for educational and analytical purposes only. Volume Profile levels should be treated as reference areas rather than guaranteed support or resistance.
Always perform your own analysis and use appropriate risk management before making any trading decisions.
Volume Profile – Pivot Anchored Pro helps you see not only where price moved, but also where the market traded the most volume during each major swing. Индикатор

Smart Buy Sell Indicator V1This indicator is designed to identify **potential trend reversals and momentum-based trading opportunities** using a combination of **two EMAs and RSI**.
#### 📊 Indicators Used
Fast EMA (Default: 9 EMA): Tracks short-term price movement.
Slow EMA (Default: 21 EMA): Identifies the broader short-term trend.
RSI (Default: 14): Confirms the strength and momentum of the move.
### 🟢 BUY Signal
A BUY signal is generated when:
The 9 EMA crosses above the 21 EMA, indicating a possible upward trend reversal.
RSI is 50 or above, confirming positive momentum.
How to use: Consider the BUY signal as an indication of bullish momentum. It can be used for a fresh entry or to identify a possible continuation of an upward move.
### 🔴 SELL Signal
A SELL signal is generated when:
The 9 EMA crosses below the 21 EMA, indicating a possible downward trend reversal.
RSI is 50 or below, confirming negative momentum.
How to use: Consider the SELL signal as an indication of weakening momentum or a potential bearish trend. It can be used to exit a long position or, depending on your trading strategy, identify a potential short-selling opportunity.
### ⚠️ Important Usage Tips
* Best used on **liquid stocks and indices.
* The indicator works better when the market is trending.
* Avoid relying solely on signals during **sideways or highly volatile markets**, where EMA crossovers may generate false signals.
* Always consider **support/resistance, price action, volume and the overall market trend** before taking a trade.
* Use an appropriate **stop-loss**, preferably based on the recent swing low for BUY trades and recent swing high for SELL trades.
### In Simple Terms
>EMA crossover identifies the change in trend, while RSI confirms whether momentum supports that direction.
This makes the indicator useful for traders looking for simple, rule-based BUY and SELL signals rather than relying on EMA crossovers alone.
Индикатор

Global Net Liquidity (5-Bank)Global Net Liquidity (5-Bank)
A USD proxy for usable global liquidity:
Fed assets + ECB + BoJ + PBoC + BoE
− US Treasury General Account (TGA)
− Fed overnight reverse repo (RRP)
This is not M2 and not Fed-only net liquidity. It is the standard 5-bank reconstruction used on public charts. It will not match a 16-bank internal series exactly, but the level and shape should rhyme: ~31T peak in 2021–22, ~25T now.
How to read
• Rising and within ~8% of the last cycle peak → liquidity tailwind for BTC; alts can work.
• Flat and still well below that peak → grind. BTC over alts. Do not treat a price squeeze as proof liquidity turned.
• Falling → headwind. Cash rules dominate.
• US row: RRP is no longer the drain. TGA is. A TGA spend adds liquidity; a TGA refill removes it.
Units
FRED and TradingView do not share one scale (WALCL/TGA in millions, RRP in billions or raw dollars, JPNASSETS in 100 million yen or yen). The script auto-detects and clamps each component so a single bad print cannot send the axis to −20,000T. If Level is not roughly 25–27T, a feed changed — do not use the panel.
Use
Add to a separate pane on BTCUSD or SPX, weekly preferred. The table is the decision layer. The gold line is the history. This is a regime overlay, not a buy/sell signal.
Not financial advice. Central-bank data is lagged, FX-translated, and revised. Индикатор

Phoenix Ascending 2.6Overview
This is a modernized Pine Script v6 update of the original "Phoenix Ascending 2.201" indicator, originally published by WyckoffMode (with script contributions from LazyBear, xSilas, and Ni6HTH4wK). Since the original script appears to no longer be actively maintained, I have updated the code to the latest Pine Script version to ensure it continues running efficiently, while keeping the original mathematical logic exactly the same.
What is Phoenix Ascending?
Phoenix Ascending is a comprehensive, multi-component momentum and money-flow oscillator. Rather than relying on a single metric, it aggregates several popular momentum indicators to create a smoothed, high-conviction market gauge.
At its core, the script calculates two main averages:
The "Tradition" Index: An average of TCI (Trade Channel Index), Money Flow (MF), and the Relative Strength Index (RSI).
The "Phoenix" Index: An average of TCI, CSI, Money Flow, and a Williams %R derivative (Willy).
By blending these components, the indicator filters out market noise and provides a clearer view of underlying buying and selling pressure.
How to Read the Indicator
The indicator plots several distinct visual elements on the oscillator panel:
Green Line (Tradition): Acts as the primary fast signal line tracking current price momentum.
Red Line (Smoothed RSI): A slower moving average of the Green Line.
LSMA (Least Squares Moving Average): A regression line that helps identify the true underlying trend direction.
Energy (Area/Histogram): A shaded region that visualizes the spread and momentum intensity between the fast and slow signal lines.
Pressure Dots (Circles): These appear at the extreme bands (below 20 or above 80) to signal extreme overbought or oversold conditions where a reversal is highly probable.
How to Use It in Trading
Trend Reversals: Watch for the Green Line to cross over the Red Line and LSMA from below 20 (oversold) for a bullish entry signal. Conversely, a cross downward from above 80 (overbought) signals a bearish reversal.
Momentum Strength: Use the shaded "Energy" area to gauge the strength of a move. Expanding energy confirms the trend, while contracting energy warns of consolidation or a fading move.
Extreme Zones: Pay close attention to the "Pressure" dots. When these populate at the top or bottom of the oscillator, it suggests the current move is exhausted and a mean-reversion setup is forming.
Credits
All credit for the original concept, mathematics, and logic goes to WyckoffMode , along with the original open-source contributors ( LazyBear , xSilas , Ni6HTH4wK ). You can view the legacy version of this script here: Phoenix Ascending 2.201 by WyckoffMode .
You can also find some helpful videos on how to use the script there. Индикатор

Eaglizer RSI CloudMost RSI indicators plot one line that whips around and tells you very little on its own. This plots two moving averages of the RSI instead, and fills the space between them, so you can see the momentum regime rather than the momentum noise.
WHAT IT DOES
It takes RSI 14, then builds two moving averages on top of it. A fast one at 9 and a slow one at 50. The space between them is filled as a cloud.
When the fast average is above the slow one, the cloud is green and momentum is in a bullish regime.
When the fast average is below the slow one, the cloud is red and momentum is in a bearish regime.
A small triangle marks the bar where the cloud flips.
WHY AVERAGE THE RSI AT ALL
Raw RSI reacts to every bar. That is useful for spotting an extreme reading, and useless for telling you what the underlying momentum is actually doing. Averaging the RSI strips out the single bar reactions and leaves the shape of the move.
The 9 and the 50 do different jobs. The fast average is what momentum is doing right now. The slow average is the regime you are trading inside. The gap between them is the part that matters: a wide cloud means momentum is running, a narrow one means it is stalling, and a flip means the regime changed.
HOW I USE IT
I use this as a filter, not as a trigger. I want the cloud on my side before I take a setup in that direction. If I am looking for longs and the cloud is red, I wait.
I trade this mostly on the 4 hour and the daily. On very low timeframes the slow average becomes slow enough to be behind the move.
A flip on its own is not an entry. It is a reason to go look at the chart.
SETTINGS
RSI length, default 14. Fast RSI MA, default 9. Slow RSI MA, default 50. Both averages can be set to SMA or EMA, and SMA is the default because it is steadier.
You can turn on the raw RSI line if you want to see it underneath the cloud. It is off by default because the whole point is to stop staring at it.
Reference levels sit at 70, 50, and 30.
ALERTS
Two alert conditions are included, one for the cloud flipping bullish and one for it flipping bearish. Both carry the ticker and the close price.
WHAT THIS IS NOT
This is not a complete trading system and I am not presenting it as one. It has no entry price, no stop, and no target. It tells you what momentum regime you are in. Everything after that is on you.
The full system I trade adds pivot breakout boxes, an EMA 89, a higher timeframe EMA 34, a volume filter, and defined stop and target rules. If you want it, the link is on my profile.
DISCLAIMER
This is a technical analysis tool for education and research. It is not financial advice, it is not a recommendation to buy or sell anything, and past behavior of any indicator does not predict future results. Trading involves risk of loss. Size your positions accordingly and do your own work. Индикатор

Dual-Phase Reversal by DGTDual-Phase Reversal • Exhaustion, Pivots & Pressure
Dual-Phase Reversal (DPR) is a two-phase market exhaustion framework that tracks directional momentum through Momentum Exhaustion and Terminal Exhaustion . It combines sequential price conditions, Momentum Shift initiation, phase qualification, exhaustion progression, invalidation levels, Range Pivots, Volume Pressure, and Volume-Weighted Bars to provide a structured view of potential trend exhaustion and reversal conditions.
The framework is designed to distinguish between an initial loss of directional momentum and a subsequent terminal phase, while keeping the two stages logically independent.
Dual-Phase Exhaustion Framework
Momentum Exhaustion identifies an initial phase of directional overextension using a four-bar close relationship. A new phase begins only when a Momentum Shift occurs — a change in the direction of the four-bar close relationship. Sustained one-directional momentum therefore does not automatically initiate a new count.
The Momentum Exhaustion phase progresses through its sequential conditions and can receive a Q (Qualification) classification based on the corresponding price structure. Qualification describes the completed setup itself and is not required for the subsequent Terminal Exhaustion phase to begin.
Terminal Exhaustion begins when a Momentum Exhaustion phase completes count 9. It uses a separate set of price conditions to track the continuation of exhaustion toward a terminal phase. The Terminal Exhaustion phase progresses independently and can include an additional validation/failure condition during its progression.
Phase Levels & Invalidation
Upon completion of Momentum Exhaustion, the framework can project dynamic Support & Resistance levels derived from the completed phase. These levels remain active until price crosses the corresponding level.
Optional Invalidation Levels are provided for both Momentum Exhaustion and Terminal Exhaustion. These levels are derived from the price extremes established during the respective phase and provide a structural reference for when the exhaustion condition is considered invalidated.
Terminal Exhaustion can additionally calculate a Target Level from the price structure developed during its progression.
Range Pivots
The optional Range Pivot framework provides higher-timeframe Support (S), Pivot (P), and Resistance (R) levels.
The timeframe can be selected manually or determined automatically according to the chart timeframe, with support for 1H, 4H, Daily, Weekly, Monthly, Quarterly, and Yearly ranges.
Optional Developing Range Pivot projects Support, Pivot, and Resistance levels from the current, still-forming range — an early, real-time preview of the next range's pivot before it closes. Optional Historical Range Pivot instead displays the completed pivot levels of prior ranges, allowing the current range to be compared against past structure.
Volume Pressure
The optional Volume Pressure Oscillator evaluates buying and selling pressure by combining price movement within each bar's range with traded volume.
The resulting oscillator is normalized to a 0–100 scale, with configurable upper and lower bands. A signal line and histogram provide additional context for changes in pressure.
The pressure calculation excludes zero-range bars and handles markets where volume data is unavailable.
Dashboard
An optional, repositionable Dashboard table provides a compact, at-a-glance summary of the framework's current state on the last bar:
Momentum — which side (buy-side or sell-side) is currently progressing, and its step count out of 9
Terminal — which side is currently progressing, and its step count out of 13
Pivot — signed percentage distance from price to the nearest Range Pivot level
Pressure — the current Volume Pressure ratio, shown as a buying/selling percentage split
Each row includes a tooltip with additional detail. The table can be toggled on or off and repositioned to any chart corner.
Visuals & Reading the Framework
The All Sequence Steps display mode shows the progression of the Momentum and Terminal Exhaustion phases using compact sequential markers. Completed phases can instead be displayed selectively for a cleaner chart.
Volume-Weighted Bars optionally highlight bars according to their volume relative to a configurable volume moving average, helping distinguish unusually high and low volume activity.
DPR is best used as a contextual framework rather than a standalone reversal signal . Momentum Exhaustion identifies an initial state of directional overextension, while Terminal Exhaustion represents a later-stage continuation of that exhaustion process. Range Pivots, Support/Resistance, Invalidation, and Volume Pressure can be used together to assess the broader market context.
Alerts
Alerts are available for:
Momentum Exhaustion phase completion
Terminal Exhaustion phase completion
Momentum Exhaustion Support / Resistance crossings
Momentum & Terminal Exhaustion invalidation level crossings
Range Pivot level crossings
Volume Pressure entering overbought / oversold zones
High-volume bars
Alerts include the instrument and relevant price level where applicable.
DISCLAIMER
This script is intended for informational and educational purposes only. It does not constitute financial, investment, or trading advice. All trading decisions made based on its output are solely the responsibility of the user.
Индикатор

3-Way Bollinger Trend [ZynAlgo]1. Overview
3-Way Bollinger Trend combines 3 layers of analysis into a single price band, rather than relying on a plain moving average: a fast center line , a volatility band (classic Bollinger-style, auto widening/narrowing with recent volatility), and momentum-based coloring (Bullish / Bearish / Sideway). On top of this it generates signals with a "pullback to the center line" logic - not a reversal-at-the-band-edge approach - to catch pullback continuations within a trend rather than only tops and bottoms.
2. The Three Components
Center line - reacts quickly to price with clearly less lag than a same-length standard moving average, while staying smooth enough to avoid noise. Band Settings -> HMA Length (default 20).
Volatility band - width reflects recent volatility; one single band tier (no inner/outer). Band Settings -> Band Width (x StDev) (default 2.0).
Momentum-based coloring - the center line and band both change color with the momentum state: Green = BULLISH (strong upward momentum), Red = BEARISH (strong downward momentum), Yellow = SIDEWAY (direction unclear). RSI Settings -> Bullish above / Bearish below. These thresholds do not just change color - they decide which trade direction is allowed (see section 3).
3. Reading the Signal
Pullback logic - the signal is built in two stages. Trigger: price closes back on the trend side of the center line. Confirmation: price holds on that side for a set number of extra bars (Signal Settings -> Confirmation Bars) without crossing back. Only when both complete does the signal fire; a cross-back during confirmation cancels it and a fresh Trigger is required.
Why confirmation - crossing the center line is a frequent event, so firing instantly would expose it to whipsaws. Confirmation is the only filter used; no candle-shape pattern (pin bar, engulfing) is required.
Effective Trend (most misunderstood) - the indicator remembers the most recent official trend whenever momentum reads clearly Bullish or Bearish. In the Sideway zone it does NOT clear that memory - it keeps using the last recorded trend to decide direction. Bullish -> only Buy allowed; Bearish -> only Sell allowed; Sideway -> follows the last effective trend. Sideway does not mean both directions are open.
Entry & Stop - Entry is the open of the bar immediately after the final confirmation bar (never the signal bar). Stop is an ATR distance from entry, computed at the confirmation bar, not from candle wicks. Signal Settings -> SL Distance (x ATR).
4. Take Profit & R-Multiple Management
Three R-based targets (R = the SL distance): TP1 = 1.0R (always on), TP2 = 2.0R (Enable TP2), TP3 = 3.0R (Enable TP3).
Automatic trailing stop: TP1 hit -> SL to breakeven; TP2 hit -> SL up to TP1.
Time-based exit: a trade open too long (default 200 bars) without hitting SL or the final TP closes as a TIMEOUT - neither win nor loss.
Adjustable under Risk & Reward (TP1/TP2/TP3, Enable TP2/TP3, Max Trade Duration).
5. Trade Mode - the Master Switch
OFF (default) - center line and colored band stay visible; signal arrows still fire with a hover explanation; Stability Mode and Smart Signal Filter are bypassed; no SL/TP boxes or Win Rate/PF tracking. Best for observing before live trading.
ON - center line and band hidden; full SL/TP boxes with a real-time trailing SL line; Stability Mode and Smart Signal Filter take effect; dashboard adds Trades / Win Rate / Profit Factor. Best for simulating real trading performance.
6. Execution Filters (active only when Trade Mode is ON)
Stability Mode (default On) - blocks new signals while a trade is already open.
Smart Signal Filter (default Off) - forces Buy/Sell to alternate.
Cooldown (Bars) (default 5) - minimum spacing between two consecutive signals.
7. Dashboard
RSI - current momentum reading.
Momentum Zone - BULLISH / BEARISH / SIDEWAY (color-coded).
Trades (Trade Mode ON) - total trades recorded.
Win Rate / PF (Trade Mode ON) - win rate and Profit Factor. A breakeven exit counts as 0.5 of a win; Profit Factor is unaffected since a breakeven trade adds 0 to both profit and loss.
Dashboard position and text size are adjustable under Display / Dashboard.
8. Alerts
Reversal Buy - fires when a Buy signal is officially confirmed.
Reversal Sell - fires when a Sell signal is officially confirmed.
9. Notes
The Trades / Win Rate / Profit Factor figures come from an internal, non-executed simulation over the visible history on the chart. They are a study of the settings on past data - not a backtest, not a broker report, and not indicative of future results.
No candle-shape requirement - the signal is defined only by the Trigger + Confirmation pairing described above.
All signal logic processes fully closed bars only, never a still-forming bar, so signals do not repaint.
Sideway does not mean fully neutral - always check the last effective trend (section 3) before wondering why a yellow band only shows Sell or Buy.
This indicator is a tool for study and education, not financial advice, and does not guarantee any trading outcome. Always apply your own analysis and risk management.
10. Practical Tips
New to it? Keep Trade Mode off for a while, watch when the arrows appear, and read the hover explanations first.
Market whipsawing around the center line? Raise Confirmation Bars to 3-4 to filter more false signals.
Want fewer, higher-conviction signals? Increase Cooldown (Bars) and consider enabling Smart Signal Filter.
SL too wide or tight for the instrument? Adjust SL Distance (x ATR) - it drives the whole R-multiple TP structure.
Индикатор

Jack Signals - GC Bridge [JOAT]XAU SPOT GOLD FUTURES BRIDGE
Most gold analysis, levels and signals are quoted in XAUUSD spot . A large number of traders execute in GC or MGC futures . Those two markets do not print the same number, and the difference between them is not a constant you can memorise.
That difference is the basis : cost of carry plus time to expiry. It drifts through the session, widens as a contract ages, and jumps at the roll. A December contract can sit $60 above spot while the front month sits $10 above. Any fixed offset is wrong the moment you change contract, and quietly wrong every day in between.
This indicator puts spot onto the futures chart and translates in both directions, live.
[bWHAT IT DRAWS
Live spot line across the entire chart, with a price tag pinned to the last bar
Ghost spot candles — real XAUUSD OHLC, so you see how spot is moving, not only where it is
Price tag on the futures candles carrying their spot equivalent
Fair-value line — spot plus the mean basis, i.e. where futures would trade if the spread were behaving
Session high and low , labelled in both units
Liquidity levels from swing pivots, marked SWEPT once taken
───────────── READING FUTURES BACK IN SPOT ─────────────
The reverse conversion is the one used most. You are looking at a wick on the futures chart and your level is written in spot. Every level is labelled with both prices, so "did that sweep reach 4453 spot?" becomes readable instead of a calculation.
───────────── THE BASIS IS Z-SCORED ─────────────
This is the part that is not just arithmetic.
The spread is measured against its own recent behaviour:
z = (basis − mean(basis)) / stdev(basis)
A fixed tolerance such as "warn if the basis moves more than $1.50" is the wrong test, because how far the basis normally moves is itself not constant. Normalising it against its own standard deviation is.
When the spread is stretched beyond your threshold, the dashboard flags it and level conversion falls back to the mean basis instead of the live one. This is not decoration: convert a stop at a three-sigma basis and you have baked a temporary distortion into it, so when the spread reverts your stop sits in the wrong place. The fair-value line makes the same thing visible — when candles pull away from it, the spread is moving, not gold.
───────────── OPTIONAL: CONVERT A FULL SETUP ─────────────
Enter two entries, a stop and three targets in spot, and it draws them on the futures chart at the converted prices, each labelled with both numbers. Leave them at zero and those rows disappear entirely — the live mirror works on its own with nothing filled in.
With a setup loaded it also sizes the position. Enter account size and risk percent and it returns a contract count from the real tick value, warns when a single stop-out would consume more than half a daily loss limit, and states plainly when the answer is that the trade does not fit the account.
A useful identity: gold levels are commonly quoted in 0.10 increments, which is exactly one COMEX gold tick. An 80-pip stop is 80 ticks — $800 per GC contract, $80 per MGC . No conversion, no rounding.
There is also an optional ATR trailing stop for a runner leg, armed when price reaches a chosen target.
───────────── NOTES AND LIMITATIONS ─────────────
The basis is read off the chart symbol , so it is correct on GC1!, any dated contract, and MGC with nothing to configure
Ghost candles inherit the futures session. During hours when spot trades and futures do not, there is no bar to draw them on
Pivots confirm N bars after forming. That is the definition of a swing, not a lag in the script
The displayed basis is smoothed to stop two independently-ticking feeds flickering. The reverse conversion deliberately uses the raw basis so the futures readout and the spot readout can never disagree
Default settings draw only the spot line, ghost candles and the two price tags. Levels and liquidity are switched off so the chart stays clean — turn them on individually
This indicator generates no buy or sell signals and has no view on direction. It converts prices between two related instruments, sizes a position, and can trail a runner.
Nothing here is financial advice, and no performance is claimed or implied. Test on a simulated account before risking money.
Индикатор

Daily Key Reversal Levels (ThreeKay)# Higher-Timeframe Major Reversal Levels
## Release 1.0
Higher-Timeframe Major Reversal Levels is a TradingView indicator designed to identify prices where the market showed aggressive rejection on an important timeframe. Instead of plotting every pivot, high, or low, it looks for a pronounced wick, a close away from the wick's extreme, and meaningful follow-through in the opposite direction.
The result is a cleaner map of historically important supply, demand, and support/resistance flip levels.
## What the indicator detects
The indicator uses Daily candles by default. Optional 1-hour, 4-hour, weekly, and monthly sources can be enabled in Settings.
A price becomes a candidate level only when a higher-timeframe candle meets all of these conditions:
1. The rejection wick is large compared with the candle body.
2. The wick occupies a meaningful percentage of the candle's total range.
3. The candle closes away from the rejected extreme.
4. Price follows through in the opposite direction by the required ATR distance.
The tip of an upper rejection wick contributes to a supply zone, while the tip of a lower rejection wick contributes to a demand zone. Touches do not need to occur at the exact same tick: nearby wick rejections inside the ATR-sized price range are grouped, and the displayed line uses their average rejected price.
## Main advantages
- **Filters ordinary swing points:** A pivot alone is not enough. The market must demonstrate forceful rejection and follow-through.
- **Uses higher-timeframe structure:** Important 1H through monthly reactions can be viewed while trading on lower chart timeframes.
- **Adapts to volatility:** ATR-based thresholds scale automatically between different markets and price ranges.
- **Tracks repeated respect:** Each separate reaction strengthens the level and increases its line thickness.
- **Identifies role flips:** A level respected from both sides is colored purple, showing that former support became resistance or vice versa.
- **Shows confluence:** Labels identify the source timeframes, such as ` `.
- **Reduces chart clutter:** Nearby reactions are consolidated using an ATR-based merge tolerance.
- **Supports alerts:** TradingView can notify you when price approaches a qualified level.
## Reading the chart
- **Green — Demand:** Price aggressively rejected lower prices and reversed upward.
- **Red — Supply:** Price aggressively rejected higher prices and reversed downward.
- **Purple — Flip:** The same area has acted as both support and resistance.
- **`x2`, `x3`, etc.:** Number of separate qualifying reactions recorded near the level.
- **` `:** Higher timeframes that confirmed the area.
- **`best 2.40 ATR`:** Largest confirmed move away from the level.
Thicker lines represent levels with more qualifying reactions.
## Recommended setup
1. Open TradingView's Pine Editor.
2. Paste the contents of `Major_Reversal_Levels.pine` into a new indicator.
3. Save the script and select **Add to chart**.
4. Open the indicator's Settings menu.
5. Daily is enabled by default. Enable another source only if you also want its levels displayed universally.
6. Start with the default qualification settings, then adjust strictness for the market being traded.
## Suggested presets
### Balanced — recommended starting point
- Minimum confirming timeframes: `1`
- HTF bars allowed for reversal: `3`
- Minimum reversal move: `1.0 ATR`
- Separate reactions required: `1`
- Level merge tolerance: `0.60 ATR`
- Minimum wick/body ratio: `1.5`
This displays important single-event wick rejections while making repeatedly respected levels visually stronger.
### Strict confluence
- Minimum confirming timeframes: `2`
- Minimum reversal move: `1.5–2.0 ATR`
- Separate reactions required: `2`
- Minimum wick/body ratio: `2.0`
- Wick portion of candle: `0.40–0.50`
Use this when you want fewer levels with stronger historical evidence.
### More sensitive
- Minimum confirming timeframes: `1`
- Minimum reversal move: `0.75 ATR`
- Separate reactions required: `1`
- Minimum wick/body ratio: `1.0`
- Wick portion of candle: `0.30`
This can be useful for markets with smaller candles, but it will produce more levels.
## Settings explained
### Universal timeframe-level visibility
Each toggle controls whether levels detected from that source timeframe are displayed on the chart. For example, enabling Daily and Weekly allows those levels to remain visible while analyzing intraday charts.
**Minimum confirming timeframes** controls timeframe confluence. A value of `1` accepts a level from any enabled source. A value of `2` requires the same price area to be recognized by at least two enabled timeframes.
### Major-level qualification
**HTF bars allowed for reversal** is the number of completed source-timeframe candles used to confirm follow-through after the rejection wick. Increasing it allows slower reversals to qualify but increases confirmation delay.
**Minimum reversal move (ATR)** controls how far price must travel away from the wick before the level is accepted.
**Separate reactions required** determines how many distinct wick-rejection events must occur near the price. Use `1` for major single-event swings or `2–3` for repeatedly defended levels only.
**Level merge tolerance (ATR)** determines how close two rejected prices must be to count as the same area.
**Minimum wick/body ratio** measures the wick relative to the real candle body.
**Wick portion of candle** requires the wick to occupy a minimum percentage of the complete high-to-low range.
**Close away from wick extreme** ensures the candle did not finish near the rejected price.
**Minimum rejection-candle range (ATR)** filters out small candles whose wick may look large only because the body is unusually tiny.
## Alert setup
1. Select **Create Alert** in TradingView.
2. Choose this indicator under Condition.
3. Select **Approaching respected HTF reversal level**.
4. Choose the desired alert frequency and delivery method.
The alert distance is volatility-adjusted using the chart timeframe's ATR. Increase **Alert distance** for earlier warnings or decrease it for tighter notifications.
## Confirmation and repainting behavior
Levels are not accepted immediately when the wick forms. The indicator waits for the selected number of completed higher-timeframe candles to confirm that price genuinely moved away. After confirmation, the line is anchored to the original wick price and time.
This means a newly forming wick will not appear instantly. The delay is intentional and helps prevent weak, unfinished rejections from being labeled as major levels.
## Practical use
Treat the levels as areas of interest rather than automatic entry signals. When price returns to a level, look for confirmation from market structure, volume, momentum, or your normal execution model. Higher reaction counts and multi-timeframe labels indicate stronger historical evidence, but no level is guaranteed to hold.
This indicator is an analytical tool and does not provide financial advice or guarantee trading results.
Индикатор

CORNELUS LA PIRAMIDEATR Risk Dashboard (FX)
A minimal position-sizing dashboard for forex. It reads the ATR of the
current chart timeframe, converts it into a stop distance, and shows how
many lots you can trade while keeping the theoretical risk at or below a
fixed dollar amount.
Four lines, nothing else:
ATR - average true range in pips, current timeframe
Stop - ATR x multiplier, in pips
Risk - your dollar risk, entered manually
Lots - position size, rounded down to 0.01
HOW IT WORKS
1. ATR is calculated on whatever timeframe the chart is on. Nothing is
hard-coded - switch from 5m to 1h and the numbers follow.
2. Stop distance = ATR x multiplier. This is a DISTANCE, not a price.
The script draws no lines and places no orders.
3. Risk per lot = stop distance x units per lot x quote-currency rate.
The quote currency is converted to USD automatically using
request.currency_rate(), so the dollar figure is correct on USDJPY,
GBPJPY, EURAUD, NZDCAD and any other cross - not just USD-quoted pairs.
4. Lots = risk / risk per lot, always rounded DOWN to 0.01.
EXAMPLE - EURUSD, ATR 4.5 pips, multiplier 1.5, risk $200
Stop = 4.5 x 1.5 = 6.75 pips (0.000675)
Risk/lot = 0.000675 x 100,000 x 1 = $67.50
Lots = 200 / 67.50 = 2.962 -> 2.96
2.96 x $67.50 = $199.80, at or below the $200 limit.
Displayed values are rounded to one decimal for readability, but the
sizing math uses the raw unrounded stop. A stop shown as "6.8" is
divided as 6.75.
SETTINGS
ATR Length default 14
ATR Multiplier default 1.5
Risk $ default 500
Units per Lot default 100000 (standard lot)
For metals, set Units per Lot to 100 for XAUUSD or 5000 for XAGUSD.
Leave it at 100000 for all currency pairs.
NOTES
- Pip size is derived as mintick x 10, which handles JPY pairs correctly.
- Sizing is risk-based only. It does not check available margin - a valid
lot size can still exceed what your leverage allows.
- Spread is not included in the stop. On very low timeframes the stop can
be only a few pips, where spread is a significant share of the risk.
- The last bar updates live, so figures move until the bar closes.
Not financial advice. Position sizing is one input among many. Индикатор

Opening Range Breakout [ITA]🟠 OVERVIEW
Opening Range Breakout marks the high and low of the first minutes of the trading session, extends those boundaries forward, and flags the bar where price closes outside them. The range is built live as the session opens, tracking its running high and low, then locks once the opening period ends.
Once the range is set, the indicator measures its height and projects extension targets above and below it. Four range lengths are available, and the session open time and timezone are configurable so the tool works on any market rather than being fixed to a single exchange.
🟠 CONCEPTS
* Opening Range - The high and low established during the first minutes of the session. Represents the initial boundaries of agreement between buyers and sellers before the day develops.
* Range Lock - The moment the opening period ends and the boundaries stop updating. From that bar onward the levels extend forward unchanged.
* Extension Target - A projected level placed at a multiple of the range height above the range high or below the range low. Acts as a measured move reference rather than a prediction.
* Qualified Breakout - The first close outside the range in a given direction. Each direction is tracked independently and marked only once, so a session that breaks up, reverses and then breaks down shows both events without repeating either.
* Session Anchoring - The range window is evaluated in the selected timezone rather than the chart timezone, keeping it aligned to the actual market open regardless of the user's location.
🟠 FEATURES
* Selectable Range Length - Choose between 5, 15, 30 or 60 minute opening ranges.
* Live Range Building - The box tracks the running high and low as the opening period develops, then locks when it closes.
* Extension Targets - Projects two configurable multiples of the range height in both directions.
* Breakout Marking - Labels the first close outside the range in each direction.
* Breakout Alerts - Fires on upside and downside breaks independently.
🟠 HOW TO USE
* Match the range length to the instrument. Shorter ranges suit fast-moving markets and scalping, longer ranges suit index futures and higher-priced equities where the first minutes tend to be noisy.
* Set the session open time and timezone to your market. The default is 09:30 New York.
* Use the range boundaries as the reference for the session. Price holding inside them points to rotation, while a decisive close outside tends to set the tone for the rest of the day.
* Read the extension targets as measured moves. A tight opening range produces close targets, while a wide one produces targets that may take the full session to reach, which is itself useful when sizing expectations.
* Adjust Days to Display to keep the chart clean when reviewing several sessions of history.
🟠 CONCLUSION
Opening Range Breakout combines automatic range detection, forward-extending boundaries, and range-based extension targets in a single tool. It removes the manual work of marking the opening range each session while keeping the framework configurable enough to apply across different markets and session times. Индикатор

Bitcoin SuperFlip | Supertrend EMA Trend-Following StrategySuperFlip combines two of the most widely tested trend-following tools on TradingView — the ATR-based Supertrend and a long-period EMA trend filter — into a single directional strategy built and tuned for BTCUSD on the 1-hour chart. The goal isn't novelty; it's a clean, well-understood core (Supertrend flips) layered with a simple confirmation filter (EMA200) and an optional secondary filter (ADX) to reduce whipsaw entries during choppy, low-conviction conditions.
This is a trend-following, not mean-reversion system. It will have a lower win rate than a typical scalping strategy, and that is by design — trend systems make their money from a smaller number of large winning trades that outweigh a higher frequency of small losses.
How it works
Supertrend (ATR-based) tracks the prevailing trend direction and flips when price crosses its dynamic ATR band. This flip is the core trigger for both entries and exits.
EMA200 trend filter only allows longs when price is above the 200-period EMA, and shorts when price is below it — filtering out counter-trend signals that go against the higher-timeframe bias.
Optional ADX filter (off by default) adds a trend-strength gate, only allowing entries when ADX is above a user-set threshold (default 20). This is intended to reduce entries during flat, directionless conditions where Supertrend tends to whipsaw.
Flip-based exits: positions close automatically when Supertrend flips in the opposite direction — this is the primary exit mechanism.
Optional Stop Loss / Take Profit: percentage-based SL/TP can be layered on top of the flip exit as a secondary risk cap (off by default in the current preset — see warnings below).
Features
Toggleable ADX trend-strength filter with adjustable length, smoothing, and threshold
Optional percentage-based stop loss and take profit
Adjustable Supertrend ATR length/factor and EMA filter length
Visual glow-line Supertrend rendering with layered gradient fill toward price
Bullish/bearish flip markers, separate from actual trade-entry markers, so you can see when Supertrend flips vs. when a trade was actually filtered/taken
Multiple color presets (Classic, Aqua, Cosmic, Cyber, Neon, Custom)
Optional bar and background tinting for at-a-glance trend state
Commission (0.075%) and slippage (1 tick) modeled into backtest results by default
Recommendations
Built and tested for BTCUSD, 1H timeframe — this is the intended use case; other assets/timeframes will require re-tuning.
Position sizing defaults to 25% of equity per trade rather than 100% — this materially reduces drawdown and PnL volatility versus full-equity compounding, and is a more realistic starting point for evaluation.
If enabling the ADX filter, start around threshold 15-20 and sweep from there — lower values retain more trades at the cost of some whipsaw protection, higher values do the opposite.
Consider re-enabling a wider stop loss (8-10%+) rather than running with SL fully disabled, especially before using on a leveraged instrument.
Always forward-test or paper-trade before committing real capital — historical performance on a fixed backtest window is not a guarantee of future results.
Warnings
No stop loss is enabled by default in this configuration. Running without a stop loss on a leveraged or volatile asset like BTC carries real, uncapped downside risk per trade — enable and size a stop loss appropriate to your risk tolerance before live use.
With low trade counts (roughly 50-100 in typical backtests), a small number of outlier trades can heavily influence headline profit factor and total return figures — inspect the individual trade list, not just summary stats, before trusting the numbers.
High reported PnL% figures are sensitive to default_qty_value (percent-of-equity compounding) and can look far more impressive than the underlying edge actually is. Judge the strategy primarily by win rate, profit factor, and drawdown — not raw percentage return.
Past performance on historical data does not predict future results. This script is provided for educational and research purposes and is not financial advice.
Стратегия

NY Macro StatusDescription:
A clean, chart-free way to track ICT macro time windows during the New York session. Instead of drawing boxes or shading across price, the script places a small status panel in the top-right corner that tells you what you actually need to know: whether a macro is running right now, which one, when it ends, and when the next one starts.
How it works
The panel reads the live clock in New York time and compares it against your list of macro windows.
When a macro is active, the panel turns green and shows the macro's name, its end time, and how many minutes remain.
When no macro is active, it shows the name and start time of the next macro and a countdown to it.
The current New York time is displayed on the bottom row (optional).
The panel updates every tick regardless of chart timeframe, so it works on 1-second, 1-minute, or 5-minute charts.
Macro windows
Eight fully editable slots. Each has an on/off toggle, a name, a start time, and an end time. Times are entered in plain 12-hour format — type 9:50 AM and 10:10 AM, no session strings or 24-hour math. If you omit AM/PM, hours before 8 are treated as PM so 1:10 – 1:40 reads correctly.
Defaults are the commonly referenced ICT New York macros: 8:50–9:10, 9:50–10:10, 10:50–11:10, 11:50–12:10 (lunch), 12:50–1:10, 1:10–1:40, 3:15–3:45, and an optional 3:50–4:10. Change, rename, or disable any of them.
Vertical lines (optional, off by default)
If you want the windows marked on the chart, turn on vertical lines. Start and end lines have independent colors; style (solid/dashed/dotted), width, and how many days of history to keep are all adjustable. Weekends are skipped.
Display options
Text size (small to huge), active color, idle color, text color, border color. Both the "next macro" row and the current-time row can be hidden for a minimal panel.
Notes
Macro times are user-defined; the defaults are a starting point, not a recommendation.
The script draws nothing on price unless vertical lines are enabled.
No repainting — it reads wall-clock time, not bar data. Индикатор

MTF Supply & Demand (PropFirmGorilla)This indicator detects supply and demand zones across eight timeframes at once — 15m, 30m, 1H, 90m, 2H, 4H, 690m and Daily — and draws them on whatever chart you're viewing, so you don't have to flip timeframes to map higher-timeframe levels.
How a zone is found
Each zone is built from an impulse candle and the basing candle immediately before it:
Demand: a bullish impulse candle that moves up at least a set % (open→close) and closes in the top portion of its range, preceded by a small down-closing basing candle whose body is no larger than a set % of the impulse body. The zone runs from the basing candle's open down to its low.
Supply: the mirror — a bearish impulse that closes near its low, preceded by a small up-closing basing candle. The zone runs from the basing candle's high down to its open.
A zone is removed automatically once price trades back through it (through the zone low for demand, the zone high for supply), so the chart only shows levels that are still unmirrored.
Non-repainting
Higher-timeframe zones are read from closed bars only (confirmed history, no lookahead), so a zone appears after its impulse candle closes and does not repaint on reload.
Features:
8 timeframes, each toggled on/off independently.
Simplify Zones: when same-side zones overlap, merge them into one rectangle labeled with every timeframe involved (e.g. "90m / 30m / 15m") to reduce clutter.
Box or line display: filled zones, or a single line at each zone's origin.
Separate colors and adjustable opacity for demand vs supply.
Each zone is labeled with its timeframe.
Adjustable detection thresholds (impulse move %, close-in-range %, basing body %) and a cap on zones per timeframe.
How to use
Add it to any chart. Zones from all enabled timeframes appear as colored areas extended to the right. Treat demand zones as potential support and supply zones as potential resistance; a zone disappears once price closes through it. Tune the detection inputs to match the instrument's volatility, and enable Simplify Zones on lower timeframes where many zones stack up.
Inputs
Zone Detection: Impulse min move (%), Impulse close in range (%), Basing body max vs impulse (%), Max zones per timeframe.
Timeframes: 15m / 30m / 1H / 90m / 2H / 4H / 690m / Daily.
Appearance: Show demand / Show supply, Demand & Supply colors, Fill opacity, Fill boxes (off = origin line only), Simplify Zones, Show timeframe label.
Notes
90m and 690m are requested as custom minute resolutions; if your plan or symbol doesn't return one, untick that timeframe.
Higher-timeframe zones need that timeframe's history to be available; extend the chart's loaded history if a timeframe looks sparse.
This tool is for chart analysis and education only. It is not financial advice; test any approach before trading it.
Индикатор

Momentum Sequence Strategy+ [Herman]Momentum Sequence Strategy is an open-source, rules-based price-action strategy designed to test momentum continuation following a defined candle sequence.
The strategy does not use moving averages, oscillators, volume indicators, or higher-timeframe data. Its signals are derived entirely from the relationship between consecutive OHLC candles.
The objective is to identify situations where an initial candle establishes a protected price extreme and is followed by a sequence of candles showing consistent momentum in the opposite direction.
How the strategy works
The model begins with a Main Candle, followed by a user-defined number of consecutive confirmation candles.
The number of following candles can be set to:
2
3
4
5
The default setting is 5 following candles.
Long setup
A Long setup requires:
The Main Candle to be bearish.
Every following candle to be bullish.
The low of every following candle must remain strictly above the low of the Main Candle.
Each new bullish candle must close higher than the previous bullish candle.
No position may already be open.
In simplified form:
Bearish Main Candle -> Bullish -> Bullish -> ... -> Long
The low of the Main Candle acts as the invalidation level for the sequence.
Short setup
The Short setup is the exact inverse of the Long setup.
A Short setup requires:
The Main Candle to be bullish.
Every following candle to be bearish.
The high of every following candle must remain strictly below the high of the Main Candle.
Each new bearish candle must close lower than the previous bearish candle.
No position may already be open.
In simplified form:
Bullish Main Candle -> Bearish -> Bearish -> ... -> Short
The high of the Main Candle acts as the invalidation level.
Long and Short trading can be enabled or disabled independently.
By default:
Long Trades: ON
Short Trades: OFF
The strategy allows only one open position at a time.
Stop Loss
For Long trades, the Stop Loss is placed at the low of the Main bearish Candle.
For Short trades, the Stop Loss is placed at the high of the Main bullish Candle.
This means the candle that begins the sequence defines the structural invalidation point of the trade.
Take Profit
The strategy uses configurable R-based targets:
0.5R / 1R / 1.5R / 2R
The default setting is 1.5R.
For a Long setup, risk is measured from the closing price of the final confirmation candle to the low of the Main Candle.
For a Short setup, risk is measured from the closing price of the final confirmation candle to the high of the Main Candle.
The selected R multiple is then applied to that distance to calculate the Take Profit level.
Important execution detail
The strategy identifies a completed sequence using confirmed candle data.
Under TradingView's standard historical strategy execution model, a market order generated after a confirmed bar will normally be filled on the next available tick, which is typically the open of the following bar.
The strategy calculates its R-based target using the close of the signal candle, rather than the eventual simulated market fill price.
Because of this, the selected 0.5R, 1R, 1.5R, or 2R setting represents the strategy's target calculation model and may not equal the exact realized risk-to-reward ratio measured from the simulated fill price. Gaps, market movement between bars, commissions, and slippage can further affect actual results.
Visuals
The strategy can display:
Long setup markers
Short setup markers
Active Stop Loss
Active Take Profit
A configurable statistics/settings table
The table displays the currently selected Take Profit, sequence length, and enabled trade directions.
Default configuration
The default script inputs are:
Following Candles: 5
Take Profit: 1.5R
Long Trades: ON
Short Trades: OFF
Entry Signals: ON
Stop Loss / Take Profit display: ON
These defaults are provided as a starting configuration for research and are not presented as optimized parameters for any particular market or timeframe.
Users are encouraged to evaluate different configurations across sufficiently large datasets rather than selecting parameters solely because they produced favorable historical results.
Intended use and limitations
This is a mechanical backtesting strategy intended for studying a specific candle-sequence behavior.
It does not evaluate market regime, trend, volatility, liquidity, volume, news events, session context, support/resistance, or other discretionary information.
A valid sequence therefore does not imply that a profitable trade will follow.
Historical strategy results are hypothetical and do not predict future performance. Results can vary materially depending on symbol, timeframe, trading costs, liquidity, execution assumptions, and selected parameters.
The strategy should be evaluated on standard price-based candlestick charts. Non-standard chart types such as Heikin Ashi, Renko, Range, Kagi, or Point & Figure can produce strategy results that do not correspond to tradable market prices.
This version extends that foundation with:
Pine Script v6 implementation
Configurable 2-5 candle sequence length
Mirrored Short-side logic
Independent Long/Short controls
Configurable R-based profit targets
One-position-at-a-time execution
Stop Loss and Take Profit visualization
Configurable on-chart settings table
Expanded user controls and documentation
The script is published open-source so users can inspect the complete methodology, verify its behavior, modify it, and conduct their own research. Стратегия

Relative Volume Candles & Narrow RangesRelative Volume Candles & Narrow Ranges brings volume and price contraction directly onto the chart. Five candle color-levels reveal volume dry-ups, normal participation, and expanding activity, while selective dots identify unusually narrow ranges. Together, they help swing traders assess consolidations, pullbacks, and price moves at a glance.
Low-volume and narrow-range clusters can be valuable areas to monitor because a tightening consolidation or quiet pullback may precede a sharp price expansion.
HOW IT WORKS
Relative Volume Candles & Narrow Ranges makes it easy to see how much trading activity supports each price candle. Rather than requiring a separate volume pane, the script translates relative volume into five bullish and bearish color shades.
These five levels distinguish volume dry-up from normal volume and explosive volume. On a dark chart, low-volume candles use the lightest shades. On a light chart, they use the darkest shades (see below). This makes quiet, low-participation candles easier to find.
Dots above candles identify narrow ranges. Their frequency adapts to the symbol’s recent range behavior, and users can make these dots more or less selective or disable them entirely.
The script was designed primarily for equities on the daily timeframe, with swing traders, position traders, and active investors in mind. You may find the same volume and range relationships helpful on other markets and timeframes.
FEATURES
The indicator combines relative-volume candles with selective narrow-range markers in one chart-level view.
Five relative-volume levels: Separates low volume from normal volume and more explosive volume.
Bullish and bearish palettes: Our defaults retain normal price colors while showing relative-volume levels in different shades, but you can choose more distinctive coloring as well.
Narrow-range dots: Highlights candles with particularly compressed price ranges.
Adjustable dot frequency: Controls how selective the narrow-range markers are, from Very High to Very Low, with an option to disable them.
Dark and Light color schemes: Reverses the shade order so volume dry-ups stand out against either background.
Customizable appearance: Includes editable candle colors, dot color, dot size, and brightness adjustments.
USE CASES
Finding quiet consolidations
Low-volume colors reveal where participation is drying up. Narrow-range dots help locate the tightest candles within the consolidation. Together, they can draw attention to areas where price and volume are becoming increasingly quiet. In our humble opinion, this is where our script shines.
Assessing pullbacks
A pullback occurring on declining relative volume can carry a different character from one accompanied by expanding participation. Narrow ranges can provide additional context when the pullback begins to stabilize or tighten.
Monitoring potential entries
Some of the strongest price expansions begin after a quiet cluster of low-volume, narrow-range candles. The indicator helps make those conditions visible, allowing traders to monitor them alongside price structure, support and resistance, and their own entry criteria.
Evaluating price moves
Expanded volume colors show when participation is increasing. This can help traders assess whether a breakout, rally, decline, or reversal attempt is attracting noticeably greater activity.
SETTINGS
Relative Volume
RVOL Lookback: Number of recent bars used to calculate average volume. The current bar is excluded.
Profound Dry-Up Below: Sets the upper boundary for the lowest relative-volume level. These candles use the lightest color on dark charts and the darkest color on light charts.
Constructive Dry-Up Below: Sets the upper boundary for the second-lowest relative-volume level. These candles use the second-lightest color on dark charts and the second-darkest color on light charts.
Expanded Volume Above: Sets the point above which volume is treated as expanded. These candles use the second-darkest color on dark charts and the second-lightest color on light charts.
Telling Volume Above: Sets the point above which volume is treated as telling. These candles use the darkest color on dark charts and the lightest color on light charts.
Volume between the Constructive Dry-Up and Expanded Volume thresholds is treated as normal.
Range Context
ADR Length: Number of recent bars used to calculate the average price range. The current bar is excluded.
Range Dot Frequency: Selects the narrowest ranges relative to the symbol’s recent history. Lower frequencies produce fewer, more exceptional dots.
Range Dot Size: Sets the size of the narrow-range dots to Tiny, Small, or Normal.
Range Dot Color: Sets the color of the narrow-range dots.
Main Color Settings
Color Scheme: Selects the palette order designed for either a Dark or Light chart background.
Dark Scheme Dimming (%): Makes the Dark scheme darker with positive values or lighter with negative values.
Light Scheme Dimming (%): Makes the Light scheme darker with positive values or lighter with negative values.
Relative Volume Colors (Light to Dark)
This section contains five editable bullish and bearish color pairs, ordered from lightest to darkest. The selected color scheme determines how these shades correspond to the five relative-volume levels. Индикатор

ATR-Normalized Monte Carlo PROATR-Normalized Monte Carlo PRO is a probabilistic forecasting tool designed to estimate a range of possible future price paths using the asset’s own historical behavior normalized by Average True Range (ATR).
Instead of assuming that returns follow a theoretical normal distribution, the script builds an empirical sample of historical price movements expressed in ATR units. These normalized movements are then randomly resampled to generate multiple forward price paths.
The objective is not to predict an exact future price, but to estimate the distribution of possible outcomes over a configurable forecast horizon.
How the model works
For each historical bar, the script calculates an ATR-normalized close-to-close movement:
Normalized Move = (Current Close - Previous Close) / Previous ATR
This transforms historical price changes into comparable volatility-adjusted units.
The Monte Carlo engine then randomly samples these historical ATR-normalized movements and applies them to the current ATR environment to generate multiple simulated price paths.
For each future step, the script calculates the following distribution percentiles:
• P05 — lower 5th percentile
• P25 — lower quartile
• P50 — median simulated outcome
• P75 — upper quartile
• P95 — upper 5th-percentile boundary
These levels form a forward probability envelope around the current price.
Forecast horizon
The forecast can be defined in two ways:
Sessions
The script estimates the average number of chart bars per trading session using recent historical sessions and converts the selected number of sessions into forecast bars automatically.
Bars
The user can directly specify the number of future bars to simulate.
This allows the model to adapt to intraday and higher-timeframe charts without requiring a fixed number of bars per session.
ATR risk units
The script includes four methods for defining the Target and Stop risk unit:
Bar ATR
Uses the current chart ATR directly.
Session ATR
Scales the current ATR by the square root of the estimated number of bars per session:
Session ATR = ATR × sqrt(Bars per Session)
This is the default setting.
Horizon ATR
Scales ATR across the entire forecast horizon:
Horizon ATR = ATR × sqrt(Forecast Bars)
Manual Scale
Allows the user to define a custom ATR scaling factor.
Target and Stop levels are then calculated as multiples of the selected risk unit.
Example:
Target = +3.0 Session ATR
Stop = -1.0 Session ATR
This corresponds to a theoretical 1:3 risk-to-reward structure.
Probability metrics
The dashboard displays several Monte Carlo-derived probabilities:
P(Close > Current)
Percentage of simulated paths whose terminal price finishes above the current market price.
P(Target First)
Percentage of simulations that reach the selected Target before reaching the Stop.
P(Stop First)
Percentage of simulations that reach the Stop before reaching the Target.
P(Unresolved)
Percentage of simulations that reach neither level within the selected forecast horizon.
These metrics distinguish directional probability from the probability of completing a specific trade structure.
Dynamic Probability Bias
The script classifies the current simulation distribution into five configurable states:
• Strong Bullish
• Bullish
• Neutral
• Bearish
• Strong Bearish
By default, the classification is based on the percentage of simulated terminal prices finishing above the current price.
The thresholds are user-configurable.
The Probability Bias is therefore dynamic and may change as price, ATR, historical normalized movements, and the forecast horizon change.
It should be interpreted as a summary of the current Monte Carlo distribution, not as a trading signal.
Dashboard
The configurable dashboard includes:
• Current timeframe
• ATR value and ATR percentage
• Historical sample size
• Number of simulations
• Forecast mode
• Estimated bars per session
• Forecast bars
• Base ATR
• Session ATR
• Horizon ATR
• Selected risk-unit mode
• P05 / P25 / P50 / P75 / P95
• Probability of closing above current price
• Target-first probability
• Stop-first probability
• Unresolved probability
• Target / Stop structure
• Risk-to-reward ratio
• Dynamic Probability Bias
The dashboard position, text size, colors, borders, and left/right column alignment can be customized.
How to use it
A practical workflow is:
1. Select the chart timeframe.
2. Choose the historical lookback.
3. Select the number of Monte Carlo simulations.
4. Define the forecast horizon in sessions or bars.
5. Select the ATR risk-unit method.
6. Define Target and Stop multiples.
7. Evaluate the percentile envelope together with the probability metrics.
For example, a bullish Probability Bias does not necessarily imply a high probability of reaching a +3 ATR Target. The script intentionally separates directional probability from Target/Stop feasibility.
Originality and purpose
This script combines three concepts into one framework:
• empirical Monte Carlo resampling,
• ATR-normalized historical price movement,
• session-aware forecast and risk scaling.
Rather than applying a fixed theoretical return distribution, the simulation uses the instrument’s own recent volatility-adjusted historical behavior.
The purpose is to provide a probabilistic framework for scenario analysis, volatility-aware risk assessment, and trade planning.
Important limitations
Monte Carlo simulation does not predict future market prices.
The model assumes that historical ATR-normalized movements are relevant to future scenarios. Market structure, volatility regimes, gaps, liquidity conditions, news events, and structural changes may cause future behavior to differ materially from the historical sample.
The current implementation also resamples individual historical movements independently. It therefore does not fully preserve serial correlation, volatility clustering, or multi-bar market regimes.
Target and Stop probabilities are simulated estimates and should not be interpreted as guaranteed probabilities of future execution.
Results may also vary as the latest bar, ATR, historical sample, and simulation draws change.
Use standard price charts when evaluating the script. Non-standard chart types can materially alter the underlying price series and produce misleading interpretations.
Disclaimer
This script is provided for educational and analytical purposes only.
It does not provide financial advice, investment recommendations, trade signals, or guarantees of profitability.
Monte Carlo simulations, probability estimates, percentile projections, and hypothetical scenarios are based on historical data and assumptions. They do not guarantee future results.
Trading and investing involve risk, including the possible loss of capital. Users are responsible for their own analysis, risk management, and trading decisions.
Индикатор

Reversal Probability Profile [AlgoAlpha]🟠 OVERVIEW
Reversal Probability Profile maps where confirmed price reversals have historically concentrated. Instead of treating every support or resistance level equally, it builds a price-based profile from confirmed pivot highs and lows and shows which areas have produced the greatest concentration of reversals.
The profile combines pivot-based support and resistance, reversal density, price clustering, and a maximum reversal zone. This gives traders a structured view of where price has repeatedly changed direction and how the density at one level compares with the strongest reversal area in the current calculation range.
Active support and resistance levels also display a normalized Reversal Probability. This value represents the reversal density at that level relative to the highest-density profile bin. It is a relative density measure, not a statistical forecast of the probability that price will reverse.
🟠 CONCEPTS
Pivot High — A confirmed local high where price is higher than the surrounding bars defined by the Pivot Left Bars and Pivot Right Bars settings. These pivots represent historical bearish reversal points.
Pivot Low — A confirmed local low using the same left and right confirmation structure. These pivots represent historical bullish reversal points.
Reversal Probability Profile — A price profile built from confirmed pivot highs and lows. Each pivot contributes to its corresponding price bin and nearby bins according to the Bin Smoothing Radius.
Reversal Probability — The density of a price bin divided by the density of the tallest profile bin. The tallest bin is therefore 100%, while other levels are expressed relative to it. This measures relative historical reversal density rather than a statistical probability of a future reversal.
Max Reversal Zone — The price bin containing the highest smoothed pivot count. It forms the profile's point of maximum reversal density.
Pivot Clusters — Groups of historical pivot prices with similar price locations. The script groups these prices into clusters and uses separate colors to make recurring reversal regions easier to distinguish.
Support and Resistance Levels — Horizontal levels created from confirmed pivot lows and highs. Nearby levels can be filtered using an ATR-based overlap distance so that similar pivots do not produce excessive duplicate levels.
🟠 FEATURES
Reversal Probability Profile — Displays historical reversal density across the visible calculation range, with wider bins representing greater density relative to the maximum reversal zone.
Probability-Labeled Support and Resistance — Displays active pivot levels together with their price and normalized Reversal Probability, while broken levels can remain as faint historical references.
Max Reversal Zone — Highlights the profile bin with the greatest concentration of confirmed reversals and marks its corresponding price level.
Cluster Visualization — Color-codes pivot regions and can display cluster levels and historical pivot markers to show where reversal prices have grouped.
Reversal Alerts — Provides alerts for new support and resistance pivots, level breaks, maximum or high-density zone touches, and bullish or bearish reversal-zone touches.
🟠 HOW TO USE
Start with the profile — Look for the widest sections. These show price regions where confirmed reversals have concentrated more heavily than surrounding areas.
Use the Max Reversal Zone as a reference — It represents the strongest reversal-density bin in the current calculation window and provides the 100% reference used by the other probability values.
Compare active levels by Reversal Probability — A level closer to 100% sits in a region with reversal density closer to the profile maximum. Treat this as relative historical density rather than a forecast of future reversal odds.
Distinguish support from resistance — Green support levels originate from pivot lows, while red resistance levels originate from pivot highs. Watch how price behaves when it returns to these areas.
Read clusters as broader areas of interest — Repeated pivots near similar prices form clusters. These can help identify reversal regions that are supported by several historical turning points instead of one isolated pivot.
Use broken levels for context — When enabled, previously broken support and resistance remain visible as faint dotted references. This helps separate active levels from historical structure.
Adjust Pivot Left Bars and Pivot Right Bars to control sensitivity — Lower values identify smaller local turns. Higher values require broader price structure before a pivot is confirmed.
Adjust the Calculation Lookback and Pivot Memory to control how much historical reversal structure contributes to the current profile.
Use the profile together with current price action — A high-density zone identifies where reversals occurred historically. It does not by itself confirm that price will reverse on the next test.
🟠 CONCLUSION
Reversal Probability Profile combines confirmed pivots, support and resistance, reversal-density profiling, and price clustering in one chart view. It gives traders a relative measure of where reversals have historically concentrated and a way to compare current price levels against the strongest reversal zone.
Индикатор
