Composite Liquidity Flow: five-asset weighted flow with RSI confWHAT IT DOES
One histogram that answers "where is the WHOLE market's money leaning?" It estimates buy and sell pressure across five instruments at once — index futures, their ETFs, and an inverse hedge ETF with its logic flipped — weights them, smooths them, and prints the net as a z-scored delta histogram with an RSI confluence layer on top.
HOW IT WORKS
- Per-asset pressure from candle structure (body and wick attribution), priced in dollars, weighted per your inputs.
- The inverse-hedge leg counts its buying as market selling — hedging demand is information.
- Z-score normalization keeps the scale readable across quiet and wild days; a session filter mutes overnight ETF noise.
- Divergences require three consecutive bars of opposing flow plus optional RSI confirmation, with a cooldown so they stay rare.
- Confluence arrows print only when flow direction, flow acceleration, and RSI agree — and a live dashboard scores it all.
HOW TO USE IT
Built for intraday index trading (5m default tuning). Green above zero and accelerating with RSI supportive = the composite tape agrees with your long. The divergence markers are warnings, not entries.
WHAT IT CAN'T DO
All of it is estimated from OHLCV — a well-built proxy, not tick data. The composite describes the index complex; it says nothing about your single stock.
SETTINGS
Five symbols and weights, smoothing and normalization, RSI confluence, divergence strictness, session filter, full display toggles.
Open source. Free. The whole market's lean, one pane. Indicateur

Daily Sweep Pro: liquidity raid, AMD filter & FVG entriesWHAT IT DOES
A full top-down liquidity playbook on one chart. It reads daily structure for bias (higher highs and higher lows = longs only; the reverse = shorts only), waits for a liquidity pool to get raided against that bias — intraday swings, the Asian range, premarket levels, or the opposing prior-day level — then demands a fair value gap in the trend direction before arming an entry at the gap, with the sweep extreme as the stop and the prior-day level as the target.
HOW IT WORKS
- Bias: daily pivots, evaluated on confirmed bars only.
- The AMD filter (on by default) requires the trap to happen on the wrong side of the weekly open — the classic Judas swing. Turn it off for more, lower-quality setups.
- Every armed setup passes a minimum reward:risk check, and a daily circuit breaker stops new setups after your max entries per day.
- A status table narrates the state machine live: bias, current state, levels, and a timeframe check.
- Signals and drawings fire on closed bars — no repaint. Staged alerts cover raid, FVG confirmation, entry, target, and stop.
HOW TO USE IT
Built for 1H and below during the New York session (sessions are configurable). Let the table tell you where you are in the sequence; the labels mark each stage on the chart.
WHAT IT CAN'T DO
It follows one playbook, strictly. On days without a clean raid-and-gap sequence it will do nothing at all — that is the design, not a malfunction. It also can't know the news; the circuit breaker is your friend on event days.
SETTINGS
Daily pivot strength, session windows, which liquidity pools are eligible, FVG size and entry style, minimum R:R, max entries per day, and full display toggles.
Open source. Free. If it keeps you out of one chase a week, that's the job. Indicateur

Break & Volume: breakout bars with volume contextWHAT IT DOES
The simplest useful question, answered on every bar: did price just break the recent high or low, and did volume show up for it? Break bars are painted green or red, a small label prints the volume ratio versus its average, and the broken level stays on the chart as a dashed line until price revisits it.
HOW IT WORKS
- A break = close beyond the highest high or lowest low of the previous N bars (default 5).
- Volume context = current volume against a 20-bar average; 1.5x and up is the spike zone.
- Breaks confirm on bar close by default — no repaint, no intrabar flicker.
- Broken levels persist as reference lines and clear themselves once revisited, so the chart self-cleans.
HOW TO USE IT
Any symbol, any timeframe. A break on 2x volume and a break on 0.6x volume are different animals; this makes the difference visible at a glance. Pairs naturally with structure tools or the pattern colorer.
WHAT IT CAN'T DO
It measures the break, not the follow-through. Low-volume breaks fail often — that is precisely what the label is there to warn you about.
SETTINGS
Lookback bars, volume average length, level lines, volume labels, label size, confirm-on-close.
Open source. Free. One glance, two facts, no clutter. Indicateur

Denies Kresna Zigzag 4This indicator is a simplified version inspired by the ZigZag Plus algorithm, designed to focus only on the features that matter most: ZigZag swing detection and Support & Resistance levels.
All non-essential components such as volume analysis, alerts, labels, bar coloring, and candle markers have been removed to provide a clean and lightweight charting experience.
Features
Automatic ZigZag swing detection
Dynamic Support and Resistance levels
Lightweight implementation for better performance
Clean chart with no unnecessary visual clutter
How it Works
The indicator identifies swing highs and swing lows using the original trend-switching logic. Every confirmed swing creates a new support or resistance level:
Swing High → Resistance
Swing Low → Support
Support and resistance levels remain active until they are invalidated by price.
Best Used For
Market structure analysis
Identifying swing highs and lows
Support & Resistance trading
Trend reversal confirmation
Price action trading
Notes
This script is intentionally minimalistic. It does not include volume analysis, breakout alerts, candle coloring, or other visual enhancements found in the original implementation.
The goal is to provide a fast, clean, and easy-to-read ZigZag indicator focused purely on market structure. Indicateur

Move Strength IndexOverview
An accurate relative-volume indicator with a genuinely clear signal:
column height shows the relative-volume multiple, color intensity
separately highlights which of those bars are actually unusual for that
specific symbol, and a distinct compression color flags the specific
case where heavy volume produces almost no range — a classic
effort-without-result signature that often precedes a sharp move.
How it's calculated
Relative volume is current volume divided by a smoothed (RMA) average of
the *prior* bars — the still-forming bar is excluded from its own
baseline (a common flaw in naive relative-volume scripts, which quietly
dampens real spikes), and the smoothed baseline decays gradually rather
than using a fixed rolling window, avoiding the "step" artifact that
occurs when an old outlier bar abruptly exits a fixed-length SMA window.
Color intensity is driven by the bar's percentile rank against its own
trailing history (default 100 bars), not a fixed multiple — a fixed
brightness cutoff only produces contrast if the symbol regularly reaches
that multiple, whereas percentile rank self-calibrates so the loudest
days for any given symbol are always vivid and quiet days are always
dim.
Direction is close vs. open — the same test used to color the candles on
the price chart itself, so MSI's green/red always agrees with what the
candle next to it shows.
A bar is recolored yellow (compression) when its volume ranks high
(top percentile, same threshold used for alerts) but its high-low range
is unusually narrow relative to ATR — heavy participation that isn't
moving price, which typically means one side is being absorbed at that
level. The live, still-forming bar is dimmed by default, since its
partial volume will always understate true relative volume until the
bar closes.
How to use it
Column height is the relative-volume multiple directly — a bar at 2.0
traded at twice its recent baseline volume. Brightness tells you whether
that reading is actually unusual for this symbol; a tall but dull column
means the symbol just runs volatile volume normally, while a vivid
column is a genuine standout. Green/red tells you which side controlled
the bar. A yellow bar is the one to watch closely — high volume with
nothing to show for it in price, often the setup before a breakout or
breakdown. Alerts fire separately for strong buying, strong selling, and
compression. On a symbol with no real volume data, the script raises a
clear error instead of rendering a blank pane. Indicateur

Indicateur

