Indicador

Indicador

Indicador

Indicador

Scalping MA Crossover + VWAP**Scalping MA Crossover + VWAP**
This indicator combines a fast 5 EMA, a slower 13 EMA, and VWAP to provide a clean visual view of short-term momentum and intraday trend direction.
The 5 EMA reacts quickly to price movement, while the 13 EMA provides a smoother short-term trend reference. Bullish and bearish crossover dots are displayed when the 5 EMA crosses above or below the 13 EMA.
**Features**
* Optional 5 EMA
* Optional 13 EMA
* Optional VWAP
* Green dot on bullish EMA crossover
* Red dot on bearish EMA crossover
* Customizable line colors and thickness
* Clean overlay designed for intraday charts
**How to interpret it**
* A 5 EMA cross above the 13 EMA indicates increasing bullish momentum.
* A 5 EMA cross below the 13 EMA indicates increasing bearish momentum.
* Price above VWAP may support a bullish intraday bias.
* Price below VWAP may support a bearish intraday bias.
* Flat or frequently crossing EMAs may indicate sideways or choppy conditions.
This indicator is intended to be used as a momentum and trend-confirmation tool rather than as a standalone trading system. For stronger setups, combine the crossover signals with price structure, support and resistance, volume, VWAP reactions, breakouts, or retests.
Best suited for short-term and intraday trading, particularly on lower timeframes such as the 1-minute, 3-minute, and 5-minute charts.
This script is provided for educational and informational purposes only and does not constitute financial advice.
Indicador

Indicador

Indicador

Indicador

Trend Follow - EMA200 + ATR Risk**What this script does**
This indicator flags trend changes based on the price crossing a 200-period EMA, and displays an indicative risk level based on ATR (Average True Range) at each signal. The orange dotted markers represent a suggested risk distance (2x ATR by default) — a visual reference only; this script does not execute any trades.
**Why this approach**
The logic follows a simple principle: stay aligned with the underlying trend as long as price confirms it relative to a long moving average, rather than stacking multiple indicators in search of a "perfect" signal. A small parameter count reduces the risk of curve-fitting — a common pitfall in scripts that combine many filters.
**Validation methodology**
This mechanism was tested using a walk-forward approach: parameters were fixed on one period (2020-2023) and then evaluated without any adjustment on an unseen period (2024-2026), on BTC/USDT and ETH/USDT, 4H timeframe. Profit factor stayed above 1 across all four tested combinations (both assets, both periods). More complex approaches (multi-indicator combinations, volatility squeeze detection) were tested with the same protocol and rejected for failing to generalize — this elimination process led to this intentionally simple version.
**Limitations and disclaimer**
A positive historical test does not guarantee future performance — market conditions change. This script is a trend-reading aid, not a complete trading system or investment advice. The win rate of a trend-following approach is structurally low (many small losses offset by a few larger moves) — understand this before use. Always test and validate independently on your own market and timeframe before real use.
**Parameters**
- EMA Length (default 200): trend moving average length.
- ATR Length (default 14) and suggested risk distance (x ATR, default 2.0): configuration of the displayed risk level.
Open-source script under the Mozilla Public License 2.0.
**Ce que fait ce script**
Cet indicateur signale les changements de tendance à partir du croisement du prix avec une EMA200, et affiche un niveau de risque indicatif basé sur l'ATR (Average True Range) à chaque signal. Les points orange en pointillés représentent une distance de risque suggérée (2x ATR par défaut) — un repère visuel, pas un ordre automatique : ce script n'exécute aucune transaction.
**Pourquoi cette approche**
La logique repose sur un principe simple : suivre la tendance de fond tant qu'elle est confirmée par le prix au-dessus (ou en-dessous) d'une moyenne mobile longue, plutôt que d'empiler plusieurs indicateurs à la recherche d'un signal "parfait". Un nombre réduit de paramètres limite le risque de sur-optimisation (curve-fitting) — un piège fréquent des scripts combinant de nombreux filtres.
**Méthodologie de validation**
Ce mécanisme a été testé en walk-forward : les paramètres ont été fixés sur une période (2020-2023), puis évalués sans aucun ajustement sur une période non vue (2024-2026), sur BTC/USDT et ETH/USDT en 4H. Le facteur de profit est resté supérieur à 1 sur les quatre combinaisons testées (les deux actifs, les deux périodes). D'autres approches plus complexes (combinaisons d'indicateurs, détection de squeeze de volatilité) ont été testées avec le même protocole et rejetées car elles ne se généralisaient pas — c'est ce processus d'élimination qui a mené à cette version volontairement simple.
**Limites et avertissement**
Un test historique positif ne garantit aucune performance future — les conditions de marché évoluent. Ce script est un outil d'aide à la lecture de tendance, pas un système de trading complet ni un conseil en investissement. Le taux de trades gagnants d'une approche de suivi de tendance est structurellement bas (beaucoup de petites pertes compensées par quelques mouvements plus larges) : à comprendre avant toute utilisation. Testez et validez toujours par vous-même sur votre marché et votre horizon de temps avant un usage réel.
**Paramètres**
- EMA Length (200 par défaut) : longueur de la moyenne mobile de tendance.
- ATR Length (14 par défaut) et distance de risque suggérée (x ATR, 2.0 par défaut) : configuration du niveau de risque affiché.
Script open-source sous licence Mozilla Public License 2.0.
Indicador

