Coasyn Session AnchorCoasyn Session Anchor
Coasyn Session Anchor is an intraday session-reference tool for marking important FX trading-session events directly on the chart.
The indicator can track:
Tokyo Open
Tokyo Close
Europe Open
London Open
New York Open
New York Close
Each enabled event can create:
a vertical timing marker showing when the session event occurred
a horizontal price anchor extending from that event
an optional label identifying the session
The indicator does not generate trade signals, determine market direction, or execute orders.
Its purpose is to provide consistent session timing and price-reference levels.
How to use it
Open the indicator settings and first choose your Anchor Timezone.
The default is:
Etc/UTC
All session times entered in the indicator are interpreted using this timezone.
For each session event, you can:
Enable or disable the event.
Enter the event time using HH:MM format.
For example:
00:00
07:00
08:00
13:30
Session times
The default configuration is:
Tokyo Open — 00:00
Tokyo Close — 09:00
Europe Open — 07:00
London Open — 08:00
New York Open — 13:30
New York Close — 21:00
These times are fully editable.
If your preferred session definition, broker convention, daylight-saving adjustment, or operating timezone is different, change the values in the settings.
Horizontal anchor price
The Horizontal Anchor Price setting determines which price is used when a session event occurs.
Event Open
Uses the chart bar's opening price when the session anchor is detected.
Event Close
Uses the chart bar's closing price.
The resulting level extends to the right as a reference for later price interaction.
Vertical session markers
Enable:
Show Vertical Session Timing Lines
to draw a vertical line at each enabled session event.
This provides a visual reference for when major trading sessions begin or end.
Horizontal session levels
Enable:
Show Horizontal Anchor Levels
to extend the selected event price across the chart.
These levels can be used to observe how price behaves relative to prior session participation points.
The indicator does not assign bullish or bearish meaning to those levels.
Labels
Enable:
Show Anchor Labels
to identify each session directly on the chart.
Labels include:
TOKYO OPEN
TOKYO CLOSE
EUROPE OPEN
LONDON OPEN
NY OPEN
NY CLOSE
Historical anchors
By default, Keep Historical Anchors is disabled.
When disabled, each session event keeps only its most recent anchor.
For example, when the next London Open occurs, the previous London Open anchor is removed and replaced with the new one.
Enable Keep Historical Anchors if you want previous session anchors to remain visible.
Be aware that keeping large amounts of historical session data can create substantially more chart objects.
Display controls
The indicator allows you to configure:
session colors
line width
horizontal levels
vertical timing markers
labels
historical anchors
Each major session can use its own color so different session events remain easy to distinguish.
Example workflow
A trader operating during the London and New York sessions might enable:
Europe Open
London Open
New York Open
while disabling session events they do not use.
The chart will then maintain timing and price anchors for those specific events.
This makes it easier to observe whether price is trading:
above or below a session-opening reference
back through a prior session level
around the transition between trading sessions
The interpretation remains entirely with the trader.
Timeframe note
Coasyn Session Anchor is designed primarily for intraday charts.
The precision of an anchor depends on the chart timeframe.
On lower intraday timeframes, the bar containing the configured session time will generally provide a more precise representation of that event.
On larger chart intervals, one candle may span multiple session events, so the event price should be treated as a broader reference rather than an exact tick-level session price.
Important
Coasyn Session Anchor is an informational charting tool only.
It does not provide:
buy or sell signals
trade entries
targets
stop placement
position sizing
automated execution
directional recommendations
It provides time and price anchors around the session events selected by the user.
Built by Coasyn Market Systems. Indicador

Indicador

Trident Swing Projector [MarkitTick]💡 A structured swing-projection tool that automates Charles Lindsay's Trident quarter-swing method, turning a manual charting technique into a filtered, alert-ready framework for identifying retracement setups and projecting forward trade levels from a confirmed three-point swing structure.
✨ Originality and Utility
This script's value is not in reinventing pivot detection — left/right bar pivot confirmation is a known technique — but in the specific architecture built around it. The 25/50/75/100% level ladder projected from the retracement point follows the quarter-swing framework described by Charles Lindsay in his Trident work: a method of projecting Support/Resistance, Critical, and Equality points from a confirmed A-B-C swing. Everything surrounding that ladder — the pullback-depth gate, the dominant-trend filter, the ADX and higher-timeframe confluence layers, the configurable stop buffer, the armed-setup expiry, and the post-TP1 break-even handling — are MarkitTick design additions layered on top of Lindsay's original concept, not part of it.
The reason these pieces are combined rather than published separately is that a quarter-swing projection on its own is only as useful as the swing that produced it. A shallow, weak, or counter-trend retracement produces a projection ladder that is statistically less meaningful than one built from a decisive, trend-aligned impulse. The trend filter, pullback-depth window, ADX threshold, and HTF bias check all exist to answer one question before a projection is drawn: was this A-B leg significant enough to justify projecting from it? The trade-management layer (stop buffer, expiry, break-even) then exists to turn that projection into something that can be monitored and alerted on in real time, rather than only viewed as a static drawing. Each component is a gate or a consequence of the others; none of them functions as an independent indicator bolted on for its own sake.
The script is an indicator, not a strategy — it does not backtest or simulate equity. It identifies swing structures, projects levels from them, tracks whether those levels are subsequently reached, and reports all of this through a live dashboard and structured alert payloads.
🔬 Methodology and Concepts
● Confirmed Pivot Detection
Swing highs and lows are identified using a left/right bar-count pivot method: a candidate high or low is only confirmed once it has stood as the extreme point across both the bars to its left and the bars to its right, using the Pivot Left and Pivot Right settings. Because the check always references bars that have already closed, a pivot is never inferred from the currently forming bar — it is published exactly one bar after its right-side confirmation window completes. This is a deliberate implementation choice made to keep pivot detection non-repainting.
● The A-B-C Swing Structure
Once two consecutive confirmed pivots exist, the script watches for a third pivot that retraces into the prior leg:
Point A — the origin pivot (a confirmed swing low ahead of a bullish setup, or swing high ahead of a bearish one).
Point B — the impulse pivot that follows A, defining the A-B leg.
Point C — a new, opposing pivot that pulls back into the A-B leg by a percentage between the Min Pullback % and Max Pullback % settings (23.6–78.6% by default). Pullbacks shallower or deeper than this window are rejected and no setup is formed.
If the Trend Filter is enabled, the A-B leg must also break the previous confirmed swing extreme in the same direction (B must exceed the prior swing high for a bullish setup, or undercut the prior swing low for a bearish one) before a retracement at C is allowed to qualify. This restricts setups to legs that are extending the dominant swing rather than forming inside a range.
● Leg Measurement and Smoothing
The A-B leg is measured either in raw price points or as a percentage move, depending on the Swing Unit setting. Before that leg size is used to derive projection levels, it can optionally be passed through one of five smoothing methods — SMA, RMA, WMA, HMA, or VWMA — set by Signal Smoothing and Smoothing Length. The smoothing is applied as a ratio between the smoothed and raw leg size and multiplied into the current leg, so that projection distances are influenced by the recent typical swing size on the instrument rather than reacting entirely to the size of a single leg. With Signal Smoothing set to None, the raw leg size is used unmodified.
● Quarter-Swing Level Projection
From point C, four levels are projected using fixed fractions of the A-B leg, applied in the direction of the new setup:
25% of the leg → Entry level.
50% of the leg → TP1, labeled as the Critical level in Lindsay's terminology.
75% of the leg → TP2.
100% of the leg → TP3, the Equality target — a projected swing from C equal in size to the original A-B leg.
The Stop is placed at point C itself, with an optional buffer applied beyond it — either a fixed number of ticks or a fraction of the current ATR (ATR Length setting) — configured through Stop Buffer, Buffer Ticks, and Buffer ATR Fraction.
● Confluence Filters
Two independent filters can each block a setup from arming even after a valid A-B-C structure is found:
ADX Filter — requires the DMI-derived ADX value (ADX Length setting) to be at or above the ADX Threshold before a setup is allowed to arm, intended to avoid projecting swing levels during weak-trend, low directional-strength conditions.
HTF Confirmation — requests a higher timeframe's close (HTF Timeframe setting) and compares it against the prior higher-timeframe close to derive a simple directional bias. A setup is only allowed to arm if this bias agrees with the setup's direction. The higher-timeframe read uses a confirmed prior-bar close with lookahead correctly paired to that offset, so this filter does not draw on unconfirmed higher-timeframe data.
● Trade Management and State
Once a setup arms, it steps through a defined state sequence: Armed, Active (entry triggered), TP1 hit, TP2 hit, TP3 hit, Stopped, or Cancelled. Entry triggers when a confirmed close crosses the Entry level; a setup is cancelled if its Armed Expiry Bars limit is reached before entry, or if price closes back through point C first. If Stop to Breakeven after TP1 is enabled, the internally tracked stop moves to the entry price once TP1 is hit — this managed stop is reported in the dashboard and in alert payloads, but the stop line and label drawn on the chart intentionally remain at the original level, so the chart never displays a level implying a fill that did not actually occur at that price.
● Confirmation Lag Notice
Because pivot confirmation requires Pivot Right bars to elapse, and entry/cancellation logic checks a confirmed prior-bar close, every swing structure, entry trigger, and cancellation event appears with a built-in lag relative to the exact bar that produced it. This is a structural trade-off, not a defect: it is what keeps the A-B-C structure and its projected levels from repainting once drawn. Separately, TP1/TP2/TP3 target detection and the corresponding alerts monitor the current bar's high/low in real time rather than waiting for bar close, so a target can be marked and alerted as reached intrabar, before that bar has finished forming. This is standard behavior for real-time level-touch monitoring, but it means the exact moment a target fires can occur before the bar closes.
🎨 Visual Guide
A · B · C labels — small grey markers placed at the three confirmed pivots that define the active setup, drawn once the pattern is confirmed (so they sit slightly in the past relative to the bar that produced them).
Projected Leg — a dashed grey line running from point C forward to the TP3 price level, spanning a time distance matched to the original A-B leg's bar length. This shows the projection visually before price has necessarily reached it.
Entry line and label — a dashed blue line at the 25% projection level, labeled with the exact price.
Stop line and label — a solid line at point C (plus buffer, if configured), colored to match the Bearish color setting, labeled with the exact price. The label updates to show a hit confirmation and the resulting percentage move once the stop is reached, noting separately if the exit was a trend-failure stop or a break-even exit.
TP1 / TP2 / TP3 lines and labels — dashed lines at the 50/75/100% levels, each labeled with price and the resulting reward-to-risk multiple. Each label updates to show a hit confirmation and percentage move once reached.
BULL / BEAR entry marker — a small label placed at the bar where the Entry level is actually crossed, confirming the setup transitioned from Armed to Active.
Dashboard table — a live panel (toggled and positioned via the Dashboard settings) showing direction, state, entry/stop/managed-stop/target prices, reward-to-risk bars for each target, pullback depth, A-B swing size, bars since entry, HTF bias, ADX condition, and active smoothing method.
Non-standard chart warning — if the chart is displaying Heikin Ashi, Renko, Kagi, Point & Figure, Linebreak, or Range bars, a warning label appears directly on the chart, since projected price levels are not meaningful on synthetic bar types.
📖 How to Use
Wait for a confirmed A-B-C structure to complete. The A and B markers appear once a swing has formed, and the C marker (with entry/stop/target lines) appears only once a pullback within the configured percentage window is confirmed.
Treat the Entry line as the level the script is watching for a confirmed close through, not an instruction to enter immediately at C.
Use the Stop line as the invalidation level for the setup — a confirmed close back through point C cancels an armed setup outright.
Read TP1 (Critical), TP2, and TP3 (Equality) as sequential projection targets rather than a single expected outcome; the dashboard's reward-to-risk bars for each target update as price approaches or reaches them.
Check the HTF Bias and ADX rows in the dashboard if those filters are enabled, to understand why a structurally valid A-B-C pattern may not have armed.
Use the webhook alert payload's state and event fields to drive automation, rather than relying on price levels alone, since the payload also reports the managed (break-even) stop separately from the originally drawn stop.
⚙️ Inputs and Settings
● Core
Pivot Left / Pivot Right — bar counts required on each side of a swing point before it is confirmed as a pivot. Larger values produce fewer, more significant, and later-confirmed pivots.
Swing Unit — measures the A-B leg in raw price Points or as a Percent move, changing how leg size (and therefore all projected distances) is calculated.
● Filters
Trend Filter — requires the A-B leg to break the prior confirmed swing extreme in the setup's direction.
Min Pullback % / Max Pullback % — the acceptable retracement depth window for point C, as a percentage of the A-B leg.
HTF Confirmation / HTF Timeframe — requires a higher-timeframe directional bias to agree with the setup direction before arming.
ADX Filter / ADX Length / ADX Threshold — requires trend strength (via DMI/ADX) to clear a minimum threshold before arming.
Signal Smoothing / Smoothing Length — applies SMA, RMA, WMA, HMA, or VWMA smoothing to the leg magnitude used for projections.
● Trade Tools
Lock Signal — freezes the current signal and blocks any new setup from arming.
Stop Buffer / Buffer Ticks / Buffer ATR Fraction / ATR Length — adds extra distance beyond point C when placing the stop, either as a fixed tick count or a fraction of ATR.
Armed Expiry Bars — cancels an armed (not yet triggered) setup if the Entry level isn't closed through within this many bars.
Stop to Breakeven after TP1 — moves the internally tracked (managed) stop to entry once TP1 is hit, reported in the dashboard and alerts without moving the drawn stop line.
● Visuals and Dashboard
Trade Levels / A · B · C Markers / Projected Leg / Entry Markers — independent toggles for each chart element.
Keep Last N Setups — limits how many historical setups' drawings remain on the chart, to stay within drawing object limits.
Show Dashboard / Position — toggles and positions the live info panel.
● Alerts
Long / Short / Close Long / Close Short / Info Action strings — customizable text values inserted into the "action" field of the JSON alert payload, for direct use in webhook automation.
● Colors
Independent color controls for bullish/bearish/neutral tones, stop, entry, target, A·B·C markers, projected leg, label text, and dashboard header/body/text colors.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
The projection ladder at the core of this script is drawn from the Trident method associated with Charles Lindsay, a framework built around measuring a swing's magnitude and projecting proportional fractions of it forward from a retracement point to derive Support/Resistance, Critical, and Equality levels. The underlying premise is that markets frequently move in self-similar proportional legs, so a retracement of a known size can be used to project plausible forward extension distances — the 50% "Critical" level and the 100% "Equality" level (a projected move matching the original leg) are the two most emphasized points in that framework, reflected here in TP1 and TP3 respectively.
The pullback-depth window applied to point C (23.6–78.6% by default) situates the acceptable retracement zone within a range commonly associated with Fibonacci retracement theory, without asserting that Fibonacci ratios themselves drive the projection math — the projection ladder here is a fixed 25/50/75/100% division of the leg, independent of the retracement percentage that qualified point C.
The ADX/DMI filter is grounded in Welles Wilder's directional movement framework, which measures trend strength by comparing the smoothed magnitude of directional price movement to overall volatility; applying a minimum threshold is a common approach to excluding range-bound conditions from directional setups, though ADX is a lagging, smoothed measure and does not itself predict continuation.
The higher-timeframe bias filter reflects multi-timeframe confluence theory: the idea that a directional bias visible on a longer aggregation of price is a useful, if imperfect, filter for shorter-timeframe setups, since it reduces (but does not eliminate) the chance of trading against the prevailing higher-timeframe trend.
The leg-smoothing step applies standard moving-average theory (simple, exponential-family, weighted, Hull, and volume-weighted variants) not to price directly, but to the derived leg-size series, an approach intended to make projected distances reflect a instrument's typical recent swing amplitude rather than the idiosyncrasies of a single leg.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. We expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicador

Indicador

50% Retrace of Previous HTF Candles50% Retrace of Previous HTF Candles
This indicator plots the 50% midpoint of the most recently completed candle on five higher timeframes: Daily, 4-Hour, 1-Hour, 30-Minute, and 15-Minute.
Each level is drawn as a horizontal line that starts at the exact close of the previous higher-timeframe candle and ends a short distance after the current bar. A clear label sits to the right of each line so you can quickly see which timeframe it belongs to.
How it works
The script pulls the high and low of the last fully closed candle on each timeframe using request.security(), then calculates the simple midpoint: (High + Low) / 2. Because it only uses completed candles, the levels do not repaint.
Why these timeframes?
These five timeframes cover a useful range of market structure:
Daily – Captures the broader daily bias and key structural levels.
4H – Common intermediate timeframe used by many day and swing traders.
1H – Bridges higher timeframes with intraday price action.
30m & 15m – Provide finer, more responsive levels for shorter-term entries and exits.
Together they give a layered view of recent higher-timeframe midpoints without cluttering the chart with every possible timeframe.
Why this is useful
Many traders watch the midpoint of recent higher-timeframe candles as potential areas of interest. Price often reacts around these 50% levels — either finding support/resistance or treating them as mean-reversion reference points. Having multiple HTF midpoints visible at once gives useful context without constantly switching timeframes.
Customization
You can toggle each timeframe on or off independently, change the colors, adjust the line width and style, and modify the labels if you prefer different wording. Everything is controlled from the indicator settings.
Currently uses a coral color palette designed to stay visible on both light and dark charts.
Simple, clean, and focused on one practical concept. Indicador

Rob Hoffman IRB + MA Trend OVERVIEW
This indicator combines Rob Hoffman's Inventory Retracement Bar (IRB) setup with his moving average overlay set and "No-Trend Zone", and adds a trend gate so IRB signals only fire when the market is actually trending. The idea is simple: trade continuation in a clean trend, and stay out when price is chopping around the averages.
Everything runs on the price chart — no separate pane.
THE INVENTORY RETRACEMENT BAR (IRB)
An IRB is a bar that pushes against the prevailing trend and then closes back in a way that shows the counter-trend move is running out of steam.
- Long IRB: the bar's open AND close are both at least 45% below its high (a long upper wick in an uptrend).
- Short IRB: the bar's open AND close are both at least 45% above its low (a long lower wick in a downtrend).
IRB bars are marked with small triangles. The IRB itself is not the entry — it's the setup.
ENTRY TRIGGER
After an IRB forms, the indicator waits up to 20 bars (adjustable) for price to confirm:
- "Extreme high/low break" (default): entry when price breaks one tick beyond the IRB's high (long) or low (short). This is the classic rule.
- "Close past retracement level": an earlier, more aggressive entry that triggers when a bar closes back through the IRB's 45% retracement level.
If price instead breaks the opposite side of the IRB before triggering, the setup is cancelled. Confirmed entries are labeled "IRB L" / "IRB S".
IRBs with an unusually large range (more than 2x ATR by default) are ignored, since oversized retracement bars tend to fail more often.
MOVING AVERAGE OVERLAY
The full MA set is plotted for context:
- SMA 3 and 5 (fast speed lines)
- EMA 18 and 20 (primary trend lines — the 20 EMA is highlighted in gold)
- SMA 50, SMA 89, EMA 144, SMA 200 (longer-term trend lines)
The ribbon can be hidden if you only want the core lines.
NO-TREND ZONE
The blood-red cloud is the No-Trend Zone: a Keltner-style channel built from a 34-period EMA with a band of 0.45x the EMA-smoothed true range. When price is inside or hugging this zone, the market isn't trending and IRB signals are suppressed.
The band smoothing can be switched to RMA (Wilder ATR). If you want to match the original overlay set exactly, use length 35, multiplier 0.5, and RMA smoothing.
TREND GATE
An IRB only counts when all of these agree:
1. Price has closed outside the No-Trend Zone in the direction of the trade.
2. Price is on the correct side of the 20 EMA — or, optionally, still on the correct side of the 89 EMA anchor, so a deep pullback through the 20 doesn't cancel an otherwise healthy trend.
3. (Optional, on by default) No long IRBs below the 89 EMA anchor and no short IRBs above it.
The gate can be turned off to see every raw IRB bar shape regardless of trend.
Trend angle: Hoffman looks for the 20 EMA sloping at roughly 45 degrees. This is deliberately NOT coded — Pine Script has no access to the chart's pixel scale, so any "degrees" value would change with zoom and wouldn't match what you see. Judge the slope by eye.
TRAILING STOP REFERENCE
A yellow dotted line shows a reference stop: it starts at the IRB's low (long) or high (short) when an entry triggers, then trails at 1.5x ATR while the trend holds, and clears when hit or when the trend is lost. It's a visual guide only and does not manage any position.
ALERTS
Two alert conditions are available: "Hoffman IRB Long Entry" and "Hoffman IRB Short Entry". Signals on the live, unconfirmed bar can change until that bar closes, so "Once Per Bar Close" is recommended when creating alerts.
HOW TO USE IT
- Trade in the direction of the trigger labels only.
- When price is sitting in the red cloud, stand aside — that is the chop the zone exists to keep you out of.
- Look for a clearly sloping 20 EMA; flat averages mean weak continuation.
- Use the IRB's opposite extreme (or the trailing stop line) as a logical stop reference.
CREDITS
The Inventory Retracement Bar setup, the moving average overlay set, and the No-Trend Zone concept are Rob Hoffman's publicly taught methods. The overlay set was cross-referenced against UCSgears' open-source "Rob Hoffman - Overlay Set" script. This script is an independent implementation and is not affiliated with or endorsed by Rob Hoffman.
This indicator is for educational purposes and is not financial advice. Past signals do not guarantee future results.
Indicador