S&R + Trends | Polytrends Method (gracefultrading)SUPPORT & RESISTANCE + TRENDS | POLYTRENDS METHOD
Maps market structure automatically: every trend is detected, classified, and turned into support/resistance levels that know their own state. Built around the polytrends method of reading structure through trends and progression. This is my own independent, open-source interpretation of the framework, coded from scratch based on publicly available material. For educational purposes only — not financial advice.
TRENDS AND CONTAINMENT
Every pivot is compared against the previous pivot in the same direction. A swing that pushes past the prior trend is a valid continuation and draws in the trend colour. A swing that fails to exceed it — a lower high on the way up and or a lower low on the way down — is a containment trend, drawn in its own colour and style.
The current in-progress leg draws dashed, so you always see the swing being built. Pivot detection reacts to wick pullbacks, close-breaks of the prior candle, structural breaks, and same-bar reversals — not fixed-length lookbacks.
LEVELS WITH STATE
Each trend leaves a level at the candle body, committed only after the next opposite pivot confirms it. Every label shows the level's current state at a glance:
G — gained
SG — support gained
L — lost
RL — resistance lost
State updates bar by bar as price closes through or reclaims a level. An optional break/test offset (in ticks or percent) means a level only counts as gained, lost, or tested once price clears it by your buffer.
PAIRED STRUCTURE
Levels come from trends and draws in colour-matched pairs from a 12-colour set, each pair originating from the same piece of structure.
Tested levels draw in a different line style from untested ones and can be hidden entirely; when hidden, you choose whether each pair still shows its tested partner so pairs stay intact. At high relevance settings, clustered tested levels within a tick distance thin down to the strongest one.
POLYBOUNDS
Experimental.
A corner readout that reduces the chart to the two prices that matter:
▲ hold above — the key gained level below price. Bulls are in control while price holds above it.
▼ hold below — the key lost level above price. Bears are in control while price holds below it.
Each line is coloured to match its pair on the chart, and the box only quotes levels that are actually drawn. A Trend Day row (1H and below) reads whether the session is shaping up bullish, bearish, or rangebound based on where price sits against the bounds.
SETTINGS
Levels above/below counts. A relevance dial controlling how deep into history levels are pulled from (50 bars to full history). Independent colours, styles, and widths for trends, containment trends, and levels. Configurable label background and twelve pair colours. A right-offset so all level rays align cleanly ahead of price.
HOW TO READ IT
The market is always in progression — always attempting either a new high or a new low. Every swing this indicator draws is one attempt in that sequence, and every level is the footprint it leaves behind.
Progression rule: in an uptrend, price should not lose the previous swing low if it intends to go higher — losing it shifts probability toward the opposite objective. Mirror logic in a downtrend. Watch the level states: a support flipping from SG to L is that shift happening in real time.
Containment is the early warning. A containment trend (lower high in an uptrend, higher low in a downtrend) means the progression is failing before any level has broken. Trend weakness is the warning; level failure is the confirmation.
Levels mark accepted value. They're built from candle bodies, not wicks — the goal is to see where the market accepted or rejected value, which is why the break/test offset exists to filter wick noise.
Untested levels react first. Fresh levels are the highest-priority reaction zones; tested levels remain valid structure and become targets when price is nearer to them. The pair colours show you which structure each level came from.
Timeframes nest. Higher-timeframe levels are destinations; lower-timeframe levels are the navigation between them. Significant trends typically start from higher-timeframe pivots — the biggest swings on your chart usually trace back to them. RTH-formed levels tend to carry the most weight.
Works on any symbol and timeframe; the Trend Day readout is built for intraday. This is a tool for reading structure, not a signal service — nothing replaces risk management. Indicateur