Indicador

Indicador

Indicador

Zero-Lag MACD Divergence Pro Zero-Lag MACD Divergence Pro is a MACD-family oscillator that reduces the indicator's inherent lag using zero-lag exponential averaging, detects regular divergences directly inside the MACD pane, and optionally gates its buy/sell markers so they only appear when a divergence and a crossover confirm each other. It is designed for intraday timeframes but works on any chart.
What makes it original
This is not a standard MACD with cosmetic changes. Three elements work as one system: (1) all three components — fast line, slow line, and signal line — are rebuilt on zero-lag EMAs rather than standard EMAs, (2) divergence detection runs on the zero-lag MACD line itself and draws its lines and labels inside the oscillator pane, with an optional mirrored dashed line on the price chart, and (3) a combo-gating mode suppresses crossover markers unless a divergence was confirmed within a recent, user-defined window, which filters the many insignificant crossovers a MACD produces in ranging markets.
How it works
Zero-Lag Core: Each component uses the zero-lag EMA construction (2 × EMA − EMA of EMA), a public-domain technique attributed to John Ehlers' error-correction work. This roughly halves the effective lag of each average, so crossovers occur earlier than on a classic MACD. A faded classic MACD line can be displayed for side-by-side comparison and switched off in the settings.
Divergence Detection: Confirmed pivot highs/lows on the zero-lag MACD line are compared with price highs/lows at the same bars. A regular bullish divergence (price lower low, MACD higher low) or regular bearish divergence (price higher high, MACD lower high) draws a connecting line between the two MACD pivots with a label in the pane. Pivots confirm only after the lookback period elapses, so divergence lines appear with a delay by design and do not repaint.
Combo Signals: In the default mode, a buy/sell marker prints on the price chart only when a zero-lag crossover occurs while a same-direction divergence is still valid (within a user-defined number of bars). Turning combo mode off prints markers on every confirmed crossover instead. Signals respect a cooldown and a daily maximum.
Four-Color Histogram: The histogram distinguishes rising and fading momentum on both sides of the zero line.
Dashboard: A dark, movable panel (styled to stay readable on light-theme charts) summarizes MACD state, histogram direction, active divergence, zero-line position, and the day's signal count.
How to use it
Add the indicator to a lower-timeframe chart (5–15 min for intraday use). Watch for a divergence label in the pane, then wait for the crossover marker that confirms it — the combo mode automates exactly this sequence. The zero-line row on the dashboard helps grade signals: bullish setups above the zero line and bearish setups below it occur in the direction of the broader momentum. All lengths, the divergence window, signal limits, colors, and dashboard placement are adjustable.
Limitations
Divergence lines appear only after pivots confirm (default 5 bars), so they are visible later than the pivot itself; this is the unavoidable cost of non-repainting detection. Reduced lag also means the zero-lag lines are more sensitive than a classic MACD and can produce more crossovers in choppy conditions — the combo mode exists to filter these. This tool describes momentum conditions; it does not predict future price movement, and past behavior of any signal does not guarantee future results. Always combine with your own analysis and risk management. Indicador