Smart Flow Imbalance [StrixEDGE]TRADINGVIEW CATEGORIES
1. Volume
2. Trend Analysis
3. Oscillators
SEARCH TAGS (9)
smart-flow-imbalance, overlay-signals, order-flow, volume, relative-volume, buying-selling-pressure, accumulation-distribution, momentum, market-structure
DESCRIPTION
StrixEDGE Smart Flow Imbalance is Engine #06 in the StrixEDGE indicator framework. It is a flow-focused market-state tool designed to identify changes in directional quality, liquidity behavior, volatility structure and confirmation strength without relying on a single conventional oscillator.
WHAT THIS INDICATOR IS DESIGNED TO DO
Blends persistent flow, displacement and range structure into a directional participation score.
Rather than treating one input as a complete signal, StrixEDGE combines the engine's dedicated core logic with an optional DNA layer. The final result is normalized into a 0–100 Strix Score so the same framework can be read consistently across different symbols and timeframes.
HOW TO READ THE STRIX SCORE
• Above 72: bullish state / long-side trigger zone.
• Below 28: bearish state / short-side trigger zone.
• Around 50: balanced or neutral state.
• A signal is generated on a transition into a trigger zone, not on every bar that remains inside it.
SIGNAL & POSITION FRAMEWORK
When a valid state transition is detected, the overlay version can create a structured trade plan containing:
• Entry
• DCA level
• TP1
• TP2
• TP3
• Stop Loss
Each projected level includes its percentage distance from Entry. When a level is reached, the same chart label is updated with a ✓ marker. TP and SL outcome tracking is mutually controlled so the dashboard does not report contradictory terminal results for the same setup.
PROFESSIONAL DASHBOARD
The built-in StrixEDGE dashboard summarizes the active market state in a compact TradingView table, including:
• Engine and category
• Strix Score and directional bias
• Signal / market regime
• Flow pressure and trend quality
• Relative volume and ATR volatility
• Structure / VWAP context
• Active position and signal age
• Entry, DCA, TP1, TP2, TP3 and SL
• Hit status for each projected level
COMBINATION PROFILE
• CORE BALANCE
• Active DNA modules: 3
• Lookback: 24
• Smoothing: 5
• Signal threshold: 72
ENGINE DNA
• Displacement Efficiency — Directional body displacement normalized by ATR and relative volume.
• Range Structure Balance — Maps close location inside rolling high/low structure to a signed state.
• Normalized Flow Acceleration — Smooths ATR-normalized return × relative volume to estimate directional flow.
MARKET / STYLE PROFILE
• Market focus: Crypto
• Intended style: Swing
• Core engine: #06 Smart Flow Imbalance
• Category: Flow
NON-REPAINT / DATA HANDLING
By default, signals require a confirmed chart-bar close. This reduces intrabar signal fluctuation and makes historical signal placement more stable.
ALERTS
The generated script includes alert conditions for:
• Long state shift
• Short state shift
• DCA reached
• TP1 reached
• TP2 reached
• TP3 reached
• Stop Loss reached
HOW I USE IT
StrixEDGE is designed as a market-state and trade-structure tool rather than a standalone prediction system. Stronger setups generally occur when the Strix Score, market regime, flow pressure, structure and volatility context agree instead of relying on the trigger alone.
LIMITATIONS
No indicator can predict future price movement with certainty. Signals can fail during sudden news events, illiquid conditions, gaps, abnormal volatility, regime transitions or unreliable volume. DCA, TP and SL levels are systematic projections derived from the active setup and should not be interpreted as guaranteed outcomes.
Users should validate the indicator on the symbol, exchange and timeframe they trade, and should apply independent position sizing and risk management. Historical behavior does not guarantee future performance.
ORIGINALITY
StrixEDGE Engine #06 is built from generic price, volume, volatility, structure and confirmed-context primitives arranged in a dedicated engine formula and optional DNA layer. It is not intended to reproduce or rename a specific community indicator.
DISCLAIMER
For research and educational purposes only. This indicator is not financial advice and does not guarantee profitability. Indicador

Adaptive Hurst Cycle Engine [SpokoStocks]Adaptive Hurst Cycle Engine measures the cycles that are actually present in price, reads where the market sits inside each of them right now, projects the combined cycle forward, and scores its own cycle lows against real price lows so you can see on the chart how well it is doing. Nothing is drawn with hindsight and nothing moves once it is on the chart.
WHAT YOU SEE ON THE PRICE CHART
• A cycle-model line: price with the noise removed and the measured cycles kept. Where it hugs price, the cycles explain the movement; where it drifts, they do not.
• A dashed projected path continuing that model forward from the last bar, built from the current amplitude and phase of each cycle.
• Bars coloured by cycle position, from teal at a trough through violet to crimson at a peak.
• Composite lows scored after the fact: a teal triangle where the composite low landed on a real price low, a small grey triangle where it missed. The dashboard reports the hit rate on the chart you are looking at.
WHAT YOU SEE IN THE PANE
• The composite cycle, the sum of the measured components, with a two-tone fill.
• A diamond at each composite low, placed one bar after the turn and never moved.
• A dashed projection of the composite with the next projected low labelled.
• A background shade when two or more cycles are near a trough at the same time.
• The individual components can be switched on behind a toggle.
DASHBOARD
For each cycle: measured period, spectral power, whether it is rising or falling, and the bar count and date of its next low. Below that: the dominant period, how many cycles are synchronised near a trough, the projected composite low, and the low-accuracy score.
HOW IT WORKS
1. A roofing filter, a high-pass at the longest period and a super-smoother at the shortest, isolates the band in which cycles can exist. Both filters are from John Ehlers' published work.
2. An autocorrelation periodogram, also after Ehlers, measures spectral power for every period in the range on every bar and smooths it over time, so the spectrum reflects persistent cycles rather than single swings. Power is normalised so 100% is the strongest period seen recently.
3. The cycle set is either the strongest spectral peaks above your minimum power (Measured peaks) or Hurst's nominal model built from the dominant period in 2:1 ratios (Harmonic set). Periods are smoothed to prevent jitter. If no peak clears the threshold, the dominant period is used so the chart is never empty.
4. Each cycle is extracted with a band-pass filter tuned to its period. The output and its quadrature give the phase, which tells the script how many bars remain to the next low and peak, and the amplitude.
5. The composite is the sum of the components, Hurst's principle of summation. The projection extends each component as a cosine from its current phase and amplitude and adds them; on the price chart the same projection is placed on top of the trend with its recent slope.
6. Accuracy scoring: when the composite turns up, the previous bar is a composite low. Once the bars on both sides are known, that bar's low is compared with the lowest low of the surrounding window. A match within a quarter of an ATR is a hit. Hits and total are accumulated and shown as a percentage.
HOW TO USE IT
• Check the hit rate first. It tells you, on this symbol and timeframe, how often the composite lows have coincided with price lows.
• Read spectral power per cycle. Below about 50% a cycle is weak on this chart and its dates deserve less weight.
• The next-low column is the working forecast for each cycle; the composite low is where they combine, and the confluence shade marks the windows Hurst's model treats as the most important lows.
• Use the projected path as an expectation, and the bar colours to see at a glance which side of the cycle the market is on.
NON-REPAINTING AND LAG
All filters are recursive and use only closed bars. Composite-low diamonds are confirmed one bar after the turn and fixed. The projection is a forecast redrawn only forward of the current bar. Every causal cycle filter carries a delay of one to two bars; the phase readout and the projection exist to give notice of a low before it happens rather than to remove that delay. The hit and miss triangles are the one deliberately delayed element: they are a scorecard drawn once the surrounding window has closed, not a live signal.
LIMITATIONS
• The spectrum needs roughly twice the longest period of history to settle; the first bars on a chart are unreliable.
• Dates in the dashboard count chart bars and ignore weekends and closed sessions.
• Cycles change; a projection is only as good as the persistence of the cycles behind it.
• The hit rate is descriptive, not a guarantee, and depends on the accuracy window you set.
The roofing filter and autocorrelation periodogram follow John Ehlers, Cycle Analytics for Traders (2013). The cycle-set selection, phase-based low forecasts, composite projection on price, phase colouring and on-chart accuracy scoring are original to this script. Indicador