TEWMA Adaptive Channel - [JTCAPITAL]TEWMA Adaptive Channel - is a modified way to use Weighted Moving Averages (WMA), Triple Exponential Moving Averages (TEMA), and Average True Range (ATR) for adaptive Trend-Following.
Instead of relying solely on a moving average to estimate trend direction, the indicator combines multiple layers of smoothing with volatility-adjusted boundaries to distinguish between ordinary price fluctuations and genuine momentum expansions. By requiring price to exceed an adaptive volatility threshold before establishing directional bias, the indicator aims to filter insignificant market noise while remaining responsive to meaningful changes in trend.
The result is an adaptive channel that not only reflects the current trend structure but also highlights moments where volatility expands enough to suggest the beginning or continuation of directional movement.
The indicator works by calculating in the following steps:
Source Selection
The script begins by selecting a price source. By default this is the closing price, although any TradingView supported source can be used, including Open, High, Low, HL2, HLC3, OHLC4 or any custom input.
Every calculation within the indicator originates from this selected source, allowing traders to tailor the responsiveness of the channel to their preferred price representation.
Weighted Moving Average Pre-Smoothing
Before calculating the final trend estimate, the selected source is first smoothed using a Weighted Moving Average (WMA).
Unlike a Simple Moving Average, which treats every observation equally, the WMA assigns progressively larger weights to more recent price data. This allows the average to respond faster to changing market conditions while still filtering a significant portion of short-term market noise.
The indicator calculates two independent WMAs:
• A primary WMA using the selected Length.
• A secondary WMA whose Length is automatically determined by multiplying the primary Length by the selected Multiplier.
Using two separate smoothing horizons allows the indicator to simultaneously observe both intermediate and broader market structure.
Triple Exponential Moving Average Processing
Each Weighted Moving Average is then processed using a Triple Exponential Moving Average (TEMA).
The purpose of TEMA is to dramatically reduce the lag normally associated with moving averages while maintaining smooth trend estimation.
Rather than simply averaging prices multiple times, TEMA mathematically combines several exponential averages in a way that removes much of the delay introduced by conventional smoothing techniques.
The result is two independent TEWMAs:
• A faster trend estimate.
• A slower trend estimate.
Each provides a different perspective on the underlying market direction.
Adaptive Trend Estimation
Instead of selecting either the fast or slow trend estimate individually, the script averages both together.
This creates the final TEWMA centerline.
Combining two smoothing horizons provides several advantages:
• Faster reaction than relying solely on a long-period average.
• Less sensitivity than relying only on a short-period average.
• Better stability during consolidations.
• Smoother representation of sustained directional movement.
The centerline therefore serves as the primary estimate of the underlying market trend.
Average True Range (ATR) Calculation
While the trend estimate is being constructed, the script also calculates the Average True Range (ATR).
ATR measures current market volatility by evaluating the True Range over the selected ATR Length.
Unlike indicators that only observe closing prices, ATR incorporates:
• Current High
• Current Low
• Previous Close
This enables volatility to be measured even when markets gap between candles.
Higher ATR values indicate expanding volatility, while lower values indicate quieter market conditions.
Adaptive Channel Construction
The ATR is multiplied by the selected Multiplier and added to both sides of the TEWMA centerline.
Upper Channel:
TEWMA + ATR × Multiplier
Lower Channel:
TEWMA − ATR × Multiplier
Unlike fixed-width envelopes, these boundaries continuously adapt to changing market conditions.
During volatile periods the channel naturally expands.
During quieter periods it contracts.
This adaptive behavior allows the indicator to maintain consistent sensitivity across different market environments.
Trend Confirmation Logic
Rather than determining trend direction simply by whether price is above or below the moving average, the indicator waits for price to demonstrate sufficient strength to move beyond the adaptive volatility envelope.
A close above the Upper Adaptive Channel confirms bullish momentum.
A close below the Lower Adaptive Channel confirms bearish momentum.
Once one of these conditions has been established, that directional bias remains active until price proves enough strength to invalidate it by exceeding the opposite side of the channel.
Because the trend state is preserved during ordinary pullbacks inside the channel, the indicator produces a much smoother representation of prevailing market direction and avoids unnecessary fluctuations caused by short-term noise.
Momentum Expansion Detection
Whenever price closes beyond either adaptive boundary, the corresponding channel immediately changes color.
These colored channel boundaries are not intended to signal overbought or oversold conditions.
Instead, they highlight moments where price has travelled beyond its statistically expected volatility range.
Such events frequently occur during:
• Breakout candles
• Strong trend continuation
• Volatility expansion
• Momentum acceleration
• Periods of increased market participation
Because the adaptive bands are volatility-adjusted, these highlighted moments naturally become rarer during quiet markets while remaining meaningful during highly active conditions.
Buy and Sell Conditions:
This indicator is designed as an adaptive trend-following framework rather than a fixed signal generator.
Instead of producing mechanical Buy and Sell arrows, it continuously evaluates whether market momentum is strong enough to establish or maintain a directional trend.
Bullish market conditions are identified when price successfully closes above the Upper Adaptive Channel. This indicates that buying pressure has expanded beyond recent normal volatility and confirms bullish directional strength. Once confirmed, the TEWMA centerline represents this bullish market bias until sufficient bearish momentum develops.
Bearish market conditions are identified when price closes below the Lower Adaptive Channel. This reflects selling pressure strong enough to exceed recent market volatility and establishes a bearish directional bias that remains active until the opposite condition occurs.
Because ordinary pullbacks inside the adaptive channel do not immediately alter the prevailing trend, the indicator naturally filters much of the short-term market noise that frequently causes false directional changes in conventional moving average systems.
Additional confirmation can always be incorporated using tools such as RSI, MACD, ADX, Volume, Higher Timeframe analysis, Price Action, or Market Structure depending on individual trading style.
Features and Parameters:
Source
Selects the price series used throughout every calculation.
Length
Determines the primary smoothing period used for the first Weighted Moving Average and TEMA calculation.
Multiplier
Controls two adaptive mechanisms simultaneously:
Determines the secondary smoothing period.
Determines the width of the ATR channel.
Automatic Dual-Length Trend Estimation
Creates a second smoothing period automatically by multiplying the primary Length with the selected Multiplier, allowing the indicator to blend both intermediate and longer-term market structure.
ATR Length
Determines the sensitivity of volatility measurements.
Adaptive Volatility Channel
Expands automatically during volatile markets.
Contracts automatically during quieter markets.
Persistent Trend Detection
Maintains the prevailing directional bias until an opposing volatility-confirmed breakout occurs, reducing unnecessary trend reversals during temporary retracements.
Momentum Expansion Visualization
Highlights periods where price exceeds its adaptive volatility envelope, drawing attention to moments of exceptional directional strength.
Specifications:
Weighted Moving Average (WMA)
The Weighted Moving Average is a price smoothing technique that places progressively greater emphasis on the most recent observations while still incorporating historical price data.
Compared to a Simple Moving Average, this produces a faster response to changing market conditions without sacrificing the overall stability of the trend estimate.
Within this indicator, the WMA serves as the initial smoothing stage before the more advanced Triple Exponential calculations are performed.
Triple Exponential Moving Average (TEMA)
The Triple Exponential Moving Average was specifically developed to minimize one of the largest weaknesses of traditional moving averages: lag.
Rather than simply averaging prices repeatedly, TEMA combines multiple exponential calculations in a mathematical way that significantly reduces delay while maintaining smooth trend estimation.
This allows the indicator to remain responsive during changing market conditions without becoming excessively sensitive to short-term fluctuations.
Dual Adaptive Trend Estimation
One of the defining characteristics of this indicator is that it does not rely upon a single smoothing horizon.
Instead, it combines both a faster and slower TEWMA into one balanced trend estimate.
This provides a centerline capable of reacting to developing market conditions while still filtering much of the erratic behavior commonly associated with shorter moving averages.
The result is a smoother and more reliable representation of the prevailing market direction.
Average True Range (ATR)
Average True Range is one of the most widely recognized volatility measurements in technical analysis.
Rather than measuring whether price is bullish or bearish, ATR measures the magnitude of price movement.
By incorporating both intraday movement and overnight price gaps, ATR provides a realistic estimate of current market volatility that continuously adapts as conditions change.
Adaptive Volatility Channels
The upper and lower channel boundaries are constructed by adding and subtracting an ATR-based volatility measurement from the TEWMA centerline.
Unlike static envelopes, these bands constantly adjust their width according to prevailing market conditions.
This allows the channel to remain proportionate regardless of whether markets are experiencing low-volatility consolidation or high-volatility expansion.
Trend Confirmation
The indicator uses the adaptive channel as a confirmation mechanism rather than allowing minor fluctuations around the moving average to dictate trend direction.
By requiring price to exceed the adaptive volatility threshold before establishing a directional bias, the indicator focuses on movements that demonstrate sufficient conviction to stand out from normal market behavior.
This approach significantly reduces frequent directional changes during ranging markets while preserving responsiveness during genuine trend development.
Momentum Expansion
When price moves beyond either adaptive channel boundary, it has exceeded what recent volatility would generally consider normal price behavior.
These moments often coincide with expanding participation, increasing momentum and stronger directional conviction.
Rather than predicting reversals or guaranteeing continuation, the adaptive channel simply highlights that the market is currently experiencing an unusually energetic price movement relative to its recent volatility profile.
Persistent Trend Representation
The TEWMA centerline serves as a continuously updated representation of the prevailing market bias.
Because the underlying trend state only changes after price has demonstrated sufficient strength to exceed the adaptive channel in the opposite direction, temporary retracements and ordinary market noise have less influence on the overall trend indication.
This allows traders to focus on the broader directional structure instead of reacting to every short-lived fluctuation.
Combining Trend and Volatility
One of the primary strengths of this indicator lies in the combination of adaptive smoothing with adaptive volatility.
The TEWMA centerline estimates the underlying direction of the market, while the ATR channel continuously evaluates whether price movement possesses enough momentum to confirm that direction.
By combining these two independent measurements, the indicator delivers a framework that simultaneously monitors trend, volatility, momentum, and market structure, making it particularly effective across a wide variety of market conditions while remaining intuitive to interpret. Indicateur

