Chỉ báo
Concept
VWAP + Midline LookbackIt's a standard VWAP with a midline lookback to reference areas of importance
Chỉ báo
3m Cycles3m Cycles is a TradingView indicator that draws vertical lines on your chart at fixed clock-based time intervals — every 20 seconds, every 1 minute, and every 3 minutes — to help you visually track recurring market cycles.
Each cycle is fully independent and configurable: you can set the line color, width, and style (solid, dashed, or dotted), control how far back and ahead the lines project, and choose which chart timeframes each cycle appears on. The 3-minute cycle acts as the master clock — all three cycles' visible windows shift forward together every time a new 3-minute boundary is crossed, keeping everything in sync. Lines are pre-drawn into the future so they're already on the chart before the candle forms, and they automatically disappear once they fall outside your configured lookback window.
Chỉ báo
QT_Mehr_Aria V5Here's a publish-ready description — it presents the tool's features and how to use it, while keeping every proprietary rule out (consistent with the sanitized script). I'll save it in the repo docs too.
Saved to tradingview-description.md. Here's the text to paste into the TradingView publication:
QT_Mehr_Aria V5 — Quarterly Theory Cycles + Triad SMT
WHAT IT DOES
This indicator maps the market's time structure into nested cycles based on Quarterly Theory — from 22/23-minute micro cycles up to yearly and 4-year cycles — and scans a triad of three correlated instruments for SMT divergence at every scale. It draws cycle boundaries, quarter labels and True Opens, and prints signal and entry marks with configurable triggers and alerts.
CYCLES
Nine nested scales: Micro (22/23 min), 90-Minute, 6H, Daily, Weekly, Monthly, Quarterly, Yearly and 4-Year — all anchored to the New York 18:00 session open, DST-safe. On every chart timeframe the indicator works three tiers (LTF / MTF / HTF); higher scales can be shown optionally. Supported chart timeframes: 1m, 5m, 15m, 1h, 4h, Daily, Weekly and Monthly.
SMT DETECTION
Choose a triad preset (NQ/ES/YM · DXY/EU/GU · NQ/ES/NKD · BTC/ETH/SOL · DXY/6E/6B · GC/SI/HG · ZB/TN/ZF) or set three custom symbols. Each symbol is evaluated against its own reference level inside the cycle structure; when the triad disagrees, a divergence mark prints on the bar where it happened:
▽ bearish SMT · △ bullish SMT · ▼ / ▲ entry marks · ✕ invalidated signal · Ts true sweep (optional) · ▽? / △? forming on the live bar (optional)
Inverse-correlated triads (e.g., DXY against EU/GU) are handled automatically — custom triads get per-symbol inverse switches. Detection basis is selectable (wick, close, or wick+close confluence), and the entry trigger can be immediate or CISD close-through. A quarter-pair panel controls which quarter relationships are evaluated, and an optional True-Open premium/discount gate is included (off by default).
TRUE OPENS
TMSO, TSO (session), TDO (daily), TWO (weekly), TMO (monthly), TQO (quarterly) and TYO (yearly) — each drawn from the true opening price of its cycle, on the chart timeframes where it is tradeable.
QUARTER LABELS
A label row names each timeframe's quarters — micro quarters on 1m, up through days, weeks, months, calendar quarters and years on higher charts. One label per window, centered in the window.
SIGNAL CONTROL
The Signals group shows exactly what you want and nothing more: SMT marks, entry marks, invalidation ✕, TS marks, forming marks, and whether scales above your HTF tier draw at all. Per-cycle and per-tier visibility switches are separate. An experimental time-based signal filter is included (off by default).
ALERTS
Four static alert conditions (SMT bearish/bullish, CISD entry bearish/bullish) plus detailed alert() payloads carrying the scale, pair, symbols and cause — create the alert with "Any alert() function call". Alerts can be scoped to one scale or all.
NOTES
Chart one of the triad symbols for the cleanest reading; with an inverse member in the triad (e.g., DXY), signal direction reads from the other two symbols.
Time anchors are New York based; built around futures sessions and also usable on FX, crypto and stocks.
The top-right readout always shows the active triad and configuration.
Educational tool for time-based market analysis — not financial advice.
What it deliberately does not contain: how divergence is judged inside the quarters, the pair semantics, the close/wick reference rule, the inverse-mirroring mechanics, and the experimental filter's rules — those stay only in your local repo docs. It names features (which anyone can see in the settings panel anyway) and explains usage, which is what TradingView moderators require for protected-source publications.
خلاصه: متن توضیحات برای انتشار در تریدینگویو آماده شد — فقط قابلیتها و طرز استفاده را میگوید، هیچ قاعدهای از منطق پشت ابزار لو نمیرود. متن در docs/tradingview-description.md ذخیره شده؛ کافی است همین را در صفحهی انتشار کپی کنی.Here's a publish-ready description — it presents the tool's features and how to use it, while keeping every proprietary rule out (consistent with the sanitized script). I'll save it in the repo docs too.
Saved to tradingview-description.md. Here's the text to paste into the TradingView publication:
QT_Mehr_Aria V5 — Quarterly Theory Cycles + Triad SMT
WHAT IT DOES
This indicator maps the market's time structure into nested cycles based on Quarterly Theory — from 22/23-minute micro cycles up to yearly and 4-year cycles — and scans a triad of three correlated instruments for SMT divergence at every scale. It draws cycle boundaries, quarter labels and True Opens, and prints signal and entry marks with configurable triggers and alerts.
CYCLES
Nine nested scales: Micro (22/23 min), 90-Minute, 6H, Daily, Weekly, Monthly, Quarterly, Yearly and 4-Year — all anchored to the New York 18:00 session open, DST-safe. On every chart timeframe the indicator works three tiers (LTF / MTF / HTF); higher scales can be shown optionally. Supported chart timeframes: 1m, 5m, 15m, 1h, 4h, Daily, Weekly and Monthly.
SMT DETECTION
Choose a triad preset (NQ/ES/YM · DXY/EU/GU · NQ/ES/NKD · BTC/ETH/SOL · DXY/6E/6B · GC/SI/HG · ZB/TN/ZF) or set three custom symbols. Each symbol is evaluated against its own reference level inside the cycle structure; when the triad disagrees, a divergence mark prints on the bar where it happened:
▽ bearish SMT · △ bullish SMT · ▼ / ▲ entry marks · ✕ invalidated signal · Ts true sweep (optional) · ▽? / △? forming on the live bar (optional)
Inverse-correlated triads (e.g., DXY against EU/GU) are handled automatically — custom triads get per-symbol inverse switches. Detection basis is selectable (wick, close, or wick+close confluence), and the entry trigger can be immediate or CISD close-through. A quarter-pair panel controls which quarter relationships are evaluated, and an optional True-Open premium/discount gate is included (off by default).
TRUE OPENS
TMSO, TSO (session), TDO (daily), TWO (weekly), TMO (monthly), TQO (quarterly) and TYO (yearly) — each drawn from the true opening price of its cycle, on the chart timeframes where it is tradeable.
QUARTER LABELS
A label row names each timeframe's quarters — micro quarters on 1m, up through days, weeks, months, calendar quarters and years on higher charts. One label per window, centered in the window.
SIGNAL CONTROL
The Signals group shows exactly what you want and nothing more: SMT marks, entry marks, invalidation ✕, TS marks, forming marks, and whether scales above your HTF tier draw at all. Per-cycle and per-tier visibility switches are separate. An experimental time-based signal filter is included (off by default).
ALERTS
Four static alert conditions (SMT bearish/bullish, CISD entry bearish/bullish) plus detailed alert() payloads carrying the scale, pair, symbols and cause — create the alert with "Any alert() function call". Alerts can be scoped to one scale or all.
NOTES
Chart one of the triad symbols for the cleanest reading; with an inverse member in the triad (e.g., DXY), signal direction reads from the other two symbols.
Time anchors are New York based; built around futures sessions and also usable on FX, crypto and stocks.
The top-right readout always shows the active triad and configuration.
Educational tool for time-based market analysis — not financial advice.
What it deliberately does not contain: how divergence is judged inside the quarters, the pair semantics, the close/wick reference rule, the inverse-mirroring mechanics, and the experimental filter's rules — those stay only in your local repo docs. It names features (which anyone can see in the settings panel anyway) and explains usage, which is what TradingView moderators require for protected-source publications.
Chỉ báo
Chỉ báo
Balanced Price Range (BPR) [TakingProphets]OVERVIEW
The Balanced Price Range (BPR) study identifies areas where two opposing fair value gaps overlap in price. It marks the shared region between an inverted fair value gap and the newly formed gap that caused the inversion, tracking these zones forward in time until they are invalidated.
PURPOSE AND SCOPE
-----------------------------------------------------------------------------------------------
This study is intended for analytical and educational use. It automates the visual identification of overlapping gap regions so that a chart reader does not need to manually measure where two opposing fair value gaps intersect.
The study does not generate trade signals, recommendations, or forecasts. All markings are analytical references only.
LOGIC STRUCTURE
-----------------------------------------------------------------------------------------------
The study first identifies standard fair value gaps.
When an existing fair value gap is inverted by a confirmed candle close through it, the study checks whether the move responsible for that inversion also formed a new fair value gap in the opposing direction.
If it did, the study calculates the overlapping price region shared by the original gap and the newly formed opposing gap. That shared region is the Balanced Price Range.
If the two gaps do not share any overlapping price, no zone is drawn.
A bullish gap inverted downward by a bearish gap produces a bearish Balanced Price Range. A bearish gap inverted upward by a bullish gap produces a bullish Balanced Price Range.
A zone is invalidated when price closes back through it against its direction. A bearish zone is invalidated on a confirmed close above the zone high. A bullish zone is invalidated on a confirmed close below the zone low. Invalidated zones are removed from the chart and are not restored.
All state transitions require a confirmed bar close. Wicks and intrabar movement do not trigger detection or invalidation.
COMPONENTS AND VISUALS
-----------------------------------------------------------------------------------------------
Balanced Price Range zones are drawn as boxes spanning the overlapping price region and extended forward in time.
Bullish and bearish zones are styled independently.
An optional gradient renders each zone in graded bands at the zero, twenty five, fifty, seventy five, and one hundred percent levels of the zone, each with independent color, style, and thickness settings.
Optional labels identify each zone as a Balanced Price Range, positioned outside the lower right of the zone, with selectable label sizes.
INPUT CATEGORIES
-----------------------------------------------------------------------------------------------
General settings control detection sensitivity, minimum zone sizing, and how many zones are displayed on the chart.
Style settings control zone colors, gradient bands, label visibility, and label sizing for bullish and bearish zones independently.
USAGE GUIDELINES
-----------------------------------------------------------------------------------------------
This study is intended as a contextual reference for observing how price interacts with regions where opposing gaps overlap.
Zones may be used as study markers for observation and journaling. They are not entries, exits, or targets.
The study is designed for use alongside a reader's own analysis rather than in isolation.
OPERATIONAL NOTES AND LIMITATIONS
-----------------------------------------------------------------------------------------------
Because the overlapping region is by definition smaller than either source gap, zones can be narrow on lower timeframes. The minimum sizing filter is provided to manage this.
Detection depends on confirmed closes, so zones appear only after the relevant candle has closed.
Historical and real time behavior may differ in appearance as bars confirm.
Past chart behavior does not indicate future behavior. This study describes structure that has already formed.
ORIGINALITY AND ATTRIBUTION
-----------------------------------------------------------------------------------------------
This implementation is original code. The underlying concepts of fair value gaps, gap inversion, and balanced price ranges are widely discussed within the trading education community and are not claimed as proprietary.
TERMS AND DISCLAIMER
-----------------------------------------------------------------------------------------------
This study is provided for educational and analytical purposes only. It does not constitute financial advice, investment advice, or a recommendation to buy or sell any instrument.
Trading involves substantial risk of loss. Any decisions made are the sole responsibility of the user.
Chỉ báo
Untouched Reversal Levels MTFShould draw out horizontal lines for uncrossed Engulfing Candles (Red), Hammers (Blue), Abandon Baby (Purple).
Chỉ báo
Permutation Entropy Regime [Jayadev Rana]Permutation Entropy Regime
OVERVIEW
Permutation Entropy Regime is an original open-source tool that measures how ordered or random recent price action is, and turns that into a simple market-state read. Instead of moving averages or momentum, it borrows an idea from information theory called permutation entropy (the Bandt-Pompe method) to score the "predictability" of the market, then classifies the current bar into one of five regimes.
It is not a buy/sell signal generator. It is a context and filter tool that tries to answer one question: is the market currently structured enough to trend or swing, or is it behaving like random noise where most systematic edges break down?
HOW IT WORKS
1. Ordinal patterns. Over a rolling window of closes, the script looks at every group of three consecutive closes and records their rank order (which is highest, middle, lowest). With three values there are six possible orderings.
2. Permutation entropy. It builds a histogram of how often each of the six orderings appears in the window, then computes the Shannon entropy of that distribution and normalizes it to a 0-1 scale. A low value means a few orderings dominate (structured, repeatable behavior); a high value means all orderings appear about equally (random-walk-like behavior).
3. Predictability. Predictability is reported as (1 - normalized entropy) x 100. Higher means more ordered.
4. Structure Rank. Because raw predictability sits in different ranges on different symbols and timeframes, the script percentile-ranks the current predictability against its own recent history (Structure Rank Lookback). This adaptive 0-100 Structure Rank is the main line and the basis for the regime decision, so the tool self-calibrates to each market.
5. Drift bias. A separate term measures the net share of up versus down closes across the window (-1 to +1). It is used only to label a structured regime as Up, Down, or Range.
REGIMES
- Structured Up: Structure Rank at or above the Structured Level and drift bias positive.
- Structured Down: Structure Rank at or above the Structured Level and drift bias negative.
- Structured Range: Structure Rank high but drift near zero (ordered but sideways or mean-reverting).
- Neutral: Structure Rank between the two levels.
- Random / Chop: Structure Rank at or below the Chop Level.
INPUTS
- Core: Entropy Window (window length for the ordinal-pattern histogram) and Predictability Smoothing (EMA applied to the raw score).
- Regime: Structure Rank Lookback (adaptive percentile window), Structured Level and Chop Level (the two cutoffs), and Drift Bias Threshold (how strong the directional tilt must be to call Up or Down).
- Visuals: color price bars by regime, shade the indicator pane by regime, show the dashboard and choose its corner.
- Colors: one color per regime.
WHAT IT PLOTS
- Structure Rank line (0-100), colored by the active regime.
- Raw Predictability line for reference.
- Dashed Structured Level, Chop Level, and a midline.
- Optional regime background in the pane, and optional regime coloring of the main price bars.
- A dashboard showing the regime, Structure Rank, Predictability, normalized entropy, drift bias, and how many bars the current regime has lasted.
ALERTS
Five bar-close alertconditions: entered Structured Up, entered Structured Down, entered Structured Range, entered Random / Chop, and a generic Regime Changed. They evaluate on confirmed bar close.
HOW TO USE IT
This is a context filter, not a signal by itself. Common uses:
- Take your own trend or breakout setups mainly while the market is in a Structured Up or Structured Down regime, and stand aside or reduce size in Random / Chop.
- Prefer mean-reversion or range tactics in Structured Range.
- Combine the regime with your existing entries rather than acting on the regime alone.
MARKETS AND TIMEFRAMES
It is symbol- and timeframe-agnostic because the Structure Rank adapts to each market's own history. It runs on intraday and higher timeframes. Note that most liquid instruments are close to random at short intraday scales, so absolute Predictability is often low; the Structure Rank is what makes the reading comparable and actionable across markets.
CALCULATION AND REPAINTING NOTES
- All calculations use closed-bar data (close and historical closes). Values for the most recent, still-forming bar update until that bar closes, which is normal for any close-based indicator; historical values do not repaint after a bar has closed.
- The embedding dimension is fixed at 3 (groups of three closes). Ties between equal closes are resolved with a consistent rule and are rare on most instruments.
- There are no higher-timeframe requests and no future-looking access.
LIMITATIONS
- It measures structure, not direction quality; a structured regime is not a guarantee of follow-through.
- Permutation entropy of order 3 is a coarse estimate; very small windows are noisy and very large windows are slow to react.
- On extremely low-volatility or illiquid data, repeated equal closes can bias the pattern histogram.
- Like all indicators, it describes past and current behavior and does not predict future prices.
This script is open-source under the Mozilla Public License 2.0. It is provided for research and educational purposes only and is not financial advice. Test any tool on your own markets and settings before relying on it.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
bluealgocapital
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Chỉ báo
Frequency Domain Predictor This indicator identifies the dominant repeating cycle within price movement by first suppressing long-term trend components with a high-pass filter, then isolating a single clean wavelength using an octave-wide band-pass filter built from a high-pass and SuperSmoother combination; it then generates a phase-advanced forecast of that cycle by creating a quadrature (Hilbert transform) version of the filtered wave and blending it with the original at an adjustable phase angle, producing a predictive "lead" line that anticipates the cycle's next turn rather than merely reporting where it has already been, with a companion multi-timeframe table scoring trend alignment across the hourly, daily, weekly, and monthly charts (weighted 1/2/3/4 respectively, for a maximum combined score of ±10) to show whether shorter and longer-term rhythms are confirming or conflicting with one another.
The basic idea
This code is based on the technician John Ehlers' article "A New Look at Prediction"
Imagine the stock market moves in waves, kind of like ocean tides. Prices don't just go up and down randomly — they tend to swing in rhythms, some short (like a few days), some longer (like a few weeks or months). This indicator tries to spot those rhythms and, once it "learns" the rhythm, make a good guess about where the wave is heading next — a little bit like watching a swing go back and forth and being able to predict when it'll reach the top, just from watching its motion.
The two lines on the chart
Think of price movements like music, made up of layered sounds Imagine the stock's price history is actually a piece of music playing many notes at once — some very deep, slow bass notes (the big, months-long trends), and some quick, high-pitched notes (the short daily jitters). They're all playing on top of each other at the same time, which is why raw price charts look like noisy scribbles. Step 1: Turn down the bass The first move is like taking an equalizer and turning way down on the deep bass notes — the slow, long-term drift in price. Doing this strongly enough lets the shorter, quicker rhythms come through clearly, the way turning down the bass on a stereo lets you suddenly hear the higher notes much better. Step 2: Tune in to one specific note Once the bass is turned down, the indicator tunes in like a radio dial to one particular rhythm — not too broad, not too narrow, just wide enough to catch one clean "note" (a repeating cycle of a certain length, like a monthly wave) without picking up static from neighboring notes. That's the "dominant cycle" — the main heartbeat the indicator has decided to track. Step 3: Make a copy that's a quarter-beat ahead Here's the clever part. Once it has that clean rhythmic note, the indicator makes a second version of it that's shifted slightly ahead in time — like clapping just a fraction of a second before the beat instead of on the beat. It does this with simple math (comparing the note's value now versus a couple of moments ago), which naturally produces something that leads the original by a quarter-cycle. Step 4: Blend the two into a custom forecast Now it has two versions of the same rhythm: the "on-beat" version and the "ahead-of-beat" version. By blending these two together in different proportions, it can dial in exactly how far ahead it wants to lean — a little ahead, or a lot ahead, like adjusting how early you want your alarm clock to go off. The result That blended, forward-leaning version is the forecast line (the blue line on the chart). It's the indicator's best attempt at saying "if this rhythm keeps behaving the way it has been, here's roughly where it's about to go next" — a few days or weeks before the rhythm actually gets there. The red line shows the wave the indicator has identified in the price — it's smoothing out all the noisy zigzags into one clean, readable rhythm.
The blue line is the indicator's forecast. It's designed to move slightly ahead of the red line — like a weather forecaster trying to predict tomorrow's temperature based on today's trend, rather than just reporting today's temperature after the fact.
When the blue line is above the red line and rising, that's the indicator's way of saying "I think this rhythm is about to turn upward." When it dips below and falls, it's leaning the other way.
The table on the right
Since one rhythm on one time scale (say, hourly) doesn't tell the whole story, the table checks the same wave-reading logic across four different "zoom levels" — hourly, daily, weekly, and monthly — like checking the tide at four different distances from shore.
Each one gets scored based on whether it's pointing up or down, but longer time frames count more, because a monthly trend is a much bigger, more meaningful signal than an hourly blip:
Monthly: worth 4 points
Weekly: worth 3 points
Daily: worth 2 points
Hourly: worth 1 point
Add them all up, and you get a score from -10 to +10. A +10 means every single time scale agrees the trend is up — about as strong an "all clear" signal as this tool can give. A -10 means everything agrees it's heading down. Anything in between means the different time scales disagree with each other — like the tide near the shore going one way while the tide further out is doing something else — which usually means it's a more uncertain, choppy moment to be reading too much into any single signal.
The honest caveat
This is a forecasting tool, not a crystal ball — it's built on the assumption that recent rhythms will continue a little longer, which is often true but not always. Think of it like a weather forecast: helpful for leaning one way or another, but not a guarantee.
Chỉ báo
RDZ PRO SMC**RDZ PRO SMC – Smart Money Concepts Trading Indicator**
RDZ PRO SMC is a Smart Money Concepts (SMC) market structure indicator designed to help traders identify key price action areas, liquidity events, and potential trade opportunities.
The indicator combines multiple SMC concepts into one clean chart tool:
• **Market Structure**
* Higher Highs (HH)
* Higher Lows (HL)
* Lower Highs (LH)
* Lower Lows (LL)
* Break of Structure (BOS)
* Change of Character (CHOCH)
• **Liquidity Analysis**
* Previous Day High/Low
* Previous Week High/Low
* Previous Month High/Low
* Liquidity sweep detection
• **Fair Value Gaps (FVG)**
* Bullish and bearish imbalance zones
* Automatic FVG box marking
* Optional mitigation removal
* Consequent Encroachment (CE) levels
• **Multi-Timeframe Analysis**
* Higher timeframe bias
* Lower timeframe confirmation
* Designed for traders using top-down analysis
• **Entry Assistance**
* BUY and SELL signals based on structure confirmation, trend bias, and imbalance conditions
* Alerts available for BOS, CHOCH, FVG, and entry signals
RDZ PRO SMC is designed for traders who use price action, liquidity concepts, and institutional-style market analysis. It is not a standalone trading system and should be combined with proper risk management and personal trading rules.
Best suited for futures, indices, forex, and crypto markets.
Chỉ báo
DeV 1H Sweep Alert4H Sweep Alert Strategy
This indicator generates an alert when a 4-hour candle performs a liquidity sweep of the previous candle and closes strongly in the opposite direction, indicating a potential trend continuation or reversal.
Long Alert Conditions
A Buy Alert is triggered only when all of the following conditions are met:
The previous candle is bullish (green).
The previous candle is not a Doji and has a clearly defined body.
The current 4-hour candle sweeps below the previous candle's Low.
The current 4-hour candle closes above the previous candle's High.
The alert is generated only after the candle closes.
Short Alert Conditions
A Sell Alert is triggered only when all of the following conditions are met:
The previous candle is bearish (red).
The previous candle is not a Doji and has a clearly defined body.
The current 4-hour candle sweeps above the previous candle's High.
The current 4-hour candle closes below the previous candle's Low.
The alert is generated only after the candle closes.
Filters
To improve the quality of the alerts, the indicator ignores the following market conditions:
Doji or indecisive previous candles, as they do not represent strong directional intent.
Range-bound or sideways markets, where this pattern has a higher probability of producing false signals.
Chỉ báo
1H Sweep Alert By Guhan 1H Sweep Alert Strategy for Indian Index
This indicator generates an alert when a 1-hour candle performs a liquidity sweep of the previous candle and closes strongly in the opposite direction, indicating a potential trend continuation or reversal.
Entry Model
Target 1:1
Stop loss - Alert candle Below Low
Entry - After close of alert candle
Long Alert Conditions
A Buy Alert is triggered only when all of the following conditions are met:
The previous candle is bullish (green).
The previous candle is not a Doji and has a clearly defined body.
The current 1-hour candle sweeps below the previous candle's Low.
The current 1-hour candle closes above the previous candle's High.
The alert is generated only after the candle closes.
Short Alert Conditions
A Sell Alert is triggered only when all of the following conditions are met:
The previous candle is bearish (red).
The previous candle is not a Doji and has a clearly defined body.
The current 1-hour candle sweeps above the previous candle's High.
The current 1-hour candle closes below the previous candle's Low.
The alert is generated only after the candle closes.
Filters
Chỉ báo
4H Sweep Alert by Guhan4H Sweep Alert Strategy
This indicator generates an alert when a 4-hour candle performs a liquidity sweep of the previous candle and closes strongly in the opposite direction, indicating a potential trend continuation or reversal.
Target
Target- 1:1
Stop loss - Alert candle low
Entry - After the close of the alert candle
Long Alert Conditions
A Buy Alert is triggered only when all of the following conditions are met:
The previous candle is bullish (green).
The previous candle is not a Doji and has a clearly defined body.
The current 4-hour candle sweeps below the previous candle's Low.
The current 4-hour candle closes above the previous candle's High.
The alert is generated only after the candle closes.
Short Alert Conditions
A Sell Alert is triggered only when all of the following conditions are met:
The previous candle is bearish (red).
The previous candle is not a Doji and has a clearly defined body.
The current 4-hour candle sweeps above the previous candle's High.
The current 4-hour candle closes below the previous candle's Low.
The alert is generated only after the candle closes.
Filters
To improve the quality of the alerts, the indicator ignores the following market conditions:
Doji or indecisive previous candles, as they do not represent strong directional intent.
Range-bound or sideways markets, where this pattern has a higher probability of producing false signals.
This setup is designed to perform best in established trending markets, where liquidity sweeps are more likely to result in strong directional moves.
Chỉ báo
KEY LEVEL SMC - WatermarkThe "KEY LEVEL SMC - Chart Watermark Utility" is a professional, high-performance charting tool written in Pine Script v6. It is specifically designed for financial content creators, educators, and systematic traders who want to overlay clean, fully customizable brand identities and dynamic market data directly onto their TradingView charts.
Implementing custom tables instead of standard drawing objects, this script delivers a lightweight, lag-free visual watermark that adapts to any screen resolution or chart layout.
### 📐 Algorithmic Feature Breakdown:
1. **Dual-Layered Table Layout Control:**
The script utilizes the Pine Script `table.new()` architecture to split the layout into two independent visual components:
* **Brand Layer:** Displays a bold brand title and a customizable operational slogan.
* **Market Data Layer:** Dynamically fetches real-time environment data, concatenating `syminfo.ticker` and `timeframe.period` metrics alongside a custom-formatted live date sequence.
2. **Multi-Axis Alignment Mechanics:**
Instead of forcing fixed grid positions, users can independently control both the Brand and Symbol layers. The positions are dynamically compiled via string concatenation matching native position variables (e.g., combining `textVPosition` and `textHPosition`), giving traders 9 unique placement zones for each layer.
3. **Dark-Mode Optimized Typography Customization:**
The UI parameters feature granular controls over font sizes (ranging from tiny to huge layouts), text alignment arrays (`left`, `center`, `right`), color variables optimized for high contrast on dark charts, and precision cell sizing via percentage-based width and height parameters.
### 💻 How To Use & Set Up:
* **Branding:** Open the script settings block and input your own community brand text or trading slogan inside the "Text Settings" group.
* **Streamlining Layouts:** Move the symbol data to the bottom-right or top-center to prevent interference with your active Smart Money Concepts (SMC) or Order Flow technical indicators.
* **Transparency Tuning:** Adjust the background color parameter to keep the cell containers 100% transparent, maintaining an uninhibited view of the institutional price action beneath.
### 🛑 Originality and System Compliance:
This script complies fully with TradingView's version 6 guidelines, utilizing modernized strict typing, safe table rendering logic, and local variable block declarations. It provides standalone utility value for charts shared across trading communities.
Chỉ báo
BitMode H TheurgyLabsBitMode H is the lower-pane oscillator companion to the BitMode signal engine. It runs the exact same signal, gate, and band logic as the BitMode overlay — bar for bar — and instead of drawing bands on price, it opens up the engine's internal state so you can see why a signal did or did not fire.
What it plots. The primary line is a band-penetration "stretch" oscillator: it reads roughly minus-one at the buy band and plus-one at the sell band, and pushes beyond those levels when price penetrates into a trigger zone, tinting toward the buy hue below the midline and the sell hue above it. Beneath it, a pressure histogram shows capitulation depth — deep green when selling pressure is at a buy-worthy extreme, fading to red as the tape turns frothy. A gold line tracks the efficiency-ratio regime and is shifted so it crosses zero exactly at the point where the regime gate would begin to veto entries — above zero means the tape is too trendy to revert, below means it is in a reversion-friendly range. Background tinting flags the armed state of the engine: orange on volume-spike flush or reach bars, bright cyan when a deep-capitulation override is active, and an optional magenta wash (off by default) marking bars where the regime gate is rejecting buys.
Marker parity. Because BitMode H shares the overlay's full signal chain, its buy and sell triangles fire on exactly the same bars as the overlay's, plotted at the stretch value. When BitMode's optional deployment sizing is enabled, H's markers shade with size in the same way the overlay's do, so the two panes always tell the same story. An optional dimmed layer can also reveal "vetoed" flushes — bars where a band flush occurred but a gate rejected the entry — showing exactly what the filters are removing.
Reading it. A deep negative stretch together with a deep-green pressure bar, on a cyan or neutral background, is the classic BitMode buy setup — price at a structural extreme, pressure capitulating, regime not vetoing. A magenta background or a gold line above zero explains a missing buy: the structure was there but the regime gate held it off. The compact side panel mirrors the overlay's diagnostic state — regime, pressure, efficiency ratio, volume ratio, band-gate status, and the effective preset — so you can keep the oscillator pane open without needing the overlay table in view.
Every plot is styleable — colors and line widths for the stretch line, pressure histogram, efficiency line, reference levels, and markers are all adjustable, and the background tints can be recolored or switched off individually.
Use BitMode H alongside the BitMode overlay for the complete picture: the overlay for entries, exits, and deployment on price; the companion for the engine state driving each decision. This is a research and decision-support tool, not financial advice or a performance guarantee. Test before relying on it and manage your own risk.
Chỉ báo
BitMode TheurgyLabsBitMode is a long-only mean-reversion signal engine from TheurgyLabs, built for crypto perpetuals and tuned on BTC. It marks high-probability reversion entries and structurally patient exits directly on the chart, and pairs with the BitMode H oscillator companion for a full read of what the engine is doing on every bar.
How it works. BitMode requires two independent things to agree before it acts, rather than firing on a single crossover. The first layer is structural: penetration-learned Donchian bands that adapt their width from the market's own wick history, so "extreme" is measured against how far this instrument actually tends to overshoot rather than a fixed setting. The second layer is engine state: a volume-expansion check, an efficiency-ratio regime read, and a pressure z-score that measures how stretched price is from its recent value area. A standard buy fires when price flushes into the lower band on expanded volume while the regime permits reversion. A separate deep-capitulation path lets an extreme pressure reading take an entry on its own, so genuine washouts are not filtered away.
Exits are built around patience, not speed. Sells are partial — a percentage of the remaining position — and the engine is long-only by design; it never flips short and rarely closes the whole position at once. When the higher-timeframe sell-band gate is enabled (recommended, and on by default), every exit is held back until price reaches a genuine higher-timeframe structural high, which is what keeps the engine from dumping a fresh entry into a spike-then-fade. An optional sell cooldown adds bar-spacing where a market's reversions are slow enough to reward it. On the chart this appears as a stepped higher-timeframe band drawn above the standard chart bands; the step pattern is normal and reflects the higher-timeframe update clock.
Regime handling is asset-aware. An efficiency-ratio gate suppresses entries when the tape is trending too cleanly to revert. An optional ribbon trend-veto adds a second regime filter, but because counter-trend dips behave differently across assets, this filter is treated as per-asset rather than a global default — it helps on some instruments and hurts on others, so it is exposed as a toggle. An Auto Preset applies BTC-appropriate volume and cooldown settings automatically on BTC; every other asset falls back to manual inputs so nothing is silently mis-applied.
Deployment sizing (optional, off by default). Out of the box BitMode places a flat base-dollar buy on every signal, which keeps the signal read clean. For users who want to study position deployment rather than pure signal quality, three optional levers are included: a max-buys-per-cycle cap, geometric position tiering, and a pressure-scaled conviction multiplier that adds more on deeper capitulation. All three default to neutral, so enabling them changes only the sizing and never the signal itself. When sizing is active, buy markers shade progressively deeper blue for larger positions, and a faded marker shows where a signal fired but the cap held the deploy — a quick visual read of how the deployment is behaving.
On the chart you get adaptive buy/sell bands, the higher-timeframe patience band, clean triangle entry/exit markers, and a compact diagnostic panel reporting the live regime, volume ratio, pressure reading, band-gate status, and the effective preset in force. A signal value is also exported to the data window for external logging and scoring.
BitMode is a decision-support and research tool, not financial advice or a guarantee of results. Mean-reversion methods assume a market keeps reverting; they underperform in persistent one-way trends, and past behavior does not predict future results. Test on your own instruments and timeframes and manage risk accordingly.
Chỉ báo
Adaptive Squeeze Breakout [NQ Labs]
Adaptive Squeeze Breakout
The Adaptive Squeeze Breakout combines two concepts into a single volatility-timing tool: adaptive Bollinger Bands that adjust to the current volatility regime, and a squeeze-to-breakout system that identifies volatility compression before expansion.
The Two Core Ideas:
1. Adaptive Bollinger Bands
Standard Bollinger Bands use a fixed deviation multiplier, which means they treat trending and choppy conditions identically. This version adjusts the deviation using a Kaufman-style efficiency ratio — a measure of how directional recent price movement has been relative to its total path.
When price is moving efficiently (trending), the bands widen to give the move room. When price is chopping back and forth (low efficiency), the bands tighten. The result is a band that breathes with the market's character rather than applying one setting everywhere. The Adaptive Strength input controls how much this effect is applied, from fully fixed (0) to fully adaptive (1).
2. Squeeze-to-Breakout
A "squeeze" occurs when volatility compresses — often preceding a larger move. This is detected by measuring when the adaptive Bollinger Bands contract inside the Keltner Channels. While the bands sit inside the Keltner range, the market is coiling. When they expand back outside, the squeeze releases, and the tool flags the breakout in the direction of momentum.
How It Works On The Chart:
▢ Adaptive Bands — The Bollinger Bands, colored by momentum direction, with the deviation adjusting to volatility efficiency.
▢ Squeeze Highlight — An amber background and marker dots appear while the market is in a squeeze (bands compressed inside the Keltner Channels), giving an at-a-glance view of coiling conditions.
▢ Breakout Signals — A triangle marks the bar where a squeeze releases, pointing in the direction of momentum at that moment.
▢ Dashboard — A panel showing the current squeeze state, momentum direction, bandwidth percentile (where current volatility sits historically), volatility regime (compressed / normal / expanded), and the live adaptive deviation value.
Settings:
All components are adjustable: Bollinger length and base deviation, adaptive strength, Keltner length and ATR multiplier, and full control over visuals, colors, and the dashboard position. Alerts are available for breakouts (up and down) and for the start of a squeeze.
How Traders Might Use It:
The squeeze highlights conditions of volatility compression, which some traders use as a preparation signal — a period to watch for an impending expansion rather than to trade the range itself. The breakout marker then indicates the direction in which the compression resolved. As with any volatility tool, squeezes can release in either direction and can produce false starts, so many traders combine this with a trend or structure filter rather than trading breakouts in isolation.
Notes:
This indicator visualizes volatility conditions and breakout timing. It does not predict direction with certainty and makes no claim about future performance. It is intended as one component within a broader analysis process. Results vary across markets, timeframes, and conditions — test thoroughly before relying on it.
Open-source and free to use.
Feedback and suggestions are welcome.
Chỉ báo
Faytterro Market Structure - ROC MomentumFaytterro Market Structure - ROC Momentum
A special thanks to @faytterro for the original Market Structure Break (MSB) indicator that forms the foundation of this tool.
What This Indicator Does:
This enhanced version combines Faytterro's powerful MSB (Market Structure Break) detection with ROC (Rate of Change) momentum filtering to provide higher-quality trade signals.
Key Features:
Market Structure Breaks (MSB) - The original MSB logic identifies key structural breakpoints in price action, drawing trend lines and displaying distance percentages to recent highs and lows.
ROC Momentum Filter - A 3-period ROC (Rate of Change) momentum indicator acts as a trend filter. It confirms bullish momentum when ROC is positive and bearish momentum when negative, helping to avoid false MSB signals during choppy or ranging markets.
Smart Signal Generation - Buy signals are generated when:
MSB crosses below zero (original MSB buy condition)
ROC momentum confirms bullish trend
Sell signals are generated when:
MSB crosses above zero (original MSB sell condition)
ROC momentum confirms bearish trend
Take Profit Management - Optional automatic TP levels can be set as a percentage from entry, with visual flags marking when TP targets are hit.
Complete Alert System - Built-in alerts for:
Momentum-confirmed Buy/Sell signals
Take Profit completions
Visual Features:
Trend background coloring (green for bullish, red for bearish)
MSB structure lines on the chart
ROC momentum display in a separate pane
Information panel showing ROC values and current trend state
How to Use:
Enable/disable the trend filter as needed
Adjust ROC period and threshold values to match your trading style
Use the take profit feature for automated exit management
Set alerts to never miss a signal
This indicator is ideal for traders who want to combine market structure analysis with momentum confirmation for higher-probability entries.
Chỉ báo
Chỉ báo
Stryk HTF Reversal Box# Stryk HTF Reversal Box — TradingView publication description
*(Paste the section below into the description box when you publish. It is written to avoid performance or outcome claims. Keep it as-is; do not add win rates, returns, or "profitable" language.)*
---
## Stryk HTF Reversal Box
**Overview**
Stryk HTF Reversal Box is a market-analysis tool that carries a higher-timeframe reaction zone onto your entry chart. It draws a High/Low box from recent closed higher-timeframe bars, but only when a higher-timeframe bar closed at a conviction extreme of its ATR band with above-average volume — the kind of location where a reaction, or a strong push through it, tends to begin. The box then moves through a clear, colour-coded lifecycle so you can read its state at a glance, and an optional panel measures the behaviour of the boxes on your current chart.
**The idea**
Levels drawn purely from price often lack context: why should this high matter more than that one? This tool adds two pieces of information a bare level does not carry — where a higher-timeframe bar closed within its own volatility band, and whether it did so on meaningful volume. A close pinned to the top of the band on strong volume is a stretched, high-participation event; a shelf built there is a more considered level than an arbitrary swing high. The script turns that reasoning into a defined, repeatable object.
**How it works**
- **Band position.** On the selected higher timeframe, an EMA-of-close band of ±(width × ATR) is constructed. The last closed higher-timeframe bar's close is located inside that band on a 0-to-1 scale (0 = band low, 1 = band high).
- **Qualification.** A close in the top of the band (at or above the Top threshold) on above-average volume marks a stretched high and draws a red "expect-down" box. A close in the bottom (at or below the Bottom threshold) on above-average volume draws a green "expect-up" box.
- **The box.** It spans the High/Low of the last N closed higher-timeframe bars and re-rolls on each higher-timeframe close until a bar qualifies.
- **Breakout.** On your entry chart, a candle that closes beyond a box edge with volume above the chart average locks the box and projects a target a chosen multiple of ATR beyond the edge. The box then takes the colour of the actual break direction, so a push through the extreme flips its colour to the continuation side.
- **Retest shelves.** 25 / 50 / 75% levels inside the box mark common pullback references. If price closes through the opposite edge, the box holds position and re-projects a target in the new direction.
- **Consolidation.** If the target is not reached within the timeout while price remains inside the box, the box turns blue and removes its target, waiting for a fresh break rather than assuming direction.
**State colours (line style shows the state)**
- Grey dotted — forming, waiting for a qualifying higher-timeframe bar
- Red / green dotted — armed, expecting a reaction down / up
- Solid — a volume-backed break has set a target
- Blue dotted — consolidating inside the box after the timeout
**The panel**
The optional corner panel is a self-measuring summary of the boxes on your current chart and timeframe only: how many reached their target, how many entered consolidation, the resulting rate shown with its sample size (n), and the average number of bars taken to reach target. It describes what has already happened on this chart. It is a study aid, not a projection, and it recalculates when you change settings.
**How to use it**
1. Choose the higher timeframe you take context from and load the tool on the entry timeframe you actually trade.
2. Watch for an armed (red or green) box forming a reaction zone.
3. A box turning solid marks a volume-backed break with a projected target; the 25 / 50 / 75% shelves are retest references inside the zone.
4. Use the panel to understand how these boxes have behaved on your instrument and timeframe before relying on them.
Every threshold, length, colour, width, and label is adjustable in the settings, and each input carries an in-app tooltip describing exactly what it does.
**Notes on repainting**
Higher-timeframe data is read from confirmed, closed bars using a one-bar offset with lookahead disabled, and all state changes are evaluated on the bar close. The live projection to the right of price is cosmetic; the box edges, breakouts, targets, and states are fixed once determined on a closed bar.
**Disclaimer**
This script is a technical-analysis and study tool. It does not place orders, does not provide financial advice, and makes no claim about future results. Markets involve risk; use your own judgement and risk management.
Chỉ báo
SBP Structured OscillatorSBP Structured Oscillator
SBP Structured Oscillator is a composite momentum and market-context oscillator designed to present directional pressure, price displacement, and momentum rotation in a single normalized display.
The purpose of the indicator is not to combine several traditional indicators as separate visual tools. Instead, different measurements are processed together to create one structured oscillator. Each component has a specific role in determining whether price movement is extended, directional pressure is improving or weakening, and the current market environment provides sufficient context for a signal marker.
How the Oscillator Works
The oscillator begins by measuring the distance of price from a smoothed price basis. This distance is normalized by Average True Range (ATR), helping the calculation adapt to instruments with different prices and volatility characteristics.
The normalized displacement is then standardized over a historical lookback period.
A directional composite is added to this displacement measurement. The composite evaluates:
• Price position relative to a smoothed trend basis
• Direction of an adaptive Hull-style weighted average
• ATR-normalized price impulse
• Relative bullish and bearish directional strength
• Changes in directional strength, referred to internally as acceleration
These elements work together because displacement alone can show that price has moved away from its recent equilibrium but does not explain whether directional pressure is strengthening or weakening. The trend and impulse components provide this additional context.
The resulting value is normalized into an oscillator range of approximately -100 to +100.
Adaptive Oscillator Smoothing
The indicator provides three Trading Modes:
SCALPING – uses faster oscillator smoothing and shorter signal spacing.
INTRADAY – applies medium smoothing and spacing for general intraday chart analysis.
SWING – uses stronger smoothing and wider signal spacing to reduce sensitivity to short-term fluctuations.
Volatility is measured relative to its recent ATR average. This volatility relationship is used as a blending weight between faster and smoother oscillator calculations.
The objective is to adjust the oscillator's visual rhythm while maintaining fixed calculation branches suitable for Pine Script execution.
Directional Balance
An adaptive directional-balance calculation compares the position of price within a recent high-low range.
The observation length changes according to a price-efficiency measurement. More directional movement and less efficient movement can therefore produce different observation lengths.
The resulting balance value is used as additional context when evaluating bullish and bearish conditions.
Market Context Filters
Optional context filters are included to reduce signals that occur without sufficient supporting conditions.
Higher-Timeframe Context compares higher-timeframe price with a smoothed higher-timeframe basis.
Structure Context evaluates confirmed pivot progression and recent range expansion.
Directional Context evaluates the current bullish or bearish dominance calculation.
Compressed Regime Filter identifies conditions where both trend separation and ATR are relatively contracted.
These components are intentionally used as contextual filters rather than plotted as separate indicators. Their purpose is to support the oscillator's displacement and rotation logic.
Context Score
The script calculates a deterministic Context Score from directional dominance, directional acceleration, and normalized impulse.
This value is a composite technical score. It is not a statistical probability, prediction, or historical win-rate measurement.
The Minimum Context Score input allows the user to control the amount of directional activity required for primary signal evaluation.
Red and Green Dots
Small dots are plotted directly on the oscillator line to identify filtered changes in oscillator direction.
A green dot marks a change in the smoothed oscillator slope from non-positive to positive.
A red dot marks a change in the smoothed oscillator slope from non-negative to negative.
The dot engine uses mode-dependent smoothing and minimum bar spacing to reduce reactions to minor oscillator fluctuations.
Dots follow an alternating directional sequence so repeated dots of the same colour are suppressed until an opposite directional event occurs.
The dots are analytical rotation markers and should be interpreted together with price structure and the broader chart context.
BUY and SELL Markers
Primary BUY and SELL markers use stricter conditions than the red and green dots.
The oscillator must first reach or recently leave a defined displacement area. Directional rotation, the internally smoothed oscillator trend, selected context conditions, Context Score, and market-regime conditions are then evaluated.
Three Signal Modes are available:
EARLY – uses shallower displacement requirements and less contextual agreement.
BALANCED – provides a middle setting between responsiveness and filtering.
SELECTIVE – requires deeper displacement and greater contextual agreement.
When the Alternate BUY / SELL Sequence option is enabled, repeated primary signals in the same direction are suppressed until an opposite primary signal occurs.
A minimum bar-spacing control is also applied to the primary signal sequence.
Closed-Bar and Higher-Timeframe Handling
When Signals On Closed Bars Only is enabled, signal conditions are evaluated on completed chart bars.
For higher-timeframe context, the script uses completed higher-timeframe values when closed-bar mode is active.
If closed-bar mode is disabled, live higher-timeframe values may change while the higher-timeframe candle is still developing.
Visual Interpretation
The blue oscillator line represents the combined normalized displacement and directional-pressure calculation.
Values above zero generally indicate positive composite pressure, while values below zero generally indicate negative composite pressure.
The optional upper and lower reference bands provide visual displacement references. They should not automatically be interpreted as conventional overbought or oversold levels.
Green and red dots identify filtered oscillator rotations.
BUY and SELL labels identify stronger analytical events where displacement, rotation, and the selected contextual conditions align.
Intended Use
SBP Structured Oscillator is designed as a technical analysis and decision-support tool.
It may be used to study:
• Changes in directional momentum
• Extended price displacement
• Oscillator rotation
• Trend and momentum alignment
• Higher-timeframe context
• Market compression and expansion behaviour
The indicator is not a strategy and does not execute trades.
Signals and markers are generated from deterministic technical conditions based on historical and current chart data. They do not predict future price movement or guarantee a market outcome.
Users should evaluate the indicator together with their own analysis, risk management, and testing process.
Disclaimer
This indicator is provided for educational and analytical purposes only. It does not constitute financial advice, investment advice, or a recommendation to buy or sell any financial instrument.
Trading and investing involve risk. Historical chart behaviour and indicator signals do not guarantee future results.
Chỉ báo
SBP Trend & Momentum System
SBP Trend & Momentum System is an educational trend and momentum analysis tool designed to study directional market phases while reducing repeated and conflicting setup markers.
The script combines structured trend analysis, Hull-style adaptive smoothing, EMA directional consensus, ATR-normalized trend strength, momentum analysis, recent price-structure events, candle characteristics, volatility conditions, and optional relative-volume information.
### Why these components are combined
A single trend or momentum calculation may react differently during compression, directional expansion, and temporary counter-moves. This script combines several analytical components so that each performs a separate role within the setup process.
The trend filter and adaptive average evaluate directional slope. EMA alignment measures directional consensus and trend separation. ATR normalization adjusts momentum, structure penetration, and signal distance relative to current market movement. Candle and optional volume calculations provide additional setup context.
These components are combined through a normalized quality and factor-consensus framework rather than requiring every analytical event to occur on the same candle.
### Trend Phase Lock
The Trend Phase Lock maintains an established bullish or bearish directional phase.
Temporary neutral conditions do not automatically reset the active phase. A new opposite phase requires persistent opposite directional conditions before the phase state changes.
The primary setup engine permits one BUY or SELL marker per established directional phase. This is intended to reduce repeated same-direction labels during an ongoing move.
### Dominant Trend Guard
The Dominant Trend Guard distinguishes stronger directional conditions from ordinary short-term movement.
During a major bullish phase, the script evaluates whether bullish trend slope, adaptive direction, EMA alignment, and ATR-normalized trend strength remain aligned. The same process is applied inversely during a major bearish phase.
A temporary counter-move alone does not immediately change the active directional phase. Opposite phase processing uses reversal persistence, adaptive and EMA agreement, and ATR-normalized displacement before the phase can change.
This mechanism is a directional-state filter. It does not predict future price direction.
### Big Trend Continuation Rescue
Strong directional expansion can sometimes move beyond the normal signal-distance range or continue after the standard phase signal window.
The Big Trend Continuation Rescue evaluates dominant trend state, directional momentum, factor alignment, normalized quality, volatility, and candle-range conditions.
Its purpose is to allow the setup engine to continue evaluating a strong directional phase without requiring the ordinary setup conditions to occur within a narrow group of bars.
The one-primary-marker-per-phase rule remains applicable.
### Quality and Factor Consensus
The script calculates a normalized quality score from:
• Trend strength
• Directional alignment strength
• ATR-normalized momentum quality
• Candle characteristics
• Recent structure quality
• Optional relative-volume information
Momentum, structure, and candle conditions contribute to setup quality and factor consensus. They are not all required to occur on the same candle.
The available scoring denominator automatically adjusts when optional analytical components are disabled.
### Structure Memory
The structure engine evaluates closes relative to previous price structure and measures penetration in ATR terms.
A controlled fresh structure event receives greater analytical weight. A recent structure event can remain relevant for a limited number of bars.
This allows the setup engine to evaluate continuation conditions after a structure event rather than requiring the signal candle itself to be the structure-break candle.
### Trading Modes
The indicator includes three analytical modes:
**SCALPING** — shorter calculation lengths for faster chart conditions.
**INTRADAY** — balanced calculation lengths for intraday market analysis.
**SWING** — longer calculation lengths for broader directional analysis.
These modes adjust internal trend, adaptive smoothing, momentum, structure, and candle-range parameters.
### Signal Quality and Frequency
Users can select **Aggressive, Balanced, or Conservative** signal-quality settings.
The **Selective, Balanced, and Frequent** frequency settings adjust phase confirmation and setup evaluation parameters.
These controls change the script's rule-based analytical sensitivity. They do not represent expected performance levels.
### BUY and SELL Labels
BUY and SELL labels identify rule-based analytical setups generated when the script's directional phase, trend state, factor consensus, quality, volatility, and other enabled conditions meet the defined criteria.
The labels are analytical markers only. They are not automated orders, trade execution instructions, financial advice, or guarantees of future market movement.
### Early Transition Markers
Optional early transition markers evaluate directional crosses together with trend slope, adaptive direction, EMA alignment, momentum, and candle characteristics.
These markers are separate from the primary BUY and SELL setup engine. They do not reset the Trend Phase Lock or unlock another primary setup marker.
### ATR Risk Guide
The optional ATR Risk Guide plots a volatility-based visual reference around the adaptive average.
It is provided for chart analysis only and is not a broker order, strategy exit, or guaranteed stop-loss level.
### Bar-Close Processing
When **Signals On Bar Close** is enabled, phase processing, primary setup markers, early transition markers, and related alerts are evaluated after the chart bar closes.
The script does not use `request.security()` or future-data lookup.
### Important Information
This indicator is provided for educational and informational purposes only.
It is an analytical decision-support tool and does not execute trades or provide automated investment advice. BUY and SELL labels identify conditions defined by the script's calculations and should not be interpreted as guarantees of profitable outcomes or future price direction.
Users should independently evaluate market conditions and apply their own execution, position-sizing, and risk-management methods.
Past performance does not guarantee future results.
Chỉ báo
SBP SBP Trend Phase NavigatorSBP Trend Phase Navigator
SBP Trend Phase Navigator is a rule-based technical analysis indicator designed to study directional trend phases and identify selected analytical setups when multiple chart conditions align.
Purpose and Component Integration
The indicator combines trend direction, adaptive smoothing, EMA alignment, ATR-normalized momentum, price structure, candle characteristics, optional relative volume, and volatility analysis.
These components are combined because they evaluate different aspects of price behaviour. Trend calculations provide directional context, momentum measures the strength of recent price movement relative to volatility, price structure evaluates movement beyond previous chart levels, and candle analysis examines the characteristics of the current bar.
The script processes these conditions within one rule-based framework rather than treating each component as an independent signal source.
Trend Analysis
The trend engine evaluates price in relation to a smoothed trend filter and measures the direction of the filter's slope.
A fast and slow EMA pair is used to assess directional alignment. The distance between these averages is normalized using Average True Range (ATR) and forms part of the trend-strength calculation.
A Hull-style adaptive average provides an additional directional reference. Its slope is evaluated together with the trend filter and EMA alignment when determining bullish or bearish trend conditions.
ATR-Normalized Momentum
Momentum is calculated from price change over a mode-dependent lookback period and divided by ATR.
This allows the script to evaluate recent directional price movement relative to the instrument's recent volatility rather than using absolute price movement alone.
Bullish and bearish momentum conditions are calculated separately.
Price Structure and Candle Analysis
The Price Structure Engine compares the current closing price with previous structure highs or lows over a selected lookback period.
The current setup candle is excluded from its own structure reference.
The Candle Quality Engine evaluates the candle body relative to the complete candle range and examines where the candle closes within that range. Bullish and bearish candle conditions are assessed separately.
Optional Relative Volume Analysis
The Relative Volume Filter compares current volume with its recent average where usable volume data is available.
This component is optional because volume characteristics can differ between symbols and markets.
When the volume filter is disabled, volume is excluded from both the score contribution and the available score denominator.
Volatility and Signal Distance
The volatility engine compares current ATR with its recent ATR average. The optional volatility filter can restrict setup markers when the ATR expansion ratio exceeds the selected maximum value.
The Maximum Signal Distance setting measures the distance between price and the Adaptive Average in ATR units. This condition can restrict primary setup markers when price is beyond the selected distance from the adaptive trend reference.
Normalized Quality Score
The indicator calculates separate bullish and bearish quality scores.
Trend strength and directional alignment form the core of the score. Momentum, candle characteristics, price structure, and relative volume contribute when their corresponding components are enabled.
The quality percentage is normalized according to the active scoring components. Disabling an optional component removes its contribution from the score calculation and the available score denominator.
The Aggressive, Balanced, and Conservative quality settings adjust the analytical thresholds used by the script. These settings control rule selectivity and do not represent an expected performance or success rate.
Trend Phase Lock
The Trend Phase Lock is used to control repeated same-direction setup markers.
Bullish and bearish trend conditions are counted over consecutive qualifying bars. A directional phase is established after the selected phase-confirmation requirement is met.
Temporary neutral or transition bars do not automatically reset the active phase.
After a primary BUY or SELL setup marker is generated, the active directional phase is marked as used. The primary setup engine does not generate another same-direction marker during that established phase.
A new primary setup becomes available after an opposite directional phase satisfies the script's phase-confirmation rules.
The Trend Phase Lock is a signal-frequency control mechanism. It does not predict future price direction.
Signal Frequency
The indicator provides Selective, Balanced, and Frequent signal-frequency settings.
Selective applies additional phase confirmation and higher quality requirements.
Balanced uses moderate phase and quality requirements.
Frequent uses less restrictive phase-confirmation and quality requirements.
These settings change the selectivity of the rule-based setup engine.
BUY and SELL Setup Labels
BUY and SELL labels identify bars where the enabled trend, momentum, structure, candle, volume, volatility, signal-distance, quality, and directional-phase conditions satisfy the selected settings.
The primary setup engine permits one setup marker per established directional phase.
When Signals On Bar Close is enabled, primary setup markers and related alert conditions are evaluated after the chart bar closes.
The labels represent rule-based analytical conditions generated by the script. They are not automated orders or guarantees of future price movement.
Early Transition Markers
Optional Early Transition Markers evaluate selected crossings of the trend filter together with trend slope, adaptive trend direction, EMA alignment, momentum direction, candle characteristics, volatility, and signal-distance conditions.
These markers are separate from the primary BUY and SELL setup engine. They do not reset the active phase or unlock another same-direction primary setup.
Early Transition Markers are disabled by default.
ATR Risk Guide and Dashboard
The optional ATR Risk Guide plots a volatility-based analytical reference around the Adaptive Average. It is a visual reference only and is not an automated order, strategy exit, or guaranteed stop level.
The optional dashboard displays the selected mode, signal-frequency setting, current trend state, active directional phase, phase-signal status, normalized quality score, market regime, and current setup state.
Modes and User Controls
The indicator provides SCALPING, INTRADAY, and SWING modes. These modes adjust the internal trend, adaptive-average, momentum, and price-structure lookback lengths.
Users can also control trend-strength, momentum, relative-volume, price-structure, candle-quality, and volatility filters through the indicator settings.
Important Information
SBP Trend Phase Navigator is an analytical and technical-analysis tool intended for educational and informational use.
The indicator evaluates chart data according to defined mathematical and rule-based conditions.
BUY and SELL labels identify analytical setups produced by the script's conditions. They do not constitute financial advice, automated trade execution, or guarantees of future market performance.
The script does not place or manage orders. Users are responsible for their own analysis, trading decisions, position sizing, and risk management.
Past performance does not guarantee future results.
Chỉ báo






