Smart Money Concepts [AxeAlgo]Overview
- Smart Money Concepts is a clean, non-repainting indicator designed for traders who want to identify institutional market structure without clutter.
The indicator visualizes where smart money is likely to defend, attack, and accumulate positions by displaying order blocks, fair value gaps, liquidity pools, and premium/discount dealing ranges on your chart.
What It Shows
Market Structure (CHoCH and BOS)Identifies when the market changes direction (Change of Character) and when new directional commitment breaks prior structure (Break of Structure). Each signal confirms only after a specified number of bars, ensuring no repainting.
Order BlocksHighlights the price zones where the last aggressive institutional movement originated. These are areas where smart money entered positions and often acts as support or resistance on subsequent pullbacks.
Fair Value GapsDetects imbalances between candlesticks (gaps not filled by wicks). The indicator marks these zones because institutions often return to fill them as price moves away.
Liquidity PoolsAutomatically identifies clusters of equal highs and equal lows where retail traders typically set stop losses. The indicator marks when price breaks through these pools (institutional sweeps).
Premium and DiscountDisplays whether price is trading above (premium) or below (discount) the 50% equilibrium level between the most recent swing high and low. Extreme premium or discount often precedes reversals.
How to Use It
Enable individual components using the dashboard toggles: Show Structure, Show Order Blocks, Show Fair Value Gaps, Show Liquidity Pools, Show Premium/Discount.
Turn on the dashboard to see your current swing bias, internal structure direction, and range position at a glance.
Auto-Tune automatically scales all sensitivity parameters based on your chart timeframe. Turn it off if you prefer manual tuning.
Use Simple Mode to display only swing structure without internal noise for a cleaner chart.
Key Settings
Confirmation Bars: How many bars confirm a pivot before a structure signal fires. Higher values filter out false signals but add lag. Default is 2.
Min Displacement: The minimum price movement (in ATR multiples) required for a structure signal to register. Default is 1.0 ATR.
Zone Sizing: Controls the minimum and maximum height of order blocks and FVGs. Adjust to filter noise or capture smaller opportunities.
P/D Lookback: How many bars back to scan for the swing high and low that define your premium/discount range.
Dashboard Position and Size: Choose where the info table appears and how large you want it.
Colors: Customize bullish, bearish, and gap colors to match your chart theme.
What This Indicator Is For
Smart Money Concepts is intended for traders who want to visually identify institutional order flow patterns and understand where smart money accumulates and distributes. It helps you:
Spot areas where institutions likely accumulated or distributed (order blocks and FVGs)
Recognize when price is overextended and vulnerable to reversal (premium/discount extremes)
Distinguish real structural breaks from noise during choppy consolidation
Plan entries and stops around levels where smart money defends
How It Works
The indicator uses pivot-point analysis to identify swing highs and lows, then marks the price zones where directional movement originated (order blocks). Fair value gaps are detected using standard three-candle imbalance logic. Liquidity pools are identified by clustering equal price levels within a configurable tolerance.
All signals confirm only on closed bars. Zones never repaint, but they shrink or change state as price action develops.
Limitations
The indicator shows 5 active zones at a time to keep your chart clean. If multiple institutional structures are forming simultaneously, older zones will age out. This is by design to prioritize the most recent price action.
This indicator identifies structural levels and patterns. It does not predict price direction or guaranteed support/resistance. Use it as one component of a complete trading plan, not as a standalone signal.
Fair value gaps and order blocks are useful but not infallible. Price may skip through them or reverse before reaching them.
Important Disclaimer
This indicator is for educational and analytical purposes only. It does not provide financial advice, and past performance does not guarantee future results. Trading involves risk of loss. Always use proper risk management, stop losses, and position sizing. Never risk more than you can afford to lose.
The accuracy and effectiveness of this indicator depends on your market conditions, timeframe, and trading methodology. Results vary by trader and asset class.
Indicador

Moving Average Crossover Signal
Moving Average Crossover Signal
This is a customizable multi-symbol, multi-timeframe indicator that provides a compact visual signal based on the relationship between two user-defined moving averages. It is designed to function as a simple “red light” or “green light” for the current trend, allowing moving average conditions to be monitored without displaying the moving averages themselves. The signal can also track a ticker different from the active chart symbol, making it possible to monitor another market without keeping that ticker’s chart open.
The indicator calculates two independently configurable moving averages on a selected ticker and timeframe, then displays a persistent signal icon in a user-selected area of the chart. Instead of plotting historical crossover markers or moving average lines, it provides a clean at-a-glance indication of whether the configured MA condition is currently active.
Signal Logic
Two signal modes are available:
Crossover Only — the signal is active while Moving Average 1 is above Moving Average 2.
Crossover + Both MAs Sloping Up — the signal is active only while Moving Average 1 is above Moving Average 2 and both moving averages are rising over the selected slope lookback period.
The signal icon uses independently configurable colors for active, inactive, and unavailable-data conditions.
Ticker and Timeframe Selection
The signal can be calculated from a ticker that is different from the symbol currently displayed on the chart. Leaving the ticker input blank uses the active chart symbol.
A separate Signal Timeframe input allows the moving averages and signal logic to be calculated using a timeframe independent of the chart timeframe. Leaving the timeframe set to the chart interval uses the current chart timeframe.
This makes it possible, for example, to monitor a daily moving average condition while viewing an intraday chart, or to monitor one symbol's higher timeframe trend while analyzing another symbol.
Moving Average Configuration
Both moving averages can be configured independently with:
SMA
EMA
WMA
RMA
HMA
The slope-filtered mode also includes a configurable lookback period that determines whether each moving average is considered to be rising.
Signal Display
The on-chart signal is designed to remain compact and unobtrusive. Display options include:
Multiple signal icon styles
Active, inactive, and no-data colors
Automatic display of the selected ticker
Custom text that can override the ticker label
Signal icon before or after the display text
Independent icon and text sizes
Nine standard chart locations
Additional spacer rows above or below the signal for finer vertical positioning
Customizable panel background, including full transparency
The indicator does not plot the moving averages themselves, keeping the chart free of additional lines.
Alerts
A TradingView alert condition is included for the actual bullish moving average crossover event.
When Crossover + Both MAs Sloping Up is selected, the crossover must also occur while both moving averages satisfy the selected upward-slope condition.
This keeps the persistent visual signal separate from the crossover event: the icon shows the current state of the configured condition, while the alert identifies the point at which a qualifying crossover occurs.
Usage and Limitations
For the most reliable results, use a Signal Timeframe that is the same as or higher than the chart timeframe.
Lower timeframe selections may not capture every crossover that occurs between chart bars, so signals can be missed.
Higher timeframe signals may also change while that candle is still forming, so they should be considered provisional until the selected timeframe closes. Indicador

Trend Pullback GuardTrend Pullback Guard
A trend has started. Does its next pullback stabilize — or lose its structure?
Trend Pullback Guard follows pullbacks through a defined sequence: detection, stabilization, continuation confirmation, or invalidation. It combines an EMA trend regime with frozen structure levels, volatility-normalized pullback depth and candle-overlap measurements.
The same rules work in both directions. Everything is included in one overlay indicator.
QUICK VISUAL GUIDE
• Blue line: Fast EMA; gray line: Slow EMA.
• Small blue dot: A pullback has been detected.
• Subtle green/red zone: The developing long/short pullback range.
• Red level: Frozen structure boundary.
• Amber level: Confirmation threshold after stabilization.
• Green upward/red downward triangle: Long/short continuation conditions confirmed.
• Red cross: A close broke the frozen structure boundary.
• Gray square: The trend regime was lost or the observation window ended.
The dashboard distinguishes an active episode's LAST CLOSE from frozen LAST EPISODE values. The structure and confirmation levels describe the rules; they are not suggested order prices.
1 — ESTABLISH THE TREND
Default settings use a 21-period EMA and a 55-period EMA.
For a long regime, the fast EMA must be above the slow EMA and the slow EMA must be above its value three bars earlier. Short conditions are reversed.
Before a pullback can begin, a confirmed impulse bar must lie entirely beyond the fast EMA's 0.25 ATR touch band and close in the trend direction relative to the previous close. This arms the monitor. A new episode requires a new qualifying impulse after the previous episode ends.
2 — DETECT AND FREEZE THE REFERENCE
A long pullback begins when a later bar reaches the fast EMA's upper touch band and closes below the previous close. Short detection uses the lower band and a higher close.
At detection, the script freezes:
• ATR from the previous bar, using a 14-period ATR by default.
• The lowest low of the preceding 10 bars minus 0.1 frozen ATR for long structure; the highest high plus that buffer for short structure.
• The preceding 10-bar high for long pullback depth, or low for short depth.
The detection bar is excluded from these historical reference windows. No pivot that needs future bars is used. The structure boundary remains fixed throughout the episode.
3 — WAIT FOR STABILIZATION
By default, two consecutive bars must avoid lowering the previous bar's low for a long setup, or raising its high for a short setup.
The confirmation level is then frozen at the highest high of those two stabilization bars plus 0.1 frozen ATR for longs. Shorts use their lowest low minus the buffer.
A new adverse extreme of the monitored pullback resets stabilization and removes the old trigger. The script must establish a new one. A bar that makes a new adverse extreme cannot also confirm continuation.
4 — APPLY THE GUARD
Confirmation requires a LATER bar to close strictly beyond the frozen trigger and on the trend side of the fast EMA. The original trend regime must still hold, and both guard limits must pass:
• Maximum pullback depth: 3.0 frozen ATR by default. Depth measures the move from the pre-detection reference extreme to the worst pullback extreme observed so far.
• Maximum mean candle overlap: 70% by default. Each sample is the intersection of two consecutive high-low ranges divided by the smaller range. Samples are averaged from detection through the current bar; a zero-range candle counts as 100% overlap.
TOO DEEP and HIGH OVERLAP explain why confirmation is blocked. These are rule thresholds, not estimated probabilities. High overlap can later decline; the maximum observed depth cannot shrink within an episode.
HOW AN EPISODE ENDS
• STRUCTURE BROKEN: The close moves strictly beyond the frozen structure boundary against the setup. A wick alone is insufficient.
• TREND LOST: The EMA regime no longer supports the monitored direction.
• CONTINUATION CONFIRMED: A later close passes the trigger, trend and guard requirements.
• WINDOW ENDED: No confirmation within 12 bars after detection by default.
Structure failure takes priority over other outcomes, followed by loss of the trend regime. An otherwise valid confirmation on the final allowed bar takes priority over timeout. Only one episode is active at a time.
ILLUSTRATIVE LONG EXAMPLE
Suppose the pre-pullback high is 104 and the frozen ATR is 2. A pullback low at 100 represents a depth of 2 ATR.
After two qualifying stabilization bars, their highest high is 102.50. With the default buffer, the confirmation level is 102.70.
A later close above 102.70 confirms only if the EMA regime remains bullish, the close is above the fast EMA, and the depth and overlap limits still pass. A wick above 102.70 does not confirm. A new pullback low on that bar resets the trigger instead.
This example illustrates the rules; it is not a historical trade or a return claim.
DASHBOARD AND ALERTS
The compact dashboard shows status, direction, bars since detection, depth in frozen ATR units, mean overlap, guard status, structure and confirmation levels.
The Confirmed / broken / other counters describe events in the loaded chart history. Other combines trend loss and timeout. These counts are not trading win rates; confirmed events are not followed to a profit target or stop.
Seven alert conditions are provided: pullback detected, stabilization, long confirmation, short confirmation, structure broken, trend lost and observation window ended. Stabilization can alert again if a new adverse extreme resets the setup. Create the desired alerts separately in TradingView.
USAGE AND LIMITATIONS
Use standard candles with a fast EMA length smaller than the slow EMA length. Long-only, short-only and both-direction modes are available. All calculations use the chart's symbol and timeframe; there is no external indicator dependency or higher-timeframe data request.
Event states and markers update only at confirmed bar closes and are never shifted backward. EMA lines can move while a live bar is forming. Changes to settings, available history or historical prices can change the resulting events.
This is a descriptive technical-analysis tool, not an automated trading strategy. Confirmation describes the specified conditions at that close; it does not guarantee that the trend will continue. No profitability or superior performance has been established. Indicador