TrendGrade Buy Sell SignalsTrendGrade — Buy & Sell Signals (MTF Confirmed)
What it does
TrendGrade is a signal-grading system built on top of a Supertrend trigger. Instead of treating every Supertrend flip as an equal trade opportunity, it classifies each buy signal by quality using trend-strength analysis (XTL), higher-timeframe confirmation, and a transparent rule-based priority score. It is designed primarily for intraday swing timeframes (e.g., 2H) with 4H confirmation and an optional Daily veto.
How it works
1. Base trigger — Supertrend
The entry engine is the classic ATR-based Supertrend (default ATR 14, multiplier 2.0). A buy setup appears when the trend flips from bearish to bullish; a sell setup appears on the opposite flip.
2. Signal grading — XTL (eXpert Trend Locator)
XTL is based on Tom Joseph's statistical concept for separating directional moves from random market noise, implemented here via a Double-CCI-style calculation with a selectable moving-average engine (28 MA types, default VWMA-26 on HLC3) and a fixed threshold (default 37).
XTL above the threshold = BULL environment
XTL below the negative threshold = BEAR environment
Otherwise = NEUTRAL
Optional bar coloring paints candles by XTL state (bull / neutral / bear).
3. Multi-timeframe confirmation (anti-repaint)
4H confirmation: close above the 4H EMA-21, EMA slope flat or rising, plus an optional RSI(14) momentum check (RSI > 50 or rising).
Daily veto (optional): if the Daily close is below its EMA-21 AND the EMA slope is down (strong downtrend), all buy signals are blocked. Blocked signals are still shown on the chart as an orange × for transparency.
By default only closed higher-timeframe bars are used (`lookahead_off` + confirmed-bar indexing), so MTF confirmation does not repaint. This can be disabled for faster (but mutable) live-bar confirmation.
4. Signal classes
STRONG BUY — Supertrend flip + XTL BULL + 4H confirmation (lime label)
BUY — Supertrend flip without full confirmation (green label)
SELL — Supertrend flip down, only fired if a valid buy occurred first (simple position tracking, so sells are not orphaned)
Filtered/blocked raw signals are plotted as gray circles or orange × marks so you can always see what was suppressed and why.
5. Optional EMA-89 filter
Buy signals can additionally be required to close above EMA-89 (with an adjustable % tolerance). Off by default.
6. Priority score (0–100)
Each signal gets a transparent, rule-based score from RSI, MFI, relative volume, EMA ribbon alignment (5/8/13/34/55/89/200), Parabolic SAR position and CMF. This is a simple checklist score — it is NOT a statistical probability.
7. Alerts & webhook automation
Standard `alertcondition()` alerts for Strong Buy / Buy / Sell / trend change.
A structured JSON alert (via `alert()`) designed for webhook automation (e.g., Make.com / n8n): symbol, timeframe, price, ATR-based Target-1/Target-2, Supertrend stop, R:R ratio, priority score, XTL state, 4H/Daily MTF status, RSI/MFI/CMF, relative volume, EMA support/resistance map, and flags such as "volume spike" (relative volume ≥ 3×) and "strong money inflow" (CMF ≥ 0.15).
Optional early intrabar alert: fires before bar close once a configurable percentage of the bar has elapsed (default 60%), clearly tagged `early_mode=1`. Early alerts can be invalidated before the bar closes (repaint risk is explicitly flagged); the confirmed bar-close alert is always sent separately.
Settings overview
Supertrend: ATR period, multiplier, source, ATR method
XTL: length, MA type (28 options), source, threshold, traditional/modern CCI formula
MTF: confirmation timeframe (default 4H), veto timeframe (default 1D), EMA length, slope lookback, momentum check, closed-bar mode
EMA-89 filter, EMA ribbon display, Parabolic SAR display
Targets: ATR multiples for Target-1 / Target-2 (used in alert messages)
Oscillators/volume lengths and attention thresholds (used in alert messages)
Early-signal toggle and minimum bar progress
Repainting notes
Confirmed signals are evaluated on bar close.
MTF data uses `lookahead_off` and, by default, the last closed higher-timeframe bar, so confirmation status does not change retroactively (at the cost of up to one higher-timeframe bar of delay).
The optional early intrabar alert is intentionally repainting by nature and is clearly labeled as a pre-warning; the final confirmation is always sent at bar close.
Credits
XTL (eXpert Trend Locator) concept by Tom Joseph — a statistical market evaluation distinguishing directional trends from random noise.
XTL implementation adapted from the public "Double CCI" approach on TradingView.
Supertrend logic based on the widely used ATR-based community implementation.
Moving-average library includes public implementations credited in-code to @everget (JMA), @DonovanWall (FRAMA, COVWMA), @allanster (VAMA), @RedKTrader (RSS_WMA), @Duyck (ADX MA) and @glaz (RSI EMA).
Disclaimer
This indicator is for educational and informational purposes only. It is not financial advice and past signal behavior does not guarantee future results. Always do your own research and manage risk appropriately. Indicateur

JMJ SNIPER-7X - Jai Mata Ji Institutional PCR, Max Pain and DXY JMJ SNIPER-7X is a 7-point intraday decision dashboard for Indian markets (NIFTY, BANKNIFTY, stocks, MCX metals). You enter 3 values from the NSE option chain (Current PCR, Morning PCR, Max Pain strike); every other layer is automatic.
THE 7 POINTS: (1) Asset Status. (2) Smart Money Zone from fixed PCR bands: above 1.60 overbought, 1.20-1.50 bullish, 0.90-1.10 no-trade, 0.50-0.80 bearish, below 0.40 oversold, plus transition bands. (3) PCR Pulse: intraday shift vs your 09:30 baseline reading. (4) Max Pain magnet line with live distance from price. (5) Trap Finder: price-vs-PCR divergence measured from the same 09:30 baseline. (6) Global X-Ray: automatic US Dollar Index (DXY) trend filter using confirmed previous-day daily values (non-repainting); DXY rising is a headwind for Indian equities and commodities. (7) Sniper Verdict: mechanical STRONG BUY / STRONG SELL / ARMED / TRAP / NO TRADE, firing only on a confirmed Darvas box breakout close.
ENGINE: startup-safe one-shot Darvas box (one signal per box, no repeats on recrosses), India VIX filter that blocks fresh signals when hot, fail-closed data checks (missing DXY/VIX data blocks signals instead of allowing them), ATR-based stop-loss and target labels, and 4 ready-made alert conditions.
NOTES: TradingView has no NSE option-chain feed, so PCR and Max Pain are manual inputs. In the default Live-only mode, signals fire only on confirmed realtime bars and historical bars are never painted with today's PCR (no fake backtest). Recreate alerts after changing inputs. Works best on 5m/15m standard candles, 1D or lower.
Educational tool only - not financial advice. Jai Mata Ji. Indicateur

Adaptive Confluence Oscillator [ForexCracked]🔵 OVERVIEW
The Adaptive Confluence Oscillator scores four independent read-outs of the market on a continuous scale, weights them according to the current market regime, and plots the result as a single 0 to 100 line. Instead of asking "do my indicators agree, yes or no," it asks "how strongly does each one agree, and which of them should I be listening to right now."
It has no fixed overbought or oversold levels. The bands are calculated from the oscillator's own recent behaviour, so they widen when the market gets volatile and tighten when it goes quiet.
Signals confirm on candle close and do not repaint.
🔵 WHY THIS IS BUILT THE WAY IT IS
Most multi-indicator tools take a vote. RSI is oversold or it is not. That throws away most of the information: an RSI of 29 and an RSI of 12 are not the same signal, but a vote counts them identically. It also treats every indicator as equally relevant at all times, which is plainly false. Stochastic exhaustion means one thing in a strong trend and the opposite thing in a range.
This oscillator fixes both problems. Every component returns a continuous score, and the market regime decides how much each score is worth.
🔵 THE FOUR COMPONENTS (each scored from -1 to +1)
• Trend: how far price sits from its baseline EMA, measured in ATR units rather than in price. Distance matters, not just which side of the line you are on. Because it is measured in ATR, it reads the same on gold as it does on EURUSD.
• Momentum: RSI recentred around 50, so it contributes proportionally instead of flipping at a threshold.
• Impulse: the MACD histogram converted to a z-score against its own rolling deviation. This makes MACD comparable across symbols and timeframes without ever re-tuning it, which raw MACD values are not.
• Stretch: the Stochastic, recentred. This is the component that changes behaviour with regime (see below).
🔵 THE REGIME SWITCH (the part that makes it adaptive)
ADX decides whether the market is trending or ranging, and that changes two things.
First, the weights re-balance:
• Trending: Trend 0.35, Momentum 0.25, Impulse 0.30, Stretch 0.10
• Ranging: Trend 0.15, Momentum 0.25, Impulse 0.20, Stretch 0.40
Second, and more importantly, the Stretch component flips sign. In a trend, a stretched Stochastic confirms the move and pushes the score further in that direction. In a range, the same reading argues for a fade and pushes the score the other way. This is the behaviour a discretionary trader applies without thinking about it, and it is what a fixed vote cannot express.
🔵 ADAPTIVE BANDS
There are no 70/30 lines here. The upper and lower bands are the rolling mean of the oscillator plus and minus a multiple of its own standard deviation. A reading of 68 can be an extreme in a quiet market and completely unremarkable in a volatile one, and the bands reflect that.
• BUY: the score crosses above the upper adaptive band
• SELL: the score crosses below the lower adaptive band
🔵 DIVERGENCE
The script finds pivots on the score itself and compares them against price at those same bars. When price makes a higher high but the score makes a lower high, that is marked as a bearish divergence, and the mirror case as bullish. Divergences are labelled and have their own alerts. Because a divergence is anchored to a confirmed pivot, it prints a few bars after that pivot forms and never moves once printed.
🔵 THE DASHBOARD
The panel shows each component's live score, its current weight, the detected regime with the ADX value, and the oscillator against its adaptive bands. You can see exactly which component is driving the reading and why, rather than trusting a black box.
🔵 SETTINGS
• Baseline EMA 34, ATR 14, Trend Span 2.0 x ATR
• RSI 14, MACD 12/26/9, Stochastic 14
• ADX 14, trending above 22
• Band lookback 100, band width 1.0 x standard deviation
🔵 HOW TO USE
• Take signals where the dashboard regime agrees with the direction. A BUY in a trending regime is a continuation. A BUY in a ranging regime is a fade off the bottom of the range.
• Treat a divergence as a warning to tighten or take partials, not as a standalone entry.
• Raise the band width above 1.0 for fewer and stronger signals, lower it for more.
• Widen Trend Span on noisy symbols so ordinary volatility does not read as trend.
⚠️ DISCLAIMER
This is an analysis tool, not a prediction. A confluence score is a measure of agreement, and indicators can agree and still be wrong. Results depend on market conditions, settings, and your own execution and risk management. Shared for educational and research purposes. Not financial advice. Indicateur

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

