Indicator

EMA Edge - Multi-EMA Backtest Table with Golden/Death CrossEMA Edge — Multi-EMA Backtest Table with Golden/Death Cross
A clean, all-in-one performance dashboard that backtests 6 long-only strategies side-by-side against a Buy & Hold benchmark — 5 single-EMA crossover strategies plus a classic Golden Cross / Death Cross strategy — with on-chart cross markers and built-in alerts.
Instead of guessing which EMA length works best for a given stock or timeframe, this indicator runs the math for you and shows the answer in a single glance, ranked against simply holding the asset.
What It Does
For each of 5 user-defined EMA lengths, the indicator simulates a simple long-only strategy:
Buy when price closes above the EMA (when flat)
Sell when price closes below the EMA (when long)
Equity starts at 100 and compounds across trades using the close-to-close return of each trade
A 6th strategy row tests the classic Golden/Death Cross:
Buy when the fast EMA crosses above the slow EMA (Golden Cross)
Sell when the fast EMA crosses below the slow EMA (Death Cross)
Special first-bar handling: if the fast EMA is already above the slow EMA at the start of your backtest window (i.e., we're mid-trend with no fresh Golden Cross to wait for), the strategy enters immediately at that bar's opening price. This avoids the unrealistic outcome of sitting in cash for years waiting for a cross that already happened.
All strategies are compared against a Buy & Hold baseline that starts at the close of the first in-range bar. If a position is open at the last bar, its equity is marked-to-market so every strategy is compared on equal terms — fully invested vs. partially invested at the cutoff.
Features
5 configurable EMAs — defaults 9 / 21 / 50 / 100 / 200, fully editable
Golden/Death Cross strategy — uses independent fast/slow EMA inputs (default 50 / 200)
Performance table showing Return %, delta vs. Buy & Hold, and Outperform / Underperform status per strategy
Flexible backtest window — X weeks, X years, or full chart lifetime
On-chart GC / DC markers with optional subtle background tint on cross bars
Built-in alerts for both Golden Cross and Death Cross events
Fully customizable table — 9 position options, 6 text sizes, all colors exposed as inputs
Soft, light color palette designed not to dominate the chart
Optional EMA plotting (off by default to keep the chart clean)
How To Read The Table
ColumnMeaningStrategyThe rule being testedReturnTotal % return of the strategy over the chosen windowVs StockDifference between the strategy's return and Buy & HoldStatus▲ Outperform if the strategy beat Buy & Hold, ▼ Underperform if not
Green-tinted rows = strategy beat Buy & Hold
Red-tinted rows = strategy underperformed Buy & Hold
Cream row = the Buy & Hold baseline itself
How To Use
Add the indicator to any chart — works on stocks, ETFs, crypto, forex, any timeframe.
Choose your backtest window (e.g., 1 Year, 5 Years, or Lifetime).
Scan the table to see which strategy historically beat Buy & Hold on this asset.
Use the on-chart GC / DC labels to spot historical and live cross events. Right-click any marker → Add Alert to be notified on new crosses.
Tip: Test the same EMA lengths across daily and weekly timeframes and across different assets. You'll usually find that what works on a steady index like SPY does not work on a volatile single stock, and vice versa. That's the entire point of the table — to make those differences visible instead of assumed.
Key Inputs
EMA 1–5: Lengths for the 5 single-EMA strategies
Show EMAs: Plot EMAs on chart (off by default)
Use Lifetime Performance: Backtest from the very first bar instead of a fixed window
Performance Timeframe Type / Value: Weeks or Years lookback
Crosses group: Toggle GC/DC display, set fast/slow EMA lengths, customize colors
Table Style group: Position, text size, background and text colors
Notes & Limitations
All strategies are long-only — no shorts, no leverage, no stops, no commissions, no slippage. This is a clean rule-based comparison, not a turnkey trading system. Live results will differ.
Entries and exits use close prices, except for the GC/DC strategy's first-bar entry when already in a golden state, which uses open.
Open positions at the last bar are marked-to-market so the comparison vs. Buy & Hold is apples-to-apples.
Past performance is not indicative of future results. Use this as a research and screening tool.
The GC/DC strategy uses separate EMA lengths from the 5 table EMAs by design, so you can run 9/21/50/100/200 in the table while still testing the classic 50/200 cross.
Alerts Available
Golden Cross: Fast EMA crossed above Slow EMA
Death Cross: Fast EMA crossed below Slow EMA
If you find this useful, a boost is appreciated. Suggestions and feedback welcome in the comments.
Open-source — feel free to study, fork, and adapt. Indicator

Indicator

Simple USD PressureSimple USD Pressure
Simple USD Pressure is a market pressure and directional regime indicator designed to measure broad U.S. Dollar strength and weakness by analyzing multiple USD-related instruments simultaneously.
Rather than relying on a single source such as DXY alone, this indicator evaluates the directional alignment of major USD currency pairs and can optionally incorporate additional confirming instruments including DXY, Gold, US10Y yields, and SPX risk sentiment to build a broader view of USD behavior.
The goal is to provide a cleaner view of underlying dollar pressure and identify shifts in overall market conditions that may influence Forex pairs, indices, commodities, and risk assets.
Features:
• Multi-pair USD pressure analysis
• Uses major USD pairs including:
EURUSD
GBPUSD
AUDUSD
NZDUSD
USDJPY
USDCHF
USDCAD
• Optional confirmation instruments:
DXY
Gold
US10Y
SPX
• Composite USD scoring system
• Customizable calculation timeframe
• Optional "Wait Until Bar Close" confirmation logic
• Adjustable trend thresholds
• Market regime detection:
USD Strong
USD Weak
USD Mixed
• Visual background highlighting
• Regime transition markers
• Summary table including:
Bull pair votes
Bear pair votes
USD pressure score
Confirmation score
Composite score
Current regime
Alerts Included:
• USD Strong Shift
• USD Weak Shift
• USD Mixed Shift
• Active USD Strong
• Active USD Weak
• Active USD Mixed
Potential use cases:
• Gauge broad USD strength or weakness
• Add directional bias to Forex trades
• Confirm risk-on or risk-off environments
• Identify changes in market conditions
• Use as a higher-level market filter
• Add confluence to existing systems
Interpretation:
USD Strong
Broad alignment suggests stronger dollar participation across selected instruments
USD Weak
Broad alignment suggests weaker dollar participation across selected instruments
USD Mixed
Signals are relatively balanced and directional pressure may be less defined
About TrendGenY Indicators
TrendGenY indicators are built from market experience, creative concepts, and a constant pursuit of unique perspectives. Rather than following conventional ideas, the focus is on uncovering alternative insights and viewing market behavior through different angles to reveal information that traditional tools may overlook and help traders build a more meaningful edge in the market. Indicator

Bull vs Bear Candle CountBull vs Bear Candle Count
Bull vs Bear Candle Count is a market participation and directional bias indicator designed to measure whether buyers or sellers have been dominating recent price action.
Instead of relying on traditional moving averages or oscillators, this indicator simply analyzes the number of bullish and bearish candles over a customizable lookback period to determine whether the market environment is currently Bullish, Bearish, or Balanced. Based on the candle distribution, the indicator calculates net directional pressure and visually highlights shifts in market conditions.
Features:
• Customizable lookback period
• Bullish, Bearish, and Balanced market state detection
• Net Bias histogram for directional strength visualization
• Bull % and Bear % comparison lines
• Adjustable balanced threshold sensitivity
• Optional background highlighting based on market state
• State transition markers for environment changes
• Summary table displaying:
Bull count
Bear count
Doji count
Bull percentage
Current market state
Alerts Included:
• Bullish State Shift
• Bearish State Shift
• Balanced State Shift
Potential use cases:
• Identify directional market pressure
• Filter trades based on overall market environment
• Confirm trend continuation or weakening momentum
• Spot transitions between trending and balanced conditions
• Add confluence to existing strategies and systems
Interpretation:
Bullish
Bullish candles are dominating the selected lookback period
Bearish
Bearish candles are dominating the selected lookback period
Balanced
Bull and bear participation are relatively equal, potentially indicating consolidation or indecision
Bull vs Bear Candle Count is intended as a simple way to visualize market participation and directional behavior without introducing excessive complexity.
About TrendGenY Indicators
TrendGenY indicators are built from market experience, creative concepts, and a constant pursuit of unique perspectives. Rather than following conventional ideas, the focus is on uncovering alternative insights and viewing market behavior through different angles to bring greater clarity, deeper understanding, and help traders develop a more meaningful edge in the market. Indicator

Median ATR SD OscillatorMedian ATR SD Oscillator
Median ATR SD Oscillator is a trend-following volatility oscillator that measures the distance between price and two independent reference levels — an ATR band and a standard deviation band — both anchored to a percentile-based median. The asymmetric design uses different volatility measures for long and short signals, creating a natural bias toward staying in bullish trends longer while reacting quickly to breakdowns.
The result is an area oscillator that expands above zero in a confirmed bullish state and contracts below zero in a bearish state, with a white EMA line as a momentum confluence filter.
How It Works
A percentile median is calculated from a configurable price source — giving a robust, noise-resistant central reference level that adapts to recent price behavior.
Two independent volatility bands are then derived from this median:
ATR Band — median plus ATR multiplied by a configurable factor. The short condition uses the ATR band — price must fall below it to confirm a bearish state
SD Band — median plus the standard deviation of close. The long condition uses the standard deviation band — price must break above it to confirm a bullish state
Once a directional state is confirmed, the oscillator measures the distance between price and its reference level. An EMA of this distance acts as a confluence filter — the final signal only confirms when the distance is not only positive or negative but also above or below its own EMA, ensuring momentum is genuinely building in that direction.
Why This Approach Works
Most oscillators use a single volatility measure for both long and short signals. The Median ATR SD Oscillator deliberately uses two different measures — ATR for shorts and SD for longs — because they capture different market dynamics and create a natural asymmetry between entries and exits.
This asymmetric design reflects the structural reality of markets like crypto — price spends more time trending upward than downward. Longs require a statistically significant breakout above the SD band, while shorts only need price to fall back below the ATR band. The result is a system that stays in bullish trends longer while reacting quickly when momentum fades.
Settings
Median Source — Price source for the percentile median calculation (default: hl2)
Median Length — Lookback period for the percentile median (default: 63)
ATR Length — Lookback period for the ATR calculation (default: 4)
ATR Factor — Controls the width of the ATR band (default: 1.0)
SD Length — Lookback period for the standard deviation calculation (default: 29)
Use EMA — Enables the EMA confluence filter (default: true)
EMA Length — Lookback period for the EMA confluence filter (default: 35)
Use Bar Coloring — Colors bars based on the current state (default: true)
Color Background — Enables background coloring of the chart based on the current state (default: false)
Background Transparency — Controls the transparency of the background color (default: 85)
How to trade it
Long — when the oscillator expands above zero and the area turns blue, a bullish state has been confirmed. This is the signal to look for long entries or to hold existing long positions
Short / Cash — when the oscillator contracts below zero and the area turns red, the momentum has faded. This is the signal to exit longs, move to cash, or look for short entries depending on your strategy
EMA line — when the area is above the white EMA line momentum is building, when it crosses below momentum is weakening
Recommended Usage
Best used on the 1D timeframe for clean and reliable signal generation
Should not be used alone for trade entries — combine with an additional confirmation indicator for best results
The asymmetric ATR/SD design makes this oscillator particularly well suited for bullish-biased markets like crypto
Higher ATR Factor values make short exits more sensitive — lower values make them less reactive
Higher SD Length values create more stable long signals — lower values make them more reactive to short-term price movements
All signals are confirmed on bar close. Indicator

Indicator

Heikin Ashi Cloud Overlay | Rainbow MatrixGENERAL OVERVIEW
The Heikin Ashi Cloud Overlay renders a Heikin Ashi cloud directly on top of traditional candlesticks, giving traders both views in a single chart. HA candles smooth macro trend perception by filtering individual-bar noise, but they sacrifice entry-bar precision because each HA candle does not represent the actual price range traded on that bar. This script preserves both signals simultaneously: the HA cloud surfaces directional context, while the underlying real candles preserve precise execution-bar timing.
A compact corner HUD reports current HA direction, consecutive streak length, and body-size anomalies relative to a 20-bar rolling average — useful for monitoring momentum exhaustion and impulsive expansion in real time without analyzing the cloud manually.
The script adds a visual intelligence layer on top of the standard HA pattern: cloud fill opacity dynamically reflects body intensity (impulsive bars render densely opaque, normal bars render lightly), and small colored dots flag body anomalies (current body > 3× rolling average) directly on the chart.
WHAT IS THE THEORY BEHIND THIS INDICATOR?
Heikin Ashi candles are derived from traditional OHLC via a recursive smoothing formula introduced by Munehisa Homma in 18th-century Japanese rice trading and popularized in modern Western technical analysis through the work of Dan Valcu and others. The transformation produces candles that emphasize trend persistence over discrete price action: consecutive same-color HA candles indicate ongoing directional pressure, while doji-like HA candles or sudden color flips often signal pivots.
The trade-off is well-known: HA candles do not show real OHLC. The haOpen of each candle is the average of the previous haOpen and haClose, not the actual session open. This makes HA excellent for trend reading but unreliable for entry timing — orders need to reference the actual price range of the bar, not the smoothed projection.
The conventional solutions are either to switch back and forth between HA and regular candle views (cognitive overhead), or to use HA as the primary chart and lose precision on entries (execution cost). This indicator takes a third approach: render the HA candles as a transparent overlay envelope on top of the standard candlesticks. The trader sees both at once. The HA envelope communicates trend context; the underlying candles preserve real-bar precision.
The state machine layered on top — direction tracking, streak counting, and body-size anomaly detection against a rolling average — converts the visual cloud into a numerical readout, surfacing exhaustion and impulsive moves that might be missed at a glance.
HA CLOUD OVERLAY FEATURES
The indicator includes 5 main components:
Heikin Ashi Cloud Overlay
Body Intensity Modulation (dynamic opacity)
Body Anomaly Visual Markers
HA State HUD Panel
Three Optional Alerts
HEIKIN ASHI CLOUD OVERLAY
🔹 What It Does
For each bar on the chart, the indicator computes the four Heikin Ashi values (haOpen, haClose, haHigh, haLow) using Pine Script's canonical recursive formula. It then renders a thin envelope between haHigh and haLow with semi-transparent fill, plotted on top of the underlying traditional candles.
🔹 Method
The computation follows the standard HA definition:
◇ haClose = (open + high + low + close) / 4
◇ haOpen = average of the previous haOpen and the previous haClose (recursive)
◇ haHigh = max of (high, haOpen, haClose)
◇ haLow = min of (low, haOpen, haClose)
A `var float ha_open = na` seed pattern handles the first-bar initialization safely, avoiding NA propagation that would corrupt the recursive chain.
🔹 Visual Behavior
The envelope is rendered as a thin top-bottom band with translucent fill. The fill color reflects the HA direction: bullish (haClose ≥ haOpen) renders in the configured bull color (PulseWire native teal by default); bearish (haClose < haOpen) renders in the bear color (PulseWire native red by default). An optional midline (dotted) at the (haOpen + haClose) / 2 level can be toggled for traders who prefer an explicit midpoint reference.
BODY INTENSITY MODULATION
🔹 What It Does
The cloud fill transparency is dynamically modulated based on the current HA body size relative to the 20-bar rolling average. Bars with above-average body push the fill toward more opaque, surfacing impulsive expansion clusters visually without requiring HUD analysis.
🔹 Tier Logic
◇ Body < 1× average: standard transparency (user-configured slider value)
◇ Body 1-2× average: −10 transparency (notable bar — slightly more opaque)
◇ Body 2-3× average: −30 transparency (strong bar — clearly more opaque)
◇ Body ≥ 3× average: −50 transparency, floor 20 (anomaly — densely opaque)
The floor cap of 20 prevents the fill from becoming so opaque that the underlying candle wicks become unreadable, preserving the dual-view principle of the indicator.
🔹 Why It Helps
Body intensity modulation converts the cloud from a static color band into a momentum-aware visualization. During quiet conditions, the cloud whispers; during impulsive expansion or capitulation phases, the cloud intensifies visually. Traders monitoring multiple charts can identify regime changes peripherally without focusing on any single chart's HUD.
🔹 Toggle
The feature is enabled by default and can be disabled via the "Body Intensity Cloud Opacity" input in the HA CLOUD group, which restores fixed transparency from the slider.
BODY ANOMALY VISUAL MARKERS
🔹 What It Does
A small colored dot appears on the chart whenever the current HA body exceeds 3× the 20-bar rolling average. Bull anomalies render as a dot below the bar (location.belowbar); bear anomalies render as a dot above the bar (location.abovebar). Dot colors match the configured bull/bear palette.
🔹 Why It Helps
The markers convert the alert-only body anomaly detection into a persistent visual signal that remains visible on chart history. Traders reviewing past price action can identify impulsive expansion or capitulation events at a glance, without scrolling through alert history or replaying bars.
🔹 Independent of the Alert
The visual markers and the body anomaly alert are independently toggleable. Traders can show the markers without enabling the alert (visual-only mode) or enable the alert without showing the markers (sound/notification-only mode).
🔹 Toggle
Enabled by default via the "Show Body Anomaly Markers" input in the HA CLOUD group.
HA STATE HUD PANEL
🔹 What It Shows
A compact 4-row corner panel reports three live values:
◇ Direction — current HA candle direction (Bull / Bear), color-coded
◇ Streak — consecutive same-direction count (in current locale, e.g., "7 velas (candles)" in PT)
◇ Avg Body — the average HA body size over the last 20 bars, expressed as a percentage of price
🔹 Why It Helps
The HUD converts the cloud into a numerical readout. Instead of visually estimating streak length or body proportion, traders can read the exact values on each bar. This is particularly useful for traders monitoring multiple charts or running automated rules where consecutive-bar conditions need to be tracked precisely.
🔹 Customization
The HUD can be positioned in any of the four chart corners and rendered in any of five font sizes. The Direction row uses contrasting colors (bull vs bear) for immediate parsing.
THREE OPTIONAL ALERTS
🔹 Alert Types
Each alert is independently toggleable in the indicator settings:
◇ HA Direction Change — fires on the close of a confirmed bar when the HA direction flips (bull→bear or bear→bull). Useful as a confirmation filter on top of other entry signals.
◇ HA Streak Exhaustion — fires when the absolute streak length crosses a user-configurable threshold (default 7). Long consecutive streaks often precede mean-reversion phases, especially in ranging markets.
◇ HA Body Anomaly — fires when the current HA body exceeds 3× the 20-bar rolling average. Anomalous body sizes typically signal impulsive expansion, capitulation, or news-driven moves worth investigating.
🔹 Firing Mechanism
All alerts are gated by `barstate.isconfirmed`, which means they only trigger on the close of the bar that satisfies the condition — never intra-bar. This prevents false signals from intrabar fluctuations that get rejected before close. Each alert uses `alert.freq_once_per_bar` to avoid duplicate firings on the same candle.
🔹 alertcondition() Mode
A dummy `alertcondition` titled "HOW TO SETUP ALERTS (READ)" is exposed at the bottom of the script. It provides setup guidance via its message field, instructing users to select "Any alert() function call" in the PulseWire alert condition menu and filter individual alerts via the indicator settings.
MULTILINGUAL INTERFACE
The indicator supports five languages for the HUD display and alert messages: English (default), Português, Español, Русский, and 中文 (Chinese). Code, comments, and configuration tooltips remain in English regardless of the selected language.
For reference, examples of multilingual UI strings used in the HUD:
◇ Direction labels: "Direction:" / "Direção:" / "Dirección:" / "Направление:" / "方向:"
◇ Direction text: "🟢 BULL"/"🔴 BEAR" / "🟢 ALTA"/"🔴 BAIXA" / "🟢 ALCISTA"/"🔴 BAJISTA" / "🟢 БЫЧИЙ"/"🔴 МЕДВЕЖИЙ" / "🟢 多头"/"🔴 空头"
◇ Streak units use a bilingual pattern: "candles" stays in English as a universal technical term; native terms appear in parentheses where the local equivalent is well-established (e.g., "7 velas (candles)").
CUSTOM PALETTE TOGGLE
🔹 What It Does
By default, the indicator uses native PulseWire teal/red colors for visual familiarity. A "Use Custom Cloud Colors" toggle in the settings switches to user-configurable bull/bear colors, useful for traders who want to align the cloud palette with their personal indicator stack or color preferences.
HOW TO USE
This indicator is a visualization tool, not a signal generator. It surfaces three categories of structural information: HA direction (smoothed trend context), streak length (momentum persistence), and body anomalies (impulsive moves).
🔹 Reading the Cloud
◇ Bull cloud (default teal) = current HA candle is bullish (haClose ≥ haOpen).
◇ Bear cloud (default red) = current HA candle is bearish (haClose < haOpen).
◇ A long sequence of same-color HA candles indicates strong directional pressure; mixed colors or doji-like HA candles indicate consolidation or pivot zones.
◇ Cloud density (opacity): denser fills mark bars with above-average body — pay attention to these zones, they often correspond to ignition or capitulation phases.
◇ Anomaly dots: when a dot appears below a bull bar or above a bear bar, the bar's body is 3× the recent average — exceptional impulse worth contextualizing against your other signals.
🔹 Reading the HUD
◇ Direction row: parse the current HA candle's directional state at a glance.
◇ Streak row: |streak| ≥ 7 → trend is mature, increasing probability of mean reversion or pullback. Streak just flipped sign → fresh direction.
◇ Avg Body row: current bar body > 3× this value → impulsive expansion or capitulation, worth investigating contextually.
🔹 Tactical Reading
◇ HA color flip + confirmation on the underlying candle: potential trend reversal or pullback entry.
◇ HA streak crosses the exhaustion threshold while price approaches a key level (from another indicator or manual S/R): increased probability of structural reaction.
◇ Body anomaly during otherwise quiet conditions: impulsive move (often news-driven or stop-cascade) — trade with reduced size or wait for retest.
◇ Cluster of dense-opacity bars: regime change or ongoing impulsive move — momentum is structurally elevated.
🔹 Multi-Indicator Workflow
The HA Cloud Overlay is designed to layer cleanly with other indicators. It does not add lines or boxes that compete visually with structural indicators (VWAP, Volume Profile, S/R). The cloud sits behind the candles, the markers are minimal dots, and the HUD sits in a corner — total chart footprint is minimal.
INPUTS EXPLAINED
🔹 System Language
Display language for the HUD and alert messages. Options: English (default), Português, Español, Русский, 中文.
🔹 Show Cloud Envelope
Master toggle for the HA top-bottom envelope and fill.
🔹 Cloud Fill Transparency
Base alpha of the cloud fill (60 = denser, 95 = barely visible). Floor of 60 keeps candle wicks readable. Default 80. When Body Intensity Modulation is ON, this value is the baseline; bars with above-average body intensity become progressively more opaque from this baseline.
🔹 Show HA Midline (dots)
Optional thin dotted line at (haOpen + haClose) / 2.
🔹 Use Custom Cloud Colors
OFF: native PulseWire teal/red. ON: apply custom bull/bear colors below.
🔹 Custom Bull Color / Custom Bear Color
Used when "Use Custom Cloud Colors" is ON.
🔹 Body Intensity Cloud Opacity
When ON: cloud fill becomes progressively more opaque on bars with above-average body size. When OFF: cloud uses fixed transparency from the slider above. Recommended ON.
🔹 Show Body Anomaly Markers
When ON: small colored dots appear on bars whose body exceeds 3× the 20-period average. Independent of the body anomaly alert.
🔹 Show HA State HUD
Toggle for the corner HUD reporting Direction / Streak / Avg Body.
🔹 HUD Position
Top Right (default), Top Left, Bottom Right, Bottom Left.
🔹 Font Size
Tiny, Small (default), Normal, Large, Huge.
🔹 Streak Warning Threshold
Streak length at which the Streak Exhaustion alert fires. Range 3–30, default 7.
🔹 Alert: HA Direction Change / HA Streak Extreme / HA Body Anomaly
Independent toggles for each of the three alert types.
IMPORTANT NOTES
The Heikin Ashi Cloud Overlay works on any timeframe and any instrument. The HA computation is timeframe-agnostic — it transforms whatever OHLC data the chart provides.
Alerts fire once per confirmed bar. Historical bars never repaint after they close. The live bar updates intra-bar as expected for a real-time indicator, but alerts will only fire after the bar closes. Body anomaly visual markers can update intra-bar (preview behavior) and settle on close.
The body anomaly threshold (3× rolling average) and streak warning threshold (default 7) are derived from empirical observation across common timeframes and instruments. Both are user-configurable and should be tuned to the trader's instrument and timeframe — high-volatility crypto on 1m may warrant a higher anomaly multiplier than large-cap equities on Daily.
The 20-bar body rolling average uses `ta.sma` of the percentage-based body size. The first 20 bars after script start will show partial values; once enough history is available, the value stabilizes.
The body intensity modulation tier floors (50, 30, 20) are calibrated to preserve candle wick readability even on extreme anomaly bars — the floor 20 ensures the cloud never becomes fully opaque.
Pine Script v6. Open-source under Mozilla Public License 2.0.
UNIQUENESS
The Heikin Ashi Cloud Overlay differs from the standard PulseWire Heikin Ashi chart type and from other HA-based indicators in four structural ways.
First, it preserves both views simultaneously rather than replacing one with the other. Standard HA chart mode hides the real candles entirely; this overlay keeps the underlying candles visible at all times, giving traders smoothed trend context (the cloud) and precise entry-bar timing (the underlying candles) in the same visual without context-switching cost.
Second, the cloud fill opacity is dynamically modulated by body intensity relative to a 20-bar rolling average. Standard HA cloud indicators render fills with a single static transparency; this script renders impulsive bars (≥1×, ≥2×, ≥3× average body) with progressively more opaque fills, transforming the cloud from a static visualization into a momentum-aware density map. Capitulation, ignition, and impulsive expansion phases become visually identifiable peripheral signals.
Third, it adds an explicit state machine layer over the raw HA visualization. Direction tracking, consecutive streak counting, 20-bar rolling body-size anomaly detection, and on-chart visual anomaly markers convert the visual cloud into a numerical readout reported live on a corner HUD. This converts subjective visual estimation (is this a long streak? is this body unusually large?) into deterministic measurements with configurable thresholds and a persistent visual record on the chart history.
Fourth, it exposes three independently-toggleable alerts (direction change, streak exhaustion, body anomaly) gated by bar confirmation, making the indicator usable as a confirmation filter or trigger source in automated workflows. Most HA-based indicators are visualization-only or expose a single direction-flip alert; the multi-condition alert set here is designed for traders building structured rules around HA state rather than just observing it.
The combination of dual-view preservation, body-intensity opacity modulation, state machine readout, visual anomaly markers, and multilingual UI produces a single overlay that combines the readability of Heikin Ashi smoothing with the precision of real candles, the rigor of a deterministic state readout, and the visual intuition of a density-aware momentum map. Indicator

Ichimoku Regime ClassifierIchimoku Regime Classifier is an open-source market regime filter that labels conditions as TREND UP, TREND DOWN, or VOLATILE.
This script is designed to solve a practical problem: many entries fail because traders apply the same setup in all environments.
Its purpose is to classify the current market context first, so strategy rules can be adapted to regime.
Methodology
The classifier uses Daily Ichimoku structure plus ADX trend-strength confirmation:
Bullish regime:
Price above the Kumo
ADX above threshold
Tenkan above Kijun
Chikou-style confirmation (current price vs past price)
Bearish regime:
Price below the Kumo
ADX above threshold
Tenkan below Kijun
Opposite Chikou-style confirmation
Volatile regime:
If neither bullish nor bearish set is fully confirmed
Why this combination
Ichimoku provides structural trend context, while ADX filters weak directional phases.
The combination aims to reduce false directional bias during choppy periods and keep regime logic explicit.
How to use
TREND UP: prioritize long-biased setups
TREND DOWN: prioritize short-biased setups
VOLATILE: reduce risk, be selective, or wait for structure
This indicator is intentionally minimal on-chart (single regime label) to keep output readable and unambiguous.
Limitations
Regime transitions can lag, especially after sharp reversals.
This tool is a context filter, not a standalone entry/exit system.
Open-source notice
Published as open source for transparency, review, and customization.
Educational content only. Not financial advice. Indicator

Pullback Sniper Method [trade_w_samet]🎯 Pullback Sniper Method
Pullback Sniper Method is a free open-source pullback, breakout, and trade-visualization indicator designed to help traders analyze structured trend-continuation setups directly on the price chart.
This script combines:
📈 EMA-based trend context
🚀 breakout detection
🎯 pullback confirmation logic
✅ Fast / Balanced / Strict confirmation modes
🧠 optional McGinley and RSI filters
📦 ATR-based TP/SL projection boxes
🎯 TP1 / TP2 / TP3 tracking
🛑 SL tracking
🏷️ result labels
⭐ signal quality tooltip information
📊 statistics table
💎 premium-style dashboard
🎨 multiple visual themes
🚨 alert conditions
The goal of Pullback Sniper Method is not to predict the future or provide guaranteed buy/sell instructions.
Its purpose is to help users visually study:
⚡ trend continuation behavior
🎯 pullback quality
📈 breakout-following structure
🧠 confirmation strength
📦 projected risk/reward zones
📊 historical visual outcomes
💎 dashboard-based system feedback
🚨 alert-based monitoring
Pullback Sniper Method should be treated as a structured chart-analysis and educational decision-support tool, not as financial advice, not as an automated trading system, and not as a guarantee of profitable results.
━━━━━━━━━━━━━━━━━━━━━━
🔓 OPEN-SOURCE PUBLICATION NOTE
━━━━━━━━━━━━━━━━━━━━━━
This script is published as an open-source educational and visual market-analysis tool.
The source code is visible so users can inspect, review, understand, and learn from the logic.
The description is intentionally detailed because many users do not inspect every part of the Pine Script code line by line.
The purpose of this page is to explain:
✅ what the script does
✅ how the main logic works
✅ how signals are created
✅ what the trend engine checks
✅ how pullbacks are validated
✅ how confirmation modes differ
✅ how TP/SL projections are drawn
✅ how historical trade visuals are managed
✅ what the statistics table means
✅ what the premium dashboard means
✅ what the quality score tooltip represents
✅ what the limitations are
✅ how the indicator should and should not be used
Pullback Sniper Method is designed to support structured analysis.
It does not promise profitable results.
It does not remove market risk.
It does not execute trades.
It does not place broker orders.
It should not be used as a blind buy/sell system.
It is best used as a visual framework for reviewing trend, breakout, pullback, confirmation, and projected risk/reward behavior.
━━━━━━━━━━━━━━━━━━━━━━
📌 OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━
At a high level, Pullback Sniper Method does the following:
📈 Calculates a trend engine using Fast EMA, Slow EMA, and EMA slope.
🚀 Detects breakout conditions after trend alignment.
🎯 Waits for price to pull back toward the Pullback EMA.
✅ Confirms entries using Fast, Balanced, or Strict confirmation logic.
🧠 Applies optional McGinley Dynamic distance filtering.
📊 Applies optional RSI directional filtering.
🧊 Uses a cooldown system to reduce signal clustering.
📦 Draws ATR-based TP/SL projection boxes.
🎯 Tracks TP1, TP2, TP3, and SL visually.
🏷️ Displays active TP labels and final result labels.
🗂️ Keeps historical TP/SL visuals on the chart.
⭐ Displays a Quality Score only inside the STRONG label tooltip.
📊 Builds a statistics table for TP1, TP2, TP3, SL, Total, and Win Rate.
💎 Builds a premium dashboard with deeper internal performance metrics.
🎨 Includes three visual themes.
🚨 Includes alert conditions for strong signals and trade outcomes.
This makes the script more than a simple signal label tool.
It is a complete pullback-analysis framework built around trend context, breakout confirmation, pullback behavior, ATR-based visual planning, and historical result review.
━━━━━━━━━━━━━━━━━━━━━━
🧠 CORE IDEA
━━━━━━━━━━━━━━━━━━━━━━
The core idea behind Pullback Sniper Method is simple:
A trend continuation setup should not be judged from one isolated candle.
A single breakout, one EMA touch, one candle close, or one label is usually not enough by itself.
Market context matters.
For that reason, Pullback Sniper Method combines several layers:
📈 trend alignment
🚀 breakout structure
🎯 pullback location
✅ confirmation candle behavior
📏 ATR-based distance filtering
🧠 optional McGinley distance filtering
📊 optional RSI direction filtering
📦 projected TP/SL structure
📊 visual statistics
💎 dashboard feedback
The indicator does not attempt to mark every possible move.
Instead, it attempts to make pullback-based trend continuation conditions easier to read, compare, and review.
The purpose is not to create more signals.
The purpose is to make signal conditions more structured and understandable.
━━━━━━━━━━━━━━━━━━━━━━
🧩 WHY THIS SCRIPT IS NOT A SIMPLE BUY/SELL INDICATOR
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method is not intended to behave like a simple “buy here / sell here” script.
It is built as a structured workflow:
Trend Engine
→ Breakout Detection
→ Pullback Wait
→ Confirmation Mode
→ Optional Filters
→ STRONG Signal Label
→ Quality Tooltip
→ TP/SL Projection
→ Active Trade Visualization
→ Result Tracking
→ Statistics Review
→ Dashboard Review
→ Alerts
Each part has a specific role.
📈 The Trend Engine defines directional context.
🚀 The Breakout Engine identifies fresh movement beyond recent highs or lows.
🎯 The Pullback Engine waits for price to return toward the pullback EMA.
✅ The Confirmation Engine decides whether the reaction is strong enough.
🧠 The optional filters reduce signals that do not meet additional conditions.
⭐ The Quality Score tooltip gives extra signal context without changing the signal.
📦 The TP/SL boxes provide projected visual structure.
📊 The statistics table summarizes historical visual outcomes.
💎 The dashboard gives a broader state and performance-style overview.
🚨 The alert system helps monitor the script without constantly watching the chart.
This makes the script a full review environment, not a one-condition signal tool.
━━━━━━━━━━━━━━━━━━━━━━
⚙️ HOW THE SCRIPT WORKS
━━━━━━━━━━━━━━━━━━━━━━
📈 TREND ENGINE
The Trend Engine is based on three key components:
⚡ Fast EMA
🐢 Slow EMA
📐 Fast EMA slope
The default structure uses:
Fast EMA = 50
Slow EMA = 200
Pullback EMA = 21
Slope Lookback = 5
For bullish context, the script checks whether:
🟢 Fast EMA is above Slow EMA
🟢 Price is above Slow EMA
🟢 Fast EMA is rising compared to previous bars
For bearish context, the script checks whether:
🔴 Fast EMA is below Slow EMA
🔴 Price is below Slow EMA
🔴 Fast EMA is falling compared to previous bars
This helps the script avoid treating every price move as a valid pullback opportunity.
The trend engine creates the directional foundation for the rest of the logic.
━━━━━━━━━━━━━━━━━━━━━━
🚀 BREAKOUT ENGINE
━━━━━━━━━━━━━━━━━━━━━━
After trend alignment is detected, the script looks for a breakout.
For bullish setups, price must close above the recent breakout high.
For bearish setups, price must close below the recent breakout low.
The breakout engine uses:
🚀 Breakout Lookback
🛑 Invalidation Lookback
🔥 Minimum Breakout Body / ATR
The breakout candle must also have enough body size relative to ATR.
This is important because very small breakouts can create low-quality setup conditions.
The breakout does not immediately create a STRONG label.
Instead, it activates a setup state.
After that, the script waits for a pullback.
━━━━━━━━━━━━━━━━━━━━━━
🎯 PULLBACK SETUP ENGINE
━━━━━━━━━━━━━━━━━━━━━━
Once a breakout setup is active, the script waits for price to return toward the Pullback EMA.
For a bullish setup:
🟢 Price must pull back toward the Pullback EMA.
🟢 The setup must not be invalidated.
🟢 Enough bars must have passed after breakout.
For a bearish setup:
🔴 Price must pull back toward the Pullback EMA from the opposite direction.
🔴 The setup must not be invalidated.
🔴 Enough bars must have passed after breakout.
The script also includes a maximum number of bars to find the pullback.
If no valid pullback appears within that window, the setup expires.
This prevents old breakout conditions from staying active forever.
━━━━━━━━━━━━━━━━━━━━━━
✅ CONFIRMATION ENGINE
━━━━━━━━━━━━━━━━━━━━━━
After a valid pullback touch, the script waits for confirmation.
There are three confirmation modes:
⚡ Fast
⚖️ Balanced
🛡️ Strict
⚡ Fast Mode
Fast mode is the earliest and simplest confirmation style.
It checks whether price closes back in the expected direction relative to the Pullback EMA.
This mode can react faster but may produce more noise.
Useful for:
• faster review
• active chart monitoring
• lower-timeframe analysis
• users who prefer earlier signals
⚖️ Balanced Mode
Balanced mode is the default middle-ground profile.
It requires directional candle behavior and also considers either a break of the previous candle level or wick/rejection behavior.
This helps the signal feel more structured than a basic close-based trigger.
Useful for:
• general chart review
• balanced signal frequency
• intraday analysis
• users who want neither too many nor too few signals
🛡️ Strict Mode
Strict mode is the most selective confirmation profile.
It requires stronger candle body behavior and a more decisive close.
This can reduce signal frequency.
Useful for:
• cleaner setups
• fewer signals
• higher selectivity
• users who prefer stricter confirmation
Important note:
A stricter mode does not guarantee better future outcomes.
It only applies stricter internal confirmation logic.
━━━━━━━━━━━━━━━━━━━━━━
📏 ATR-BASED DISTANCE FILTERING
━━━━━━━━━━━━━━━━━━━━━━
ATR is used in several areas of the script.
The script uses ATR to evaluate:
📌 breakout body strength
📌 confirmation candle body strength
📌 entry distance from Pullback EMA
📌 stop-loss projection distance
📌 TP/SL visual structure
The Max Entry Distance / ATR setting helps block entries that are too far away from the Pullback EMA.
This is important because a pullback system generally works best when the signal appears close enough to the pullback reference area.
If price runs too far away before confirmation, the setup may become less efficient from a risk/reward perspective.
━━━━━━━━━━━━━━━━━━━━━━
🧠 MCGINLEY DYNAMIC FILTER
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method includes an optional McGinley Dynamic filter.
The purpose of this filter is to avoid signals that appear too close to the McGinley Dynamic line.
This distance is measured using ATR.
When enabled, the script checks whether price has enough distance from the McGinley line.
This can help reduce low-quality signals in crowded or compressed areas.
The McGinley filter is optional.
Users can turn it off if they prefer to use only the main trend/pullback logic.
━━━━━━━━━━━━━━━━━━━━━━
📊 RSI DIRECTION FILTER
━━━━━━━━━━━━━━━━━━━━━━
The script also includes an optional RSI direction filter.
When enabled:
🟢 Long signals require RSI to be above the selected long threshold.
🔴 Short signals require RSI to be below the selected short threshold.
By default, the RSI filter is turned off.
This keeps the base system cleaner and allows users to decide whether they want additional oscillator-style directional filtering.
The RSI filter should be treated as context, not as a guarantee.
━━━━━━━━━━━━━━━━━━━━━━
🧊 SIGNAL COOLDOWN SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
The script includes a cooldown system to prevent signals from appearing too close to each other.
After a signal appears, the script waits for the selected number of bars before allowing another signal.
This helps reduce visual clutter and prevents the chart from printing too many labels in a short period.
The cooldown system is especially useful on lower timeframes or volatile assets.
━━━━━━━━━━━━━━━━━━━━━━
💪 STRONG SIGNAL LABELS
━━━━━━━━━━━━━━━━━━━━━━
When all required conditions align, the script can display a STRONG label on the chart.
A STRONG label appears only after the script detects:
📈 valid trend context
🚀 valid breakout setup
🎯 valid pullback touch
✅ valid confirmation
🧠 optional filter approval
🧊 cooldown approval
📦 no active trade conflict
The STRONG label does not mean the future outcome is guaranteed.
It simply means the script’s internal conditions aligned at that point.
━━━━━━━━━━━━━━━━━━━━━━
⭐ QUALITY SCORE TOOLTIP
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method includes a Quality Score tooltip on the STRONG label.
This score does not filter signals.
It does not change entries.
It does not block or approve trades.
It is only informational.
To view it, hover your mouse over the STRONG label.
The tooltip can show:
⭐ Quality Score
🌟 Star rating
📌 Direction
📈 Trend alignment
🔥 Body / ATR ratio
📍 EMA Distance / ATR
Example tooltip:
Quality Score: 82/100 ⭐⭐⭐⭐ | Quality: HIGH | Direction: LONG | Trend: Bullish | Body/ATR: 0.48 | EMA Distance/ATR: 0.32
Star guide:
⭐⭐⭐⭐⭐ = very strong internal quality
⭐⭐⭐⭐ = high internal quality
⭐⭐⭐ = good internal quality
⭐⭐ = medium internal quality
⭐ = lower internal quality
Important note:
A score of 82 does not mean there is an 82% chance of winning.
The score only summarizes internal signal quality according to the script’s own visual model.
━━━━━━━━━━━━━━━━━━━━━━
📦 TP / SL PROJECTION SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method includes an ATR-based TP/SL projection system.
When a STRONG signal appears, the script can draw:
📦 TP box
📦 SL box
🎯 TP1 line
🎯 TP2 line
🎯 TP3 line
🏷️ TP price labels
🏁 final result label
The system uses ATR-based risk.
Default structure:
🛡️ SL ATR Multiplier = 2.0
🎯 TP3 Reward R = 2.0R
🥉 TP1 = 25% of TP3 distance
🥈 TP2 = 50% of TP3 distance
🏆 TP3 = final target distance
This creates a clean visual projection of the potential trade structure.
The boxes are not broker orders.
They are visual projections based on the script’s internal logic.
━━━━━━━━━━━━━━━━━━━━━━
🎯 TP1 / TP2 / TP3 / SL TRACKING
━━━━━━━━━━━━━━━━━━━━━━
The script tracks projected trade progress visually.
Possible outcome states include:
🥉 TP1 reached
🥈 TP2 reached
🏆 TP3 reached
🛑 SL reached
If price reaches TP3, the result is marked as TP3.
If price hits SL before reaching any TP level, the result is marked as SL.
If price reaches TP1 and later returns to SL, the result can be treated as a TP1-style protected outcome.
If price reaches TP2 and later returns to SL, the result can be treated as a TP2-style protected outcome.
This allows the visual projection to remember the best target reached before the trade closes.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ SAME-CANDLE TP/SL HANDLING
━━━━━━━━━━━━━━━━━━━━━━
If TP and SL are both touched on the same candle, there is ambiguity.
The script cannot know the true intrabar sequence from standard OHLC data.
For that reason, Pullback Sniper Method uses a conservative rule:
🔴 If TP and SL are both touched on the same candle, the script treats it as SL.
This avoids overly optimistic visual outcomes when the true intrabar order is unknown.
This conservative approach is useful when reviewing historical visual performance.
━━━━━━━━━━━━━━━━━━━━━━
🙈 EARLY SL HIDING LOGIC
━━━━━━━━━━━━━━━━━━━━━━
The script includes an early SL hiding feature.
If a projected trade hits SL within the first selected number of bars, the visual trade can be hidden and excluded from statistics.
Default:
🙈 Hide Early SL Bars = 3
This feature is designed to reduce extremely fast failed projections from cluttering the visual history.
Users should understand that this affects the visual/statistical display of the script.
It is not a broker-side execution rule.
━━━━━━━━━━━━━━━━━━━━━━
🗂️ HISTORICAL TRADE VISUALS
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method can keep historical TP/SL visuals on the chart.
This includes:
📦 previous TP boxes
📦 previous SL boxes
🎯 TP1 / TP2 / TP3 lines
🛑 SL lines
🏷️ result labels
🏷️ TP price labels
The script also includes a maximum historical trade limit.
Default:
🧮 Max Historical Trades = 40
This helps prevent PulseWire object-limit issues while still allowing users to review past signals visually.
━━━━━━━━━━━━━━━━━━━━━━
📊 STATISTICS TABLE
━━━━━━━━━━━━━━━━━━━━━━
The statistics table summarizes visual trade outcomes.
It can display:
🥉 TP1 count
🥈 TP2 count
🏆 TP3 count
🛑 SL count
📊 Total closed trades
✅ Win Rate
The statistics are calculated internally using the script’s visual TP/SL logic.
They are not broker execution results.
They do not include real slippage, spread, commission, liquidity, partial fills, or order execution issues.
They should be used for visual review and educational analysis only.
━━━━━━━━━━━━━━━━━━━━━━
💎 PREMIUM DASHBOARD
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method includes a premium-style dashboard.
The dashboard can display:
📈 Trend
📡 Current status
📊 Total trades
✅ Win rate
📈 Total R
📉 Average R
🧮 Profit Factor
🎯 Expectancy
🔥 Max win streak
❄️ Max loss streak
🔁 Current streak
⏱️ Average bars in trade
🏆 TP3 rate
🛑 SL rate
🧭 Best direction
🟢 Long win rate
🔴 Short win rate
📌 Active trade state
🧾 Last signal
🎯 Best TP reached
The dashboard is designed to give users a structured overview of the script’s internal visual results.
Important note:
These dashboard values are not official PulseWire Strategy Tester results.
They are internally calculated visual-analysis metrics.
They should not be interpreted as guaranteed performance.
━━━━━━━━━━━━━━━━━━━━━━
🎨 VISUAL THEME SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
The script includes three visual themes:
🔵 Neon Pro
🧊 Ice Blue
🟡 Gold Black
The theme system affects:
🎨 STRONG label colors
📦 TP/SL box colors
🎯 TP/SL line colors
🏷️ TP price labels
📊 statistics table colors
💎 premium dashboard colors
🟢 long-side visuals
🟠 short-side visuals
Color settings are handled internally to keep the Inputs tab cleaner and more organized.
━━━━━━━━━━━━━━━━━━━━━━
🏷️ TP PRICE LABELS
━━━━━━━━━━━━━━━━━━━━━━
TP labels are displayed next to the TP levels rather than inside the boxes.
This helps keep the projection boxes cleaner.
The labels can show:
TP1 price
TP2 price
TP3 price
Example:
TP1 102450.5
TP2 103120.0
TP3 104300.0
This makes it easier to visually read the projected target levels without opening the settings or manually checking each line.
━━━━━━━━━━━━━━━━━━━━━━
🏁 RESULT LABELS
━━━━━━━━━━━━━━━━━━━━━━
When a projected trade closes, the script can display a result label.
Examples:
🏆 TP3 HIT WIN +2R
🥈 TP2 EXIT WIN +1R
🥉 TP1 EXIT WIN +0.5R
🛑 SL HIT LOSS -1R
The exact value depends on the selected TP/SL structure and the highest TP reached before closure.
These labels are visual summaries only.
They do not represent broker execution.
━━━━━━━━━━━━━━━━━━━━━━
🚨 ALERT SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method includes alert conditions for:
🟢 Strong Long
🟠 Strong Short
🏆 TP3 Hit
🛑 SL Hit
🎯 Protected TP Exit
Users can create PulseWire alerts from these alert conditions.
Alerts can help monitor the chart without constantly watching every candle.
Important note:
Alerts are based on the script’s conditions.
They are not trade execution instructions.
Users are responsible for validating alerts and applying their own risk management.
━━━━━━━━━━━━━━━━━━━━━━
🧪 HOW TO USE THE INDICATOR
━━━━━━━━━━━━━━━━━━━━━━
A practical workflow:
Add Pullback Sniper Method to your chart.
Start with the default settings.
Review the overall trend direction.
Wait for a valid breakout setup.
Let the script wait for a pullback toward the Pullback EMA.
Watch for a STRONG label after confirmation.
Hover over the STRONG label to review the Quality Score tooltip.
Review the TP/SL projection box.
Check TP1, TP2, TP3, and SL levels.
Observe whether the projected trade reaches TP levels or SL.
Use the statistics table for visual outcome review.
Use the premium dashboard for deeper internal metrics.
Use alerts if you want automated signal notifications.
Validate the behavior on the exact symbols and timeframes you personally study.
This indicator is best used as a structured review tool.
It should not be used as a blind execution system.
━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS REFERENCE
━━━━━━━━━━━━━━━━━━━━━━
📈 Trend Engine
⚡ Fast EMA Length
Controls the fast trend EMA. Lower values react faster, while higher values are smoother.
🐢 Slow EMA Length
Controls the broader trend EMA used for directional context.
🎯 Pullback EMA Length
Defines the EMA area where price is expected to pull back before confirmation.
📐 Trend Slope Lookback
Checks whether the fast EMA is sloping in the expected trend direction.
━━━━━━━━━━━━━━━━━━━━━━
🎯 Pullback Setup Engine
🚀 Breakout Lookback
Defines how many bars are used to detect a fresh breakout level.
🛑 Invalidation Lookback
Defines the invalidation level for the active pullback setup.
⏳ Min Bars After Breakout
Controls how many bars must pass after breakout before pullback detection begins.
⌛ Max Bars To Find Pullback
If no valid pullback appears within this range, the setup expires.
━━━━━━━━━━━━━━━━━━━━━━
✅ Confirmation Engine
✅ Confirmation Mode
Available modes:
⚡ Fast
⚖️ Balanced
🛡️ Strict
📏 ATR Length
ATR used for body-size and distance filters.
🔥 Min Breakout Body / ATR
Minimum breakout candle body size compared to ATR.
💪 Min Confirm Body / ATR
Minimum confirmation candle body size compared to ATR. Mainly used in Strict mode.
📍 Max Entry Distance / ATR
Blocks entries that are too far away from the Pullback EMA.
🧊 Use Signal Cooldown
Prevents too many signals from appearing too close to each other.
⏱️ Cooldown Bars
Number of bars to wait after a signal before allowing another one.
━━━━━━━━━━━━━━━━━━━━━━
🧠 Optional Filters
🧲 Block Signals Near McGinley
Avoids entries too close to the McGinley Dynamic line.
〽️ McGinley Length
Length used for the McGinley Dynamic filter.
📐 Min McGinley Distance / ATR
Minimum distance required between price and McGinley Dynamic.
📊 Use RSI Direction Filter
Filters long/short signals based on RSI direction.
📈 RSI Length
RSI length used for the optional direction filter.
🟢 RSI Long Minimum
Long signals are allowed only when RSI is above this value.
🔴 RSI Short Maximum
Short signals are allowed only when RSI is below this value.
━━━━━━━━━━━━━━━━━━━━━━
📦 Trade Visual Engine
📏 Show TP / SL Lines
Shows TP1, TP2, TP3, and SL lines.
📦 Show TP / SL Boxes
Shows TP and SL projection zones.
🏷️ Show Active TP Label
Shows the latest touched TP label while the projected trade is active.
🗂️ Show Historical TP / SL Trades
Keeps previous TP/SL boxes, lines, and labels on the chart.
🧮 Max Historical Trades
Limits historical visual trades to help avoid object-limit issues.
🛡️ SL ATR Length
ATR length used for stop-loss calculation.
🛑 SL ATR Multiplier
ATR multiplier used for stop-loss distance.
🎯 TP3 Reward R
Final TP target multiple based on the initial risk distance.
🥉 TP1 % Of TP3
TP1 distance as a percentage of final TP3 distance.
🥈 TP2 % Of TP3
TP2 distance as a percentage of final TP3 distance.
↔️ Initial TP / SL Length
Initial visual length of TP/SL lines and boxes.
🙈 Hide Early SL Bars
If SL is reached within this number of bars, the projection can be hidden and excluded from statistics.
📊 Show Statistics Table
Shows TP1, TP2, TP3, SL, total trades, and win rate.
💎 Show Premium Dashboard
Shows the extended dashboard with deeper internal metrics.
━━━━━━━━━━━━━━━━━━━━━━
🎨 Visual Settings
🎭 Color Theme
Available themes:
🔵 Neon Pro
🧊 Ice Blue
🟡 Gold Black
💪 Show STRONG Labels
Shows the main STRONG labels on the chart.
🔠 Signal Label Size
Controls the size of STRONG signal labels.
━━━━━━━━━━━━━━━━━━━━━━
🧠 WHAT MAKES THIS SCRIPT ORIGINAL
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method uses familiar concepts such as:
📈 EMA trend context
🚀 breakout detection
🎯 pullback confirmation
🧠 optional technical filters
📦 ATR-based TP/SL projection
📊 dashboard metrics
🚨 alerts
These components are not unique by themselves.
The originality of the script lies in how these components are organized into one workflow:
Trend Engine
→ Breakout Detection
→ Pullback Validation
→ Confirmation Mode
→ Optional Filters
→ STRONG Label
→ Quality Tooltip
→ TP/SL Projection
→ Historical Trade Visualization
→ Statistics Table
→ Premium Dashboard
→ Alerts
This structure is intended to give users a cleaner way to review pullback-based trend continuation setups.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ IMPORTANT PRACTICAL NOTES
━━━━━━━━━━━━━━━━━━━━━━
The script’s behavior depends heavily on settings.
Signal frequency and visual output may change based on:
🎛️ selected confirmation mode
📈 EMA lengths
🎯 pullback EMA length
🚀 breakout lookback
🛑 invalidation lookback
📏 ATR settings
🧠 McGinley filter
📊 RSI filter
🧊 cooldown setting
📦 TP/SL settings
📊 market
⏱️ timeframe
📉 symbol volatility
📚 available historical bars
A configuration that looks cleaner on one market may not behave the same way on another.
The TP/SL boxes are visual projections based on script rules.
They are not broker orders.
They do not account for real execution conditions.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ LIMITATIONS AND SHORTCOMINGS
━━━━━━━━━━━━━━━━━━━━━━
This script has important limitations:
❌ It does not guarantee profitable trades.
❌ It does not predict future price movement.
❌ It does not replace risk management.
❌ It does not execute trades.
❌ It does not place orders.
❌ It does not include broker slippage.
❌ It does not include commissions.
❌ It does not include spreads.
❌ It uses bar-based chart data.
❌ Same-candle TP/SL order cannot be known from standard OHLC data.
❌ Same-candle TP/SL is handled conservatively as SL.
❌ Quality Score is not a win-rate prediction.
❌ Dashboard statistics are internal visual metrics, not broker results.
❌ ATR-based TP/SL projections are visual analysis tools, not trade instructions.
❌ Strong labels can still fail in choppy or low-quality market conditions.
❌ Historical visual behavior does not ensure future behavior.
For these reasons, Pullback Sniper Method should be used as an educational decision-support tool, not as a standalone trading strategy.
━━━━━━━━━━━━━━━━━━━━━━
👤 WHO THIS SCRIPT MAY BE USEFUL FOR
━━━━━━━━━━━━━━━━━━━━━━
This script may be useful for traders who:
✅ study pullback-based trend continuation
✅ want structured breakout/pullback confirmation
✅ want ATR-based TP/SL visualization
✅ want historical visual trade review
✅ want a clean statistics table
✅ want a premium-style dashboard
✅ want signal quality information without changing signal logic
✅ want configurable confirmation strictness
✅ want visual themes
✅ want alert-based monitoring
✅ prefer organized chart-based analysis
✅ want an open-source educational PulseWire tool
It may be less suitable for users who:
❌ want guaranteed buy/sell signals
❌ want a fully automated trading bot
❌ do not use technical analysis
❌ do not want chart visuals
❌ expect one setting to work on every market
❌ want an indicator that replaces their own decision-making
❌ expect internal visual statistics to match broker execution results
━━━━━━━━━━━━━━━━━━━━━━
🧭 BEST PRACTICE SUGGESTIONS
━━━━━━━━━━━━━━━━━━━━━━
For cleaner review:
✅ Start with the default settings.
✅ Use Balanced confirmation first.
✅ Test Fast and Strict modes only after understanding the default behavior.
✅ Review STRONG labels together with market structure.
✅ Hover over labels to inspect Quality Score context.
✅ Use TP/SL boxes as visual planning tools, not automatic orders.
✅ Review dashboard metrics as internal script feedback only.
✅ Avoid treating every signal as a trade.
✅ Test the indicator on the symbols and timeframes you actually use.
✅ Combine the tool with independent analysis and risk management.
✅ Keep expectations realistic.
━━━━━━━━━━━━━━━━━━━━━━
🚨 ALERT USAGE
━━━━━━━━━━━━━━━━━━━━━━
The script includes alert conditions for important events.
Available alert types include:
🟢 Strong Long
🟠 Strong Short
🏆 TP3 Hit
🛑 SL Hit
🎯 Protected TP Exit
A practical alert workflow:
Add the indicator to your chart.
Open PulseWire’s alert window.
Select Pullback Sniper Method as the condition.
Choose the alert condition you want.
Configure frequency according to your preference.
Use alerts as monitoring tools only.
Confirm all alerts manually with your own analysis.
Alerts do not execute trades.
Alerts are not financial advice.
━━━━━━━━━━━━━━━━━━━━━━
🔓 OPEN-SOURCE NOTE
━━━━━━━━━━━━━━━━━━━━━━
This script is published open-source for educational review, transparency, and community learning.
Users can inspect how the indicator works, study the logic, modify it for personal learning, and understand the internal conditions behind the visual output.
Please respect PulseWire’s House Rules when reusing or republishing open-source code.
The purpose of open-source publication is to support learning and transparent script review.
━━━━━━━━━━━━━━━━━━━━━━
🛡️ DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━
Pullback Sniper Method is provided for educational and informational purposes only.
It does not constitute financial, investment, or trading advice.
No indicator can guarantee future results.
Markets are uncertain, conditions change, and historical behavior does not ensure future performance.
Every user is responsible for their own analysis, validation, risk management, position sizing, and trading decisions.
The TP/SL boxes, labels, dashboard statistics, Quality Score, and alerts are visual analysis tools only.
Use this script as a structured decision-support and visual review framework, not as a promise of profitability. Indicator

SwingRegress Volatility Analytics [MarkitTick]💡 A comprehensive, multi-dimensional charting tool designed to fuse structural market analysis, statistically derived linear regression pathways, and volatility compression mechanics into a single, cohesive interface. By dynamically adapting its calculations to the latest shifts in market structure—specifically Change of Character (CHoCH) events—this script offers an adaptive mapping of price action, trend trajectory, and potential breakout zones directly on the primary chart.
● ✨ Originality and Utility
Traditional linear regression tools often require manual anchoring or rely on fixed lookback periods that fail to adapt to rapidly unfolding price dynamics. The distinct utility of this script lies in its self-adjusting structural anchoring mechanism. By automatically locking the regression baseline to the most recent significant pivot high or pivot low immediately following a structural break, the channel remains mathematically and contextually relevant to the current market regime.
Furthermore, this tool eliminates the need for separate sub-chart oscillators by integrating a sophisticated Smart Volatility Squeeze engine. This engine compares price variance against true range to identify periods of extreme price compression, overlaying these signals directly within the active regression pathway. The result is a unified, chart-centric view of both directional trend geometry and kinetic energy build-up, allowing for a more focused and uncluttered analytical process.
● 🔬 Methodology and Concepts
The underlying logic of this script is driven by three core mathematical engines operating in tandem:
• Pivot Discovery and Market Structure
The script continuously scans incoming price data to identify localized extremes, defined as Pivot Highs and Pivot Lows. A candidate bar is confirmed as a pivot only if it remains unbroken for a user-defined number of bars both prior to and following its occurrence. Once confirmed, these pivots establish the market structure. If the closing price breaks beyond the most recent opposing pivot, a Change of Character (CHoCH) is triggered, officially shifting the trend state.
• Anchored Linear Regression
Upon the confirmation of a new CHoCH, the script calculates a fresh Linear Regression Channel (LRC). The anchoring point is the origin pivot of the newly established trend. The script uses the Ordinary Least Squares (OLS) method to compute the slope and intercept of the best-fit line through the closing prices of the current regime. It then calculates the standard error of the estimate (standard deviation of the residuals) to project upper and lower variance bands parallel to the mid-line.
• Volatility Squeeze Mechanics
To identify volatility compression, the script employs a comparative analysis between standard deviation and Average True Range (ATR). It calculates a Bollinger Band (representing standard deviation) and a Keltner Channel (representing ATR) around a moving average baseline. A "squeeze" is structurally confirmed when the outer limits of the Bollinger Bands contract entirely within the boundaries of the Keltner Channels. This signifies that historical variance has dropped substantially below the average true range, often preceding a dynamic expansion in price movement.
● 🎨 Visual Guide
The visual interface is highly detailed and structurally color-coded to provide immediate contextual awareness without cluttering the chart.
• Current Anchored LRC
Mid Line: A solid Neon Cyan line representing the true mean of the current trend regime.
Band 1: A dashed Soft Cyan line mapping the first standard deviation threshold.
Band 2: A dotted Deep Azure line mapping the secondary, outer standard deviation extreme.
• Previous Anchored LRC
Mid Line: A solid Magenta line representing the historical mean of the preceding trend.
Band 1: A dashed Soft Magenta line for the historical inner variance.
Band 2: A dotted Blue-Violet line for the historical outer variance.
• Swing Point Zones
Swing High Boxes: Translucent red zones originating from a confirmed pivot high, drawing forward to act as dynamic resistance until broken by price action.
Swing Low Boxes: Translucent green zones originating from a confirmed pivot low, acting as dynamic support until structurally invalidated.
• Volatility Squeeze Candles
Cyber Gold Candles: When the market enters a state of extreme volatility compression (Bollinger Bands inside Keltner Channels) and is actively trading within the current or previous LRC pathway, the candles are painted a vibrant gold to highlight imminent kinetic release.
• Heads-Up Dashboard Display
Located in the top right corner, this self-updating data matrix provides critical real-time telemetry:
Structure Regime: Displays the active directional bias (Bullish, Bearish, or Neutral).
Last CHoCH: Indicates the direction and age (in bars) of the most recent structural shift.
Squeeze Intensity: A visual block-bar measuring the depth of the volatility compression.
ATR (14): The current absolute value of the Average True Range.
Dist to Swings: The percentage distance between the current price and the nearest Swing High/Low.
Risk/Reward Quality: A dynamic measurement of potential risk versus structural reward.
LRC Window Age: The duration of the current regression channel in bars.
LRC Position: Indicates whether price is currently trading inside the active regression channel, the previous channel, or is entirely unanchored.
● 📖 How to Use
The primary application of this tool is identifying high-probability continuation or mean-reversion setups following structural confirmation.
When a CHoCH event occurs, wait for the new Linear Regression Channel to populate. This channel defines your trading parameters. A high-probability setup manifests when price pulls back to the inner or mid-line of the active LRC, accompanied by the appearance of Cyber Gold squeeze candles. This visual confluence suggests that price is compressing directly at the statistical mean of the new trend, building energy for a move in the direction of the underlying structural regime.
Conversely, if price approaches the outer standard deviation bands (Deep Azure) without structural confirmation of a breakout, it suggests the market is statistically overextended, offering a potential mean-reversion opportunity back toward the Neon Cyan mid-line.
Note on Mechanics: Because the pivot discovery process requires a defined number of bars to confirm a swing high or low, there is an inherent lookback period. The swing zones will only appear after the pivot has been structurally verified. Furthermore, the linear regression channel recalculates its slope dynamically as new price data is added to the active regime, meaning the exact angle of the channel adapts in real-time until a new CHoCH locks it into history as the "Previous LRC."
● ⚙️ Inputs and Settings
The configuration panel is logically divided into primary analytical modules to allow for precise user calibration.
• Current Anchored CHoCH LRC
Adjust the sensitivity of the pivot discovery engine by modifying the Left and Right Pivot Bars. You can also customize the multipliers for the primary and secondary standard deviation bands, as well as toggle their visibility and modify line weights.
• Previous Anchored CHoCH LRC
Allows for the toggling of the historical channel, providing context on how the previous trend failed. Color and visibility settings are fully adjustable here.
• Swing Points & Zones Settings
Toggle the structural resistance and support boxes on or off, and customize their respective color opacities for a cleaner chart overlay.
• Smart Volatility Squeeze (BB vs KC)
Tune the underlying volatility engine. You can adjust the lookback length for the variance baseline, as well as the specific deviation multipliers for both the Bollinger Band boundaries and the Keltner Channel limits.
• Webhook Execution Configuration
Input exact JSON payload action names for algorithmic execution routing (Long, Short, Close Long, Close Short).
• Dashboard Settings
Customize the background and text colors of the heads-up data matrix to match your specific chart theme.
● 🔍 Deconstruction of the Underlying Scientific and Academic Framework
The mathematical foundation of this script is anchored heavily in econometrics and statistical probability theory.
At its core, the linear regression calculation utilizes the Ordinary Least Squares (OLS) estimator. This formula determines the line of best fit through a sequence of time-series data points by minimizing the sum of the squared differences (residuals) between the observed closing prices and the values predicted by the linear model. The slope of this line represents the average rate of change per unit of time, mathematically quantifying the drift of the active regime.
The parallel bands wrapping the regression line are derived by calculating the standard error of the estimate. Assuming the residuals are normally distributed (Gaussian distribution), one standard deviation captures approximately 68 percent of the price variance, while two standard deviations capture roughly 95 percent. When price moves beyond these outer bands, it represents a statistically significant deviation from the mean, inherently increasing the probabilistic likelihood of mean reversion.
The volatility squeeze mechanic operates on the principle of variance compression. Bollinger Bands are a derivative of standard deviation, making them highly reactive to short-term variance. Keltner Channels utilize the Average True Range (ATR), which measures absolute periodic volatility independent of a central mean. When the standard deviation of price contracts to such a degree that the Bollinger Bands fall entirely within the ATR-based Keltner Channels, it statistically confirms a state of anomalous energy compression. In financial academia, periods of artificially suppressed variance are overwhelmingly followed by periods of geometric expansion, providing the theoretical basis for breakout execution.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicator

ATR Exceedance Probability Model [LuxAlgo]The Volatility Exceedance Probability Model (VEPM) indicator is a comprehensive statistical tool designed to quantify the significance of volatility spikes, determine the likelihood of trend continuation, and categorize market environments into specific regimes.
🔶 USAGE
The indicator provides a multi-layered view of volatility, allowing traders to distinguish between standard market noise and statistically significant "exceedance" events.
🔹 Oscillator Interpretation
The main oscillator plots the current exceedance frequency (the rate at which price or range breaches ATR-based thresholds) against a long-term baseline.
Bullish/Significant Glow: When the Z-Score of the frequency exceeds the sensitivity threshold, the oscillator glows green, indicating a high-probability volatility expansion.
Bearish/Normal Glow: When the frequency falls below the baseline, the oscillator shifts toward red, signaling a contraction in volatility.
Frequency Delta: The area between the current frequency and baseline frequency is filled to highlight the momentum of volatility expansion or exhaustion.
🔹 Chart Visuals & Regimes
The script overlays information directly on the price action to provide context:
ATR Bands: Dynamic bands based on the Average True Range act as the "exceedance" barrier.
Regime Boxes: The indicator automatically identifies "Quiet," "Normal," and "High Vol" regimes. These are visualized as colored boxes (defaulting to High Vol) to show the duration and range of specific volatility climates.
Significance Dots: Circles appear at the top of the chart to mark bars that have breached the volatility threshold.
🔹 Dashboard Metrics
A real-time dashboard provides quantitative data:
Exceedance Freq: The percentage of bars in the short-term window that breached the ATR levels.
Serial Break Prob: The historical probability that a breach will be followed by another breach (continuation).
Clustering Edge: The statistical advantage of volatility clustering; a positive value suggests that volatility is currently feeding on itself.
🔶 DETAILS
The VEPM operates on the principle that volatility is not constant but "clusters" in time. It uses the following logic to derive its metrics:
Exceedance Detection: It calculates whether the current price range (True Range) or price levels (High/Low) exceed a user-defined ATR multiplier.
Statistical Z-Score: By comparing the current frequency of these breaches to a long-term baseline (200 bars by default), the model calculates a Z-Score to determine if the current activity is statistically "abnormal."
Continuation Probability: The model looks back at previous breaches and calculates how often they resulted in immediate follow-through, providing a "Serial Break" percentage.
🔶 SETTINGS
🔹 Core Settings
ATR Length: The lookback period used for the Average True Range calculation.
ATR Multiplier: The threshold used to define what constitutes a "breach" or exceedance.
Breach Detection Method: Choose between comparing the bar's total range to ATR or checking if price levels exceed the previous bar's bands.
🔹 Statistical Windows
Short-Term Window: The period used to calculate the current exceedance frequency.
Baseline Window: The long-term period used to establish the "normal" mean of volatility frequency.
Z-Score Sensitivity: Determines the threshold for identifying statistically significant volatility spikes.
🔹 Visuals
Show ATR Bands: Toggles the visibility of the ATR-based levels on the chart.
Bands Mode: Determines if bands are offset from a central basis (SMA/EMA) or from the bar's High/Low.
Regime Box Options: Toggles background boxes for Quiet, Normal, or High Volatility regimes.
🔹 Dashboard
Dashboard: Enables or disables the on-screen information table.
Position/Size: Controls the location and scale of the dashboard UI.
Indicator

Indicator

Supertrend Extensions [BOSWaves]Supertrend Extensions - Trend Flip Extension Mapping with Volume-Captured Deviation Level Progression
Overview
Supertrend Extensions is a trend extension mapping system that projects a structured set of deviation levels from each trend flip, where level spacing, crossing detection, and volume capture behavior are driven by the instrument's average range rather than fixed price distances, creating a dynamic extension framework that scales to any instrument or timeframe and records participation data at each milestone as price progresses through the projected levels.
Instead of treating a trend flip as simply a directional signal, each flip generates an immediate sequence of extension levels projected from the flip price in the new trend direction. These levels serve as structured targets and monitoring points throughout the developing move. When price crosses each level, it converts from a numbered solid line to a dashed reference displaying the crossing bar's volume, building a running record of participation quality at each stage of the trend's extension.
This creates a framework that transforms every trend flip into the origin point of a fully mapped extension sequence. The Supertrend band provides the directional anchor that triggers and validates each new projection set, while the deviation levels and their volume capture layer provide the structural and participatory intelligence needed to monitor how the trend is developing from flip through to full extension.
Price is therefore tracked not just for direction but for progression through a volatility-calibrated extension map where participation at each crossing reveals whether the move is being driven by conviction or fading with each successive level.
Conceptual Framework
Supertrend Extensions is founded on the principle that the most valuable information in a trending market is not just the direction of the trend but how price is progressing through extension space from the structural origin, and whether participation at each extension milestone is confirming or undermining the case for further progression.
Standard trend indicators identify direction and provide a trailing band but offer no framework for understanding extension behavior or monitoring participation quality as price moves away from the flip. This framework addresses that gap by treating each trend flip as the start of a measurable extension sequence, projecting levels at range-calibrated distances and capturing volume data as each level is crossed to build a continuously updating picture of trend health from origin to target.
Three core principles guide the design:
Each trend flip should immediately generate a structured extension map anchored to the flip price, providing a pre-calculated sequence of levels that serve as targets and monitoring points without requiring manual analysis.
Deviation level spacing should adapt to the instrument's actual average range, ensuring levels are meaningfully spaced relative to how the instrument typically moves rather than applying identical distances across all markets and timeframes.
Volume participation at each level crossing should be captured and permanently displayed, providing an objective record of whether price is moving through each extension milestone on strong or deteriorating participation.
This shifts trend analysis from directional signal monitoring into active extension progression tracking with volume evidence accumulated at every structural milestone.
Theoretical Foundation
The indicator combines a Supertrend band as the directional trigger, SMA-averaged range-derived deviation spacing for extension level placement, an array-managed line and label object system for level lifecycle management, and volume standard deviation normalization for candle color intensity.
Deviation level distances are derived from the 100-bar SMA of the high-low range multiplied by the configured deviation size, producing spacing that reflects the instrument's typical bar-level price movement and scales automatically as volatility expands or contracts between trend cycles. The array-managed line and label system clears all existing levels on each flip and projects a fresh numbered set, extending each line rightward until price crosses it or the next flip resets the map. Volume normalization divides raw volume by its rolling standard deviation to produce a score that drives candle color intensity relative to recent participation history rather than absolute values.
Four internal systems operate in tandem:
Deviation Level Projection System : On each trend flip, clears all existing deviation lines and labels and projects a fresh numbered sequence at average range-scaled intervals from the flip price in the new trend direction.
Level Extension and Crossing Engine : Extends each active deviation line rightward on every bar and monitors for price crossings in the trend direction, converting crossed levels to dashed references and replacing the level number label with the crossing bar's formatted volume.
Supertrend Band Engine : Provides the directional anchor that triggers each new projection set, maintaining trailing upper and lower bands that define current trend state and flip conditions.
Volume Intensity Candle System : Normalizes volume against its rolling standard deviation and maps the resulting score to a color gradient between a muted and fully saturated version of the trend color, communicating participation strength on every bar.
This design ensures that every trend flip immediately produces a complete extension framework, level crossings accumulate a volume evidence trail, and candle coloring provides continuous participation context throughout the trend's development.
How It Works
Supertrend Extensions evaluates price through a sequence of extension-aware and participation-monitoring processes:
Trend Flip Detection : The Supertrend band registers a flip when price closes through the opposing trailing band, triggering both the signal label and the deviation level projection sequence.
Deviation Distance Calculation : The 100-bar SMA of the high-low range is multiplied by the configured deviation size to produce the spacing distance between consecutive deviation levels for the new trend cycle.
Level Projection on Flip : All existing deviation lines and labels are deleted and a fresh numbered set is projected from the flip bar's close, with each level placed at a sequential multiple of the deviation distance in the new trend direction.
Level Extension : On each bar following the flip, all active deviation lines extend their right endpoint to the current bar, maintaining continuous horizontal reference lines across the developing trend.
Crossing Detection : Each active level is tested for price crossing on every bar, with bar highs tested against bullish levels and bar lows tested against bearish levels to identify genuine price contact with each extension milestone.
Volume Capture on Crossing : When a level is crossed, its line converts to dashed style with a dimmed color and the label text replaces the sequential number with the crossing bar's volume formatted for readability, permanently recording participation at that extension point.
Volume Intensity Candle Coloring : Each bar's volume is divided by its 200-bar rolling standard deviation to produce a normalized score capped at four, which maps to a color gradient from muted transparency at low participation to full trend color saturation at peak volume.
Signal Label Placement : Bullish flips produce a triangle-up label with the flip price below the Supertrend line and bearish flips produce a triangle-down label with the flip price above, anchoring each new extension map to its precise origin price.
Together, these elements form a continuously updating extension monitoring system where flip events generate structured projection maps, level crossings accumulate volume evidence, and candle intensity communicates participation strength throughout every stage of the trend.
Interpretation
Supertrend Extensions should be interpreted as a trend extension progression system with volume participation captured at each structural milestone:
Bullish Trend State (Green) : Active when price has closed above the trailing upper band, with deviation levels projected upward from the flip price as sequential bullish extension targets.
Bearish Trend State (Red) : Active when price has closed below the trailing lower band, with deviation levels projected downward from the flip price as sequential bearish extension targets.
Deviation Levels (Solid, Numbered) : Uncrossed extension levels projected from the most recent flip price, numbered sequentially from one outward in the trend direction, representing the structured target sequence for the current trend cycle.
Deviation Levels (Dashed, Volume Labeled) : Levels that have been crossed by price, converted to dashed style and displaying the crossing bar's volume rather than the level number. These form a permanent record of participation quality at each extension milestone already reached.
Volume Labels on Crossed Levels : Volume readings at crossed levels reveal whether price moved through each extension point on meaningful participation or on thin activity, providing an accumulated evidence trail for assessing trend conviction across the full extension sequence.
Supertrend Line : The solid colored band line provides the active trailing support or resistance reference for the current trend, serving as the invalidation boundary for the current directional state and the trigger for each new deviation level projection cycle.
Trend Fill : Gradient fill between the Supertrend line and the bar midpoint provides a continuous visual representation of the gap between price and the structural boundary.
▲ / ▼ Flip Signals : Triangle labels displaying the flip price mark each trend change origin, providing a clean visual anchor that corresponds to the starting point of the current deviation level projection set.
Volume Intensity Candles : Optional candle coloring brightens with above-average participation and fades toward a muted version of the trend color on low-volume bars, providing bar-level conviction readings without leaving the price chart.
Deviation level progression, volume at crossed levels, and candle intensity collectively provide more information than trend direction alone.
Signal Logic & Visual Cues
Supertrend Extensions presents two primary trend transition signals alongside continuous extension level monitoring:
Bullish Flip (▲) : Triggered when price closes above the trailing upper band, displaying the flip price below the bar and projecting a fresh set of upward deviation levels from the flip price.
Bearish Flip (▼) : Triggered when price closes below the trailing lower band, displaying the flip price above the bar and projecting a fresh set of downward deviation levels from the flip price.
Deviation level crossings provide continuous secondary context throughout each trend cycle, converting each extension milestone into a volume-stamped reference that builds a participation evidence log from flip to target.
Alert generation covers bullish and bearish trend flips for systematic trend monitoring and notification workflows.
Strategy Integration
Supertrend Extensions fits within structured extension target and trend progression monitoring approaches:
Deviation Level Target Sequencing : Use the projected deviation levels as a staged exit framework, planning partial position reductions at each sequential level rather than targeting a single fixed price, allowing structured progression management calibrated to each trend's specific origin and volatility context.
Volume Confirmation at Levels : Monitor the volume displayed when deviation levels are crossed to assess participation quality at each extension stage. Sustained or increasing volume at successive crossings supports further progression, while declining volume at each level warns of weakening extension commitment.
Flip-Based Trend Entries : Use Supertrend flip signals as primary trend initiation triggers, with the immediately projected deviation levels providing an instant target framework from the moment of entry.
Supertrend Band Pullback Reference : Use the Supertrend line as a dynamic pullback reference within established trends, monitoring candle volume intensity on band retests for participation evidence supporting continuation rather than breakdown.
Deviation Size Calibration by Timeframe : Adjust the deviation size multiplier to match the instrument's typical trend range at the target timeframe, ensuring the extension map spans a realistic distance relative to expected directional movement.
Multi-Timeframe Extension Alignment : Apply higher-timeframe Supertrend state as a directional bias filter, engaging with lower-timeframe extension level sequences only when they align with the established higher-timeframe trend direction.
Technical Implementation Details
Deviation System : 100-bar SMA of high-low range scaled by configurable deviation size multiplier with configurable level count
Level Lifecycle : Array-managed line and label objects cleared on each flip, extended rightward each bar, and converted to dashed references with volume labels on crossing
Supertrend Engine : ATR-scaled trailing band with configurable multiplier and length as directional anchor and flip trigger
Volume Normalization : 200-bar standard deviation-based scoring mapped to candle color gradient intensity
Visualization : Solid and dashed deviation levels with volume labels, Supertrend line with trend fill, flip signal labels, and volume-intensity candle coloring
Signal Logic : Band crossover state-switch detection with independent bullish and bearish flip conditions
Performance Profile : Optimized for real-time execution with array-based object management and max_bars_back configuration supporting deep historical calculation
Optimal Application Parameters
Timeframe Guidance:
1 - 5 min : Intraday extension mapping for scalping with tighter deviation spacing and lower level count for fast-moving target sequences
15 - 60 min : Session-level extension progression with balanced deviation size and moderate level count for structured intraday target management
4H - Daily : Swing-level extension mapping with wider deviation spacing and higher level count reflecting larger price swings between flip events
Suggested Baseline Configuration:
ATR Multiplier : 5.0
ATR Length : 14
Deviation Size : 2.7
Deviation Count : 4
Show Signals : Enabled
Color Candles : Enabled
These suggested parameters should be used as a baseline; their effectiveness depends on the instrument's typical extension range, average bar size, and preferred level density, so fine-tuning is expected for optimal performance.
Parameter Calibration Notes
Use the following adjustments to refine behavior without altering the core logic:
Deviation levels too close together : Increase Deviation Size to spread levels further apart relative to the average bar range, producing a wider extension map that better reflects the instrument's typical trend range at the target timeframe.
Deviation levels too far apart : Decrease Deviation Size toward 1.0 to tighten level spacing, producing more granular extension targets suited to lower timeframes or lower-volatility instruments.
Too many levels cluttering the chart : Reduce Deviation Count to limit projected levels to the nearest and most actionable targets, focusing the extension map on realistic near-term progression milestones.
Too few levels to cover the typical trend range : Increase Deviation Count up to the maximum of six to extend the projection sequence further, covering a wider range of potential extension targets for instruments with larger typical trending moves.
Too many trend flips resetting the extension map : Increase the ATR Multiplier to widen the Supertrend band and require more significant price displacement before a flip resets the deviation level sequence.
Trend flips too slow to capture structural changes : Decrease the ATR Multiplier toward 2.0 for a more responsive band that generates fresh extension maps closer to actual structural shifts in price direction.
Candle coloring too uniform : The volume intensity gradient operates on a standard deviation basis. On instruments with very consistent volume distribution the gradient range may appear compressed, which is expected and reflects genuinely low variation in participation levels.
Adjustments should be incremental and evaluated across multiple session types rather than isolated market conditions.
Performance Characteristics
High Effectiveness:
Trending markets with sustained directional moves where deviation levels are reached sequentially and volume at each crossing provides meaningful progression confirmation
Instruments with consistent average range behavior where deviation spacing calibrates reliably to the instrument's typical bar-level price movement across different trend cycles
Structured target-based approaches where the deviation level sequence provides a systematic exit framework calibrated to each trend's specific origin and volatility context
Multi-timeframe workflows where higher-timeframe trend direction filters lower-timeframe flip signals for directional alignment with the broader trend
Reduced Effectiveness:
Choppy, range-bound markets where frequent trend flips reset the extension map before price reaches the first deviation level, preventing a useful progression sequence from developing
Extremely volatile instruments where large individual bars cause the average range to spike, producing deviation spacing that overstates typical extension potential for subsequent trend cycles
Low-volume instruments where the standard deviation-based candle coloring loses discriminative power due to irregular or thin volume distribution
News-driven or gap-heavy markets where trend flips occur on discontinuous price action that distorts the average range calculation and misaligns deviation level placement relative to actual structural extension potential
Consolidation environments where price oscillates near the Supertrend band without establishing the sustained directional movement required for sequential deviation level progression
Integration Guidelines
Confluence : Combine with BOSWaves momentum tools, order flow analysis, or market structure indicators to validate trend flip signals and assess the broader analytical context before committing to deviation level target sequences
Volume Label Monitoring : Review volume labels on crossed deviation levels as a running confirmation log for the trend. Declining volume at successive levels suggests weakening extension commitment and warrants caution about remaining target progression.
Deviation Level Respect : Treat uncrossed deviation levels as active areas of potential price reaction rather than guaranteed targets. Monitoring candle behavior and volume intensity as price approaches each level provides early indication of whether the level will be crossed or act as a reversal point.
Extension Map Freshness : Recognize that deviation levels are anchored to the most recent flip price and reflect the volatility conditions at that specific origin point. As time passes within a trend cycle, reassess whether the projected levels remain relevant to current market conditions.
State Discipline : Maintain directional bias aligned with the current Supertrend state until a confirmed flip occurs. Temporary pullbacks toward the active band that do not close through it do not constitute trend changes and should not trigger premature exits from active extension target sequences.
Disclaimer
Supertrend Extensions is a professional-grade trend extension mapping and volume participation tracking tool. It uses range-calibrated deviation level projection with volume capture at each crossing but does not predict future price movements. Results depend on market conditions, instrument volatility characteristics, parameter selection, and disciplined execution. BOSWaves recommends deploying this indicator within a broader analytical framework that incorporates momentum context, order flow analysis, and comprehensive risk management. Indicator

Elaris Doji Finder ProElaris Doji Finder Pro is a professional-grade candlestick analysis indicator designed to detect high-quality Doji formations with advanced context filtering, signal scoring, and clean visual confirmations.
Unlike basic Doji detectors that simply highlight small candle bodies, this indicator evaluates market structure, volatility, wick behavior, trend context, and optional volume confirmation to help traders identify stronger indecision and potential reversal zones.
The indicator supports multiple Doji types including Neutral Doji, Long-Legged Doji, Dragonfly Doji, and Gravestone Doji while providing a premium PulseWire experience with customizable visuals, signal quality scoring, smart dashboards, and non-repainting confirmed signals.
━━━━━━━━━━━━━━━━━━
FEATURES
━━━━━━━━━━━━━━━━━━
• Detects multiple Doji candle types
• Advanced candle body and wick analysis
• ATR-based volatility filtering
• EMA trend context filtering
• Volume confirmation system
• Swing support & resistance proximity filter
• Bullish / bearish contextual bias detection
• Signal quality scoring engine
• Professional dashboard interface
• Dark mode and light mode support
• Clean labels and compact signal markers
• Fully customizable settings
• Optimized for crypto, forex, indices, and stocks
• Non-repainting candle-close confirmation mode
• Built-in alert conditions
━━━━━━━━━━━━━━━━━━
SUPPORTED DOJI TYPES
━━━━━━━━━━━━━━━━━━
• Neutral Doji
Classic indecision candle with a very small body.
• Long-Legged Doji
High-volatility indecision candle with extended upper and lower wicks.
• Dragonfly Doji
Bullish rejection-style Doji often appearing near local lows or support zones.
• Gravestone Doji
Bearish rejection-style Doji often appearing near local highs or resistance zones.
━━━━━━━━━━━━━━━━━━
HOW TO USE
━━━━━━━━━━━━━━━━━━
Bullish Doji signals may become more effective when:
• Appearing near support
• Forming after strong sell pressure
• Confirmed by rising volume
• Appearing against an extended downtrend
Bearish Doji signals may become more effective when:
• Appearing near resistance
• Forming after strong buying pressure
• Confirmed by elevated volume
• Appearing after aggressive trend extensions
The signal quality score can help filter weaker setups and focus on higher-probability Doji structures.
━━━━━━━━━━━━━━━━━━
NON-REPAINTING
━━━━━━━━━━━━━━━━━━
This indicator can operate in non-repainting mode when “Confirm Signals On Candle Close” is enabled. Signals are confirmed only after candle close.
━━━━━━━━━━━━━━━━━━
DISCLAIMER
━━━━━━━━━━━━━━━━━━
This indicator is designed for educational and analytical purposes only. Always use proper risk management and combine candlestick signals with broader market context before making trading decisions.
Indicator

Elaris Smart Scalping IndicatorElaris Smart Scalping Indicator is a non-repainting trend and momentum scalping tool designed to help traders identify higher-quality buy and sell conditions using a structured confluence model.
The indicator combines EMA trend direction, RSI momentum, MACD histogram confirmation, volume strength, ATR volatility filtering, optional higher-timeframe bias, and session filtering into a clean signal-scoring system. Signals are confirmed only after candle close, helping reduce intrabar noise and repainting behavior.
It also includes visual TP/SL guide levels, trend background shading, buy/sell labels, alert conditions, and a compact dashboard showing trend state, HTF bias, RSI, ATR percentage, volume filter status, and signal score.
This tool is designed for scalping and short-term trading analysis across crypto, forex, indices, and other liquid markets. It is not financial advice and should be used with proper risk management and additional market context.
Key Features
Non-repainting confirmed buy/sell signals
EMA-based trend engine with adjustable strictness
RSI and MACD momentum confirmation
Optional higher-timeframe trend filter
Volume and ATR volatility quality filters
Optional session filter
Signal score system from 0–100
Visual entry, stop loss, TP1, and TP2 guide levels
Clean dashboard for live market state
Built-in PulseWire alert conditions Indicator

Indicator

Exhaustion Fuel Gauge [AGPro Series]Exhaustion Fuel Gauge
🧠 Core Idea
Is the current move still powered by real participation, or is the trend running on exhausted fuel?
📌 Overview / What it does
Exhaustion Fuel Gauge is a premium PulseWire overlay that evaluates trend fuel, participation strength, extension pressure, wick reaction, and momentum efficiency to map whether a directional move is still active, fading, or entering exhaustion territory.
The script produces a forward-projected fuel zone, compact state labels, current context tags, and an AGPro-style panel that summarizes the active gauge state. It is designed to help users read whether a move has enough internal fuel to continue or whether the chart is showing signs of weakening participation and exhaustion risk.
It does not predict price direction, automate trades, or provide guaranteed signals. It is a visual decision-support map for market context.
🎯 Purpose & Design Philosophy
This script was built to fill the gap between simple momentum indicators and real chart context. Many tools show whether price is moving fast, but they do not clearly explain whether the move still has fuel or whether the movement is becoming fragile.
Exhaustion Fuel Gauge helps discretionary traders, swing traders, intraday traders, and market-structure readers evaluate the quality of a move before overreacting to a single candle.
The design philosophy is simple: trend continuation should be judged by fuel, participation, efficiency, and reaction quality together.
⚡ Why This Script Is Different
Most tools focus on overbought or oversold readings.
This script does NOT treat exhaustion as a single oscillator value or a generic reversal signal.
Instead, it combines directional persistence, participation strength, range behavior, move efficiency, wick pressure, and extension risk into a clean overlay that explains whether the current move still has usable fuel.
⚙️ Methodology
1. Context Detection
The script identifies the active directional context using recent price movement and trend baseline behavior.
2. Fuel Evaluation
It measures persistence, participation, range expansion, and efficiency to estimate how much usable fuel remains in the move.
3. Exhaustion Risk Mapping
It evaluates extension, fuel fade, wick pressure, and participation fade to estimate whether the move is becoming vulnerable.
4. Visual Output
The script displays a forward-projected fuel zone, event labels, right-side context tags, and a structured AGPro panel.
🗺️ How to Read the Chart
Zones represent the current fuel reference area where the active move should be evaluated.
Labels mark important changes such as fuel activation, fuel fading, exhaustion watch, exhaustion hit, or reset build.
Colors represent state context:
• Green = active fuel
• Pink = exhaustion risk or exhaustion hit
• Yellow = caution / watch state
• Indigo = fading or reset context
The panel summarizes the current gauge state, direction, fuel score, exhaustion risk, participation, extension, and next context.
🚦 Signals & States
• FUEL ACTIVE → directional move still has usable internal fuel
• FUEL FADING → move is still present, but internal support is weakening
• EXHAUSTION WATCH → extension and reaction pressure are elevated
• EXHAUSTION HIT → exhaustion evidence is strong and fuel has weakened
• RESET BUILD → no clean directional fuel is currently confirmed
🔔 Alerts Logic
Alerts trigger when the script detects a new fuel-active state, fuel-fading state, exhaustion-watch state, exhaustion-hit state, or reset-build state.
Alerts are attention markers only. They are not trade instructions and should not be interpreted as guaranteed outcomes.
🧩 Confluence Logic
The strongest exhaustion context appears when extension pressure, participation fade, wick reaction, and weak fuel score align.
The strongest continuation context appears when fuel score remains high while exhaustion risk stays contained.
📊 When to Use
• Trending markets where continuation quality matters
• Extended moves where exhaustion risk needs to be evaluated
• Breakout follow-through analysis
• Swing-trading context review
• Intraday movement quality checks
⚠️ When NOT to Use
• Extremely low-liquidity markets
• Randomly choppy symbols with poor structure
• News spikes where normal participation behavior is distorted
• Very low timeframes with excessive noise
🎛️ Key Inputs
• Trend Length → adjusts the baseline used to define directional context
• Fuel Lookback → controls how many bars are used for fuel evaluation
• Exhaustion Threshold → adjusts how strict exhaustion detection is
• Fuel Fade Threshold → defines when a move is considered fuel-fading
• Zone Projection Bars → keeps the active zone visible for publication screenshots
• Panel and label settings → control visual readability
🖥️ Interface & Visual Design
The interface is built for quick visual interpretation.
The panel provides structured context without dominating the chart. The fuel zone gives the main story visually, while compact labels and right-side tags provide the current state without clutter.
The goal is a premium, publication-ready PulseWire chart.
🧪 Practical Usage Workflow
1. Read the panel state.
2. Check whether fuel is active, fading, or exhausted.
3. Observe the active fuel zone and current right-side tags.
4. Compare exhaustion risk with participation and extension.
5. Use broader market structure before making any decision.
🔍 Interpretation Guidelines
High fuel with low exhaustion risk suggests the move still has internal support.
High exhaustion risk with weak fuel suggests the move may be vulnerable to reaction or reset.
Fuel fading does not mean reversal. It means continuation quality is weakening.
Exhaustion hit does not guarantee a top or bottom. It marks a context that deserves caution.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not financial advice.
It is not an automated trading system.
It does not provide guaranteed buy or sell signals.
It does not replace risk management or independent analysis.
⚠️ Limitations & Transparency
The script is rule-based and depends on market conditions.
Different timeframes may produce different readings.
Volatility, liquidity, gaps, and news-driven moves may affect signal quality.
Outputs should always be interpreted with broader market context.
🧠 Market Context Notes
Exhaustion is not only about price distance.
It also depends on whether participation remains strong, whether candles still close efficiently, and whether wick pressure begins to appear against the current direction.
This script is designed to make those conditions easier to read visually.
🧾 Use Case Examples
When price extends strongly but fuel remains high and exhaustion risk is contained, the move may still have continuation quality.
When price extends while participation fades and wick pressure increases, the chart may be entering exhaustion-watch territory.
When exhaustion risk rises while fuel drops, the context becomes more fragile.
🧱 System Philosophy
AGPro Series tools are designed as professional visual maps, not signal machines.
The goal is to make complex market context easier to interpret without reducing it to a simplistic buy or sell label.
🔐 Non-Promise Statement
No script can guarantee future price movement.
This tool provides structured context, not certainty.
📉 Risk Disclosure
Trading involves risk.
Past behavior does not guarantee future results.
Users are responsible for their own decisions, position sizing, and risk management.
This script does not provide financial advice.
📚 Educational Note
Use this script as a learning and analysis tool to better understand momentum quality, trend fuel, and exhaustion behavior across different market conditions.
Indicator

Pulse Entry Engine🚀 Pulse Entry Engine
Pulse Entry Engine is a free momentum-based entry visualization and decision-support indicator designed to help traders analyze potential entry conditions with a cleaner, more structured, and more visual workflow.
This script combines a Special K-based momentum engine, signal modes, confirmation logic, EMA context, higher-timeframe bias filtering, modern oscillator visualization, signal strength scoring, star-based quality labels, TP/SL projection boxes, active-trade candle coloring, signal-candle background highlighting, compact dashboards, visual themes, and dynamic alerts into one organized PulseWire tool.
The goal of Pulse Entry Engine is not to predict the future or provide guaranteed buy/sell instructions.
Its purpose is to help users visually study:
⚡ momentum expansion
🎯 entry-quality conditions
🧭 directional context
📊 signal strength
📦 projected TP/SL zones
🕯️ active-trade candle behavior
🚨 alert-based monitoring
Pulse Entry Engine should be treated as a structured chart-analysis tool, not as financial advice, not as an automated trading system, and not as a guarantee of profitable results.
━━━━━━━━━━━━━━━━━━━━━━
🔓 PUBLICATION NOTE
━━━━━━━━━━━━━━━━━━━━━━
This script is published as a free educational and visual market-analysis tool.
The description is intentionally detailed because many users do not inspect every part of the Pine Script logic line by line.
The purpose of this page is to explain:
✅ what the script does
✅ how the components work together
✅ what appears on the chart
✅ how signals are filtered
✅ how TP/SL projection works
✅ what the dashboards mean
✅ what the limitations are
✅ how the indicator should and should not be used
Pulse Entry Engine is designed to support structured decision-making.
It does not promise profitable results.
It does not remove market risk.
It does not execute trades.
It should not be used as a blind buy/sell system.
It is best used as a visual framework for reviewing momentum, signal quality, context, and projected risk/reward.
━━━━━━━━━━━━━━━━━━━━━━
📌 OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━
At a high level, Pulse Entry Engine does the following:
1. ⚙️ Calculates a Special K-based momentum engine.
2. 📈 Compares the engine value with its signal line.
3. 📏 Measures the distance between the engine and signal line.
4. 🔥 Classifies stretch conditions as Weak, Normal, Strong, or Extreme.
5. 🎯 Generates LONG / SHORT pulse signals when selected conditions align.
6. 🧠 Provides five different Signal Modes.
7. 🕯️ Supports Bar Close and Live Intrabar confirmation.
8. 📈 Includes an EMA-based context filter.
9. 🧭 Includes a Higher Timeframe Bias Filter.
10. ⭐ Calculates a 0–100 signal score.
11. 📊 Displays a Signal Strength Bar.
12. 🌟 Shows star-based quality labels on the main chart.
13. 🟩 Highlights the exact signal candle with a vertical background.
14. 🕯️ Colors candles only while a projected trade is active.
15. 📦 Displays ATR-based TP/SL projection boxes.
16. 🎯 Tracks TP1, TP2, TP3, and SL visually.
17. 🔒 Blocks new signals while an active projection has not reached TP1.
18. 🔁 Allows replacement logic after TP1/TP2 progress.
19. 🌊 Includes a modern oscillator visual engine.
20. 📊 Includes Neon Histogram as the default oscillator view.
21. 🎨 Includes multiple visual themes.
22. 🖥️ Includes Minimal / Pro / Full display profiles.
23. 📋 Includes a compact main dashboard.
24. 📡 Includes a compact live scanning panel.
25. 🚨 Includes standard and dynamic alert messages.
This makes the script more than a simple oscillator or a basic signal marker.
It is a complete visual entry-analysis framework built around momentum, context, signal quality, and projected trade structure.
━━━━━━━━━━━━━━━━━━━━━━
🧠 CORE IDEA
━━━━━━━━━━━━━━━━━━━━━━
The core idea behind Pulse Entry Engine is simple:
A potential entry should not be judged from one isolated condition.
A single oscillator movement, one candle reaction, one stretched reading, or one signal label is usually not enough by itself.
Market context matters.
For that reason, Pulse Entry Engine combines several layers:
⚡ momentum engine direction
📏 distance and stretch expansion
🧭 zero-line context
📈 EMA context
🕰️ higher-timeframe bias
⭐ score requirement
🎛️ signal mode strictness
🕯️ confirmation timing
📦 TP/SL projection logic
The indicator does not attempt to mark every possible move.
Instead, it attempts to make momentum-based entry conditions easier to read, compare, and review.
The purpose is not to create more signals.
The purpose is to make signals more understandable.
━━━━━━━━━━━━━━━━━━━━━━
🧩 WHY THIS SCRIPT IS NOT A SIMPLE BUY/SELL INDICATOR
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine is not intended to behave like a simple “buy here / sell here” script.
It is built as a structured workflow:
Pulse Engine
→ Distance / Stretch Detection
→ Signal Mode Filtering
→ Zero / EMA Context
→ HTF Bias Confirmation
→ Score Classification
→ Star-Based Signal Label
→ TP/SL Projection
→ Active Trade Visualization
→ Dashboard Review
→ Dynamic Alerts
Each part has a specific role.
⚙️ The Pulse Engine measures momentum behavior.
📏 The distance logic identifies meaningful separation from the signal line.
🎛️ The signal modes adjust strictness.
⭐ The score system summarizes confluence strength.
🧭 The HTF filter adds broader directional context.
📊 The dashboard summarizes current conditions.
🌊 The oscillator visualizes momentum behavior.
📦 The TP/SL boxes provide a projected risk/reward structure.
🚨 The alert system helps monitor signals without constantly watching the chart.
This makes the script a full review environment, not a one-condition signal tool.
━━━━━━━━━━━━━━━━━━━━━━
⚙️ HOW THE SCRIPT WORKS
━━━━━━━━━━━━━━━━━━━━━━
1) ⚡ PULSE ENTRY CORE
Pulse Entry Engine uses a Special K-based calculation as its internal momentum engine.
The engine produces two main values:
• the main momentum engine value
• the signal line
The relationship between these two values forms the foundation of the signal logic.
When the engine moves away from the signal line, the script measures the distance between them.
That distance is then compared to its own recent average distance.
This creates the Distance Ratio.
The Distance Ratio helps the script understand whether the current movement is weak, normal, strong, or extreme compared to recent behavior.
This is important because a raw distance between two lines may not mean much by itself.
A distance becomes more meaningful when it is large compared to the engine’s recent average behavior.
━━━━━━━━━━━━━━━━━━━━━━
📏 DISTANCE / STRETCH LOGIC
━━━━━━━━━━━━━━━━━━━━━━
The script calculates:
📌 current distance between engine and signal line
📌 average distance over the selected lookback
📌 distance ratio
📌 strong stretch threshold
📌 extreme stretch threshold
The stretch state can be:
🟤 Weak
🔵 Normal
🟠 Strong
🟣 Extreme
This stretch state appears in the dashboard.
The stretch logic is one of the most important parts of the signal engine.
A signal generally needs the engine distance to be strong enough according to the selected Signal Mode.
This helps reduce reactions to small, random oscillator movements.
━━━━━━━━━━━━━━━━━━━━━━
🎛️ SIGNAL MODES
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes five Signal Modes.
These modes are not only visual names.
They change internal signal thresholds, score requirements, and filtering behavior.
Available modes:
🔥 Aggressive
⚖️ Balanced
⚡ Scalping
🌊 Swing
🛡️ Funded Account
🔥 Aggressive
Aggressive mode is the earliest and most sensitive profile.
It uses lower stretch requirements and a lower score threshold.
This means it can produce more signals and may react faster to developing momentum conditions.
Useful for:
• testing
• manual confirmation
• fast scanning
• active monitoring
• traders who want more potential setups
Important note:
Because it is more sensitive, it may also produce more noise.
⚖️ Balanced
Balanced mode is the default all-around profile.
It uses the user-defined Distance Multiplier and Extreme Stretch settings.
This mode is designed to provide a stable middle-ground behavior.
Useful for:
• general chart review
• standard intraday analysis
• balanced signal frequency
• users who want neither too many nor too few signals
⚡ Scalping
Scalping mode is designed for lower-timeframe active trading environments.
It is faster than Balanced mode but stricter than Aggressive mode.
Useful for:
• M1
• M3
• M5
• fast intraday scanning
• short-term chart review
Scalping mode should still be used with context, risk control, and independent analysis.
🌊 Swing
Swing mode is more selective.
It requires stronger stretch and a higher score threshold.
EMA and Zero filters are forced on for stricter directional context.
Useful for:
• larger market moves
• higher timeframe review
• slower trading style
• fewer but more filtered signals
🛡️ Funded Account
Funded Account mode is the strictest profile.
It requires the strongest internal confirmation among the available modes.
EMA and Zero filters are forced on.
Useful for:
• fewer signals
• stricter filtering
• drawdown-conscious review
• evaluation-style account discipline
• users who prefer cleaner setups
Important note:
This mode does not guarantee safer trades or profitable outcomes.
It only applies stricter internal filtering.
━━━━━━━━━━━━━━━━━━━━━━
🕯️ SIGNAL CONFIRMATION MODE
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes two confirmation modes:
✅ Bar Close
⚡ Live Intrabar
✅ Bar Close
Bar Close mode confirms signals only after the candle closes.
This is the default mode.
It is designed to reduce repaint perception and make signal behavior easier to review historically.
This is generally the cleaner option for alerts and structured review.
⚡ Live Intrabar
Live Intrabar mode allows signals to appear before the candle closes.
This can provide earlier visual feedback.
However, because the candle is still forming, the signal may change before the candle closes.
This mode is faster but less stable than Bar Close confirmation.
━━━━━━━━━━━━━━━━━━━━━━
🧭 ZERO FILTER
━━━━━━━━━━━━━━━━━━━━━━
The Zero Filter uses the oscillator’s zero line as an additional context layer.
In the default logic:
🟢 LONG setups require the engine oscillator to be below zero.
🔴 SHORT setups require the engine oscillator to be above zero.
This creates a reversal-style interpretation.
The idea is that long signals may be more meaningful when the engine is stretched below the zero region, while short signals may be more meaningful when the engine is stretched above the zero region.
Swing and Funded Account modes force this filter on.
━━━━━━━━━━━━━━━━━━━━━━
📈 EMA FILTER
━━━━━━━━━━━━━━━━━━━━━━
The EMA filter adds price-location context.
In this version, the default EMA logic is reversal-oriented:
🟢 LONG setups are allowed when price is below the EMA.
🔴 SHORT setups are allowed when price is above the EMA.
This is not a classic trend-following EMA filter.
It is used to help identify stretched conditions relative to a directional reference.
Swing and Funded Account modes force this filter on.
The dashboard also uses the EMA relationship to display a simple bias state:
🟢 LONG ONLY
🔴 SHORT ONLY
⚪ NEUTRAL
This bias should be treated as context, not as an instruction to trade.
━━━━━━━━━━━━━━━━━━━━━━
🕰️ HTF BIAS FILTER
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes a Higher Timeframe Bias Filter.
Available HTF modes:
⚪ Off
📈 EMA 100
📉 EMA 200
⚙️ Engine HTF
⚪ Off
No higher-timeframe filter is used.
📈 EMA 100
The script checks whether higher-timeframe price is above or below the HTF EMA 100.
Above HTF EMA100 = bullish bias.
Below HTF EMA100 = bearish bias.
📉 EMA 200
The script checks whether higher-timeframe price is above or below the HTF EMA 200.
This is a slower and broader macro filter compared to EMA 100.
⚙️ Engine HTF
The script calculates the engine relationship on the selected higher timeframe.
HTF engine above its signal line = bullish bias.
HTF engine below its signal line = bearish bias.
The HTF filter can help reduce signals that conflict with a broader directional context.
The default HTF timeframe is 60 minutes, but users can adjust it.
━━━━━━━━━━━━━━━━━━━━━━
⭐ SIGNAL SCORE
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine calculates a 0–100 signal score.
The score is based on internal confluence components such as:
⚡ engine direction
📏 stretch strength
🧭 zero filter alignment
📈 EMA filter alignment
🔥 distance strength
The score appears in the dashboard and is also used internally by the selected Signal Mode.
Important note:
The score is not a win-rate prediction.
A score of 85 does not mean the signal has an 85% chance of winning.
It simply means the internal confluence conditions were stronger according to the script’s scoring model.
━━━━━━━━━━━━━━━━━━━━━━
🌟 STAR-BASED MAIN CHART LABELS
━━━━━━━━━━━━━━━━━━━━━━
On the main chart, Pulse Entry Engine uses star-based quality labels.
This keeps the chart cleaner than showing large score numbers directly on every signal label.
Star system:
⭐⭐⭐⭐⭐ = 96–100
⭐⭐⭐⭐ = 92–95
⭐⭐⭐ = 88–91
⭐⭐ = 84–87
⭐ = 80–83
☆ = below 80
Example labels:
▲ LONG PULSE
⭐⭐⭐⭐
▼ SHORT PULSE
⭐⭐⭐
The dashboard still keeps the full numerical score for users who want more detail.
━━━━━━━━━━━━━━━━━━━━━━
📊 SIGNAL STRENGTH BAR
━━━━━━━━━━━━━━━━━━━━━━
The main dashboard includes a Signal Strength Bar.
Example:
█████ 92
████░ 84
███░░ 73
This gives a quick visual representation of the current score.
The strength bar is not a performance statistic.
It does not represent probability or future outcome.
It only visualizes the current internal signal-quality score.
━━━━━━━━━━━━━━━━━━━━━━
🎨 VISUAL THEME SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes three full visual themes:
🟢 Dark Emerald
🔵 Aqua Neon
🟣 Royal Purple
🟢 Dark Emerald
A dark professional theme using green, teal, and cyan accents.
🔵 Aqua Neon
A brighter cyber-style theme using blue, cyan, and pink tones.
🟣 Royal Purple
A premium-looking theme using purple and gold-style accents.
The theme affects:
🎨 dashboard colors
📡 live panel colors
🌊 oscillator colors
📊 histogram colors
🏷️ signal labels
📦 TP/SL boxes
🟢 LONG visuals
🔴 SHORT visuals
🕯️ active-trade candle coloring
🟩 signal-candle background
🚨 visual alert feel
Color inputs are intentionally not exposed in the Inputs tab.
The indicator uses internal theme profiles to keep the settings cleaner and more organized.
━━━━━━━━━━━━━━━━━━━━━━
🖥️ DISPLAY MODE
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes three display profiles:
▫️ Minimal
▪️ Pro
🔳 Full
▫️ Minimal
Minimal mode reduces chart clutter.
It hides many optional visual layers such as dashboards, oscillator dots, gradient zones, pulse backgrounds, and TP level lines.
Useful for clean chart viewing.
▪️ Pro
Pro mode is the balanced default layout.
It uses the user’s individual visibility settings and is designed as the standard V1.0 experience.
🔳 Full
Full mode forces major visual layers on.
Useful for:
🎥 YouTube live streams
📸 screenshots
📚 educational examples
🧪 demonstrations
📊 full feature previews
━━━━━━━━━━━━━━━━━━━━━━
🌊 OSCILLATOR VISUAL ENGINE
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes multiple oscillator display styles.
Available oscillator styles:
📊 Neon Histogram
🌊 Modern Pulse Wave
➖ Clean Line Pro
🕯️ Classic HA
🕯️ Classic Candles
Neon Histogram is the default mode in this version.
📊 Neon Histogram
This mode displays the difference between the engine core and signal line as a histogram.
The histogram helps users quickly read momentum expansion and contraction.
Positive and negative histogram areas are colored according to the selected theme.
🌊 Modern Pulse Wave
This mode displays a smooth pulse wave with soft glow layers and a momentum cloud.
It is designed to look clean, modern, and premium.
➖ Clean Line Pro
This mode provides a simpler line-based oscillator view with less visual noise.
🕯️ Classic HA
This mode keeps the previous Heikin Ashi-style synthetic oscillator candle view.
🕯️ Classic Candles
This mode keeps the previous raw synthetic oscillator candle view.
These modes allow users to choose between a modern histogram, a glowing wave, a minimal line, and legacy oscillator candle styles.
━━━━━━━━━━━━━━━━━━━━━━
🌈 OSCILLATOR SIGNAL DOTS
━━━━━━━━━━━━━━━━━━━━━━
The oscillator panel can show LONG and SHORT signal dots.
In modern modes, the dots can include a glow effect:
✨ larger soft outer dot
● smaller sharp inner dot
This makes signal locations easier to identify in the oscillator panel without large text labels.
These oscillator dots are visual markers only.
They are based on the same signal logic as the main chart labels.
━━━━━━━━━━━━━━━━━━━━━━
⚡ EXTREME STRETCH MARKERS
━━━━━━━━━━━━━━━━━━━━━━
The script can display extreme stretch markers when the engine reaches an extreme distance condition.
These markers highlight stretched momentum conditions.
They are not direct trade signals by themselves.
Their purpose is to show that the engine has moved far away from its recent average relationship with the signal line.
━━━━━━━━━━━━━━━━━━━━━━
📦 TP / SL PROJECTION SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes a TP/SL projection system on the main price chart.
When a new signal appears, the script can draw:
📦 TP box
📦 SL box
🎯 TP1 line
🎯 TP2 line
🎯 TP3 line
🏷️ result label
The system uses ATR-based risk.
Default risk settings:
📌 SL ATR Multiplier = 2.5
📌 Final TP Risk Reward = 1.5R
TP structure:
TP1 = 25% of final TP distance
TP2 = 50% of final TP distance
TP3 = final TP
The boxes are projected forward by an initial number of bars.
Default:
📌 Initial TP/SL Box Length = 10 bars
If the projected trade remains active longer than the initial length, the box continues extending until TP3, SL, or a valid replacement condition occurs.
━━━━━━━━━━━━━━━━━━━━━━
🎯 TP1 / TP2 / TP3 / SL RESULT LOGIC
━━━━━━━━━━━━━━━━━━━━━━
The TP/SL projection system tracks the projected result visually.
Possible result labels:
🟢 TP1
🟢 TP2
🟢 TP3
🔴 SL
If price reaches TP3, the result is marked as TP3.
If price hits SL before reaching any TP level, the result is marked as SL.
If price reaches TP1 and later returns to SL, the result is marked as TP1.
If price reaches TP2 and later returns to SL, the result is marked as TP2.
This means the system remembers the highest target reached before a stop event.
This makes the visual projection more informative than a simple static TP/SL marker.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ SAME-BAR TP/SL HANDLING
━━━━━━━━━━━━━━━━━━━━━━
If TP and SL are both touched on the same candle, there is ambiguity.
The script cannot know the true intrabar sequence unless lower-timeframe reconstruction is used.
For this reason, the script includes a same-bar setting:
If TP and SL Hit Same Bar:
🔴 SL
🟢 TP1
SL is the conservative default.
This allows users to decide how they want same-candle ambiguity to be handled in the visual projection.
━━━━━━━━━━━━━━━━━━━━━━
🔁 ACTIVE TRADE SIGNAL GATE
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes an active projection gate.
If a projected trade is active and has not yet reached TP1, the script blocks new signals.
This prevents the chart from stacking multiple new signals before the previous projection has made minimum progress.
If an active projection has already reached TP1 or TP2 and a new signal appears, the old projection can be closed at its highest reached TP level and the new signal can begin.
This keeps the visual trade structure cleaner and more organized.
━━━━━━━━━━━━━━━━━━━━━━
🕯️ ACTIVE TRADE CANDLE COLORING
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine can color candles while a projected trade is active.
This candle coloring appears only during an active projection.
🟢 During an active LONG projection, candles use the theme long color.
🔴 During an active SHORT projection, candles use the theme short color.
Once the projection closes, candle coloring stops.
This helps users visually identify when the system considers a projected trade to be active.
It is not a separate trading signal.
━━━━━━━━━━━━━━━━━━━━━━
🟩 SIGNAL CANDLE BACKGROUND
━━━━━━━━━━━━━━━━━━━━━━
The script can highlight the exact candle that produced a confirmed signal.
🟢 LONG signal = vertical long-colored background stripe
🔴 SHORT signal = vertical short-colored background stripe
This feature is useful for:
📌 historical review
📌 live chart monitoring
📌 YouTube live streams
📌 educational explanations
📌 quickly locating the original signal candle
━━━━━━━━━━━━━━━━━━━━━━
📋 MAIN DASHBOARD
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes a compact main dashboard.
The dashboard can display:
🎛️ Signal Mode
🎨 Theme
🧭 Bias
🔥 Stretch state
⭐ Score
📊 Strength
🎯 Signal state
🕯️ Confirmation mode
🕰️ HTF Bias
The dashboard is intentionally compact.
It is not designed to be a large performance table.
Its purpose is to summarize the current engine state and help users understand what the script is currently reading.
Dashboard position and size can be adjusted from the settings.
━━━━━━━━━━━━━━━━━━━━━━
📡 LIVE SCANNING PANEL
━━━━━━━━━━━━━━━━━━━━━━
The script includes a compact Live Scanning panel.
The live panel displays the Pulse Entry Engine live scanning state in a clean visual format.
The lower information row was intentionally removed to keep the chart cleaner.
Users can adjust:
📍 Live Panel Position
🔠 Live Panel Size
● Live blinking status symbol
The live panel is visual only.
It does not affect signal logic.
━━━━━━━━━━━━━━━━━━━━━━
🚨 ALERT SYSTEM
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine includes both standard alert conditions and dynamic alert messages.
Standard alertcondition alerts include:
🟢 LONG signal
🔴 SHORT signal
⚡ LONG/SHORT signal
🔥 Extreme stretch detected
The script also includes dynamic alert messages using alert().
The dynamic alert message can include:
📌 indicator name and version
📌 signal direction
📌 ticker
📌 timeframe
📌 Signal Mode
📌 Confirmation Mode
📌 HTF Bias
📌 Score
📌 Stretch
📌 ATR risk setting
📌 TP RR setting
Important usage note:
To use the full dynamic alert message, create a PulseWire alert with:
Condition: Pulse Entry Engine
Option: Any alert() function call
The standard alertcondition options can still be used as simpler fallback alerts.
━━━━━━━━━━━━━━━━━━━━━━
🧪 HOW TO USE THE INDICATOR
━━━━━━━━━━━━━━━━━━━━━━
A practical workflow:
1. Add Pulse Entry Engine to your chart.
2. Start with the default Pro display mode.
3. Choose a visual theme that fits your chart.
4. Select your Signal Mode.
5. Use Bar Close confirmation for cleaner signal review.
6. Choose whether to enable the HTF Bias Filter.
7. Watch the oscillator histogram for momentum expansion.
8. Review the dashboard for score, stretch, signal state, and HTF bias.
9. When a LONG or SHORT pulse appears, check the star rating.
10. Look at the signal candle background highlight.
11. Review the TP/SL projection box.
12. Observe whether the projection reaches TP1, TP2, TP3, or SL.
13. Use alerts if you want automated signal notifications.
14. Validate the indicator on the specific markets and timeframes you personally study.
The indicator is best used as a structured decision-support tool.
It should not be used as a blind execution system.
━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS REFERENCE
━━━━━━━━━━━━━━━━━━━━━━
🎯 Signal Logic
Source
Selects the price source used by the Pulse Entry Engine core.
Signal Length 1
Primary engine calculation length.
Signal Length 2
Secondary engine calculation length.
Signal Mode
Selects the main signal preset:
🔥 Aggressive
⚖️ Balanced
⚡ Scalping
🌊 Swing
🛡️ Funded Account
Signal Confirmation Mode
Controls when a signal is allowed to confirm:
✅ Bar Close
⚡ Live Intrabar
Average Distance Length
Lookback length used to calculate average distance between engine and signal line.
Distance Multiplier
Balanced mode stretch threshold.
Extreme Stretch Multiplier
Balanced mode extreme stretch threshold.
Reset When Distance Gets Weak
Allows the internal signal state to reset when distance becomes weak.
Reset Multiplier
Defines how weak the distance must become before reset.
Use Zero Filter
Enables zero-line filtering.
📈 EMA Filter
Use EMA Filter
Enables the EMA context filter.
EMA Length
EMA length used for the filter and dashboard bias.
🧭 HTF Bias Filter
HTF Bias Mode
Available modes:
⚪ Off
📈 EMA 100
📉 EMA 200
⚙️ Engine HTF
HTF Timeframe
Higher timeframe used by the HTF filter.
🎨 Style
Visual Theme
Available themes:
🟢 Dark Emerald
🔵 Aqua Neon
🟣 Royal Purple
Display Mode
Available profiles:
▫️ Minimal
▪️ Pro
🔳 Full
Oscillator Visual Mode
Available styles:
📊 Neon Histogram
🌊 Modern Pulse Wave
➖ Clean Line Pro
🕯️ Classic HA
🕯️ Classic Candles
Show Signal Line
Shows or hides the engine signal line.
Show Momentum Cloud
Shows the oscillator momentum cloud.
Show Zero Zone
Shows the oscillator zero zone.
Zero Zone Width
Controls the width of the zero zone.
Show Gradient Background Zones
Shows subtle oscillator background zones.
Show Extreme Stretch Markers
Shows extreme stretch pulse markers.
Show Oscillator Pulse Glow
Adds glow layers to modern oscillator visuals.
Show Neon Histogram
Controls histogram visibility when Neon Histogram mode is selected.
Show Oscillator Signal Dots
Shows LONG/SHORT dots in the oscillator panel.
Show Main Chart LONG / SHORT Labels
Shows signal labels on the main chart.
Main Chart Label Offset ATR
Controls how far signal labels are placed from price.
Show Main Chart Dashboard
Shows or hides the main dashboard.
Dashboard Position
Controls dashboard location.
Dashboard Size
Controls dashboard text size.
Show Main Chart Live Dashboard
Shows or hides the live scanning panel.
Live Panel Position
Controls live panel location.
Live Panel Size
Controls live panel text size.
Show Signal Pulse Background
Shows a soft background pulse when a signal appears.
Show Signal Candle Background
Highlights the exact signal candle with a vertical background.
Signal Candle Background Transparency
Controls the transparency of the signal candle highlight.
Color Candles During Active Trade
Colors price candles only while a projected trade is active.
Active Trade Candle Transparency
Controls active-trade candle coloring transparency.
Use Live Blinking Status Symbol
Enables the blinking live scanning dot.
Live Symbol Blink Seconds
Controls blink speed.
📦 TP / SL Box System
Show TP / SL Boxes on Main Chart
Enables TP/SL projection boxes.
SL ATR Length
ATR length used for stop-loss calculation.
SL ATR Multiplier
ATR multiplier used for SL distance.
Final TP Risk Reward
Final TP target multiple:
1R
1.5R
2R
3R
4R
5R
Max Stored TP / SL Trades
Maximum historical projection objects kept on chart.
If TP and SL Hit Same Bar
Controls same-bar ambiguity handling.
Show TP1 / TP2 / TP3 Lines
Shows TP level lines inside the projection box.
Initial TP / SL Box Length
Initial forward length of projection boxes.
Show TP / SL Result Label
Shows result labels after projected trade closes.
🛡️ Professional Controls
Max Main Signal Labels
Limits the number of main-chart signal labels to protect PulseWire object limits.
Enable Dynamic Alert Messages
Enables alert() based dynamic alert messages.
Show Version Badge
Shows the V1.0 badge in the visual panels.
━━━━━━━━━━━━━━━━━━━━━━
🧠 WHAT MAKES THIS SCRIPT ORIGINAL
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine uses familiar concepts such as:
⚡ oscillator momentum
📈 signal lines
🧭 EMA context
🕰️ higher-timeframe filtering
📦 ATR-based risk projection
📊 dashboards
🚨 alerts
These components are not unique by themselves.
The originality of the script lies in how these components are organized into one workflow:
Pulse Engine
→ Stretch Detection
→ Signal Mode Filtering
→ Score Classification
→ HTF Bias Confirmation
→ Modern Oscillator Visualization
→ Star-Based Quality Label
→ TP/SL Projection
→ Active-Trade Candle Coloring
→ Compact Dashboard
→ Dynamic Alerts
This structure is intended to give users a more organized way to review momentum-based entries.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ IMPORTANT PRACTICAL NOTES
━━━━━━━━━━━━━━━━━━━━━━
The script’s behavior depends heavily on settings.
Signal frequency and visual output may change based on:
🎛️ selected Signal Mode
🕯️ confirmation mode
📈 EMA filter setting
🧭 HTF bias mode
🌊 oscillator visual mode
🖥️ display profile
📏 ATR multiplier
🎯 TP RR setting
📊 market
⏱️ timeframe
📉 symbol volatility
📚 available historical bars
A mode that appears cleaner on one symbol may not behave the same way on another.
The TP/SL boxes are visual projections based on the script’s rules.
They are not broker orders.
They do not account for real execution conditions.
━━━━━━━━━━━━━━━━━━━━━━
⚠️ LIMITATIONS AND SHORTCOMINGS
━━━━━━━━━━━━━━━━━━━━━━
This script has important limitations:
❌ It does not guarantee profitable trades.
❌ It does not predict future price movement.
❌ It does not replace risk management.
❌ It does not execute trades.
❌ It does not place orders.
❌ It does not include broker slippage.
❌ It does not include commissions.
❌ It does not include spreads.
❌ It uses bar-based chart data.
❌ Same-bar TP/SL order is approximated by a user-selected rule.
❌ Live Intrabar mode may change before candle close.
❌ Higher-timeframe filters can lag.
❌ EMA filters can conflict with certain market structures.
❌ Momentum signals can fail in choppy markets.
❌ Strong scores do not guarantee successful outcomes.
❌ TP/SL projections are visual analysis tools, not trade instructions.
❌ Historical visual behavior does not ensure future behavior.
For these reasons, Pulse Entry Engine should be used as an educational decision-support tool, not as a standalone trading strategy.
━━━━━━━━━━━━━━━━━━━━━━
👤 WHO THIS SCRIPT MAY BE USEFUL FOR
━━━━━━━━━━━━━━━━━━━━━━
This script may be useful for traders who:
✅ study momentum-based entries
✅ want a structured entry review tool
✅ want a clean visual dashboard
✅ want higher-timeframe context
✅ want ATR-based TP/SL projection
✅ want signal strength scoring
✅ want modern oscillator visuals
✅ want star-based quality labels
✅ want active-trade candle coloring
✅ want dynamic alerts
✅ prefer organized chart-based analysis
✅ want a free visual trading assistant for review and education
It may be less suitable for users who:
❌ want guaranteed buy/sell signals
❌ want a fully automated trading bot
❌ do not want chart visuals
❌ do not use technical analysis
❌ expect one setting to work on every market
❌ want an indicator that replaces their own decision-making
━━━━━━━━━━━━━━━━━━━━━━
🧭 BEST PRACTICE SUGGESTIONS
━━━━━━━━━━━━━━━━━━━━━━
For cleaner review:
✅ Start with Bar Close confirmation.
✅ Start with Balanced or Funded Account mode.
✅ Use HTF Bias only when you want broader directional filtering.
✅ Use Minimal display mode if the chart feels crowded.
✅ Use Full display mode for screenshots, education, and live demonstrations.
✅ Review signals together with market structure.
✅ Avoid treating every label as an automatic trade.
✅ Test the indicator on the specific symbols and timeframes you actually watch.
✅ Combine the tool with your own analysis and risk rules.
━━━━━━━━━━━━━━━━━━━━━━
🛡️ DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━
Pulse Entry Engine is provided for educational and informational purposes only.
It does not constitute financial, investment, or trading advice.
No indicator can guarantee future results.
Markets are uncertain, conditions change, and historical behavior does not ensure future performance.
Every user is responsible for their own analysis, validation, risk management, position sizing, and trading decisions.
Use this script as a structured decision-support and visual review framework, not as a promise of profitability. Indicator