FIA Trend + Momentum 20/50/200## FIA Trend + Momentum 20/50/200
The **FIA Trend + Momentum 20/50/200** indicator combines long-term trend structure with momentum analysis and multi-timeframe confirmation.
It is designed to make market direction easier to identify visually while also filtering potential setups through RSI, MACD and Higher Timeframe confirmation.
### EMA Trend Structure
The indicator uses three Exponential Moving Averages:
EMA 20 for the short-term trend
EMA 50 for the medium-term trend
EMA 200 for the long-term trend
The background changes automatically depending on the EMA structure.
**Green**
EMA 20 > EMA 50 > EMA 200
Clearly bullish trend structure.
**Blue**
EMA 20 < EMA 50 while EMA 50 > EMA 200
Short-term weakness within a broader bullish trend.
**Orange**
EMA 20 > EMA 50 while EMA 50 < EMA 200
Short-term strength while the broader trend has not yet turned fully bullish.
**Red**
EMA 20 < EMA 50 < EMA 200
Clearly bearish trend structure.
The background colors are based only on the EMA structure. RSI, MACD and Higher Timeframe confirmation do not change the background color.
### RSI
The indicator uses a classic RSI calculation with a default length of 14.
RSI above 50 supports bullish momentum.
RSI below 50 supports bearish momentum.
The indicator also checks whether RSI is currently rising or falling, which is used as additional confirmation for pullback setups.
### MACD
The indicator uses the classic MACD settings:
Fast Length: 12
Slow Length: 26
Signal Length: 9
The MACD is used to evaluate:
Bullish or bearish momentum
MACD signal-line crossovers
Increasing or decreasing histogram momentum
### Higher Timeframe Confirmation
A selectable Higher Timeframe filter is included.
The indicator calculates the EMA 20/50/200 structure on the selected Higher Timeframe and checks whether the broader trend confirms the current setup.
This filter can be enabled or disabled in the settings.
### Setup Score
The indicator uses a scoring system with a maximum of 6 points.
EMA trend structure: 2 points
RSI confirmation: 1 point
MACD confirmation: 1 point
MACD momentum: 1 point
Higher Timeframe trend: 1 point
The minimum score required for a valid setup can be adjusted in the settings.
The default minimum score is 5 out of 6.
### Pullback Logic
The indicator also searches for potential pullbacks within established trends.
A bullish pullback requires a bullish EMA structure, a retracement toward the EMA 20, a close back above the EMA 20, rising RSI and bullish MACD confirmation.
The bearish logic works in the opposite direction.
### BUY and SELL Signals
A BUY or SELL label is only generated when several conditions align.
A **BUY signal** requires a sufficiently strong bullish setup score and either:
a confirmed bullish pullback
or
a bullish MACD crossover.
A **SELL signal** requires a sufficiently strong bearish setup score and either:
a confirmed bearish pullback
or
a bearish MACD crossover.
Signals are only marked when the condition appears for the first time, helping to avoid repeated labels on consecutive candles.
The signals are intended as confirmation tools and should not be interpreted as automatic trading instructions.
### Alerts
Built-in alerts are available for:
EMA 20/50 bullish crossover
EMA 20/50 bearish crossover
EMA 50/200 Golden Cross
EMA 50/200 Death Cross
FIA BUY setup
FIA SELL setup
### Important
This indicator is designed as a **trend and momentum analysis tool**.
It combines:
**EMA = trend direction**
**RSI = momentum strength**
**MACD = momentum direction and change**
**Higher Timeframe = broader trend confirmation**
It should not be used as a standalone trading system.
Always consider price action, support and resistance levels, volatility, market structure and appropriate risk management before making trading decisions.
For educational purposes only.
**Not financial advice.**
Indicador

Swing Liquidity Targets (BSL/SSL)Swing Liquidity Targets (BSL/SSL) marks confirmed swing highs as buy-side liquidity (BSL) and swing lows as sell-side liquidity (SSL), each as a line extending forward from the swing.
HOW IT WORKS:
A target is marked swept the moment price wicks through it. The line freezes there and turns gray. Rather than leaving every old swing on the chart forever, unswept targets expire after a set number of calendar days, so the same setting behaves the same whether you're on a 5 minute chart or a daily one, and when two same-side targets land close together, only the one nearer to price is kept instead of stacking duplicate lines on top of each other.
NON-REPAINTING:
pivots confirm after the bars set in Right Bars, and lines don't move once drawn.
USAGE:
treat the lines as context for where price may be drawn to next, not as a standalone entry signal. Combine with your own structure and confirmation.
LIMITATIONS:
like any pivot-based tool, the most recent swing won't show a target until Right Bars bars have closed after it, so very recent price action may look "missing" for a short while. That's what keeps it non-repainting rather than a bug.
WHAT YOU CAN CHANGE:
-> Left/Right Bars, pivot sensitivity for swing detection
-> Max Target Length (days), how long an unswept target stays active before it stops extending
-> Cluster Tolerance (x ATR), how close two same-side targets need to be before the weaker one is dropped
-> Show BSL / Show SSL, turn either side off completely
-> Line Style, dotted, dashed, or solid
-> Line Width
-> BSL / SSL / Swept colors
-> Show BSL/SSL Labels toggle
I hope this is of use to you! Let me know if you like it. Indicador

$ - Boxes +$ – Boxes +
A higher timeframe candle tool that outlines each HTF candle directly on your lower timeframe chart. Instead of flipping between timeframes, you can see the range, body and midpoint of the 1H, 4H or daily candle while executing on the 1m or 5m. The previous candle's high and low can also be carried forward as live levels, making it easy to frame reversals and continuations off the last HTF range.
HTF Candle Boxes
Time Interval – choose any higher timeframe to outline (1H by default).
Number of Boxes – show the last 1, 2 or 3 completed HTF candles, or Show All for the full chart history.
Box styling – adjustable border width, style (solid / dashed / dotted) and colour.
Current HTF Candle
The HTF candle still in progress is projected across its full time period, so you can see exactly where it will close. The box expands in real time as new highs and lows print, and the body updates with the live close.
Body & Midline
Include Body – draws the open-to-close body inside each box, coloured bullish or bearish, so each HTF candle reads the same as it would on its own timeframe.
Show MidLine – marks the 50% level of each candle's range, useful for framing premium and discount within the candle.
Line Settings
Hide Side Lines – removes the vertical edges, leaving the high and low as clean horizontal levels. Required for the options below.
Extend Lines to Current Candle – carries the previous HTF candle's high and low forward to price, stopping each line at the candle that closes through it.
Extend Lines 10 Candles Ahead – projects the previous high and low 10 bars past the current candle, keeping the levels visible in the space ahead of price. Takes priority over Extend to Current.
Draw Lines from Exact Candle – starts each high and low line from the exact lower timeframe bar that printed it, rather than the start of the HTF candle.
Range Labels
Show H/L Range Pips – displays each HTF candle's high-to-low range above its box.
Show O/C Pips – adds the body size and the percentage of the range the body makes up, e.g. 12.4 / 30.1 = 41%.
Values are measured in pips on forex pairs and in price points on all other markets.
Box Fill Colours
Separate fill colours for bullish and bearish HTF candles. Fills are transparent by default, so boxes show as outlines only until a colour is chosen.
How to Use
Apply to a chart on a lower timeframe than the one set in Time Interval. For example, set the interval to 1H and view a 5m chart to see each hourly candle outlined over its 5m bars. Indicador

Entry TerminalEntry Terminal — Market Structure, FVG & Liquidity Suite
Entry Terminal is a multi-component market structure and execution framework. It combines confirmed structure shifts, liquidity levels, rejected blocks, FVG/IFVG zones, Fibonacci projections, ATR boundaries, higher-timeframe reference levels, and contextual momentum data.
Main Features
Confirmed CHoCH and directional BOS structure detection.
Live BLVL candidates classified as Trend Continuation or Potential CHoCH.
Bullish and bearish Rejected Block detection using wick percentage and ATR filters.
Rejected Block retest tracking.
FVG, Breaker and IFVG detection with configurable mitigation rules.
FVG overlap filtering, midpoint visualization, raids, and directional filtering.
Structured execution sequence:
CHoCH → Rejected Block → RB Retest → BOS/FVG → Final FVG Retest
Optional BUY/SELL labels after the complete sequence.
Previous-regime HH/LL liquidity targets.
Optional 0.5 ATR target zones above HH and below LL.
Two-pivot liquidity trend lines with confirmed break markers.
CHoCH-based ATR High/Low boundaries.
ATR boundary breaks classified as MATCH or COUNTER relative to the CHoCH direction.
CHoCH-based one-way ATR trailing line.
Fibonacci Entry Box, reaction zones, and dynamic expansion zones.
Selected higher-timeframe Opening Price.
Previous HTF High/Low lines originating from their exact wick candles.
HTF levels freeze when first touched.
Dashboard with:
USDT Dominance correlation and structure
Risk-On/Risk-Off context
DI+ and DI−
ADX
Momentum
Elder Force Index
Optional VWAP, SMA, EMA, and WMA overlays.
Individual and combined alerts for major events.
Suggested Entry Workflow
Long Setup
Wait for a confirmed bullish CHoCH.
Observe whether the ATR High breaks with a MATCH result.
Wait for a bullish Rejected Block to form and receive a valid retest.
Require a bullish BOS and bullish FVG association.
Consider entry when price returns to the final bullish FVG and the indicator prints BUY.
Use the Entry Box, HTF opening price, USDT.D context, and dashboard readings as additional context—not mandatory signals.
Short Setup
Wait for a confirmed bearish CHoCH.
Observe whether the ATR Low breaks with a MATCH result.
Wait for a bearish Rejected Block to form and receive a valid retest.
Require a bearish BOS and bearish FVG association.
Consider entry when price returns to the final bearish FVG and the indicator prints SELL.
Evaluate the HTF opening price, PH/PL levels, USDT.D structure, and dashboard conditions before execution.
Risk and Target Framework
Potential invalidation may be placed beyond the Rejected Block, final FVG, or relevant swing.
Potential targets include HH/LL liquidity, ATR target boxes, HTF previous levels, and Fibonacci reaction zones.
Position size should be calculated from the invalidation distance.
Avoid risking a fixed position size without accounting for volatility.
Dashboard values are contextual and should not be treated as mandatory filters.
Important Behavior
Pivot-based structures require right-side confirmation and therefore appear after the pivot is confirmed.
Primary structural events and execution signals are confirmed on closed bars.
This is an indicator, not an automated strategy, and it does not place or manage orders.
Users should independently test all settings for their symbol, timeframe, fees, and execution conditions.
Disclaimer
This script is provided for educational and informational purposes only. It does not constitute financial, investment, or trading advice. No indicator can predict market movements or eliminate the risk of loss. Even high-quality setups may fail or be stopped out. Always perform your own research, use appropriate risk management, and consult a qualified financial professional where necessary. The author assumes no responsibility for trading decisions, losses, or damages resulting from the use of this script. Indicador