TraderLifestyle Range Breakout Pro - Buy Sell Signals TP/SLRANGE BREAKOUT PRO is a complete range-breakout trading engine: it detects tradeable ranges from confirmed swing pivots, fires BUY and SELL signals when price breaks out in the direction of the trend, and then manages every trade on the chart with entry, stop loss, take profit, break-even and trailing logic - all fully visualized and fully automatable via webhook alerts.
HOW THE ENGINE WORKS
1. RANGE DETECTION - Confirmed swing highs and swing lows (pivot length configurable) become the active RANGE HIGH and RANGE LOW. Each extreme is marked on the chart with a dot and a vertical marker line. A range must be wide enough (minimum height in ATR) and fresh enough (maximum age in bars) to be tradeable - micro-ranges and stale levels are skipped automatically.
2. BREAKOUT SIGNAL - A signal fires only when a candle CLOSES beyond the range extreme plus an ATR buffer (no wick fake-outs), the gradient trend ribbon points in the breakout direction, the trend strength score clears your Buy/Sell Strength threshold, the breakout is not overextended (max distance from the ribbon in ATR - no chasing exhausted moves), and an optional cooldown after a losing trade has expired. Optional MTF Agreement requires the 15-minute trend to confirm.
3. TRADE MANAGEMENT - Every signal is managed like a real trade, live on the chart:
- TP1 (partial target) banks the win early and moves the stop to break-even
- the remainder runs to the full R-multiple take profit or a chandelier trail
- green TP box and red SL box grow bar by bar from the entry, exactly like a position tool
- price tags at the right edge show Entry, Stop Loss, Take Profit and live Profit/Loss %
- every closed trade is marked with a tick (win), circle (break-even) or cross (loss)
4. TWO TRADE MODES - "TP/SL Mode" (fixed targets, split TP1 + runner) or "Trailing Mode" (no fixed target, the trail line is the moving stop).
THE COCKPIT PANEL
- MARKET OVERVIEW: multi-timeframe trend dashboard - live trend strength meters for the chart timeframe, 15m, 1H, 4H and 1D
- SIGNAL SETUP: entry system, MTF agreement, current signal (Long / Flat / Short), Buy/Sell strength thresholds, trend filter state, trade mode, active Take Profit and Stop Loss levels
- PERFORMANCE: asset, exchange, timeframe, total trades and live win rate calculated from every signal on the chart history - no cherry picking, the counter runs over everything the engine fired
Win rate accounting is transparent: a trade counts as WIN when TP1 is banked, as LOSS when the initial stop is hit first, and break-even exits are tracked separately - the same split-target accounting professional scalpers use.
WHY-EXPLANATIONS ON THE CHART
Every BUY/SELL pill carries a tooltip that explains WHY the signal fired: which range level broke, the trend strength at the trigger, entry, stop and target prices. Range dots explain the level they mark. Nothing is a black box.
WEBHOOK AUTOMATION
Create one alert with condition "Any alert() function call" and paste your webhook URL. The indicator sends ready-to-use JSON for every event: BUY, SELL, TP_HIT, SL_HIT, TRAIL_EXIT, BE_EXIT - including symbol, price, stop, target, trade mode, win rate and timeframe. Connect it to any bridge or bot and the strategy runs hands-free.
WORKS ON
Any symbol and timeframe: indices (NASDAQ, S&P, DAX), gold and forex, crypto, stocks. Scalping on 1-5 minute charts, day trading on 15m-1H, swing trading on 4H-Daily. Defaults are tuned for intraday breakout scalping.
DISCLAIMER
This indicator is a technical analysis tool, not financial advice. Past win rates do not guarantee future results. Always test on a demo account first and manage your risk. Indicateur

P&P Cloud Professional// P&P CLOUD PROFESSIONAL v2
// Developed by Krish | P&P Trade
//
// Description:
// P&P Cloud Professional is an advanced trading dashboard designed
// for futures and active traders. It combines EMA cloud analysis,
// ATR-based market range analytics, trend identification, and
// real-time risk measurements into one professional interface.
//
// Features:
// • Multi-timeframe EMA Cloud (9 EMA / 21 EMA)
// • Non-repainting HTF mode
// • Bullish/Bearish trend detection
// • EMA distance tracking (Points, %, ATR)
// • EMA spread strength analysis
// • Current ATR value
// • Daily ATR expected range
// • ATR High / ATR Low levels
// • Today's range and ATR utilization %
// • Market stretch detection
// • Risk gauge for trade conditions
// • BUY / SELL crossover alerts
// • Professional dashboard optimized for white TradingView themes
//
// Designed for:
// Futures traders (MNQ, NQ, ES, MES, MGC),
// equities, ETFs, and active intraday trading.
//
// Premium Version:
// This indicator is developed by Krish at P&P Trade.
// For premium access, custom versions, and additional trading tools,
// please reach out to the author.
//
// © P&P Trade | Developed by Krish
//════════════════════════════════════════════════════════════════════ Indicateur

Indicateur

Indicateur

LIQS and FIBS Scalp SystemOverview
The "LIQS and FIBS Scalp System" is an advanced Smart Money Concepts (SMC) and Price Action indicator designed for traders seeking high-probability scalping and day trading setups. Instead of relying on lagging indicators, this system dynamically maps critical liquidity sweeps, structure shifts, and optimal trade entry zones based entirely on pure price action.
Key Features
HTF Market Structure Bias (No EMA Lag):
The core of the system determines the main trend bias by tracking the most recent Break of Structure (BOS) or Change of Character (CHoCH) on your selected Higher Timeframe (HTF). If the HTF just broke a swing high, your bias is firmly Bullish. If it broke a swing low, your bias is Bearish. This ensures you are always trading in alignment with true institutional market structure, not a delayed moving average.
HTF Sweeps & Reversals:
Automatically identifies liquidity sweeps at Higher Timeframe highs and lows. It monitors price action around these key historical pivot levels and highlights potential reversal pinbars right at the sweep zones.
LTF BOS & CHoCH Logic:
Detects micro Break of Structure (BOS) and Change of Character (CHoCH) patterns to spot short-term momentum shifts in real-time, helping you catch the very beginning of a new leg.
Deep Fibonacci Setups & Runner Targets:
Following a valid CHoCH, the indicator automatically draws Fibonacci retracement zones (0.318 - 0.618) representing optimal entry points. It dynamically projects logical Stop Loss zones and extends up to Target 6 for runners to capture massive long-term trends:
Target 1 & Target 2 for short-term scalps.
Target 3 & Target 4 (3.618 - 4.236 extensions) for day trades.
Target 5 & Target 6 (5.618 - 6.854 extensions) to hold your runners and ride extreme trend continuation.
A-Plus Setup Filter & VWAP:
To protect you from fake breakouts and low-probability trades, the system validates every entry.
Pro-trend setups that align with both the HTF Structure Bias and the VWAP are highlighted with colored entry and target boxes.
Counter-trend or low-probability setups are visually muted (grayed out) so you can easily ignore them.
Built-in alerts notify you only when a micro CHoCH perfectly aligns with the HTF trend direction!
How to Use
Wait for price to sweep an HTF liquidity level, watch for a valid CHoCH in the opposite direction, and set your limit orders inside the highlighted 0.318 - 0.618 Fibonacci reaction box. Trust the colored boxes (A-Plus setups) and ignore the gray ones. Take partial profits at T1 and T2, then leave runners for the deeper T3 to T6 targets!
Disclaimer
This script is provided for educational and informational purposes only and does not constitute financial advice. Trading in financial markets involves a high degree of risk and may not be suitable for all investors. Past performance is not indicative of future results. Always conduct your own research, use strict risk management, and perform thorough backtesting before trading with real funds. Indicateur