Smart Money Displacement Ladder [AGPro Series]Smart Money Displacement Ladder
🧠 Core Idea
Is displacement strong, clean, and sustained enough to shift market context?
📌 Overview / What it does
Smart Money Displacement Ladder is a rule-based market-structure and price-action visualization tool designed to study strong directional displacement candles.
The script identifies clean bullish or bearish displacement, maps the imbalance shelf created by the candle, tracks ladder-style follow-through, and highlights whether the displacement is being sustained or failing.
It does not predict price direction, automate trades, or guarantee that displacement will continue. It is a structured decision-support map for displacement quality, imbalance shelf behavior, ladder continuation, and failure context.
🎯 Purpose & Design Philosophy
Many smart-money or imbalance tools mark a gap, a candle, or a generic continuation zone.
This script was built to answer a more complete question:
Did displacement actually change context, and is the market defending that displacement?
The design goal is to help traders read displacement as a progression: clean candle, shelf defense, ladder step, sustained pressure, or failure.
⚡ Why This Script Is Different
Most tools focus on single displacement candles, fair value gaps, or basic momentum signals.
This script does NOT treat every large candle as meaningful displacement.
Instead, it checks candle body, range, close location, optional volume participation, shelf defense, and ladder continuation. The focus is displacement quality and progression rather than simple candle marking.
⚙️ Methodology
1. Candle Quality Detection
The script evaluates candle body size, full range, and close strength relative to ATR.
2. Displacement Validation
A candle must satisfy directional and quality thresholds before it becomes the active displacement anchor.
3. Imbalance Shelf Mapping
After displacement forms, the script projects an imbalance shelf from the displacement candle.
4. Ladder Evaluation
Price extension beyond the active ladder level increases the ladder step count and strengthens the continuation context.
5. Visual Output
The chart displays the displacement box, imbalance shelf, ladder rails, centered shelf label, event labels, right-side tags, alerts, and a compact AG Pro decision panel.
🗺️ How to Read the Chart
Displacement Box = the active candle range that created the displacement anchor.
Imbalance Shelf = the projected shelf that should ideally remain defended after displacement.
Ladder Rail = the active extension level used to track follow-through.
Centered Shelf Label = the main visual anchor inside the active imbalance shelf.
Right-Side Tags = current displacement state, quality score, and shelf reference.
Event Labels = clean displacement, ladder continuation, or displacement failure labels.
Panel = summarizes displacement state, direction, quality score, ladder steps, shelf range, next context, and timeframe.
🚦 Signals & States
• CLEAN DISPLACEMENT → a directional candle meets displacement quality rules.
• FOLLOW-THROUGH → price extends beyond the active ladder level after displacement.
• LADDER STEP → a new continuation step is formed.
• SUSTAINED DISPLACEMENT → multiple ladder steps are active after the displacement anchor.
• DISPLACEMENT FAIL → price loses the imbalance shelf during the failure window.
• WAIT DISPLACEMENT → no valid displacement anchor is active yet.
🔔 Alerts Logic
Alerts trigger when a major displacement state appears.
• Clean Displacement → a clean directional displacement candle has formed.
• Displacement Ladder Continuation → price extended the active displacement ladder.
• Displacement Failure → price lost the active imbalance shelf after displacement.
Alerts are attention markers, not trade instructions.
🧩 Confluence Logic
The context becomes stronger when:
• Candle body is large relative to ATR
• Candle range expands cleanly
• Close location is strong in the displacement direction
• Relative volume supports participation
• The imbalance shelf remains defended
• Price forms additional ladder steps
• The panel state agrees with chart labels
If these elements do not align, the script avoids forcing a displacement continuation interpretation.
📊 When to Use
• Smart-money displacement studies
• Market-structure shift review
• Momentum expansion analysis
• Imbalance shelf tracking
• Trend continuation context
• Crypto, forex, stocks, and index markets
• 1H, 4H, and daily charts
⚠️ When NOT to Use
• Very low-liquidity symbols
• Extremely noisy markets with unreliable candle structure
• News spikes where displacement quality may be distorted
• Ultra-low timeframes with excessive wick noise
• Markets where large candles repeatedly fail without structure
• Situations where displacement should not be interpreted without broader context
🎛️ Key Inputs
• ATR Length → normalizes displacement size, shelf depth, and label spacing.
• Minimum Body ATR → controls how large the candle body must be before displacement qualifies.
• Minimum Range ATR → controls how much total candle expansion is required.
• Close Strength Threshold → controls how strong the candle close must be inside the range.
• Use Volume Confirmation → adds relative volume to quality scoring.
• Shelf Failure Window → controls how long shelf failure remains relevant after displacement.
• Imbalance Shelf ATR → controls shelf thickness.
• Projection Bars → controls how far shelves, rails, and tags project.
• Label Font Size → controls chart label and tag text size.
• Panel Font Size → controls panel text size.
🖥️ Interface & Visual Design
The visual hierarchy is built around the displacement progression.
The displacement box marks the anchor candle.
The shelf shows where displacement should ideally remain defended.
The ladder rail shows whether price is extending.
The centered badge keeps the active shelf readable at first glance.
The AG Pro panel summarizes the current displacement state without requiring the user to inspect every candle manually.
🧪 Practical Usage Workflow
1. Wait for a clean displacement candle.
2. Check the imbalance shelf created by that candle.
3. Watch whether price defends or loses the shelf.
4. Look for ladder steps after shelf defense.
5. Use the panel to confirm direction, quality, ladder count, and next context.
6. Interpret the output inside broader trend, liquidity, volatility, and structure context.
🔍 Interpretation Guidelines
Clean displacement does not guarantee continuation. It means the candle met the script's displacement quality rules.
A defended shelf does not guarantee trend expansion. It means price has not invalidated the displacement shelf during the active window.
A ladder step does not guarantee follow-through. It means price extended the active ladder reference.
A displacement failure is a structural warning, not a trading command.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not financial advice.
It is not an auto-trading system.
It does not provide guaranteed entry or exit signals.
It is not a simple fair value gap marker.
It is not a full smart-money concept trading system.
⚠️ Limitations & Transparency
Displacement quality depends on ATR and candle structure.
Timeframe differences can change displacement visibility.
High volatility can create large candles that fail quickly.
Low-liquidity markets may create misleading candle expansion.
Shelf behavior should be interpreted within broader market structure.
The script is designed for structured interpretation, not certainty.
🧠 Market Context Notes
Displacement often matters most when it appears near important structure, after liquidity events, or during momentum expansion.
The same displacement candle can mean different things in a strong trend, a range, a liquidity sweep, or a news shock.
The script should be read together with volume, volatility, liquidity, and higher-timeframe context.
🧾 Use Case Examples
• If a bullish displacement candle forms and the shelf remains defended, the ladder may show follow-through context.
• If a bearish displacement candle forms and price quickly reclaims the shelf, the map may show displacement failure.
• If multiple ladder steps form after displacement, the script may classify the move as sustained displacement.
🧱 System Philosophy
Smart Money Displacement Ladder is part of the AGPro Series approach to decision-support tools:
clear structure, premium chart readability, honest interpretation, and no promise of certainty.
The goal is to help traders see whether displacement is being defended and extended, without turning every strong candle into a forced signal.
🔐 Non-Promise Statement
No script can know the future.
No displacement candle guarantees continuation.
No signal should be interpreted without broader market context.
📉 Risk Disclosure
Trading involves risk.
Markets can move unpredictably.
This script is for educational and analytical purposes only.
It does not provide financial advice or guaranteed trading outcomes.
Users remain responsible for their own decisions.
📚 Educational Note
Use this script to study how displacement develops after a strong candle.
The value is not only in the displacement label. The value is in learning whether the market defends the shelf, extends through ladder steps, or rejects the displacement context.
Indicator