Market Stress RadarMarket Stress Radar
Which assets withstand a market selloff — and which recover first?
Market Stress Radar compares an asset with a selected benchmark during defined market stress episodes. It tracks their losses from a shared reference date, their recovery times, and whether initial relative strength turns into weakness.
READING THE CHART
• Green line: Asset return from its own pre-stress closing price.
• Blue line: Benchmark return from its own pre-stress closing price.
• Zero line: Each instrument’s respective reference price.
• Orange shading: Stress detection day.
• Green triangle: First asset recovery after detection.
• Orange triangle: Delayed relative weakness.
• Gray square: Observation window ended.
Both return lines use the same reference date. They appear during monitored episodes and remain blank between episodes.
HOW STRESS IS DETECTED
By default, the radar examines the benchmark’s three-day return.
A stress episode starts when the decline reaches the larger of:
• A minimum drop of 3%.
• 1.5 × pre-window ATR percentage × √3, using a 20-day ATR.
The volatility measurement comes from before the decline window. This is a scaling rule, not a statistical confidence level.
Detection requires a fresh transition into stress and a confirmed daily close. Only one episode is monitored at a time; additional triggers during that episode are ignored.
RECOVERY: FIRST TOUCH AND EPISODE COMPLETION
The reference prices are frozen at the closing prices immediately before the measured decline window.
D0 is the detection day. An instrument first recovers when it closes at or above its own frozen reference price. A value already above that price on D0 is recorded as D+0.
First recovery does not mean permanent recovery. An asset can recover and subsequently fall back below its reference.
The episode ends when:
• Both instruments close at or above their respective reference prices on the same day; or
• The observation limit is reached — 30 daily bars after detection by default.
Missing or misaligned data ends the episode separately. Elapsed days refer to daily chart bars, which are trading sessions for stocks.
ILLUSTRATIVE EXAMPLE
Suppose BTC falls 8% over the detection window while the chart coin falls 3%.
The coin initially leads BTC by 5 percentage points.
If the coin returns to its own reference price four daily bars after detection, its first recovery is recorded as D+4. If BTC remains below its reference, monitoring continues.
If either instrument never recovers within the observation window, that recovery remains NOT OBSERVED. A timeout is not counted as a successful recovery.
This is a hypothetical example, not a backtest result.
DELAYED RELATIVE WEAKNESS
An initially resilient asset can lose its advantage.
With the default settings, the radar issues one warning per episode when:
• The asset initially leads its benchmark by at least 0.5 percentage points; and
• Its lead later falls to −0.5 percentage points or below.
WEAKNESS OBSERVED records that this happened during the episode. It does not necessarily mean the asset is still underperforming; the latest returns and relative lead show the current relationship.
COMPACT DASHBOARD
The dashboard shows:
• Episode status.
• Asset and benchmark returns.
• First recovery day, or OPEN / NOT OBSERVED.
• Initial and latest relative lead.
• Detection date, elapsed daily bars and reference date.
• Counts of jointly recovered episodes, timeouts and data gaps.
After an episode ends, LAST EPISODE identifies the frozen final values. These are not current returns or trading win rates.
The dashboard can be placed in five positions.
SETUP
Use standard 1D candles.
Automatic benchmark selection:
• Crypto: BINANCE:BTCUSDT.
• USD stocks: AMEX:SPY.
A custom benchmark can also be selected. Use instruments with matching daily sessions and comparable quote currencies. No currency conversion is performed.
ALERTS
Six alert conditions are available:
• New market stress.
• First asset recovery.
• Late relative weakness.
• Both instruments recovered.
• Observation window ended.
• Data gap stopped the episode.
Configure alerts separately in TradingView.
METHOD AND LIMITATIONS
Calculations and event signals use confirmed daily closes. Markers are not backdated to the earlier reference date.
Results depend on the selected instruments, settings and available history. Historical data corrections can change results. Price returns account for splits but exclude dividend income.
Market Stress Radar is a descriptive analysis tool. It does not place trades, predict guaranteed recoveries or establish a profitable trading strategy. Indicador

PDH PDL + Key Levels# PDH PDL + Key Levels
A single indicator for the horizontal levels that actually matter intraday: previous day, week and month extremes, custom session highs and lows, and the New York open — with lines that stop where price consumed them instead of running across the whole chart.
## What it plots
**Previous period extremes**
PDH / PDL, PWH / PWL, PMH / PML. Each line is anchored at the bar that printed the extreme and extends to the right, so you see both where the level was made and how far it has travelled untouched.
**Session highs and lows**
Three independent, fully configurable sessions (defaults: New York, Asia, London). While a session is open its high and low develop live and are never cut. Once the session closes they freeze and become eligible for consumption like any other level.
**NY Open**
A fixed reference at 09:30 America/New_York. The price used is the close of the 09:29 one-minute candle, requested from a 1-minute context with lookahead off — it appears only once that candle has closed, so the level never repaints. The timezone is IANA, so daylight saving is handled automatically. Intraday timeframes only.
## Cut when consumed
The core behaviour. A level stops being drawn the moment price reaches it:
- A high acts as resistance and is consumed by any candle whose **high** reaches it — gaps up included.
- A low acts as support and is consumed by any candle whose **low** reaches it — gaps down included.
- The NY Open can be approached from either side, so it is consumed by a candle that straddles it or by a gap that jumps clean through it.
The result is a chart where a long horizontal line means genuinely untested, and a short stub means the level was taken out early. Consumption checks only start after the level's own period begins, so a fresh PDH is never cut by the day that created it. Turn the behaviour off and every line simply extends to the current bar.
## Coincident levels merge
When two or more levels land on the same price — within one tick — they fold into a single line with a combined label, for example `PDH + NY-H`. Hierarchy runs monthly, weekly, daily, sessions, NY open, and the surviving line keeps the **latest** endpoint of the group, so a level that is still alive never inherits an older level's cut.
## Settings
**General** — toggle cut-on-touch, toggle merging, show or hide all labels, label size.
**Line style** — style and width for the previous-period extremes.
**Colors** — separate colors for highs and lows, plus a master override that paints everything one color without erasing your palette underneath. Switch it off and your own colors come straight back.
**Levels** — individual toggles for PDH, PDL, PWH, PWL, PMH, PML. Monthly extremes are off by default.
**NY Open** — enable, label text, color, style, width. The time is not configurable by design.
**Session 1 / 2 / 3** — enable, label prefix, hours, timezone, color, style, width. Timezones accept GMT notation (`GMT-5`) or an IANA name (`America/New_York`); IANA is recommended because it survives daylight saving.
## How to use it
Mark your session before the open: untouched PDH and PDL are the most obvious draws on liquidity for the day, and the ones still extended after several sessions tend to be the ones price eventually goes to fetch. Session extremes give you the boundaries of the Asian and London ranges going into New York. The NY Open acts as the intraday mean many algorithmic systems reference — price reclaiming or rejecting it in the first hour is frequently the cleanest read of the session's direction.
Because a consumed level disappears, what remains on screen is the set of unresolved objectives, which keeps the chart readable without manual cleanup.
## Notes and limitations
- Levels are redrawn on the last bar only. The indicator shows the current state of the chart, not a historical record of every level that ever existed. It is a live map, not a backtest.
- The NY Open needs a 09:29 one-minute candle to exist. On a chart restricted to regular trading hours that begins at 09:30, that candle is absent and the level will not print. Use an extended-hours chart for futures.
- Sessions are evaluated on the chart's own bars, so a window narrower than your timeframe may never trigger. Keep session ranges wider than a single bar.
- Line and label counts are capped at 500 each, which is well above anything this indicator produces.
No alerts, no signals, no repainting. Just the levels. Indicador