Indicateur

TraderLifestyle Space Concept Pro - 3 Finger Spread EngineSPACE CONCEPT PRO - THE THREE-FINGER SPREAD ENGINE
Some of the most consistent discretionary traders never look at a chart without two moving averages on it: the 20 SMA and the 200 SMA. Add price itself and you have THREE ITEMS - three "fingers". The distance between them is called SPACE, and space tells you when a market is about to explode and when a move is about to die. This indicator turns that entire concept into a fully mechanical engine with signals, trade management and webhook automation.
=== THE CONCEPT ===
THE THREE ITEMS
1. Price
2. The 20 period simple moving average
3. The 200 period simple moving average
NARROW STATE - all three items clustered together. The market has reset itself. An explosive move is loading, direction unknown. You do not need to predict it: you simply wait for the biggest bar to emerge.
SPACE ZONE 1 - the space between the 20 SMA and the 200 SMA.
SPACE ZONE 2 - price accelerating away from the 20 SMA. Sometimes the underlying moves faster than the moving average can keep up, creating a second layer of space.
DUAL SPACE / THREE-FINGER SPREAD - both zones open at the same time, all three fingers clearly separated and stacked in order. This is where moves get exhausted.
THE RAILROAD RULE - if price runs parallel to the 20 SMA like railroad tracks, that is NOT a spread. Price has to ACCELERATE away from the moving average. The engine checks this automatically.
THE WIDEST SPREAD - the widest three-finger spread of the lookback window finds you the temporary top or bottom 8 to 9 times out of 10. When it prints, the reversal watch arms and the extreme that must hold is marked on the chart.
NARROW TO NARROW - when the spread collapses from the widest state back to narrow WITHOUT breaking the extreme, the next direction is the reversal. Confirmed by a power bar: a three-finger spread reversing with a power bar is the creme de la creme of this method.
=== THE SIGNALS ===
1. BREAKOUT - power bar (biggest bar of the window) exploding out of a narrow state. Entry inside the bar, stop beyond the bar.
2. SPREAD REVERSAL - widest spread found the extreme, spread collapsed back toward narrow without breaking it, power bar confirms. Target follows the 50 percent rule.
3. EARLY REVERSAL - first strong color change directly at the widest spread (the bottoming tail bar play). Stop beyond the extreme.
4. TAIL BAR - optional: bottoming/topping tail bars near narrow states as early entries (markers by default).
Every signal prints as a two-line pill with the setup name, and every pill carries a WHY tooltip that explains the exact chain of logic behind the trade - plus entry, stop, target and R:R.
=== TRADE MANAGEMENT (AS TAUGHT) ===
- ADD on the first color change after entry ("always adding on the first color change")
- TP at the 50 percent mark of the move - the pros are satisfied with the halfway mark, do not get greedy
- After the partial: bar-by-bar trailing stop until the market takes you out
- Hard stop beyond the power bar / spread extreme with an ATR buffer
- Full position box and live status in the cockpit panel
=== THE COCKPIT ===
An animated terminal-style panel shows everything at a glance:
- Animated 3D gold pixel logo with a moving light sweep (live ticks)
- State chip: NARROW STATE / 3-FINGER SPREAD / WIDEST SPREAD / REVERSAL WATCH
- Spread rank 0-100 plus live ZONE 1 / ZONE 2 meter bars in ATR
- 7-step SPACE CHECKLIST mirroring the method: items stacked, zone 1, zone 2, acceleration (railroad filter), widest-spread watch, power bar, management
- Position box, big signal line, spread/reset/signal counters
On the chart: shaded zone 1 and zone 2 fills, narrow-state boxes, MARKET RESET tags, 3-FINGER SPREAD labels, gold WIDEST SPREAD stars with vertical measuring lines (exactly how it is drawn when taught), the must-hold extreme line, TAIL tags and lightning power-bar markers. Everything is explained on the chart - hover any label for the reasoning.
=== AUTOMATION / WEBHOOK ===
Create ONE alert with condition "Any alert() function call" and paste your webhook URL. The indicator sends ready-to-use JSON for every event:
{"id":"TL-SPACE-CONCEPT","symbol":"BTCUSD","action":"BUY","setup":"BREAKOUT","price":64100.5,"sl":63900.0,"tp":64500.0,"tf":"15","time":"2026-07-18 16:30"}
Actions: BUY, SELL, ADD, TP_50, TRAIL_EXIT, SL_HIT, NARROW_STATE, WIDEST_SPREAD. Classic alertconditions for BUY / SELL / Narrow State / Widest Spread are included as well.
=== SELF-CALIBRATING ===
The spread is ranked against its own history (percentile engine) and all distances are measured in ATR - so the indicator works out of the box on any market (crypto, forex, gold, indices, stocks, futures) and any timeframe from 1 minute to weekly. Practice finding three-finger spreads everywhere - that is the homework.
=== SETTINGS ===
Every input is documented with a tooltip quoting the original rule it implements. Adjust the narrow/wide percentiles, power-bar size, dual-space minimum, acceleration window, 50 percent rule targets and the SL buffer to fit your market and style.
=== DISCLAIMER ===
Educational tool, not financial advice. No indicator wins every trade - prepare for the 1-2 times out of 10 the concept is wrong: keep your risk unit small compared to your profit unit. That is how you stay in business.
Indicateur

KST Cross SwitchThe Know Sure Thing (KST) oscillator is a powerful momentum indicator, but its constantly fluctuating lines can sometimes make it difficult to determine the definitive market state at a glance.
This script transforms the traditional KST indicator into a clean, 3-stage State Machine tracker. Instead of staring at curved lines, this indicator locks the current market condition into three absolute levels: 100 for Bullish, 0 for Bearish, and 50 for Neutral.
When a strong bullish crossover occurs, the indicator locks to 100 with a lime green background. When a bearish crossunder happens, it locks to 0 with a maroon red background.
The core feature of this script is the Neutral Zone Threshold. In choppy or consolidating markets, KST lines often cross back and forth repeatedly, causing false signals. To solve this, the script checks the absolute distance between the KST line and the Signal line. If they are too close and moving sideways within your defined threshold, the indicator automatically resets to 50 with a neutral yellow/grey background. This helps you avoid overtrading during low-volatility squeeze periods.
You can fully customize the four different Rate of Change (ROC) lengths and their moving averages, as well as the signal line length. The Neutral Zone Threshold can also be finely tuned depending on the asset and timeframe you are trading. Indicateur