Impulse Correction Balance Map [AGPro Series]Impulse Correction Balance Map
🧠 Core Idea
Is the current correction still healthy compared with the prior impulse, or is the impulse losing structural balance?
📌 Overview / What it does
Impulse Correction Balance Map is a rule-based impulse and correction visualization tool designed to compare the current pullback with the prior directional swing leg.
The script identifies a valid bullish or bearish impulse, measures correction depth, maps the healthy-to-balanced correction pocket, and highlights whether price is still respecting the impulse structure or moving into failure risk.
It does not predict price direction, automate trades, or guarantee continuation after a pullback. It is a structured market-structure and wave-analysis tool for reading impulse strength, correction depth, balance, continuation, and failure context.
🎯 Purpose & Design Philosophy
Many pullback tools mark a retracement or draw generic Fibonacci levels.
This script was built to answer a more practical question:
Is the correction proportionate to the impulse that created it?
The design goal is to help traders evaluate pullbacks as part of a complete impulse-correction relationship instead of treating every retracement as equal.
⚡ Why This Script Is Different
Most tools focus on static retracement levels, generic trend strength, or simple pullback labels.
This script does NOT mark every pullback as a clean opportunity.
Instead, it builds the impulse leg first, measures the correction against that leg, separates healthy correction, balanced pullback, deep correction, continuation, and failure risk, then displays the story through premium chart visuals and a compact AG Pro panel.
⚙️ Methodology
1. Swing Detection
The script uses confirmed swing pivots to identify meaningful bullish or bearish impulse legs.
2. Impulse Validation
An impulse must meet a minimum ATR-normalized size before it becomes the active reference leg.
3. Correction Mapping
After the impulse forms, the script tracks the deepest correction point and calculates retracement depth as a percentage of the impulse.
4. Balance Evaluation
Correction depth is classified into healthy, balanced, deep, continuation, or failure states.
5. Visual Output
The chart displays the impulse box, correction pocket, depth ladder, centered pocket label, right-side tags, event labels, alerts, and a compact AG Pro decision panel.
🗺️ How to Read the Chart
Impulse Box = the prior validated directional swing leg.
Correction Pocket = the projected healthy-to-balanced retracement area.
Depth Ladder = reference rails for shallow, balanced, and deep correction zones.
Centered Pocket Label = the main visual anchor for the active balance pocket and quality score.
Right-Side Tags = current correction depth, balance state, and continuation reference.
Event Labels = key moments such as healthy correction, deep correction, continuation, or correction failure.
Panel = summarizes balance state, impulse direction, correction depth, impulse size, quality score, next context, and timeframe.
🚦 Signals & States
• HEALTHY CORRECTION → correction depth remains shallow relative to the impulse.
• BALANCED PULLBACK → correction is deeper but still inside the normal balance area.
• DEEP CORRECTION → correction is pressing into a riskier retracement zone.
• HIGH FAILURE RISK → correction is beyond the preferred balance area.
• CONTINUATION → price extends beyond the impulse end in the impulse direction.
• CORRECTION FAIL → price invalidates the impulse start area.
• WAIT IMPULSE → no valid impulse reference is active yet.
🔔 Alerts Logic
Alerts trigger when a major impulse-correction state appears.
• Healthy Correction → correction remains inside the healthy retracement area.
• Deep Correction Risk → correction depth moves into the deep-correction risk area.
• Continuation Trigger → price breaks beyond the impulse end in the impulse direction.
• Correction Failure → correction invalidates the impulse start area.
Alerts are attention markers, not trade instructions.
🧩 Confluence Logic
The context becomes stronger when:
• The impulse leg is large enough relative to ATR
• Correction depth remains proportionate
• Price respects the balance pocket
• Continuation appears after a controlled correction
• The panel state agrees with the event label
• Broader trend structure supports the impulse direction
If these elements do not align, the script avoids forcing a continuation interpretation.
📊 When to Use
• Trend continuation analysis
• Pullback evaluation
• Swing structure review
• Crypto, forex, stocks, and index markets
• Wave-style impulse and correction studies
• 1H, 4H, and daily charts
• Markets with clear directional legs and retracement behavior
⚠️ When NOT to Use
• Very low-liquidity symbols
• Extremely choppy markets with no clear swing structure
• News-driven candles where pivots may be distorted
• Ultra-low timeframes with excessive noise
• Markets where every pullback is immediately invalidated by volatility
• Situations where a single retracement should not be treated as a standalone decision
🎛️ Key Inputs
• Swing Pivot Length → controls how swing highs and lows are confirmed.
• Minimum Impulse ATR → defines how large the impulse must be before it becomes active.
• ATR Length → normalizes impulse size, label spacing, and correction context.
• Healthy Correction Max % → defines the upper boundary of the shallow correction zone.
• Balance Correction Max % → defines the upper boundary of the balanced correction zone.
• Deep Correction Max % → defines the deep-correction risk boundary.
• Projection Bars → controls how far correction pockets, rails, and tags project.
• Label Font Size → controls chart label and tag text size.
• Panel Font Size → controls panel text size.
🖥️ Interface & Visual Design
The visual hierarchy is built around the impulse-correction relationship.
The impulse box shows the directional leg.
The correction pocket shows where a controlled retracement can remain balanced.
The depth ladder shows where the correction becomes shallow, balanced, deep, or risky.
The centered badge makes the pocket readable at first glance.
The AG Pro panel summarizes the current state without forcing the user to inspect every level manually.
🧪 Practical Usage Workflow
1. Wait for a valid impulse leg to appear.
2. Check the correction pocket and depth ladder.
3. Read the current balance state in the panel.
4. Watch whether the correction stays healthy, becomes deep, or fails.
5. Look for continuation only after the correction context remains controlled.
6. Interpret the result inside broader trend, liquidity, and volatility context.
🔍 Interpretation Guidelines
A healthy correction does not guarantee continuation. It means the retracement is still proportionate to the prior impulse.
A deep correction does not guarantee reversal. It means the pullback is approaching an area where the original impulse is less structurally clean.
A continuation trigger does not guarantee follow-through. It means price extended beyond the impulse end according to the script's rule set.
A correction failure is a structural warning, not a trading command.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not financial advice.
It is not an auto-trading system.
It does not provide guaranteed entry or exit signals.
It is not a standard Fibonacci retracement tool.
It is not a full Elliott Wave counter.
⚠️ Limitations & Transparency
Swing detection depends on pivot confirmation, so signals can appear after pivots are confirmed.
Timeframe differences can change impulse and correction structure.
High volatility may cause correction depth to expand quickly.
Low-liquidity markets may produce unreliable swing pivots.
The script is designed for structured interpretation, not certainty.
🧠 Market Context Notes
Impulse-correction behavior is strongest when the market has a clear directional leg, a readable retracement, and enough liquidity for swing structure to matter.
The same correction depth can mean different things in a strong trend, a range, or a volatility shock.
The script should be read together with broader structure, volume, volatility, and market regime.
🧾 Use Case Examples
• If a bullish impulse forms and the correction remains shallow, the map may show healthy correction context.
• If a bearish impulse forms and price retraces deeply against it, the map may show deep correction or failure risk.
• If price breaks beyond the impulse end after a controlled correction, the map may show continuation.
🧱 System Philosophy
Impulse Correction Balance Map is part of the AGPro Series approach to decision-support tools:
clear structure, premium chart readability, honest interpretation, and no promise of certainty.
The goal is to help traders understand the relationship between impulse strength and correction depth without turning analysis into signal spam.
🔐 Non-Promise Statement
No script can know the future.
No correction depth guarantees continuation or reversal.
No signal should be interpreted without broader market context.
📉 Risk Disclosure
Trading involves risk.
Markets can move unpredictably.
This script is for educational and analytical purposes only.
It does not provide financial advice or guaranteed trading outcomes.
Users remain responsible for their own decisions.
📚 Educational Note
Use this script to study how impulses and corrections relate to each other.
The value is not only in the label. The value is in learning whether a pullback is proportionate, stretched, balanced, or structurally weak compared with the impulse that came before it.
Indicator