Unicorn Model (M1D)M1D-
ICT Unicorn Model finds the ICT Unicorn and frames its context.
A Unicorn forms where a displacement leaves a Breaker Block and the Fair Value Gap that displacement traded through inverts onto it — the same-direction Inversion FVG (IFVG) overlapping the Breaker is what confirms the Unicorn: two arrays reinforcing each other at one price, which ICT teaches as a tight, high-probability zone. This tool detects it, marks the Breaker that qualifies, always shows the inversion FVG that makes it one, tracks the liquidity that engineered it, and keeps your HTF bias and the draw on a clean dashboard. It maps structure — it does not fire trades.
The idea (ICT concepts)
The Unicorn is a confluence, not a standalone trigger. The sequence it looks for (bullish; bearish mirrors):
Liquidity is taken — price sweeps a sellside low, engineering the reversal.
A swing is broken — displacement closes through the last swing high (a market-structure shift); the run of candles immediately before that leg is left behind as an Order Block. It becomes a Breaker only once price later closes through it — the OB failing and flipping, exactly as an FVG inverts into an IFVG — its box spanning exactly those candles' high to low.
The FVG inverts onto the Breaker — a candle body closes through the gap, so it fails and flips into an Inversion FVG (IFVG) of the opposite polarity. A Breaker a same-direction IFVG overlaps is the Unicorn; with no overlapping IFVG it stays a plain Breaker.
Bias frames it — the model needs a clear HTF read, so a bullish Unicorn is shown in a bullish / discount context and a bearish one in premium.
The draw — engineered liquidity in the direction of bias is the target the setup delivers toward.
Because the Unicorn is only as good as its narrative, bias is first-class here: qualification is gated to your HTF read by default, and the dashboard keeps the read, the raid and the draw in front of you.
These are established Inner Circle Trader (ICT) concepts — FVG / BISI–SIBI, the Breaker Block, MSS, liquidity, the Midnight Open and premium/discount. This script is an original implementation that detects them and, distinctively, resolves the Breaker + the Inversion FVG that confirms it into a single premium zone rather than plotting each array in isolation.
What it draws
Unicorn — when a live same-direction IFVG overlaps a Breaker, that Breaker box is relabelled Unicorn + (bullish) / Unicorn - (bearish), drawn in the brand purple / magenta and given a distinct dashed border, so the setup reads at a glance and stands apart from the solid-bordered arrays. It is confirmed once and holds — it does not flicker bar to bar — and the confirming IFVG is kept alive with it: the two live and die together, so a Unicorn always shows the inversion that makes it one. It stays on the chart until it is invalidated (below).
Breaker & FVG ingredients — drawn faintly beneath: FVGs in blue (bullish) / red (bearish) and Breakers in a neutral black (a Breaker only takes a directional colour once it becomes a Unicorn), each tagged with the chart timeframe (e.g. Breaker M5, BISI + M5). A BISI / SIBI that sits inside the Unicorn or its inversion hides its own box, so the premium zone is never buried under the ingredient it is built from. Everything invalidates by the candle body only — a wick through a zone never counts. A plain FVG inverts the moment one body closes through it (becoming the IFVG); the Breaker and the inversion take a configurable number of body closes (default two) to retire — or a zone clears once price trends a full range off-screen, keeping only the structure still near price.
IFVG (inversion) — when a candle body closes through an FVG it does not simply vanish; it inverts, flipping polarity to deliver from the other side (the ICT Inversion FVG). The same-direction inversion overlapping a Breaker is what confirms the Unicorn — it is shaded orange (no label — orange reads as IFVG), rendered behind the Unicorn so the premium zone stays in front, and held for as long as the Unicorn is live.
Liquidity — swing highs are buyside, swing lows are sellside, plus prior-day and prior-week levels (PDH / PDL / PWH / PWL) as external-range reference liquidity, each anchored to the candle that formed it. The outermost live swing each side is tagged Buyside Liquidity / Sellside Liquidity (external-range liquidity), inner swings carry Minor Buyside / Minor Sellside, and prior-period levels keep a dated tag. A level that is also the high or low of an Asia / London / New York session window carries that tag too (e.g. NY High, London Low). Every level is removed the instant it is taken — no dotted stub, no lingering line — and any un-taken level that price trends a full range past without returning also clears, so nothing hangs far off the price action. Buyside tags trail the right edge on the line; sellside tags sit back at their origin (left) and just below the line, so the live right edge stays uncluttered and the text clears the price action. Any tags that share a price (e.g. a swing high sitting on the prior-day high) merge into a single combined tag rather than stacking.
Midnight Open (00:00 NY) — a core ICT daily reference and a bias input; below it leans bullish, above it leans bearish.
Draw — the nearest live opposing liquidity in the direction of bias, tagged ← Draw on that level — the target the Unicorn delivers toward. When the draw or the Midnight Open share a level's price they are appended to that one tag rather than stacked as a second label.
Dashboard (M1D™)
HTF Bias — BULLISH / BEARISH / MIXED, auto or manual (auto stacks dealing-range position with the Midnight Open).
Unicorn — whether a bullish, bearish or both-side Unicorn is live in recent context; when none is live it falls back to the last one's direction (bullish (last) / bearish (last)) rather than a bare dash.
Raided — which side of liquidity was most recently taken (the raid that sets up the reversal).
Draw — the current target: nearest live BSL / SSL in the bias direction, with its price.
PDH / PDL — prior-day high and low prices (tracked even when the lines are hidden).
Midnight Open — price above / below the 00:00 NY open.
Dealing range — discount (bullish) / premium (bearish) relative to the swing-range equilibrium.
Settings
General — session timezone, right-side offset (keeps labels in clear space), line- and zone-label sizes.
HTF Bias — Auto / Bullish / Bearish; gate Unicorns to bias on/off; Midnight Open toggle and colour.
Swing Structure — pivot left / right strength.
Liquidity — show liquidity, line colour / width, external + Minor labelling, max live swing levels per side, prior day / week levels (PDH·PDL·PWH·PWL) with days- and weeks-back, and the raid-relevance window.
Sessions — tag session highs / lows on / off, and the Asia / London / New York window times (in the session timezone).
Breaker & FVG — show ingredients, bull / bear colours, FVG minimum height (× ATR), displacement body size (× ATR), biggest-array-wins declutter, the cap on how many
FVGs show at once (so gaps never stack up), show the framing IFVG and its colour, max live zones, the number of body closes that invalidate a zone (default two), and the off-screen retire controls (bars-away, and distance in multiples of the recent price range).
Unicorn — flag Unicorns on / off, bull / bear colours.
Dashboard — show / hide, position (including Middle Right), text size.
Reading it in practice
Trade with the dashboard bias. A Unicorn + / Unicorn - marks the Breaker whose overlapping inversion FVG makes it a Unicorn; the orange IFVG shows the imbalance it sits within. ICT guidance waits for price to tap the FVG side, places the stop beyond the combined Breaker + FVG extreme (whichever is furthest), and targets the engineered liquidity marked by the ← Draw tag. A gap left open below a bullish Unicorn range is intended — it shows bullish intent and speed, and is not meant to be filled.
Repainting
All detection evaluates on closed bars — swings, the MSS / Breaker flip, FVGs, the inversion and the Unicorn overlap are confirmed on candle close, never intrabar. Once a Unicorn is confirmed it is locked — it does not re-evaluate or flip state bar to bar — and invalidation is counted only from confirmed body closes, so an in-progress candle (including a wick through a zone) does not remove it. The Midnight Open fixes on its forming bar and levels anchor to the candle that formed them. Live zones and levels extend to the right edge for readability; that right-side projection is cosmetic and does not change any confirmed level, tap or raid.
Analytics only
This is a decision-support tool for discretionary ICT study — it maps zones, structure and context. It contains no alerts, no arrows, and no buy / sell signals, and it does not tell you when to enter or exit.
Built by M1D. For education and study of price delivery — not financial advice. Indicador