Quantum Trend Runtime - MTF Price Action [TrendRuntime]Quantum Trend Runtime — MTF Price Action
A multi-timeframe price-action engine built around percentage movement, impulse, rejection, volatility, market activity and confirmed structure.
Quantum Trend Runtime (QTR) was created around the way I personally analyze crypto markets.
Instead of depending primarily on traditional oscillators such as RSI or MACD, QTR focuses directly on price behavior:
How much has price moved?
Is that move significant for this market?
Is momentum continuing?
Is price rejecting the move?
Are multiple timeframes confirming the same idea?
Is the market active enough to trade at all?
QTR combines those questions into one visual runtime.
Recommended Timeframe
QTR is designed primarily around the:
2H chart
With the default configuration, the indicator analyzes three confirmed timeframes:
2H — Fast runtime
3H — Core runtime
4H — Slow runtime
The 3H timeframe receives the strongest weighting inside the QTR directional model.
Why Percentage Movement Matters
A market moving 0.30% is not behaving the same way as a market that has already moved 5%, 10%, 15% or more.
QTR therefore gives percentage expansion a central role.
For example, after a substantial bullish move, a strong bearish reaction can carry much more information than the same bearish candle appearing inside a flat market.
QTR measures both:
the latest confirmed candle movement;
the directional move that happened before it.
This allows the engine to identify both continuation and rejection environments.
QTR Market States
Each analyzed timeframe can display one of the following states:
BULL IMPULSE — Strong bullish expansion with continuation characteristics.
BEAR IMPULSE — Strong bearish expansion with continuation characteristics.
BULL REJECTION — Bullish reaction following meaningful downside movement.
BEAR REJECTION — Bearish reaction following meaningful upside movement.
NEUTRAL — The market is active, but no strong directional event is confirmed.
QUIET — Current movement is below QTR's activity requirements.
QTR is intentionally not designed to produce signals constantly.
Sometimes the most useful output is:
QUIET MARKET
In that environment, the indicator is effectively saying that the current contract may not offer enough movement to justify attention.
Adaptive Impulse Engine
QTR does not use one fixed percentage to decide whether a candle is significant.
Instead, it measures the normal absolute candle movement of the market and creates an adaptive impulse threshold.
Conceptually:
Adaptive Impulse =
max(
Minimum Impulse %,
Average Absolute Candle Body %
+ Multiplier × Body Dispersion
)
This allows QTR to adapt to markets with very different volatility profiles.
The dashboard displays this relationship through the IMPULSE multiple.
Examples:
0.70x = below the adaptive impulse threshold
1.00x = reaches the current impulse threshold
1.50x = 1.5 times the adaptive threshold
2.00x = approximately twice the normal impulse requirement
Prior Move
The dashboard's PRIOR% value measures the directional movement that occurred before the latest confirmed reaction.
This matters because context changes the meaning of a candle.
A bearish reaction after a +1% move is not necessarily equivalent to a bearish reaction after a +15% expansion.
Trend%
TREND% measures confirmed directional movement across the selected trend lookback.
It provides broader context around the immediate impulse or rejection signal.
Multi-Timeframe Direction
QTR combines the default timeframes using the following weighting:
2H = 25%
3H = 50%
4H = 25%
The core 3H runtime intentionally receives the greatest influence.
A normal opportunity generally requires agreement between multiple timeframes.
A strong confirmed rejection can optionally qualify independently when the remaining timeframes are not opposing it.
QTR Score
The directional score ranges approximately from:
-100 = strong bearish runtime
0 = neutral
+100 = strong bullish runtime
The score incorporates factors such as:
percentage candle movement;
adaptive impulse magnitude;
body efficiency;
directional closing strength;
rejection structure.
The QTR Score is a model output.
It is not a guaranteed probability of a successful trade.
Setup Quality
QTR also displays a quality grade.
The quality model considers:
directional score strength;
agreement between the 2H, 3H and 4H runtimes;
how many timeframes are currently active.
Possible grades include:
A+
A
B
C
LOW
Higher quality means the internal QTR components are agreeing more strongly.
It does not represent a guaranteed win rate.
Long and Short Opportunities
The main runtime can identify:
LONG OPPORTUNITY
or
SHORT OPPORTUNITY
These states mean that QTR has identified a directional environment worth evaluating.
They should not be interpreted as blind market orders.
The trader should still evaluate execution, liquidity, position sizing and personal risk tolerance.
QTR Projection
QTR includes a forward scenario engine.
When sufficient directional information is available, the indicator projects a potential price path across the next three core-timeframe intervals.
With the default 3H core timeframe:
T+1 ≈ 3 hours
T+2 ≈ 6 hours
T+3 ≈ 9 hours
The projection combines:
QTR directional score;
confirmed multi-timeframe trend;
recent percentage movement;
adaptive impulse magnitude;
impulse / rejection state;
momentum persistence.
Important: The QTR Projection is not an entry price.
If QTR displays:
SHORT OPPORTUNITY
QTR PROJECTION: -5.4%
this means the current runtime favors a bearish continuation scenario approximately toward that projected movement.
It does not mean that the trader should wait until the projected level is reached and then enter short.
The intended interpretation is:
OPPORTUNITY
↓
TRADE DECISION / EXECUTION
↓
RISK MANAGEMENT
↓
TARGET / QTR PROJECTION
Projection Corridor
The violet projection lines around the main QTR path represent a wider movement scenario.
The corridor responds to current volatility and QTR directional strength.
These levels are visual scenario estimates.
They are not statistically certified confidence intervals.
Trade Planning
When QTR identifies an opportunity, the indicator can display several planning references:
REF PRICE — Current price used as the planning reference.
INVALID — Structural invalidation beyond the confirmed core-timeframe candle.
1.25R — Reference target calculated from the selected reward/risk multiple.
RISK% — Distance between the reference price and invalidation.
TYPE — Whether the opportunity is primarily impulse- or rejection-driven.
The default reference reward/risk is:
1.25R
This value can be changed in the indicator settings.
REF PRICE is not an automatic entry signal.
It is provided to make the current risk structure easier to evaluate visually.
Percent Levels
QTR also includes customizable percentage levels around a confirmed anchor price.
Default levels are:
±4%
±7%
±15%
±25%
These levels reflect the percentage-based philosophy behind QTR and help visualize how far price has expanded from a known reference.
They should not be interpreted as guaranteed support or resistance.
Dashboard
The QTR dashboard is designed to summarize the market without requiring the trader to interpret multiple separate indicators.
For each timeframe it displays:
STATE — Current impulse, rejection, neutral or quiet classification.
CH% — Confirmed candle-body percentage change.
PRIOR% — Directional movement preceding the analyzed candle.
TREND% — Broader confirmed directional movement.
IMPULSE — Candle magnitude relative to its adaptive impulse threshold.
The lower part of the dashboard displays:
QTR projected direction;
T+1 / T+2 / T+3 projected prices;
projected percentage move;
current market activity;
trade-planning references;
current QTR action.
Market Activity
QTR also evaluates whether the market is currently worth watching.
Possible environments include:
QUIET
MODERATE
ACTIVE
HIGH
EXTREME
The objective is simple:
avoid forcing trades when the market is barely moving.
Confirmed Higher-Timeframe Data
QTR's multi-timeframe classifications are built from completed higher-timeframe candles.
The indicator intentionally avoids using unfinished future higher-timeframe candles for historical classifications.
This means confirmed signals can appear later than systems that use developing HTF candles, but the goal is to provide more consistent historical and live behavior.
The QTR Projection itself is a live scenario and can therefore change as current market price changes.
Alerts
QTR includes alert conditions for:
QTR Long Opportunity
QTR Short Opportunity
QTR High-Quality Long
QTR High-Quality Short
QTR Quiet Market
These alerts can help traders monitor multiple markets without keeping every chart open continuously.
How I Use QTR
My own workflow is focused on markets that are actually moving.
I generally look for:
Meaningful percentage expansion.
An active market rather than low-volatility price action.
Strong impulse or rejection behavior.
Agreement between the 2H, 3H and 4H runtimes.
A trade structure with acceptable reward relative to risk.
When the market is quiet, I would rather scan another contract than force a setup.
What QTR Is Not
QTR is not:
a guaranteed trading system;
a guaranteed price predictor;
a replacement for risk management;
a promise of future profitability;
a quantum-computing model.
Quantum Trend Runtime is the name of the TrendRuntime methodology and indicator.
The word "Quantum" is branding and does not imply that the Pine Script performs quantum computation.
Risk Disclaimer
Trading cryptocurrencies, perpetual futures and leveraged products involves substantial risk.
QTR provides quantitative price-action analysis, market classification and visual decision support only.
Any signal, projected path, target, score or market classification can fail.
Past performance does not guarantee future results.
Always determine position size, leverage, invalidation and maximum acceptable loss independently.
Built by Rudy — TrendRuntime
TrendRuntime
trendruntime.app
TradingView
www.tradingview.com
Indicador

Double U Strategy with Webhook AlertsDouble U Strategy with Webhook Alerts
Double U Strategy is a trend-following strategy built around two independent ATR-based engines, one for long entries and one for short entries. The idea comes from the ATR trailing-stop approach commonly associated with UT Bot, but Double U uses a different implementation and trading structure. The reason for separating the two sides is simple: bullish and bearish moves often behave differently, so forcing both directions to use exactly the same ATR settings is not always useful.
The long and short engines each have their own sensitivity and ATR period. A long entry can occur when price crosses above the long ATR trail while remaining above the trend EMA, while a short entry can occur when price crosses below the short ATR trail while remaining below the same EMA. The EMA is therefore used as a regime filter rather than as an entry signal by itself.
The strategy also supports pyramiding. If another valid signal appears while a position in the same direction is already open, the strategy can add to that position until the pyramiding limit is reached. The default limit is three entries, but this can be changed from the Strategy Properties.
Exits use a separate mechanism instead of simply waiting for the ATR engine to reverse. The script compares the current close with the close a configurable number of bars earlier and counts consecutive moves in the same direction. Once the required sequence is reached, the current position is closed. This keeps entry and exit logic independent: ATR behavior decides when to enter, while the sequence logic decides when an extended move has progressed far enough to exit.
The default configuration was selected as a practical starting point for testing rather than as a claim of universal optimization. The current setup uses a long-term EMA filter together with different ATR settings for long and short trades, reflecting the asymmetric design of the strategy. Results can change significantly between instruments and timeframes, so the parameters should be tested rather than treated as fixed recommendations.
Webhook alerts
Webhook support is built directly into the strategy. Entry and exit orders generate structured alert messages automatically, so there is no need to manually create separate JSON messages for buys, sells, or closes.
When creating a TradingView strategy alert, the Message field should contain only:
{{strategy.order.alert_message}}
The strategy includes a platform selector and an optional symbol override. If the symbol field is left empty, the chart ticker is sent in the webhook message. If an external execution system requires a different symbol, the required ticker can be entered directly. This is useful not only for crypto, but also for futures, forex, indices, metals, or any case where the TradingView symbol differs from the execution symbol.
For example, a strategy can run on a continuous futures chart while the webhook sends the currently tradable contract instead. The trading logic remains attached to the chart, while the execution symbol can be changed without modifying the Pine code.
Statistics
A compact statistics table is displayed on the chart to make parameter testing faster. It shows net profit, number of closed trades, win rate, profit factor, test period, pessimistic profit factor, maximum intratrade drawdown, and Sharpe ratio.
The drawdown value in this table is intentionally different from TradingView's portfolio-level maximum drawdown. It shows the largest adverse movement experienced inside any closed trade, which makes it useful when comparing parameter combinations and estimating how much floating loss a trade may have experienced before closing.
The Sharpe ratio is calculated from monthly equity returns using a 2% annual risk-free rate and is annualized from monthly observations.
Backtesting notes
The strategy uses 10% of equity as the default order size, allows up to three pyramided entries, processes orders on bar close, and includes 15 ticks of slippage by default. Commission is not hard-coded because the script can be tested on instruments with very different pricing models. Users should set commission, margin, slippage, and other Strategy Properties according to the broker, exchange, and instrument they actually intend to trade.
Historical results are hypothetical and depend on the selected market, timeframe, data source, execution assumptions, and parameters. The purpose of Double U Strategy is to provide a transparent strategy that can be backtested, adjusted, and connected to webhook-based execution, not to predict future performance. Estratégia

Indicador