Relative Strength Pullback Map [AGPro Series]Relative Strength Pullback Map
🧠 Core Idea
Is the pullback happening while the asset remains a relative leader against its benchmark?
📌 Overview / What it does
Relative Strength Pullback Map is a benchmark-relative price-action tool built to study whether an asset is pulling back from strength or breaking down into weakness.
The script compares the active symbol against a selected benchmark, builds a relative-strength baseline, evaluates leader status, measures pullback depth, maps a pullback pocket, marks the recovery rail, and summarizes the full context inside a compact AG Pro panel.
It does not predict future price, automate trades, or claim that every leader pullback must recover. It is a structured decision-support map for reading relative strength, benchmark leadership, pullback health, recovery readiness, and relative breakdown risk.
🎯 Purpose & Design Philosophy
Pullbacks are not all equal.
Some pullbacks happen while the asset continues to outperform its benchmark.
Other pullbacks happen because relative strength is already breaking down.
This script was built to separate those two conditions. The design goal is to help traders identify whether a pullback belongs to a still-strong relative leader or a weakening laggard.
⚡ Why This Script Is Different
Most pullback tools focus only on price.
Most relative-strength tools focus only on the ratio line.
This script does NOT treat pullback quality and relative strength as separate ideas.
Instead, it combines benchmark-relative leadership, price pullback depth, trend shelf behavior, recovery rail reclaim, and relative breakdown risk into one visual map.
The focus is not only whether price pulled back.
The focus is whether the asset remained a leader while pulling back.
⚙️ Methodology
1. Benchmark Comparison
The script compares the active symbol against a selected benchmark using a relative-strength ratio.
2. Relative Strength Baseline
The ratio is smoothed into a baseline so leadership can be evaluated against its own recent behavior.
3. Leader Status Scoring
Leader status combines relative-strength distance, relative-strength slope, and price trend structure.
4. Pullback Depth Measurement
The script measures how far price has pulled back from the recent high using ATR-normalized depth and percentage depth.
5. Pullback Pocket Mapping
The pullback pocket is mapped between the fast recovery rail and the deeper trend shelf.
6. Recovery Evaluation
The script checks whether price is reclaiming the recovery rail while relative strength remains constructive.
7. Visual Output
The chart displays the pullback pocket, recovery rail, relative-strength rail, leader/laggard labels, right-side context tags, alerts, and a compact AG Pro panel.
🗺️ How to Read the Chart
Relative Pullback Pocket = the area where a leader pullback can remain structurally constructive.
Recovery Rail = the fast trend rail used to evaluate whether price is starting to recover from the pullback.
RS LEADER tag = the active symbol is outperforming the selected benchmark with constructive relative strength.
PULLBACK tag = the current pullback depth measured in ATR.
LEADER PULLBACK = the asset remains a relative leader while pulling into a meaningful pullback area.
RS HOLD = relative strength remains constructive during the pullback.
RECOVERY READY = price reclaimed the recovery rail while relative strength remained constructive.
RS BREAK = relative strength weakened or price broke the deeper pullback shelf.
Panel = summarizes relative state, quality score, leader status, pullback depth, recovery trigger, benchmark, and next context.
🚦 Signals & States
• LEADER PULLBACK → the asset remains a relative leader while pulling back.
• RS HOLD → relative strength is still holding during the pullback.
• RECOVERY READY → price reclaimed the recovery rail with constructive relative strength.
• RS BREAK → relative strength weakened or the pullback shelf broke.
• LAGGARD RISK → price is pulling back while the asset is no longer a clear relative leader.
🔔 Alerts Logic
Alerts can trigger when a leader pullback appears, relative strength holds, recovery becomes ready, or relative breakdown appears.
These alerts are attention markers only.
They are not trade instructions, entry signals, exit signals, or guaranteed outcomes.
🧩 Confluence Logic
The context becomes stronger when the active symbol remains above its relative-strength baseline, relative-strength slope is constructive, pullback depth is meaningful but not too deep, and price starts reclaiming the recovery rail.
The context becomes weaker when relative strength drops below its baseline, the slope turns down, or price breaks below the deeper trend shelf.
📊 When to Use
• During trend pullbacks
• When comparing an asset against a benchmark
• In crypto rotation analysis
• In stock or ETF relative-strength review
• When looking for leader pullbacks rather than weak pullbacks
• When filtering pullbacks by benchmark-relative performance
⚠️ When NOT to Use
• On symbols with poor benchmark fit
• During extremely noisy sideways markets
• In low-liquidity markets with unreliable candles
• When benchmark data is missing or unsuitable
• As a standalone buy or sell system
🎛️ Key Inputs
• Benchmark Symbol → defines the market used for relative comparison.
• Relative Strength Baseline → controls the smoothing length of the RS ratio.
• RS Slope Lookback → controls how relative-strength direction is evaluated.
• Minimum Leader Score → controls how strict leader classification should be.
• Fast Trend Length → controls the recovery rail.
• Slow Trend Length → controls the deeper pullback shelf.
• Pullback Lookback → controls the recent high used to measure pullback depth.
• Maximum Healthy Pullback ATR → controls when a pullback becomes too deep.
• Label and Panel Font Size → controls chart readability.
🖥️ Interface & Visual Design
The visual design is built around one question:
Is this still a leader pullback?
The pullback pocket shows the structural area, the recovery rail marks the reclaim reference, the relative-strength rail keeps benchmark context visible, the labels mark state changes, and the AG Pro panel summarizes the current decision context.
🧪 Practical Usage Workflow
1. Select an appropriate benchmark.
2. Read the panel first.
3. Check whether the asset is a relative leader.
4. Review pullback depth.
5. Look at the pullback pocket.
6. Watch whether price reclaims the recovery rail.
7. Confirm the broader market structure independently.
🔍 Interpretation Guidelines
A leader pullback means the asset is pulling back while still holding relative strength.
An RS hold means relative leadership has not broken yet.
Recovery ready means price has started reclaiming the recovery rail while relative strength remains constructive.
An RS break means the pullback may no longer be a clean leader pullback.
None of these states guarantee what happens next.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not a financial advice tool.
It is not an automated trading system.
It does not guarantee recovery after a leader pullback.
It does not guarantee that relative leaders will continue outperforming.
It does not replace risk management or independent analysis.
⚠️ Limitations & Transparency
Relative strength depends heavily on benchmark selection.
Different benchmarks may produce different interpretations.
Different timeframes may show different relative-strength states.
Fast markets can move through the pullback pocket quickly.
Sideways markets may create unclear relative-strength readings.
🧠 Market Context Notes
Relative strength is most useful when combined with structure, trend, volatility, and market regime.
A pullback in a relative leader can be constructive if leadership remains intact.
A pullback with relative breakdown is a weaker context and should be interpreted with caution.
Benchmark choice matters: crypto pairs may use BTCUSDT, stock charts may use SPY, sector ETFs, or another relevant benchmark.
🧾 Use Case Examples
When ETH pulls back while still outperforming BTC, the script can identify whether the pullback remains constructive or starts losing relative strength.
When a stock pulls back against SPY but relative strength holds above baseline, the script can highlight a leader pullback context.
When price breaks the pullback shelf while RS weakens, the script can flag relative breakdown risk.
🧱 System Philosophy
Relative Strength Pullback Map is part of the AGPro Series approach:
Build visual tools that explain market context clearly, avoid hype, avoid prediction claims, and support structured decision-making.
The goal is not to tell users what to do.
The goal is to help users see whether a pullback belongs to a strong leader or a weakening asset.
🔐 Non-Promise Statement
No script can remove uncertainty from trading.
This tool does not promise accuracy, certainty, profitability, or future performance.
📉 Risk Disclosure
Trading involves risk.
Market conditions can change quickly.
Users are responsible for their own decisions, position sizing, risk management, benchmark selection, and interpretation.
This script is for educational and analytical purposes only and does not provide financial advice.
📚 Educational Note
Use this script as a structured way to study relative strength, benchmark leadership, pullback depth, and recovery context.
The most valuable output is not a single label.
The value is the full map: relative state, leader status, pullback pocket, recovery rail, and next context.
Indicator