Indicador

Indicador

EQH/EQL Liquidity Sweep | AlphaScript⚖️ EQH/EQL Liquidity Sweep
Detects clusters of equal highs (EQH) and equal lows (EQL) the resting-liquidity pools that price hunts and tracks exactly what happens to each one: swept, broken, or still active. Then it measures the real sweep rate so you can see your actual edge.
🎯 Why equal highs and lows matter
When price makes a high, pulls back, then makes another high at the same level, stops pile up just beyond that level — breakout orders, protective stops, resting liquidity.
The more times price taps the same level, the more orders accumulate there. Those pools are what larger participants hunt. This tool maps them automatically and then tells you whether each pool got raided or genuinely failed.
🔍 How pools form
The indicator finds swing highs and lows, then groups any that sit within a configurable tolerance of each other into a single pool.
A pool needs at least a minimum number of touches (default 2) to display. The pool line is drawn at the extreme of the cluster — the highest of the equal highs, or lowest of the equal lows — because that is where the stops actually rest. A small × marks each individual swing that built the pool, and the line thickness and badge show the touch count.
Each pool resolves in one of these ways:
⚡ SWEPT — price wicks through the pool extreme but the bar closes back on the original side. Stops were taken, but the level held on a closing basis. A liquidity raid.
💥 BROKEN — a bar closes through the pool extreme. The level genuinely failed — continuation, not a raid. Breaks are shown separately and never labeled as sweeps.
🛡️ Active — the pool has neither been swept nor broken and is still in play. Pools that go too long without resolving expire and are removed.
First qualifying event wins: one outcome per pool. If a bar both wicks through and closes through, it counts as a break — a close through the level can never be a sweep.
📊 Sweep-rate table | know your real edge
This is what separates the tool from every other equal-highs indicator: instead of just drawing levels, it measures what actually happens to them. The table breaks down every resolved pool by touch count (2 / 3 / 4+) and shows the real sweep and break percentages for each group — computed live from your own instrument, timeframe, and history.
That means you can answer the question that matters before taking a trade: do the pools you're watching actually get swept, or do they break? If 3-touch pools on your instrument sweep far more often than they break, that's a measured edge you can trade around. If 2-touch pools are a coin flip, you know to demand more confluence. The numbers come from the chart, not from a claim on a marketing page.
Only fully resolved pools are counted, active pools are excluded, so the rates can never be inflated by in-progress levels. The denominator is honest: what you see is what actually happened.
⚙️ Settings
-Swing lookback, and equal tolerance in ATR multiples (instrument-independent) or fixed ticks.
-Minimum touches to form a pool, maximum pool age, and how many active pools to track per side.
-Optional minimum wick penetration (ATR-based) to filter marginal sweeps. Does not apply to breaks.
-Optional "Strict Virgin Liquidity" mode: discards a forming level if price closes decisively beyond it before a second touch, so only levels that were never truly broken can pair. Off by default.
-Full display control: pool zones, touch badges, × touch markers, colors, line styles and widths, and how many resolved pools remain on the chart.
-Sweep-rate table with position options.
🔔 Alerts
Per-side sweep alerts (EQH and EQL), separate break alerts, and a combined "Any Pool Swept" alert. All alerts fire on the close of the event bar.
📌 Notes and limitations
-Designed for intraday and swing timeframes. Very low timeframes produce many small pools; adjust tolerance and swing lookback to suit.
-Detection uses standard swing pivots. A peak whose neighboring bar wicks slightly higher may not register as a separate pivot, so not every visual high becomes a pool — tune the swing lookback and tolerance to match how you read structure.
-The equal tolerance is the single most important setting. Too tight and genuine equal levels are missed; too loose and unrelated highs merge. Start moderate and adjust to your instrument.
-The sweep-rate table describes the pools on your loaded chart history. It is a measurement of what happened, not a prediction of what the next pool will do.
✅ Why no repaint
-Pivots are confirmed only after the swing lookback completes, and all pool detection runs on closed bars only. A sweep or break tag will never appear intrabar and then vanish.
-A pool is only evaluated for sweep or break once it has fully formed. A level still building cannot be resolved.
-No request.security() calls are used anywhere. All detection is chart-timeframe state. Indicador