Rejection Radar PRO Hariss 369Detect potential price rejection before a trend move loses momentum.
Rejection Radar PRO is a price-action based indicator designed to identify potential exit and reversal zones by combining confirmed support/resistance pivots, rejection candles, ATR-based rejection zones, and a higher-timeframe KAMA trend filter.
Instead of reacting to every candle, the indicator focuses on where price is being rejected.
🔥 Key Features
• HTF KAMA Trend Filter
Uses a higher-timeframe KAMA to provide directional context and help filter rejection signals against the broader trend.
• Confirmed Support & Resistance
Uses confirmed pivot highs and pivot lows to establish important potential rejection areas.
• Dynamic Rejection Zones
ATR-based zones create a flexible area around support and resistance rather than relying on a single exact price.
• Wick-Based Rejection Detection
Detects candles showing significant upper or lower wick rejection relative to candle body size.
• Optional Engulfing Rejection
Can additionally recognize bullish and bearish engulfing structures as rejection signals.
• Candle-Close Confirmation
Optional close confirmation helps reduce signals from candles that have not yet completed.
• Visual Rejection Markers
Clear rejection markers identify potential bearish rejection at resistance and bullish rejection at support.
• Exit Signals
Designed primarily as an exit/profit-protection tool:
Bearish rejection near resistance → potential LONG exit warning
Bullish rejection near support → potential SHORT exit warning
• Alerts
Create TradingView alerts when confirmed rejection conditions occur.
🧠 How It Works
The indicator combines:
HTF Trend → Confirmed Pivot → Rejection Zone → Candle Structure → Rejection Signal
A rejection signal is not simply generated because price touches support or resistance. Price must also demonstrate a rejection structure through the candle's wick/body relationship or optional engulfing pattern.
📊 Best Use
This indicator can be used alongside a separate trend-following entry system.
For example:
LONG
→ Enter using your primary trend-following system
→ Hold while the trend remains intact
→ Watch resistance/rejection zones
→ Bearish rejection can act as an early profit-protection or exit warning
SHORT
→ Enter using your primary trend-following system
→ Hold while the trend remains intact
→ Watch support/rejection zones
→ Bullish rejection can act as an early profit-protection or exit warning
It is particularly useful for traders who want to avoid exiting solely because of a small pullback or a single opposite candle.
⚙️ Customization
The indicator allows customization of:
• HTF timeframe
• KAMA length, fast and slow parameters
• Pivot sensitivity
• ATR zone width
• Wick/body rejection ratio
• Candle close-location threshold
• Engulfing rejection
• Candle-close confirmation
• Zone and pivot visibility
• Rejection markers
• Exit labels
⚠️ Important
This is a decision-support indicator, not a standalone trading system.
A rejection signal does not guarantee a reversal. Price can temporarily reject a level and subsequently break through it. Always consider market structure, volatility, liquidity, position size, and your predefined risk-management rules.
Backtest and forward-test the indicator on your specific instrument and timeframe before using it with real capital.
**DISCLAIMER**
Rejection Radar PRO is provided for educational and informational purposes only. It is not financial, investment, or trading advice and does not constitute a recommendation to buy or sell any security, futures contract, option, cryptocurrency, or other financial instrument.
Trading involves substantial risk, and past performance or historical signals do not guarantee future results. Rejection signals may fail, particularly during strong breakouts, high-volatility events, news releases, or rapidly changing market conditions.
Users are solely responsible for their trading decisions, risk management, position sizing, and financial outcomes.
Always conduct your own research, backtesting, and forward testing before using this indicator with real money.
Indicador

Trend Deviation Channel (Zeiierman)█ Overview
Trend Deviation Channel (Zeiierman) is an adaptive trend channel designed to measure the prevailing trend and how far price is displaced from its expected trend path.
The channel is built around five main components:
• Trend Baseline = the expected price path derived from the regression trend
• Deviation Rails = +1D, +2D, +3D and -1D, -2D, -3D levels around the trend
• Trend State = bullish, bearish, or neutral classification of the center trendline
• Deviation Profile = a rolling distribution showing where price has historically spent time relative to the trend
• Deviation Events = confirmed 2D and 3D Expansion and Re-entry events highlighting significant movement through the outer channel structure
A reading of -2D means price is approximately two normalized downside deviations below trend.
A reading beyond +3D or -3D represents a major displacement from the expected trend path and is classified as Dislocated .
█ How It Works
⚪ Trend Model
The indicator builds a regression trend from completed historical bars and projects that structure forward.
The current candle does not pull the trend toward itself while its deviation is being measured, helping preserve a cleaner reading of how far price has moved from the established trend.
re = ta.linreg(src , len, 0)
rp = ta.linreg(src , len, 1)
slope = re - rp
⚪ Trend State
The center 0 TREND line identifies the current environment as:
• Up Trend
• Down Trend
• Neutral
Trend direction is based on regression slope strength relative to ATR.
Separate Trend Enter Strength and Trend Exit Strength thresholds help prevent the trend state from constantly switching during borderline conditions.
⚪ Deviation Structure
Price displacement is measured relative to the projected trend rather than a horizontal average.
• ±1D = Stretch
• ±2D = Extreme
• ±3D = Dislocated
residual = price - trend
deviation = residual >= 0 ? residual / upperDev : residual / lowerDev
Price near 0D is trading close to trend equilibrium.
As price reaches 1D, 2D, and 3D , displacement from the expected trend path becomes progressively more significant.
⚪ Deviation Profile
The profile beside the channel shows where price has historically spent the most time in deviation space , rather than price space.
For example, readings such as +0.4D, +1.2D, -0.7D, and -2.1D are grouped together to reveal the distribution of trend-relative displacement.
Wider areas show deviation zones visited more often, while thinner areas show less common displacement.
⚪ Expansion & Re-entry
Expansion events identify confirmed transitions into more extended deviation regions.
exp2 = barstate.isconfirmed and ta.crossover(z, d2)
exp3 = barstate.isconfirmed and ta.crossover(z, d3)
2D Expansion indicates price has moved into an extreme displacement.
3D Expansion indicates price has moved into the outer Dislocated region.
A Re-entry occurs when price later crosses back inside the corresponding deviation boundary.
These events can help identify:
• accelerating extension
• sustained displacement
• failed expansion
• movement back toward trend equilibrium
█ How to Use
Trend Deviation Channel can be used for Trend Identification, Trend Pullbacks, Dislocation Analysis, Mean Reversion, and Deviation Profile Analysis.
⚪ Trend Identification
The centerline provides the directional framework of the indicator.
• Bullish centerline = active uptrend
• Bearish centerline = active downtrend
• Neutral centerline = insufficient directional strength
⚪ Trend Pullbacks
During an established uptrend, price can be evaluated by how deeply it pulls below the center trendline.
• 0D to -1D = normal movement around trend
• -1D to -2D = meaningful pullback from trend
• -2D to -3D = extreme downside displacement
• Below -3D = dislocation from the prevailing trend structure
The opposite interpretation can be applied during downtrends.
A deviation level should not automatically be treated as support, resistance, or a reversal point. Instead, it provides a standardized measurement of how far price has moved from its expected trend path.
⚪ Dislocation Analysis
A 3D move marks an unusually large deviation from the existing trend.
When price reaches 3D against a prolonged trend , it can signal that momentum has shifted strongly enough for a larger trend change to be developing.
The key is not the 3D touch itself, but whether price can hold the displacement or continue through it .
⚪ Mean Reversion
Price often reacts or temporarily bounces when reaching the outer 2D and 3D deviation bands .
These areas represent strong extension, so traders can watch for temporary pullbacks or mean-reversion moves when price reaches them.
A touch alone is not a reversal signal, but it highlights an area where a reaction may become more likely.
⚪ Deviation Profile Analysis
The Deviation Profile shows where price has spent the most time relative to the trend .
Wider areas represent deviation zones visited more frequently, while thinner areas represent less common displacement.
• A profile weighted toward the lower deviation bands can suggest persistent downside pressure and stronger seller control.
• A profile weighted toward the upper deviation bands can suggest persistent upside pressure and stronger buyer control.
A balanced profile around 0D suggests price is spending more time near trend equilibrium.
█ Settings
Source: Selects the price series used to construct the trend model and calculate deviation. Close is used by default.
Trend Length: Controls how much historical data is used to estimate the regression trend. Higher values create a smoother, slower channel. Lower values react faster.
Trend Enter Strength: Controls how much directional strength is required before the center trendline enters an Up or Down state.
Trend Exit Strength: Controls how weak an established trend must become before returning to Neutral.
Deviation Shape: Asymmetric estimates separate upside and downside deviation scales. Symmetric uses one shared scale for both sides.
Residual Shock Cap (ATR): Limits how much an unusually large historical movement can influence the deviation width.
Minimum Deviation Width (ATR): Prevents the deviation rails from becoming too narrow during low-volatility conditions.
Minimum One-Side Samples: Controls how many observations are required before an independent upside or downside deviation estimate is used.
Deviation 1: Controls the first deviation rail and separates the Core region from Stretch behavior.
Deviation 2: Controls the second deviation rail and the threshold used for 2D Expansion and Re-entry events.
Deviation 3: Controls the outer deviation rail and the threshold used for 3D Expansion and Re-entry events.
Stretch Memory: Controls how slowly persistent displacement beyond the first deviation rail fades from the internal stretch state.
Show Rail Labels: Shows or hides the +1D, +2D, +3D, 0 TREND, -1D, -2D, and -3D labels.
Show Current Deviation: Shows or hides the live label displaying the current normalized deviation and displacement zone.
Show 2D Expansion: Shows or hides confirmed 2D Expansion markers.
Show 2D Re-entry: Shows or hides confirmed 2D Re-entry markers.
Show 3D Expansion: Shows or hides confirmed 3D Expansion markers.
Show 3D Re-entry: Shows or hides confirmed 3D Re-entry markers.
Up Trend: Controls the center trendline color during an active uptrend.
Down Trend: Controls the center trendline color during an active downtrend.
Neutral Trend: Controls the center trendline color when no active directional trend is detected.
Upper Deviation: Controls the color of positive deviation rails, upper channel areas, profile bins, and upside events.
Lower Deviation: Controls the color of negative deviation rails, lower channel areas, profile bins, and downside events.
Show Deviation Profile: Shows or hides the rolling trend-relative Deviation Profile.
Bins: Controls the number of buckets used to construct the Deviation Profile.
Profile Range (D): Controls the positive and negative deviation range displayed by the profile.
Profile Gap: Controls the horizontal distance between the projected channel and the Deviation Profile.
Profile Max Width: Controls the maximum width of the most populated profile area.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Indicador

Indicador