Breakout Participation Gate [AGPro Series]Breakout Participation Gate
🧠 Core Idea
Does the breakout have enough participation and structure to deserve attention?
📌 Overview / What it does
Breakout Participation Gate is a breakout validation tool built to separate structured breakouts from weak breaks and fakeout-prone moves.
The script builds upper and lower breakout gate levels from recent structure, evaluates breakout candle quality, checks relative volume, body commitment, close location, trend context, retest behavior, expansion potential, and fakeout risk.
It does not predict price direction, automate trades, or claim that a gate-open event must continue. It is a structured visualization and decision-support tool for breakout participation review.
🎯 Purpose & Design Philosophy
Breakouts are among the most searched and most misunderstood market events.
Many tools mark every move above resistance or below support.
This script was built to ask a stricter question:
Did the breakout pass the participation gate?
The design goal is to help traders avoid treating every structural break as equally meaningful.
⚡ Why This Script Is Different
Most breakout tools focus on the break itself.
This script does NOT mark every breakout as valid.
Instead, it checks whether the breakout had enough relative volume, body commitment, close location, range expansion, trend context, and retest behavior. It also keeps the active gate visible so users can watch whether the breakout holds, expands, or fails back inside the structure.
⚙️ Methodology
1. Context Detection
The script identifies recent upper and lower gate levels using a structure lookback.
2. Breakout Qualification
When price closes beyond a gate, the script scores participation through volume, candle body, close location, range expansion, and trend context.
3. Gate Classification
High-quality breakouts can become GATE OPEN events. Lower-quality breaks can be classified as WEAK BREAK.
4. Retest Evaluation
After a gate opens, the script projects a retest shelf and watches whether price defends the shelf.
5. Fakeout and Expansion Review
The script tracks whether price closes back inside the gate shelf or expands beyond the active gate with acceptable participation.
6. Visual Output
The chart displays breakout gate lines, retest shelf, event labels, right-side tags, alerts, and a compact AG Pro panel.
🗺️ How to Read the Chart
Upper Gate = recent upper structure level that price must break to start an upside gate evaluation.
Lower Gate = recent lower structure level that price must break to start a downside gate evaluation.
Breakout Retest Shelf = the active zone around the gate where retest behavior is evaluated.
GATE OPEN = breakout passed the participation gate.
WEAK BREAK = price broke the gate but participation quality was not strong enough.
RETEST HOLD = price defended the active retest shelf after the breakout.
FAKEOUT RISK = price closed back inside the gate shelf after the breakout.
EXPANSION READY = price expanded beyond the gate while participation remained acceptable.
Panel = summarizes gate status, quality score, direction, relative volume, body commitment, retest health, fakeout risk, and next context.
🚦 Signals & States
• GATE OPEN → breakout passed the participation gate.
• WEAK BREAK → price broke structure but did not show enough participation quality.
• GATE WATCH → active gate is being monitored after a breakout.
• RETEST HOLD → active retest shelf was defended.
• FAKEOUT RISK → price closed back through the gate shelf.
• EXPANSION READY → price expanded beyond the gate with acceptable participation.
• WAIT BREAKOUT → no active gate has been triggered.
🔔 Alerts Logic
Alerts trigger when a major breakout-gate state appears.
• Breakout Gate Open → breakout passed the participation gate.
• Weak Breakout → price broke a gate level without enough participation quality.
• Breakout Retest Hold → active retest shelf was defended.
• Breakout Fakeout Risk → price closed back inside the gate shelf after the breakout.
Alerts are attention markers, not trade instructions.
🧩 Confluence Logic
The context becomes stronger when:
• Price closes beyond a defined structure gate
• Relative volume is above normal
• Candle body commitment is strong
• Close location supports the breakout direction
• Range expands versus ATR
• The breakout direction agrees with trend context
• Retest behavior respects the active gate shelf
When these elements do not align, the script avoids treating the breakout as automatically valid.
📊 When to Use
• Breakout validation
• Failed breakout review
• Retest planning
• Trend continuation review
• Crypto, stocks, futures, forex, and liquid markets
• 15m, 30m, 1H, 4H, and 1D charts
⚠️ When NOT to Use
• Very low-liquidity assets
• Extremely noisy micro timeframes
• Symbols with unreliable volume
• News-driven spikes where structure can be distorted
• Markets where every wick break is being over-interpreted
• Situations where a single breakout label is expected to act as a guaranteed signal
🎛️ Key Inputs
• Gate Structure Lookback → defines the recent structure window used for upper and lower gates.
• Breakout Close Buffer ATR → controls how far beyond the gate price must close.
• Minimum Breakout Relative Volume → defines how much participation is required for strong volume credit.
• Minimum Body Commitment % → controls how much candle body participation is required.
• Gate Quality Threshold → separates gate-open breakouts from weak breaks.
• Retest Evaluation Window → defines how long the active gate shelf remains under review.
• Retest Shelf Width ATR → controls the thickness of the retest shelf around the active gate.
• Expansion Ready Distance ATR → defines when a breakout has expanded far enough to be monitored as continuation-ready.
• Event Label Mode → Premium focuses on higher-quality gate states. Detailed allows more weak-break labels.
🖥️ Interface & Visual Design
The visual hierarchy is built around the gate:
Gate lines define the structure.
The retest shelf shows where the breakout should hold.
Event labels mark gate-open, weak-break, retest-hold, fakeout-risk, and expansion-ready states.
Right-side tags keep the active gate context visible.
The AG Pro panel compresses the current breakout context into a fast, readable summary.
🧪 Practical Usage Workflow
1. Read the panel gate status.
2. Check whether price has broken the upper or lower gate.
3. Compare quality score with the event label.
4. Watch the active retest shelf.
5. Check whether price holds, expands, or fails back inside the gate.
6. Confirm with broader market structure, liquidity, volume, and risk planning.
🔍 Interpretation Guidelines
A gate-open label does not guarantee continuation.
A weak-break label does not guarantee reversal.
A retest-hold label means the active shelf was defended according to the script's rules.
A fakeout-risk label means the breakout structure weakened.
The script is best used as a breakout-quality layer, not as a standalone trading system.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not financial advice.
It is not an auto-trading system.
It does not provide guaranteed entry or exit signals.
It is not a simple support/resistance breakout marker.
⚠️ Limitations & Transparency
Breakout quality depends on market structure and liquidity.
Volume behavior can differ across crypto, futures, stocks, and forex.
Choppy ranges can create repeated weak-break and fakeout states.
Different timeframes may show different gate behavior.
Highly volatile news events can distort breakout quality.
🧠 Market Context Notes
Breakouts are strongest when structure, candle commitment, participation, and retest behavior align.
The first break is only one part of the story.
The active gate shelf helps users watch whether the market accepts the breakout after the first impulse.
🧾 Use Case Examples
If price closes above the upper gate with strong participation, the script may mark GATE OPEN.
If price breaks a gate but quality is weak, the script may mark WEAK BREAK.
If price returns to the active shelf and defends it, the script may mark RETEST HOLD.
If price closes back through the shelf, the script may mark FAKEOUT RISK.
🧱 System Philosophy
The goal is not to chase every breakout.
The goal is to filter breakout attention.
This script treats breakout quality as a sequence:
structure break → participation gate → retest shelf → expansion or failure.
🔐 Non-Promise Statement
No breakout label guarantees continuation.
No weak-break label guarantees reversal.
No retest label guarantees a successful trend move.
All outputs should be interpreted as analytical context.
📉 Risk Disclosure
Trading involves risk.
This script is for educational and analytical purposes only.
It does not provide financial advice, investment advice, or guaranteed trading outcomes.
Users are fully responsible for their own decisions, risk management, and trade execution.
📚 Educational Note
Use the script to study which breakouts attract real participation and which breaks fail to hold their gate.
The most useful question is not only whether price broke structure.
The better question is whether the breakout deserved attention after the break.
Indicator