Adaptive Trend Rails [NICK789]Adaptive Trend Rails
OVERVIEW
Adaptive Trend Rails is a market-structure and break-and-retest framework built around one shared price channel. It is designed to answer four practical questions:
1. Which direction currently controls the chart?
2. What exact price level would confirm continuation or a trend change?
3. Is pressure building against the active trend before that change is confirmed?
4. Has price completed a valid breakout, retest and rejection sequence that can be turned into a structured trade plan?
This is not a collection of unrelated indicators placed on the same chart. The rail engine is the foundation of the script, and every additional component—equilibrium, reversal pressure, trend-change quality, multi-timeframe context and the break-and-retest plan—uses information derived from that same structure.
CORE RAIL ENGINE
The script builds an upper and lower rail from the highest high and lowest low of an adaptive lookback. The lookback changes according to the chart timeframe, while the user-selected Narrow, Medium or Wide setting adjusts how quickly the rails react.
A bullish break occurs when price crosses above the previous upper rail. A bearish break occurs when price crosses below the previous lower rail.
The script then classifies each break according to the existing trend state:
• A break in the current direction is treated as continuation.
• A break against the current direction is treated as a trend change.
Because the decision level is taken from the previous rail value rather than the rail currently expanding with price, users can see the actual level that must be crossed. The live “Continue?” and “Trend Change?” guides therefore act as decision levels, not predicted targets.
ADAPTIVE EQUILIBRIUM
The centre line is not a simple midpoint or fixed moving average.
First, the script measures where price is positioned between the active upper and lower rails. That normalized position is then smoothed using EMA and volume-weighted information, with a WMA fallback when volume-weighted data is unavailable. The accepted position is shifted toward the centre and constrained so the equilibrium cannot sit directly on the outer rails.
The resulting line represents an adaptive accepted-value area inside the current structure.
Equilibrium is used throughout the script:
• Its slope helps determine whether internal momentum is rising or falling.
• Its curl helps identify a possible change in pressure.
• Retest plans require price to remain on the correct side of equilibrium.
• Optional entry filtering can require equilibrium to slope in the proposed trade direction.
• A pending retest is cancelled when price loses the required equilibrium relationship.
For this reason, equilibrium is part of the calculation engine and not merely a decorative average.
REVERSAL-PRESSURE WARNINGS
The yellow reversal dots are early warnings, not reversal signals.
While a trend is active, the script measures opposing pressure using a weighted combination of:
• Candle closing location
• Upper or lower wick rejection
• Directional candle-body strength
• Relative volume participation
• Relative candle-range expansion
• Equilibrium slope or curl
• Price location within the rail structure
A bearish warning is only considered while the rail trend is bullish and price is positioned in the upper portion of the structure. A bullish warning is only considered while the rail trend is bearish and price is positioned in the lower portion.
The warning means pressure is building against the current trend. It does not change the trend by itself. Price must still close through the displayed Trend Change level before the rail state is considered reversed.
A cooldown is applied to prevent repeated warning dots from being printed on every nearby candle.
TREND-CHANGE QUALITY
When a confirmed trend change occurs, the script assigns a compact quality reading based on the breakout candle.
The score combines:
• Relative volume
• Relative candle range
• Directional body strength
• Closing location in the breakout direction
The resulting label is shown as Weak, Moderate, Good or Strong.
The tooltip also describes the character of the breakout, such as Clean Break, Expansion, Absorption, Weak Close or Low Participation. This is intended to provide context, not to guarantee that a strong-rated break will continue.
MULTI-TIMEFRAME CONTEXT
The horizontal trend strip rebuilds the same rail-state method across nine timeframes:
1 minute, 5 minutes, 15 minutes, 30 minutes, 1 hour, 2 hours, 4 hours, 1 day and 1 week.
This is important because the table is not mixing unrelated moving-average or oscillator definitions. Every timeframe is evaluated with the same upper-rail/lower-rail breakout method used on the chart.
The script also assigns a practical paired timeframe to the active chart—for example, a 1-minute chart is paired with 5 minutes, a 5-minute chart with 15 minutes, and a 15-minute chart with 1 hour.
Paired-timeframe information is warning-only. It does not silently block, delay or change an entry. When a plan triggers against the paired rail trend, the table and dedicated alert identify that conflict so the trader can make the final decision.
BREAK-AND-RETEST PLAN
The optional trade-plan engine does not enter immediately when a rail breaks.
Its sequence is:
1. Price closes through a continuation or trend-change level.
2. The exact broken rail level is stored.
3. Price must return on a later candle and touch or sweep that level.
4. The candle must reject the level and close back through it in the breakout direction.
5. Price must remain on the correct side of equilibrium.
6. Optional filters check equilibrium slope and whether the rail structure is wide enough relative to the configured stop distance.
All confirmed setups are labelled simply as “RETEST” to avoid implying that one setup carries a guaranteed grade or outcome. The tooltip still identifies whether the retest followed a Trend Change or a Continuation break.
The user may enable both setup types or restrict the engine to trend changes, continuations, longs or shorts.
Pending setups expire after the selected number of bars. They are also cancelled when the rail trend changes or price invalidates the required equilibrium relationship. This prevents an old breakout level from remaining armed after its original context has disappeared.
RISK AND PLAN DISPLAY
When a retest entry is confirmed, the script can display:
• Entry level
• ATR-adaptive or fixed-tick stop
• Reward/risk or fixed-tick target
• Active-plan direction
• Target-hit or stop-hit result
The default ATR Adaptive method scales the stop to current volatility and calculates the target from the selected reward/risk ratio. This makes the plan transferable across forex, metals, crypto, stocks and futures even when their price increments differ. A Fixed Ticks mode remains available for traders who intentionally use exchange tick distances on instruments such as futures. All values remain examples and must be adjusted for the instrument, timeframe and personal risk limits.
The tool is an indicator, not an automated strategy. It does not calculate position size, brokerage fees, commissions, spread or slippage, and it does not place orders.
HISTORICAL REVIEW
Historical plans and review statistics are optional and disabled by default.
The review panel counts completed target and stop outcomes visible in the loaded chart data and reports the net result in R-multiples. Replaced plans are excluded. If both the target and stop are touched within the same ordinary chart candle, the script records the stop first because the true intrabar sequence cannot be known from standard OHLC data.
Win rate is hidden until a minimum sample is available. These statistics are intended for chart review and configuration comparison only. They are not a full strategy backtest and should not be presented as expected future performance.
HOW TO USE
A simple workflow is:
1. Select Narrow, Medium or Wide rails according to the desired reaction speed.
2. Read the active rail colour to identify the current structural direction.
3. Use the Continue and Trend Change levels as the prices that would confirm the next structural event.
4. Treat reversal dots as preparation warnings only.
5. Use the quality label to inspect the participation and candle character of a confirmed trend change.
6. Check the multi-timeframe strip for broader alignment or conflict.
7. Enable the Break & Retest Plan when structured retest signals, ATR-adaptive or fixed-tick levels and review tools are required.
8. Adjust stop and target ticks for the traded symbol rather than assuming the defaults fit every market.
DEFAULT DISPLAY
The default view focuses on the rails, adaptive equilibrium, live decision levels, trend-change quality and multi-timeframe context.
Candle colouring, the trade-plan engine, historical plans and review statistics are optional so users can keep the chart clean and enable only the tools relevant to their workflow.
ALERTS
Alerts are provided for:
• Bullish and bearish continuation
• Bullish and bearish trend change
• Bullish and bearish reversal pressure
• Long and short break-and-retest entries
• Entries against the paired timeframe
• Replacement of an unresolved plan by an opposite valid setup
• Target hit
• Stop hit
Confirmed continuation, trend-change and retest-entry alerts are intended for candle-close use. Reversal-pressure warnings are intentionally earlier and should always be treated as unconfirmed until the relevant Trend Change level is closed through.
LIMITATIONS
Adaptive Trend Rails is a structure and planning tool, not a prediction engine.
Rail breaks can fail, strong breakout candles can reverse, and multi-timeframe alignment does not guarantee continuation. ATR-based distances expand and contract with recent volatility, while fixed-tick distances behave differently across instruments and feeds. Historical review results are displayed in R-multiples and depend on the loaded chart, selected settings and available OHLC data.
Users should combine the tool with their own risk management, market-session awareness and execution rules.
ORIGINAL CONTRIBUTION
The original purpose of this script is to turn one adaptive rail structure into a complete decision sequence:
current trend → live confirmation level → opposing-pressure warning → confirmed structural break → quality context → multi-timeframe comparison → delayed retest validation → risk-plan display → optional historical review.
Each component exists to explain or validate another part of that sequence. The script is therefore designed as one integrated framework rather than a mashup of independent indicators. Indicador