Market Regime LensMarket Regime Lens
Market Regime Lens reads the market on four independent axes and gives you one honest sentence about the current tape. It is a context descriptor, not a signal — it never tells you which way to trade. It tells you whether the tape is readable, how it moves, how long things take, and how risk is arriving.
WHY FOUR AXES, ONE COMPONENT EACH
Most multi-indicator tools stack measures that secretly say the same thing — three complexity metrics agreeing is not confirmation, it is autocorrelation. This tool deliberately uses one component per independent axis, so each number tells you something the others cannot.
STRUCTURE — Complexity-Entropy plane. Bandt-Pompe permutation entropy paired with Martin-Plastino-Rosso statistical complexity, classifying the tape as structured, mixed, or noise. Thresholds are adaptive by default: the reading is ranked against the instrument's own recent range, so it self-calibrates to any market and timeframe instead of relying on absolute cutoffs that break when you change the window.
PERSISTENCE — Anomalous-diffusion exponent. Fitted from mean-squared-displacement scaling across lags: alpha above 1 means super-diffusive (trending), alpha near 1 is a random walk, alpha below 1 is sub-diffusive (mean-reverting). This describes the character of the motion, not its direction.
TIME — First passage and null odds. Expected bars to reach the target versus the stop under a driftless diffusion, plus the null barrier probability P = b/(a+b) — what a coin flip gives you at your chosen reward-to-risk. At 1.5R that is 40%. That is the breakeven any setup must clear, stated plainly.
TAIL — Extremal index. Measures whether extreme moves cluster (theta below 1) or arrive independently. Clustered tails mean gap risk shows up in bursts, which matters for stop placement.
ON THE CHART
The main line is the diffusion exponent, colored by state and filled against the alpha = 1 random-walk baseline, so deviation from randomness is visible at a glance. Faint guides mark the trending and reverting thresholds. Background tint shows the structure class. The panel adapts to your chart theme and colors each row by meaning — including green or amber on the null-odds row depending on whether your chosen R gives better-than-even odds.
PAIRS WITH RISK & LEVELS COCKPIT
Optionally wire the target and stop sources to the Cockpit's exported levels, and the timing and null-probability rows use your real trade levels instead of internal ATR references.
WORKS ON ANY MARKET AND TIMEFRAME
All lookbacks are in bars with no session, expiry, or clock anchors. Non-repainting: everything uses the current bar's data and confirms at close.
LIMITATIONS
Not a signal and not investment advice — no axis forecasts direction. Permutation entropy and complexity require a window much larger than d factorial; at dimension 4 use at least 300 bars, since short windows are undersampling-biased and pin to a constant. Adaptive thresholds classify relative to the instrument's own recent range, so "structured" means structured for this market lately, not in any absolute sense. First-passage times and the null probability assume driftless diffusion with constant volatility — a deliberate null baseline, not a forecast. The extremal index needs enough exceedances; too short a window pins it at 1.00.
CREDITS
Original implementation. Bandt and Pompe permutation entropy; Martin-Plastino-Rosso and Lopez-Ruiz statistical complexity via Jensen-Shannon divergence; anomalous-diffusion MSD scaling; Ferro-Segers runs estimator for the extremal index; first-passage-time and gambler's-ruin barrier theory. Indicateur

TraderLifestyle Structure Pro - Mechanical SMC EngineTL STRUCTURE PRO — Mechanical Smart Money Concepts (SMC) Engine: Market Structure, BOS/CHoCH, Liquidity Sweeps, Supply & Demand POI, FVG, Sessions, Signals & Webhook Automation
WHAT THIS INDICATOR DOES
TL Structure Pro turns a complete, fully mechanical Smart Money Concepts (SMC) trading model into one indicator. It automates the exact rule set many price-action traders apply manually: market structure mapping (HH/HL/LL/LH), Break of Structure (BOS), Change of Character (CHoCH), liquidity sweeps, supply and demand points of interest (POI), fair value gaps (FVG/imbalance), session timing (Asia / Frankfurt / London), a two-step entry model with internal realignment, and rule-based trade management with break-even logic — all with zero discretion and zero repainting (the engine only works on confirmed/closed candles).
Every element is drawn and labeled directly on the chart, so you can SEE why each signal happened: every zone is named, every structure point is tagged, and every BUY/SELL label explains its own reason.
THE MECHANICAL RULE SET (HOW IT THINKS)
1. BREAK & CLOSE RULE — A swing high/low only counts as broken when a candle BREAKS AND CLOSES beyond it. A wick through the level without a close is NOT a break.
2. LIQUIDATION ($) — If price wicks beyond a swing but fails to close beyond it, the indicator prints a "$" marker: that was a liquidity sweep / liquidity grab, not a break. These sweeps often precede reversals.
3. PULLBACK RULE — A new swing high/low is only confirmed after a valid pullback: N opposing candles in a row (default 3) with successive closes. No valid pullback = no new structure point; the move is just internal noise.
4. BOS — Break of Structure in the direction of the trend = continuation. Drawn as a gold dashed line with a BOS label.
5. CHoCH — Break & close AGAINST the current direction = Change of Character. Bias flips (bullish <-> bearish). Drawn in pink. After a bearish CHoCH the engine only looks for shorts; after a bullish CHoCH only longs.
6. POI ZONES — On every qualifying break the engine stores two zones: the DECISIONAL candle (last opposing candle before the breaking impulse) and, on CHoCH, the ORIGIN (last opposing candle at the origin of the impulse). Zones are drawn as labeled supply/demand boxes, extended in time, marked as "tapped" on first touch and deleted when invalidated by a close beyond them.
7. FVG / GAPS — Three-candle imbalances above a minimum size are boxed and removed once filled ("gaps get filled").
8. SESSIONS — Asian session, Frankfurt open and the London trade window are boxed with configurable times and timezone (defaults follow GMT+4 / Dubai time as in the original model: London window 11:00–14:00).
THE ENTRY MODEL (WHEN A SIGNAL FIRES)
A signal needs three conditions in sequence — the same checklist is shown live in the cockpit panel:
Step 1 — BIAS: structure must be clearly bullish or bearish (after BOS/CHoCH).
Step 2 — POI TAP: price returns INTO a supply zone (bearish bias) or demand zone (bullish bias) or a matching FVG. The setup is now "armed".
Step 3 — INTERNAL SHIFT (REALIGNMENT): inside the POI, the smaller internal structure (pivot-based, the "lower timeframe inside your chart") must shift in trade direction — a close beyond the last internal pivot. Only then a BUY/SELL label prints.
Risk placement is automatic and printed on the chart:
• ENTRY = close of the trigger candle
• STOP LOSS = POI extreme + a pip buffer (default 3.5 pips — capital preservation first)
• TAKE PROFIT = the weak swing low/high of the current range (structure target)
• R multiple of the setup is calculated and shown on the signal label
• BREAK-EVEN: once the trade runs the configured R distance (default 1R), the panel/alert moves the stop logic to break-even; TP hit, SL hit and BE exit are all labeled on the chart.
THE COCKPIT PANEL
The side panel shows: current bias, the live SMC checklist (structure / pullback / liquidity sweep / POI tap / entry shift / management) with OK-status per rule, active session window, structure timeframe and internal pivot length, SL buffer, current position with entry/SL/TP, the last signal with its R multiple, and a counter of active supply/demand/FVG zones. If a checklist row shows "‥" you immediately know which condition is still missing before the next signal can fire.
HOW TO USE IT — STEP BY STEP
1. Add the indicator to a clean chart. Recommended: liquid FX pairs (GBPUSD, EURUSD), gold (XAUUSD) or indices, timeframes M5–H1 for the session-based model (M15 is the classic choice). It works on any symbol/timeframe; sessions display on intraday charts up to 1h.
2. Set your timezone and session times in group ④ if you do not trade the default GMT+4 windows. Enable "Signals ONLY inside London window" if you want to trade the London session model strictly.
3. Read the structure first: follow the SWING HIGH / SWING LOW lines, the HH/HL/LH/LL tags and the BOS/CHoCH lines until you understand the current bias (also shown in the panel).
4. Watch the zones: price returning into a labeled SUPPLY/DEMAND (DECISIONAL/ORIGIN) box or FVG arms the setup — the panel switches to "ARMED (POI tapped)".
5. Wait for the printed BUY/SELL label — never front-run it. The label shows the R multiple and the reason (POI TAP + SHIFT); the tooltip lists entry, stop and target.
6. Manage by the printed levels: entry line (gold), SL line (pink, includes the pip buffer), TP line (mint, the weak swing). BE marker prints when break-even logic activates.
7. Tune mechanically, not emotionally: "Pullback rule candles" (2–5) controls how strict new structure confirmation is; "Internal pivot length" controls how fine the entry trigger is (smaller = earlier, noisier); "Min gap size" filters small FVGs; "Max zones" limits chart clutter.
8. Hover anything: every label, zone and marker has an explanatory tooltip, so the chart teaches the model while you trade it.
ALERTS & WEBHOOK AUTOMATION
Create ONE alert with condition "Any alert() function call" and paste your webhook URL — the indicator sends ready-to-parse JSON for every event:
{"id":"TL-STRUCTURE-PRO","symbol":"GBPUSD","action":"SELL","price":1.27201,"sl":1.27236,"tp":1.26350,"rr":"24.30","tf":"15","time":"2026-07-18 12:45"}
Actions: BUY, SELL, BREAK_EVEN, TP_HIT, SL_HIT, plus optional BOS_UP/BOS_DOWN/CHOCH_UP/CHOCH_DOWN. This makes the indicator plug-and-play with trade-automation bridges, bots and journaling tools. Classic alertconditions (BUY/SELL/BOS/CHoCH) are also available for simple popup/app notifications.
NON-REPAINT BEHAVIOUR
All structure logic, zones and signals are computed on CONFIRMED candles only (barstate.isconfirmed). Once printed, BOS/CHoCH lines, zones and signal labels do not repaint. Alerts fire on bar close.
NOTES
• The R multiples shown are the structural setup quality, not a performance promise. Nothing here is financial advice — backtest and forward-test before risking money.
• The panel is a table: if your main chart series is set above indicators, use right-click on the indicator legend -> Visual order -> Bring to front.
• Best visual experience with the dark TradingView theme (the indicator brings its own navy chart theme, mint/red candles and paints the future margin).
Concepts covered: Smart Money Concepts, SMC, ICT-style market structure, break of structure, change of character, liquidity sweep, liquidity grab, stop hunt, supply and demand zones, order block style POIs, decisional candle, origin, fair value gap, imbalance, premium discount, London session, killzone, session trading, scalping, day trading, price action, forex, gold, indices, webhook automation, algo bridge.
Indicateur