Indicador

Dynamic Buying and Selling Power (ADTM)
什么是 ADTM?
ADTM(Dynamic Buying and Selling Power Indicator,动态买卖气指标)是一种经典的动量与反转量化指标。它通过对比开盘价的跃升与下挫,精确量化开盘后多空双方的推进力度(即爆发力),并将这种力量对比归一化在 的固定区间内。
与传统单纯依赖收盘价(Close)的振荡指标不同,ADTM 更加关注 开盘价(Open)相对于前一交易日的位置以及当日极值(High/Low)的延伸空间 ,从而能够更敏锐地捕捉到市场资金的日内异动。
---
为什么使用它?
在波诡云谲的市场中,单纯的均线或 lagging 指标容易产生钝化。ADTM 的优势在于:
无量纲化区间:其输出被严格限制在 之间,避免了绝对数值对趋势研判的干扰。
日内真实动能:通过计算买方动态能量(DTM)和卖方动态能量(DBM),能够更早地在左侧识别出多空力量的衰竭点。
极佳的反转提示:特别适合配合超买超卖边界进行逆势(反转)波段的卡点操作。
---
怎么用?
本指标的使用逻辑非常直观,默认参数为经典配置: N = 23(求和周期),M = 8(信号均线周期)。
左侧买点(超卖区):
当蓝色 ADTM 曲线跌破 -0.5 时,意味着市场短期内空头宣泄极快,进入超卖状态。这通常是极佳的左侧分批布局或观察止跌反转的买点。
左侧风险(超买区):
当蓝色 ADTM 曲线突破 +0.5 时,意味着多头短期冲锋过急,进入超买状态。此时应防范多头力竭回撤,注意锁定利润或降低仓位。
中轴信号:
0轴为多空分界线。当 ADTM 在 0 轴上方运行时,多头占优;反之,空头占优。
均线交叉:
蓝色主线(ADTM)与橙色信号线(MA_ADTM)的黄金交叉与死亡交叉,可作为右侧动能确认的辅助信号。
---
在哪里用?
本指标采用纯粹的价格几何结构算法,具有极强的普适性:
适用市场:广泛适用于 A 股、美股、加密货币、商品期货以及外汇等主流交易市场。
适用周期:在日线(Daily)及以上大周期中表现尤为稳定,能够有效过滤盘整期的日内噪音;在小周期(如 1H/4H)中,配合趋势背景亦可用于日内波段捕捉。
---
原创与致谢声明
指标原创作者: 本指标的核心算法源自经典量化分析领域的经典设计。
脚本重构与发布: 由本人进行 Pine Script v6 的标准化重构、算法优化与开源发布。
风险提示: 任何技术指标都无法百分之百预测市场。建议将 ADTM 融入自身的交易系统中,结合量价结构、关键支撑阻力位以及严谨的资金管理共同使用。
---
What is ADTM?
ADTM (Dynamic Buying and Selling Power Indicator) is a classic momentum and reversal quantification tool. It precisely quantifies the offensive strength (i.e., explosive power) of both bulls and bears after the market opens by comparing the upward jumps and downward drops of the opening price, and normalizes this power comparison within a fixed range of .
Unlike traditional oscillators that rely solely on the closing price (Close), ADTM places greater emphasis on the opening price (Open) relative to the previous trading day's position, as well as the extension space of the day's extremes (High/Low) , enabling it to more keenly capture intraday anomalies in market capital flow.
---
Why Use It?
In volatile and unpredictable markets, simple moving averages or lagging indicators are prone to desensitization (flattening). The advantages of ADTM are:
Dimensionless interval: Its output is strictly confined within , eliminating the interference of absolute price levels on trend assessment.
Intraday true momentum: By calculating Dynamic Buying Momentum (DTM) and Dynamic Selling Momentum (DBM), it can identify exhaustion points of bullish/bearish power earlier on the left side.
Excellent reversal signals: Particularly well-suited for contrarian (reversal) swing trading by utilizing overbought/oversold boundaries.
---
How to Use It?
The usage logic of this indicator is highly intuitive, with default parameters set to the classic configuration: N = 23 (Summation Period), M = 8 (Signal MA Period).
Left-side Buy Signal (Oversold Zone):
When the blue ADTM line drops below -0.5, it indicates that bearish forces have been excessively unleashed in the short term, entering an oversold state. This is typically an excellent opportunity for left-side accumulation or observing for a bullish reversal.
Left-side Risk Signal (Overbought Zone):
When the blue ADTM line rises above +0.5, it indicates that bullish forces have pushed too aggressively in the short term, entering an overbought state. At this point, one should be cautious of bullish exhaustion and pullbacks, and consider locking in profits or reducing positions.
Zero-Line Signal:
The 0.0 axis serves as the bull-bear dividing line. When ADTM is above 0, bulls are in control; when below 0, bears are in control.
Moving Average Crossover:
The golden cross and death cross between the blue main line (ADTM) and the orange signal line (MA_ADTM) can serve as auxiliary signals for right-side momentum confirmation.
---
Where to Use It?
This indicator employs a pure geometric price-structure algorithm, offering strong universality:
Applicable Markets: Widely applicable to A-shares, U.S. stocks, cryptocurrencies, commodity futures, forex, and other major trading markets.
Applicable Timeframes: Performs particularly well on Daily and higher timeframes, effectively filtering out intraday noise during consolidation periods. On lower timeframes (e.g., 1H/4H), it can also be used for intraday swing trading when combined with the broader trend context.
---
Acknowledgments & Originality Statement
Original Author: The core algorithm of this indicator originates from classic designs in the field of quantitative analysis.
Script Re-engineering & Release: This script has been fully refactored, optimized, and released as open-source by myself.
Risk Disclaimer: No technical indicator can predict the market with 100% accuracy. It is strongly recommended to integrate ADTM into your own trading system, combining it with volume-price structure, key support/resistance levels, and strict risk management practices. Indicador

Luxara Break & Bounce Teaching View V27Luxara Break & Bounce Teaching View V27 is an educational TradingView indicator designed to help traders identify high-probability breakouts, pullbacks, and bounce opportunities using structured price action.
The script visually highlights key market behavior by identifying support and resistance levels, potential breakout zones, bounce confirmations, and trend direction to improve trade timing and decision-making.
Features
Dynamic support and resistance detection
Breakout identification
Bounce confirmation zones
Trend direction filtering
Clean visual chart overlays
Educational labels and signals
Designed for forex, indices, commodities, crypto, and stocks
Works across multiple timeframes
Purpose
This indicator is intended as a teaching and educational tool to help traders better understand market structure, price action, and disciplined trade execution. It does not guarantee profitable trades and should be used alongside sound risk management and personal market analysis.
Disclaimer
This script is provided for educational purposes only and should not be considered financial or investment advice. Trading involves substantial risk, and past performance does not guarantee future results. Users are responsible for their own trading decisions.
Developed by Luxara Gold
Helping traders build discipline through structure, consistency, and education. Indicador

Indicador

Indicador