Advanced Support and Resistance with Reversal [AlphaPine]Advanced Support and Resistance with Reversal | AlphaPine
I built this indicator for a simple reason: a breakout line on its own does not tell me enough. I also want to know whether price comes back, holds the level from the other side, and later loses it again.
The script starts with confirmed swing highs and lows. Those become resistance and support. It then follows each level through three possible events: breakout, retest, and failure. Nothing here predicts the next move. It is a way to keep market structure organised without redrawing the same levels by hand.
The image below shows the full level lifecycle in one view, including the symbols that appear at each stage:
How a level is created
A resistance level comes from a confirmed pivot high. A support level comes from a confirmed pivot low. If zones are enabled, the zone uses the wick range of the pivot candle rather than an arbitrary fixed width.
Pivot confirmation takes time. With Pivot Length set to 10, for example, the script needs ten bars on the right side of the pivot before the level exists. This delay is intentional.
Pivot Length controls how selective the swing detection is. A larger value usually gives fewer levels and confirms them later.
Lookback Period sets how long a level remains in the script's working history.
Maximum Levels per Type limits stored resistance and support records so the chart does not keep growing indefinitely.
Wick Dominance Filter keeps only pivot candles whose rejection wick is larger than the body and opposite wick.
Merge Nearby Active Levels removes clutter by skipping a new pivot when an active level of the same type is already nearby. Broken levels do not block a fresh one.
The merge distance uses ATR-14, so it adjusts to the instrument instead of relying on one fixed price interval.
Breakouts
The default breakout mode is Close . Resistance must close above its boundary, while support must close below it. This avoids counting every small wick through a level.
Wick mode reacts earlier. It triggers when the high or low crosses the boundary during the live candle. The recorded extreme cannot retract, but price can still close back inside the level, so Wick mode will naturally include more intrabar fakeouts.
Breakout Buffer adds an optional ATR-based distance beyond the level. Leave it at zero for the exact boundary, or raise it if very small breaks are not useful for your chart.
By default:
A resistance breakout prints an upward blue triangle below the candle.
A support breakout prints a downward orange triangle above the candle.
The marker colours are fully adjustable.
Retests and role reversals
After resistance breaks, the script waits to see whether price can retest it as support. After support breaks, it watches for the same level to act as resistance.
RS means old resistance has been confirmed as new support.
SR means old support has been confirmed as new resistance.
Reversal Confirmation controls what counts as a retest:
Close (default) requires the retest candle to touch the original zone and close back beyond the whole zone on the new-role side.
Touch accepts any later overlap with the zone. It is more sensitive and less strict.
Once confirmed, the new role stays fixed. An RS level remains tracked as support; it does not turn red merely because the latest candle happens to sit below it.
When a flip fails
A flipped level is removed when a confirmed candle closes through the far side of its zone. In other words, RS support fails below the zone and SR resistance fails above it.
If Show Reversal Failures is enabled, an ✕ marks the failure candle. The flipped line stops there, but the cross stays on the chart as a record of where the level died. That is why a failure cross can appear without a continuing line.
Breakout triangles and failure crosses use the original pivot as their Lookback anchor. This keeps their expiry on the same structural clock as the level they came from instead of giving every marker a new lifetime from its event candle.
Reading the chart
R1 is the nearest active resistance above price, followed by R2, R3, and so on.
S1 is the nearest active support below price, followed by S2, S3, and so on.
RS marks a confirmed resistance-to-support flip.
SR marks a confirmed support-to-resistance flip.
Triangles mark breakouts. Crosses mark failed flips.
A breakout marker is an event, not an entry instruction. I find the retest more useful than the first break, but how it is traded still depends on trend, execution, and risk rules outside this indicator.
Lines, zones, and historical placement
Historical Level Start decides where an original level begins:
Confirmation (default) starts it on the bar where the pivot became known in real time.
Pivot extends it back to the swing candle. This is useful for visual context, but the level was not available on that earlier candle.
Display as Zones replaces the single-price lines with the original pivot-wick range. If that level flips, the same price range is preserved; the zone is not moved to the opposite side of the price.
Colours
The Colors group separates colours by purpose, so changing a label does not force the matching line to use the same colour.
Resistance and support lines/zones.
RS and SR lines/zones.
Resistance, support, RS, and SR price labels.
Resistance and support breakout triangles.
Support and resistance failure crosses.
Zone fills and borders use transparent versions of the selected line colour so candles remain visible underneath.
Alerts
Seven alert conditions are included:
Resistance Breakout
Support Breakout
Resistance to Support Flip
Support to Resistance Flip
Flipped Support Failed
Flipped Resistance Failed
Any S/R Event
The combined alert is useful when one alert should cover every structural event. Separate conditions are available when different actions are needed for breaks, flips, or failures.
A sensible starting setup
The defaults use Close confirmation for both breakouts and retests. Start there if you prefer signals that wait for the candle to finish. Wick breakout and Touch retest are available when earlier, more sensitive reactions are more important.
If the chart feels crowded, try increasing Pivot Length, increasing Merge Distance, enabling the Wick Dominance Filter, or reducing Maximum Levels per Type. Settings should be adjusted for the instrument and timeframe rather than treated as universal values.
Important limitations
Confirmed pivots always arrive late by Pivot Length bars. That is how pivot confirmation works, not a hidden predictive signal.
Pivot historical placement back-draws a confirmed level for context. Use Confirmation placement when real-time availability matters.
Wick mode can mark a breakout that later closes back inside the level.
The current-bar drawings rebuild while the candle updates.
The script uses chart data only. It does not request higher-timeframe data or use lookahead.
It does not place orders, calculate position size, or guarantee that a level will hold.
Use it as a structure tool, then apply your own trade plan and risk management.
Indicateur
