Impulse Reactor RSI-SMA Trend Indicator [ApexLegion]Impulse Reactor RSI-SMA Trend Indicator
Introduction and Theoretical Background
Design Rationale
Standard indicators frequently generate binary 'BUY' or 'SELL' signals without accounting for the broader market context. This often results in erratic "Flip-Flop" behavior, where signals are triggered indiscriminately regardless of the prevailing volatility regime.
Impulse Reactor was engineered to address this limitation by unifying two critical requirements: Quantitative Rigor and Execution Flexibility.
The Solution
Composite Analytical Framework This script is not a simple visual overlay of existing indicators. It is an algorithmic synthesis designed to function as a unified decision-making engine. The primary objective was to implement rigorous quantitative analysis (Volatility Normalization, Structural Filtering) directly within an alert-enabled framework. This architecture is designed to process signals through strict, multi-factor validation protocols before generating real-time notifications, allowing users to focus on structurally validated setups without manual monitoring.
How It Works
This is not a simple visual mashup. It utilizes a cross-validation algorithm where the Trend Structure acts as a gatekeeper for Momentum signals:
Logic over Lag: Unlike simple moving average crossovers, this script uses a 15-layer Gradient Ribbon to detect "Laminar Flow." If the ribbon is knotted (Compression), the system mathematically suppresses all signals.
Volatility Normalization: The core calculation adapts to ATR (Average True Range). This means the indicator automatically expands in volatile markets and contracts in quiet ones, maintaining accuracy without constant manual tweaking.
Adaptive Signal Thresholding: It incorporates an 'Anti-Greed' algorithm (Dynamic Thresholding) that automatically adjusts entry criteria based on trend duration. This logic aims to mitigate the risk of entering positions during periods of statistical trend exhaustion.
Why Use It?
Market State Decoding: The gradient Ribbon visualizes the underlying trend phase in real-time.
◦ Cyan/Blue Flow: Strong Bullish Trend (Laminar Flow).
◦ Magenta/Pink Flow: Strong Bearish Trend.
◦ Compressed/Knotted: When the ribbon lines are tightly squeezed or overlapping, it signals Consolidation. The system filters signals here to avoid chop.
Noise Reduction: The goal is not to catch every pivot, but to isolate high-confidence setups. The logic explicitly filters out minor fluctuations to help maintain position alignment with the broader trend.
⚖️ Chapter 1: System Architecture
Introduction: Composite Analytical Framework
System Overview
Impulse Reactor serves as a comprehensive technical analysis engine designed to synthesize three distinct market dimensions—Momentum, Volatility, and Trend Structure—into a unified decision-making framework. Unlike traditional methods that analyze these metrics in isolation, this system functions as a central processing unit that integrates disparate data streams to construct a coherent model of market behavior.
Operational Objective
The primary objective is to transition from single-dimensional signal generation to a multi-factor assessment model. By fusing data from the Impulse Core (Volatility), Gradient Oscillator (Momentum), and Structural Baseline (Trend), the system aims to filter out stochastic noise and identify high-probability trade setups grounded in quantitative confluence.
Market Microstructure Analysis: Limitations of Conventional Models
Extensive backtesting and quantitative analysis have identified three critical inefficiencies in standard oscillator-based strategies:
• Bounded Oscillator Limitations (The "Oscillation Trap"): Traditional indicators such as RSI or Stochastics are mathematically constrained between fixed values (0 to 100). In strong trending environments, these metrics often saturate in "overbought" or "oversold" zones. Consequently, traders relying on static thresholds frequently exit structurally valid positions prematurely or initiate counter-trend trades against prevailing momentum, resulting in suboptimal performance.
• Quantitative Blindness to Quality: Standard moving averages and trend indicators often fail to distinguish the qualitative nature of price movement. They treat low-volume drift and high-velocity expansion identically. This inability to account for "Volatility Quality" leads to delayed responsiveness during critical market events.
• Fractal Dissonance (Timeframe Disconnect): Financial markets exhibit fractal characteristics where trends on lower timeframes may contradict higher timeframe structures. Manual integration of multi-timeframe analysis increases cognitive load and susceptibility to human error, often resulting in conflicting biases at the point of execution.
Core Design Principles
To mitigate the aforementioned systemic inefficiencies, Impulse Reactor employs a modular architecture governed by three foundational principles:
Principle A:
Volatility Precursor Analysis Market mechanics demonstrate that volatility expansion often functions as a leading indicator for directional price movement. The system is engineered to detect "Volatility Deviation" — specifically, the divergence between short-term and long-term volatility baselines—prior to its manifestation in price action. This allows for entry timing aligned with the expansion phase of market volatility.
Principle B:
Momentum Density Visualization The system replaces singular momentum lines with a "Momentum Density" model utilizing a 15-layer Simple Moving Average (SMA) Ribbon.
• Concept: This visualization represents the aggregate strength and consistency of the trend.
• Application: A fully aligned and expanded ribbon indicates a robust trend structure ("Laminar Flow") capable of withstanding minor counter-trend noise, whereas a compressed ribbon signals consolidation or structural weakness.
Principle C:
Adaptive Confluence Protocols Signal validity is strictly governed by a multi-dimensional confluence logic. The system suppresses signal generation unless there is synchronized confirmation across all three analytical vectors:
1. Volatility: Confirmed expansion via the Impulse Core.
2. Momentum: Directional alignment via the Hybrid Oscillator.
3. Structure: Trend validation via the Baseline. This strict filtering mechanism significantly reduces false positives in non-trending (choppy) environments while maintaining sensitivity to genuine breakouts.
🔍 Chapter 2: Core Modules & Algorithmic Logic
Module A: Impulse Core (Normalized Volatility Deviation)
Operational Logic The Impulse Core functions as a volatility-normalized momentum gauge rather than a standard oscillator. It is designed to identify "Volatility Contraction" (Squeeze) and "Volatility Expansion" phases by quantifying the divergence between short-term and long-term volatility states.
Volatility Z-Score Normalization
The formula implements a custom normalization algorithm. Unlike standard oscillators that rely on absolute price changes, this logic calculates the Z-Score of the Volatility Spread.
◦ Numerator: (atr_f - atr_s) captures the raw momentum of volatility expansion.
◦ Denominator: (std_f + 1e-6) standardizes this value against historical variance.
◦ Result: This allows the indicator scales consistently across assets (e.g., Bitcoin vs. Euro) without manual recalibration.
f_impulse() =>
atr_f = ta.atr(fastLen) // Fast Volatility Baseline
atr_s = ta.atr(slowLen) // Slow Volatility Baseline
std_f = ta.stdev(atr_f, devLen) // Volatility Standard Deviation
(atr_f - atr_s) / (std_f + 1e-6) // Normalized Differential Calculation
Algorithmic Framework
• Differential Calculation: The system computes the spread between a Fast Volatility Baseline (ATR-10) and a Slow Volatility Baseline (ATR-30).
• Normalization Protocol: To standardize consistency across diverse asset classes (e.g., Forex vs. Crypto), the raw differential is divided by the standard deviation of the volatility itself over a 30-period lookback.
• Signal Generation:
◦ Contraction (Squeeze): When the Fast ATR compresses below the Slow ATR, it registers a potential volatility buildup phase.
◦ Expansion (Release): A rapid divergence of the Fast ATR above the Slow ATR signals a confirmed volatility expansion, validating the strength of the move.
Module B: Gradient Oscillator (RSI-SMA Hybrid)
Design Rationale To mitigate the "noise" and "false reversal" signals common in single-line oscillators (like standard RSI), this module utilizes a 15-Layer Gradient Ribbon to visualize momentum density and persistence.
Technical Architecture
• Ribbon Array: The system generates 15 sequential Simple Moving Averages (SMA) applied to a volatility-adjusted RSI source. The length of each layer increases incrementally.
• State Analysis:
Momentum Alignment (Laminar Flow): When all 15 layers are expanded and parallel, it indicates a robust trend where buying/selling pressure is distributed evenly across multiple timeframes. This state helps filter out premature "overbought/oversold" signals.
• Consolidation (Compression): When the distance between the fastest layer (Layer 1) and the slowest layer (Layer 15) approaches zero or the layers intersect, the system identifies a "Non-Tradable Zone," preventing entries during choppy market conditions.
// Laminar Flow Validation
f_validate_trend() =>
// Calculate spread between Ribbon layers
ribbon_spread = ta.stdev(ribbon_array, 15)
// Only allow signals if Ribbon is expanded (Laminar Flow)
is_flowing = ribbon_spread > min_expansion_threshold
// If compressed (Knotted), force signal to false
is_flowing ? signal : na
Module C: Adaptive Signal Filtering (Behavioral Bias Mitigation)
This subsystem, operating as an algorithmic "Anti-Greed" Mechanism, addresses the statistical tendency for signal degradation following prolonged trends.
Dynamic Threshold Adjustment
• Win Streak Detection: The algorithm internally tracks the outcome of closed trade cycles.
• Sensitivity Multiplier: Upon detecting consecutive successful signals in the same direction, a Penalty_Factor is applied to the entry logic.
• Operational Impact: This effectively raises the Required_Slope threshold for subsequent signals. For example, after three consecutive bullish signals, the system requires a 30% steeper trend angle to validate a fourth entry. This enforces stricter discipline during extended trends to reduce the probability of entering at the point of trend exhaustion.
Anti-Greed Logic: Dynamic Threshold Calculation
f_adjust_threshold(base_slope, win_streak) =>
// Adds a 10% penalty to the difficulty for every consecutive win
penalty_factor = 0.10
risk_scaler = 1 + (win_streak * penalty_factor)
// Returns the new, harder-to-reach threshold
base_slope * risk_scaler
Module D: Trend Baseline (Triple-Smoothed Structure)
The Trend Baseline serves as the structural filter for all signals. It employs a Triple-Smoothed Hybrid Algorithm designed to balance lag reduction with noise filtration.
Smoothing Stages
1. Volatility Banding: Utilizes a SuperTrend-based calculation to establish the upper and lower boundaries of price action.
2. Weighted Filter: Applies a Weighted Moving Average (WMA) to prioritize recent price data.
3. Exponential Smoothing: A final Exponential Moving Average (EMA) pass is applied to create a seamless baseline curve.
Functionality
This "Heavy" baseline resists minor intraday volatility spikes while remaining responsive to sustained structural shifts. A signal is only considered valid if the price action maintains structural integrity relative to this baseline
🚦 Chapter 3: Risk Management & Exit Protocols
Quantitative Risk Management (TP/SL & Trailing)
Foundational Architecture: Volatility-Adjusted Geometry Unlike strategies relying on static nominal values, Impulse Reactor establishes dynamic risk boundaries derived from quantitative volatility metrics. This design aligns trade invalidation levels mathematically with the current market regime.
• ATR-Based Dynamic Bracketing:
The protocol calculates Stop-Loss and Take-Profit levels by applying Fibonacci coefficients (Default: 0.786 for SL / 1.618 for TP) to the Average True Range (ATR).
◦ High Volatility Environments: The risk bands automatically expand to accommodate wider variance, preventing premature exits caused by standard market noise.
◦ Low Volatility Environments: The bands contract to tighten risk parameters, thereby dynamically adjusting the Risk-to-Reward (R:R) geometry.
• Close-Validation Protocol ("Soft Stop"):
Institutional algorithms frequently execute liquidity sweeps—driving prices briefly below key support levels to accumulate inventory.
◦ Mechanism: When the "Soft Stop" feature is enabled, the system filters out intraday volatility spikes. The stop-loss is conditional; execution is triggered only if the candle closes beyond the invalidation threshold.
◦ Strategic Advantage: This logic distinguishes between momentary price wicks and genuine structural breakdowns, preserving positions during transient volatility.
• Step-Function Trailing Mechanism:
To protect unrealized PnL while allowing for normal price breathing, a two-phase trailing methodology is employed:
◦ Phase 1 (Activation): The trailing function remains dormant until the price advances by a pre-defined percentage threshold.
◦ Phase 2 (Dynamic Floor): Once armed, the stop level creates a moving floor, adjusting relative to price action while maintaining a volatility-based (ATR) buffer to systematically protect unrealized PnL.
• Algorithmic Exit Protocols (Dynamic Liquidity Analysis)
◦ Rationale: Inefficiencies of Static Targets Static "Take Profit" levels often result in suboptimal exits. They compel traders to close positions based on arbitrary figures rather than evolving market structure, potentially capping upside during significant trends or retaining positions while the underlying trend structure deteriorates.
◦ Solution: Structural Integrity Assessment The system utilizes a Dynamic Liquidity Engine to continuously audit the validity of the position. Instead of targeting a specific price point, the algorithm evaluates whether the trend remains statistically robust.
Multi-Factor Exit Logic (The Tri-Vector System)
The Smart Exit protocol executes only when specific algorithmic invalidation criteria are met:
• 1. Momentum Exhaustion (Confluence Decay): The system monitors a 168-hour rolling average of the Confluence Score. A significant deviation below this historical baseline indicates momentum exhaustion, signaling that the driving force behind the trend has dissipated prior to a price reversal. This enables preemptive exits before a potential drawdown.
• 2. Statistical Over-Extension (Mean Reversion): Utilizing the core volatility logic, the system identifies instances where price deviates beyond 2.0 standard deviations from the mean. While the trend may be technically bullish, this statistical anomaly suggests a high probability of mean reversion (elastic snap-back), triggering a defensive exit to capitalize on peak valuation.
• 3. Oscillator Rejection (Immediate Pivot): To manage sudden V-shaped volatility, the system monitors RSI pivots. If a sharp "Pivot High" or divergence is detected, the protocol triggers an immediate "Peak Exit," bypassing standard trend filters to secure liquidity during high-velocity reversals.
🎨 Chapter 4: Visualization Guide
Gradient Oscillator Ribbon
The 15-layer SMA ribbon visualized via plot(r1...r15) represents the "Momentum Density" of the market.
• Visuals:
◦ Cyan/Blue Ribbon: Indicates Bullish Momentum.
◦ Pink/Magenta Ribbon: Indicates Bearish Momentum.
• Interpretation:
◦ Laminar Flow: When the ribbon expands widely and flows in parallel, it signifies a robust trend where momentum is distributed evenly across timeframes. This is the ideal state for trend-following.
◦ Compression (Consolidation): If the ribbon becomes narrow, twisted, or knotted, it indicates a "Non-Tradable Zone" where the market lacks a unified direction. Traders are advised to wait for clarity.
◦ Over-Extension: If the top layer crosses the Overbought (85) or Oversold (15) lines, it visually warns of potential market overheating.
Trend Baseline
The thick, color-changing line plotted via plot(baseline) represents the Structural Backbone of the market.
• Visuals: Changes color based on the trend direction (Blue for Bullish, Pink for Bearish).
• Interpretation:
Structural Filter: Long positions are statistically favored only when price action sustains above this baseline, while short positions are favored below it.
Dynamic Support/Resistance: The baseline acts as a dynamic support level during uptrends and resistance during downtrends.
Entry Signals & Labels
Text labels ("Long Entry", "Short Entry") appear when the system detects high-probability setups grounded in quantitative confluence.
• Visuals: Labeled signals appear above/below specific candles.
• Interpretation:
These signals represent moments where Volatility (Expansion), Momentum (Alignment), and Structure (Trend) are synchronized.
Smart Exit: Labels such as "Smart Exit" or "Peak Exit" appear when the system detects momentum exhaustion or structural decay, prompting a defensive exit to preserve capital.
Dynamic TP/SL Boxes
The semi-transparent colored zones drawn via fill() represent the risk management geometry.
• Visuals: Colored boxes extending from the entry point to the Take Profit (TP) and Stop Loss (SL) levels.
• Function:
Volatility-Adjusted Geometry: Unlike static price targets, these boxes expand during high volatility (to prevent wicks from stopping you out) and contract during low volatility (to optimize Risk-to-Reward ratios).
SAR + MACD Glow
Small glowing shapes appearing above or below candles.
• Visuals: Triangle or circle glows near the price bars.
• Interpretation:
This visual indicates a secondary confirmation where Parabolic SAR and MACD align with the main trend direction. It serves as an additional confluence factor to increase confidence in the trade setup.
Support/Resistance Table
A small table located at the bottom-right of the chart.
• Function: Automatically identifies and displays recent Pivot Highs (Resistance) and Pivot Lows (Support).
• Interpretation: These levels can be used as potential targets for Take Profit or invalidation points for manual Stop Loss adjustments.
🖥️ Chapter 5: Dashboard & Operational Guide
Integrated Analytics Panel (Dashboard Overview)
To facilitate rapid decision-making without manual calculation, the system aggregates critical market dimensions into a unified "Heads-Up Display" (HUD). This panel monitors real-time metrics across multiple timeframes and analytical vectors.
A. Intermediate Structure (12H Trend)
• Function: Anchors the intraday analysis to the broader market structure using a 12-hour rolling window.
• Interpretation:
◦ Bullish (> +0.5%): Indicates a positive structural bias. Long setups align with the macro flow.
◦ Bearish (< -0.5%): Indicates structural weakness. Short setups are statistically favored.
◦ Neutral: Represents a ranging environment where the Confluence Score becomes the primary weighting factor.
B. Composite Confluence Score (Signal Confidence)
• Definition: A probability metric derived from the synchronization of Volatility (Impulse Core), Momentum (Ribbon), and Trend (Baseline).
• Grading Scale:
Strong Buy/Sell (> 7.0 / < 3.0): Indicates full alignment across all three vectors. Represents a "Prime Setup" eligible for standard position sizing.
Buy/Sell (5.0–7.0 / 3.0–5.0): Indicates a valid trend but with moderate volatility confirmation.
Neutral: Signals conflicting data (e.g., Bullish Momentum vs. Bearish Structure). Trading is not recommended ("No-Trade Zone").
C. Statistical Deviation Status (Mean Reversion)
• Logic: Utilizes Bollinger Band deviation principles to quantify how far price has stretched from the statistical mean (20 SMA).
• Alert States:
Over-Extended (> 2.0 SD): Warning that price is statistically likely to revert to the mean (Elastic Snap-back), even if the trend remains technically valid. New entries are discouraged in this zone.
Normal: Price is within standard distribution limits, suitable for trend-following entries.
D. Volatility Regime Classification
• Metric: Compares current ATR against a 100-period historical baseline to categorize the market state.
• Regimes:
Low Volatility (Lvl < 1.0): Market Compression. Often precedes volatility expansion events.
Mid Volatility (Lvl 1.0 - 1.5): Standard operating environment.
High Volatility (Lvl > 1.5): Elevated market stress. Risk parameters should be adjusted (e.g., reduced position size) to account for increased variance.
E. Performance Telemetry
• Function: Displays the historical reliability of the Trend Baseline for the current asset and timeframe.
• Operational Threshold: If the displayed Win Rate falls below 40%, it suggests the current market behavior is incoherent (choppy) and does not respect trend logic. In such cases, switching assets or timeframes is recommended.
Operational Protocols & Signal Decoding
Visual Interpretation Standards
• Laminar Flow (Trade Confirmation): A valid trend is visually confirmed when the 15-layer SMA Ribbon is fully expanded and parallel. This indicates distributed momentum across timeframes.
• Consolidation (No-Trade): If the ribbon appears twisted, knotted, or compressed, the market lacks a unified directional vector.
• Baseline Interaction: The Triple-Smoothed Baseline acts as a dynamic support/resistance filter. Long positions remain valid only while price sustains above this structure.
System Calibration (Settings)
• Adaptive Signal Filtering (Prev. Anti-Greed): Enabled by default. This logic automatically raises the required trend slope threshold following consecutive wins to mitigate behavioral bias.
• Impulse Sensitivity: Controls the reactivity of the Volatility Core. Higher settings capture faster moves but may introduce more noise.
⚙️ Chapter 6: System Configuration & Alert Guide
This section provides a complete breakdown of every adjustable setting within Impulse Reactor to assist you in tailoring the engine to your specific needs.
🌐 LANGUAGE SETTINGS (Localization)
◦ Select Language (Default: English):
Function: Instantly translates all chart labels, dashboard texts into your preferred language.
Supported: English, Korean, Chinese, Spanish
⚡ IMPULSE CORE SETTINGS (Volatility Engine)
◦ Deviation Lookback (Default: 30): The period used to calculate the standard deviation of volatility.
Role: Sets the baseline for normalizing momentum. Higher values make the core smoother but slower to react.
◦ Fast Pulse Length (Default: 10): The short-term ATR period.
Role: Detects rapid volatility expansion.
◦ Slow Pulse Length (Default: 30): The long-term ATR baseline.
Role: Establishes the background volatility level. The core signal is derived from the divergence between Fast and Slow pulses.
🎯 TP/SL SETTINGS (Risk Management)
◦ SL/TP Fibonacci (Default: 0.786 / 1.618): Selects the Fibonacci ratio used for risk calculation.
◦ SL/TP Multiplier (Default: 1.5 / 2): Applies a multiplier to the ATR-based bands.
Role: Expands or contracts the Take Profit and Stop Loss boxes. Increase these values for higher volatility assets (like Altcoins) to avoid premature stop-outs.
◦ ATR Length (Default: 14): The lookback period for calculating the Average True Range used in risk geometry.
◦ Use Soft Stop (Close Basis):
Role: If enabled, Stop Loss alerts only trigger if a candle closes beyond the invalidation level. This prevents being stopped out by wick manipulations.
🔊 RIBBON SETTINGS (Momentum Visualization)
◦ Show SMA Ribbon: Toggles the visibility of the 15-layer gradient ribbon.
◦ Ribbon Line Count (Default: 15): The number of SMA lines in the ribbon array.
◦ Ribbon Start Length (Default: 2) & Step (Default: 1): Defines the spread of the ribbon.
Role: Controls the "thickness" of the momentum density visualization. A wider step creates a broader ribbon, useful for higher timeframes.
📎 DISPLAY OPTIONS
◦ Show Entry Lines / TP/SL Box / Position Labels / S/R Levels / Dashboard: Toggles individual visual elements on the chart to reduce clutter.
◦ Show SAR+MACD Glow: Enables the secondary confirmation shapes (triangles/circles) above/below candles.
📈 TREND BASELINE (Structural Filter)
◦ Supertrend Factor (Default: 12) & ATR Period (Default: 90): Controls the sensitivity of the underlying Supertrend algorithm used for the baseline calculation.
◦ WMA Length (40) & EMA Length (14): The smoothing periods for the Triple-Smoothed Baseline.
◦ Min Trend Duration (Default: 10): The minimum number of bars the trend must be established before a signal is considered valid.
🧠 SMART EXIT (Dynamic Liquidity)
◦ Use Smart Exit: Enables the momentum exhaustion logic.
◦ Exit Threshold Score (Default: 3): The sensitivity level for triggering a Smart Exit. Lower values trigger earlier exits.
◦ Average Period (168) & Min Hold Bars (5): Defines the rolling window for momentum decay analysis and the minimum duration a trade must be held before Smart Exit logic activates.
🛡️ TRAILING STOP (Step)
◦ Use Trailing Stop: Activates the step-function trailing mechanism.
◦ Step 1 Activation % (0.5) & Offset % (0.5): The price must move 0.5% in your favor to arm the first trail level, which sets a stop 0.5% behind price.
◦ Step 2 Activation % (1) & Offset % (0.2): Once price moves 1%, the trail tightens to 0.2%, securing the position.
🌀 SAR & MACD SETTINGS (Secondary Confirmation)
◦ SAR Start/Increment/Max: Standard Parabolic SAR parameters.
◦ SAR Score Scaling (ATR): Adjusts how much weight the SAR signal has in the overall confluence score.
◦ MACD Fast/Slow/Signal: Standard MACD parameters used for the "Glow" signals.
🔄 ANTI-GREED LOGIC (Behavioral Bias)
◦ Strict Entry after Win: Enables the negative feedback loop.
◦ Strict Multiplier (Default: 1.1): Increases the entry difficulty by 10% after each win.
Role: Prevents overtrading and entering at the top of an extended trend.
🌍 HTF FILTER (Multi-Timeframe)
◦ Use Auto-Adaptive HTF Filter: Automatically selects a higher timeframe (e.g., 1H -> 4H) to filter signals.
◦ Bypass HTF on Steep Trigger: Allows an entry even against the HTF trend if the local momentum slope is exceptionally steep (catch powerful reversals).
📉 RSI PEAK & CHOPPINESS
◦ RSI Peak Exit (Instant): Triggers an immediate exit if a sharp RSI pivot (V-shape) is detected.
◦ Choppiness Filter: Suppresses signals if the Choppiness Index is above the threshold (Default: 60), indicating a flat market.
📐 SLOPE TRIGGER LOGIC
◦ Force Entry on Steep Slope: Overrides other filters if the price angle is extremely vertical (high velocity).
◦ Slope Sensitivity (1.5): The angle required to trigger this override.
⛔ FLAT MARKET FILTER (ADX & ATR)
◦ Use ADX Filter: Blocks signals if ADX is below the threshold (Default: 20), indicating no trend.
◦ Use ATR Flat Filter: Blocks signals if volatility drops below a critical level (dead market).
🔔 Alert Configuration Guide
Impulse Reactor is designed with a comprehensive suite of alert conditions, allowing you to automate your trading or receive real-time notifications for specific market events.
How to Set Up:
Click the "Alert" (Clock) icon in the TradingView toolbar.
Select "Impulse Reactor " from the Condition dropdown.
Choose one of the specific trigger conditions below:
🚀 Entry Signals (Trend Initiation)
Long Entry:
Trigger: Fires when a confirmed Bullish Setup is detected (Momentum + Volatility + Structure align).
Usage: Use this to enter new Long positions.
Short Entry:
Trigger: Fires when a confirmed Bearish Setup is detected.
Usage: Use this to enter new Short positions.
🎯 Profit Taking (Target Levels)
Long TP:
Trigger: Fires when price hits the calculated Take Profit level for a Long trade.
Usage: Automate partial or full profit taking.
Short TP:
Trigger: Fires when price hits the calculated Take Profit level for a Short trade.
Usage: Automate partial or full profit taking.
🛡️ Defensive Exits (Risk Management)
Smart Exit:
Trigger: Fires when the system detects momentum decay or statistical exhaustion (even if the trend hasn't fully reversed).
Usage: Recommended for tightening stops or closing positions early to preserve gains.
Overbought / Oversold:
Trigger: Fires when the ribbon extends into extreme zones.
Usage: Warning signal to prepare for a potential reversal or pullback.
💡 Secondary Confirmation (Confluence)
SAR+MACD Bullish:
Trigger: Fires when Parabolic SAR and MACD align bullishly with the main trend.
Usage: Ideal for Pyramiding (adding to an existing winning position).
SAR+MACD Bearish:
Trigger: Fires when Parabolic SAR and MACD align bearishly.
Usage: Ideal for adding to short positions.
⚠️ Chapter 7: Conclusion & Risk Disclosure
Methodological Synthesis
Impulse Reactor represents a shift from reactive price tracking to proactive energy analysis. By decomposing market activity into its atomic components — Volatility, Momentum, and Structure — and reconstructing them into a coherent decision model, the system aims to provide a quantitative framework for market engagement. It is designed not to predict the future, but to identify high-probability conditions where kinetic energy and trend structure align.
Disclaimer & Risk Warnings
◦ Educational Purpose Only
This indicator, including all associated code, documentation, and visual outputs, is provided strictly for educational and informational purposes. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments.
◦ No Guarantee of Performance
Past performance is not indicative of future results. All metrics displayed on the dashboard (including "Win Rate" and "P&L") are theoretical calculations based on historical data. These figures do not account for real-world trading factors such as slippage, liquidity gaps, spread costs, or broker commissions.
◦ High-Risk Warning
Trading cryptocurrencies, futures, and leveraged financial products involves a substantial risk of loss. The use of leverage can amplify both gains and losses. Users acknowledge that they are solely responsible for their trading decisions and should conduct independent due diligence before executing any trades.
◦ Software Limitations
The software is provided "as is" without warranty. Users should be aware that market data feeds on analysis platforms may experience latency or outages, which can affect signal generation accuracy.
Reversal
Trend Tracer [AlgoAlpha]🟠 OVERVIEW
This tool builds a two-stage trend model that reacts to structure shifts while also showing how strong or weak the move is. It uses a mid-price band (from the highest high and lowest low over a lookback) and applies two Supertrend passes on top of it. The first pass smoothens the basis. The second pass refines that direction and produces the final trail used for signals. A gradient fill between the two trails uses RSI of price-to-trail distance to show when price is stretched or cooling off. The aim is to give traders a simple way to read trend alignment, pressure, and early turns without guessing.
🟠 CONCEPTS
The script starts with a mid-range basis. This is the average of the rolling highest high and lowest low. It acts as a stable structure reference instead of raw close or typical price. From there, two Supertrend layers are applied:
• The first Supertrend uses a shorter ATR period and lower factor. It reacts faster and sets the main regime.
• The second Supertrend uses a slightly longer ATR and higher factor. It filters noise, waits for confirmed continuation, and generates the signal line.
The interaction between these trails matters. The outer Supertrend provides context by defining the broader regime. The inner Supertrend provides timing by flipping earlier and marking possible shifts. The gradient fill uses RSI of (close − supertrend value) to display when price stretches away from the trail. This shows strength, exhaustion, or compression within the trend.
🟠 FEATURES
Bullish and bearish flip markers placed at recent highs/lows
Rejection signals off the trend tracer line
Alerts for bullish and bearish trend changes
🟠 USAGE
Setup : Add the script to your chart. Timeframe is flexible; lower timeframes show more flips while higher ones give cleaner swings. Adjust Length to change how wide the basis range is. Use the two ATR settings and factors to match the volatility of the market you trade.
Read the chart : When the refined trail (stv_) sits above price the regime is bearish; when below, it is bullish. The wide trail (stv) confirms the larger move. Watch the gradient fill: darker colors appear when price is stretched from the trail and lighter colors appear when the move is weakening. Flip markers ▲ or ▼ highlight the first clean shift of the refined trail.
Settings that matter : Increasing the Main Factor slows main-trend flips and filters chop. Increasing the Signal Factor delays the timing trail but reduces noise. Shortening Length makes the basis more reactive. ATR periods change how sensitive each Supertrend pass is to volatility.
Linda Raschke 5 SMA Reversal [LuciTech]How This Indicator Works:
-5 SMA Tracking: Calculates a 5-period simple moving average and plots it on the chart.
-Extension Counter: Counts consecutive bars where price closes above or below the 5 SMA.
-BUY Signals (Green Up Arrow): Triggers when price closes BELOW the 5 SMA after 7+ consecutive closes ABOVE it—indicates a reversal opportunity into dynamic support.
-SELL Signals (Red Down Arrow): Triggers when price closes ABOVE the 5 SMA after 7+ consecutive closes BELOW it—indicates a reversal bounce setup.
-No Repainting: Signals only plot on confirmed bar closes; no repainting issues.
Linda Raschke's Core Principles:
-Extended Run = Imbalance: When price stays above/below the 5 SMA for 7+ bars, it's a one-sided market; mean reversion is likely.
-First Cross = Trigger: The first close back across the SMA after an extension is the reversal signal, not every touch.
-No Setup? No Trade: Without a prior extension or "three-bar balance" filter, a 5 SMA tag is noise. The model requires the prior momentum condition.
-Uptrend Buys: In uptrends, buy dips to the SMA (dynamic support) as long as the weekly/monthly trend is intact.
-Downtrend Fades: In downtrends, treat first rallies above the SMA as bounce fades into lower lows (especially after 14+ bars below).
Powell's Brain Mk.4.4 [Scalper Edition]Title: Powell's Brain Mk.4.4
Description
Powell's Brain is a mechanical scalping system designed for volatile assets (like SPY, QQQ, NVDA, and TSLA) on 1-minute and 5-minute timeframes.
Unlike standard indicators that spam signals at every crossover, this script uses a "Subtractive" Philosophy. It starts with a trend crossover signal and then runs it through a squad of 6 distinct filters. If any filter detects low probability (chop, low volume, weak momentum), the trade is blocked.
This is the Scalper Edition, tuned to catch V-Shape reversals while still protecting capital during sideways chop.
🧠 How It Works
The system relies on the confluence of four market forces: Momentum, Energy, Trend Strength, and AI Confirmation.
1. The Core Strategy (The Engine)
Dual EMA Crossover: Uses a Fast (9) and Slow (50) EMA to identify immediate trend changes.
Slope Detection: A trade is only considered if the EMAs are separating with sufficient velocity (0.04% slope threshold). This prevents trading when lines are flat/tangled.
2. The "No" Squad (Filters)
A signal is rejected unless it passes these checks:
Volume Gate: Volume must be at least 80% (0.8x) of the 20-period average. This filters out pre-market noise or lunch-hour apathy.
ADX Shield: The Average Directional Index must be > 20. If ADX is lower, the market is chopping, and the script forces you to sit on your hands.
Time-of-Day: By default, it targets "Prime Hours" (09:30–11:00 & 14:00–16:00 EST) to avoid the "lunchtime trap."
Cooldown: Enforces a 3-bar wait period between signals to prevent signal flickering in high-volatility zones.
3. The AI Engine (k-NN Machine Learning)
Included is a k-Nearest Neighbors (k-NN) implementation that analyzes historical RSI and Relative Volume patterns.
It compares the current market state to the last ~1,000 bars.
It calculates a "Confidence %" based on how often similar past setups resulted in a bullish or bearish move.
AI Gating: You can enable a "Strict Mode" in settings where the script will block any trade that the AI does not agree with (Confidence < 55%).
4. The Squeeze Filter (TTM Logic)
An optional filter allows you to trade only on volatility expansion (Bollinger Bands exiting Keltner Channels). This is disabled by default to allow for standard trend scalping but can be enabled for breakout hunting.
🚦 How to Use
The Signals:
Green "CALL" Label: Bullish Momentum + Volume + Trend Strength.
Red "PUT" Label: Bearish Momentum + Volume + Breakdown.
The HUD (Heads-Up Display):
Monitor the top-right panel for Market Flow, Squeeze Status, and AI Confidence.
If the AI text is Orange ("INITIALIZING"), wait for more data to load.
The Debugger:
If you see a crossover but NO signal, turn on "Show Debug Labels" in settings.
The chart will print exactly why the trade was skipped (e.g., Vol❌ means volume was too low, Slope❌ means the trend was too flat).
⚙️ Settings Guide
Strategy Core: Adjust Min EMA Separation to tune sensitivity. Higher = Fewer, safer trades. Lower = Faster entries.
Filters:
Trade with 200 EMA Trend: Keep OFF for scalping reversals. Turn ON for strict trend following.
Gate Entries with AI: Turn ON if you want the Machine Learning engine to veto low-confidence setups.
Visuals: Toggle Dark/Light themes to match your chart.
Disclaimer
This script is a tool for identifying high-probability setups based on historical data and technical analysis. It does not guarantee future performance. Always use proper risk management (Stop Losses are included in the logic visuals). In less words DON'T BE AN IDIOT.
By FallenAngel666
Bullish Volume RatioBullish Volume Ratio (BVR) Indicator
The Bullish Volume Ratio (BVR) is a sophisticated momentum oscillator designed to measure the true intensity of buying pressure versus selling pressure in the market. It provides a unique, statistically-driven view of market conviction, making it an essential tool for traders who seek to confirm trend health and anticipate major shifts.
BVR achieves its precision by not only assessing net volume but also using proprietary volume weighting logic to gauge the quality of participation in each candle, filtering out market noise to present a clear picture of underlying demand.
Key Features
Statistically-Driven Conviction: The indicator utilizes a Z-Score to measure how far the current BVR reading deviates from its historical average, providing an objective measure of whether buying or selling is truly exceptional or just noise.
Clear Visual Signals: The oscillator plot is designed for clear interpretation on a separate pane, helping you identify regime shifts without cluttering the main price chart.
Real-Time Data Dashboard (Optional): A customizable table on the chart displays the current BVR, Z-score, and other critical volume metrics at a glance.
Simplified Trading Guide
The BVR indicator simplifies volume analysis into clear, actionable signals that can be used for trend confirmation and reversal anticipation.
1. Trend Confirmation
Use the BVR to confirm the momentum of an existing trend:
Bullish Confirmation: When price is trending up, look for the BVR line to be rising and consistently above the center line. This signals that buyers are in firm control and the uptrend has strong volume conviction.
Bearish Confirmation: When price is trending down, look for the BVR line to be falling and deep below the center line. This indicates sellers are dominating the volume profile, confirming the strength of the downtrend.
2. Identifying Trade Entry/Exit Zones
The indicator's Z-Score component is key to spotting extremes that often precede a reversal:
Potential Long Entry: Look for a sustained negative Z-Score followed by a sharp crossover back towards the center line or into positive territory. This can signal that selling pressure has reached an exhaustion point and accumulation (buying) is beginning.
Potential Short Entry: Look for a sustained positive Z-Score followed by a sharp crossover back towards the center line or into negative territory. This suggests that buying momentum is exhausted and distribution (selling) is commencing.
3. The Volume Spike Filter
The indicator also alerts you to candles with significantly high volume relative to the recent average. Use this as a filter:
Breakout Validation: A price breakout is more likely to be legitimate if it is accompanied by a high volume spike confirmed by a strong BVR reading in the direction of the breakout.
Reversal Warning: A high volume spike at a key support or resistance level, particularly one that leads to a sharp turn in the BVR, can strongly signal a climactic reversal in progress.
Fluxion Oscillator [Kodexius]Fluxion Oscillator is a multi dimensional momentum and flow toolkit designed to highlight exhaustion, reversals and confluence in a very compact way. The script combines a normalized trend oscillator, volume sensitive money movement, a volatility gauge and a visual confluence gauge that all sit in a single pane.
Instead of focusing on a single signal, Fluxion looks at the interaction between price, momentum and volume. The core oscillator tracks the relationship between a fast and a slow response of price, then rescales it into a stable 0 to 100 band. A companion flow line tracks how actively price is being supported or pressured by volume. On top of that, a volatility based gauge and an overbought or oversold reversal layer help highlight when moves are stretched and vulnerable.
The result is an environment where you can quickly see:
-When momentum is expanding or fading
-When price swings are supported or rejected by volume
-Where local tops or bottoms can be forming through divergence
-How strong the current push is in the context of recent volatility
-A compact gauge that visually ranks the current state from “minimum” to “maximum” pressure
It is not a trading system by itself, but a framework that makes it much easier to build rules and confluence around your own strategy.
⭐ Features
Normalized Fluxion Oscillator
Core oscillator built from the difference between a fast and a slow smoothing of the chosen source.
Automatically normalized into a bounded range so it behaves consistently across symbols and timeframes.
Dual line structure: the main line and a signal line, making crossovers easy to read.
Dynamic fill that shifts color depending on whether the main line is above or below the signal line.
Bullish and Bearish Crosses
Visual circles highlighting when the main oscillator crosses its signal line upward or downward.
Bullish crosses emphasize potential momentum ignition after downside pressure.
Bearish crosses emphasize potential cooling of momentum after upside pressure.
Money Flow Layer
Separate line that blends price and volume over a configurable lookback.
Smoothed to reduce noise and plotted around a central balance level.
Colored region that clearly shows whether buying pressure or selling pressure dominates.
Divergence Detection Suite
Automatic detection of regular bullish and regular bearish divergences between price and the normalized oscillator.
Optional hidden bullish and hidden bearish divergences for continuation setups.
Uses pivot based swing points so the lines attach to meaningful highs and lows instead of random wiggles.
All divergence types can be toggled independently so you can keep the chart as clean as you like.
Volatility and Positioning Gauge
A compact gauge that evaluates where the current price sits relative to a volume weighted average and its recent typical fluctuation.
Colors shift as price moves from neutral to stretched zones in either direction.
Background highlighting above and below the oscillator scale to reflect when this gauge is in an extreme region.
Helps quickly see whether you are buying into strength after a large extension or stepping in near value.
Reversal Signals With Volume Confirmation
A higher time sensitivity reversal metric based on a 0 to 100 scale of recent price changes.
Signals are only highlighted when there is also a short burst in volume, so quiet market noise is reduced.
Bearish reversal markers appear in the upper region, bullish markers in the lower region, giving a clear visual “top” and “bottom” feel.
Confluence Gauge
Right side grid composed of horizontal bands, from “Min” at the bottom to “Max” at the top.
Each band reflects a segment of a smoothed, range based momentum reading that tracks how far price has advanced within its recent 0 to 100 window.
The currently active band is highlighted in green for bullish momentum or red for bearish momentum, depending on the relationship between fast and slow lines within that range.
A pointer and labels make it obvious where the current environment sits relative to the full range of possible conditions.
Divergence Core
Users can define the pivot length to control how strict and how far apart swing points should be.
High Customization
Adjustable lookback lengths for the core oscillator, signal smoothing and normalization.
Separate controls for money flow length and smoothing.
Optional toggles for each divergence type so you can focus only on the structures you care about.
⭐ Calculations
This section explains conceptually how Fluxion works without exposing the full underlying formula details. The goal is to help you understand what each component represents and how it behaves, so you can use it more effectively.
Fluxion Oscillator Core
The foundation of the indicator is the difference between two smoothed versions of the selected price source. One reacts more quickly to new price information, the other reacts more slowly.
When the fast curve is above the slow curve, the oscillator becomes positive, signaling that short term action is advancing faster than the background trend. When the fast curve is below the slow curve, it becomes negative, indicating short term weakness.
This raw difference is then normalized over a rolling window. The highest and lowest values in that window are used to rescale the oscillator into a 0 to 100 band. This produces a stable, comparable scale across markets and timeframes.
A secondary smoothing of the oscillator creates the signal line. The interaction between the main line and this signal is used to color the fill region and locate cross events.
Money Flow Construction
The money flow line is based on how price closes within its candle range combined with the traded volume. Up candles with strong closes and high volume contribute positively, while down candles with weak closes and high volume contribute negatively.
These contributions are aggregated over a configurable period to create a net “pressure” measure. The result represents how aggressively participants have been positioning over that window, not just whether price went up or down.
The line is then smoothed to reduce micro noise and plotted around a central balance level, here set at 50. Values above the balance zone suggest net positive pressure, values below suggest net negative pressure.
An additional internal threshold is used to detect when this pressure stays on one side of the balance area long enough to be considered an “overflow,” which helps detect sustained accumulation or distribution phases.
Volatility and Positioning Gauge
The gauge computes a volume weighted average price over a user defined period. This gives more weight to prices at which more volume was traded.
It then evaluates how far the current price is from that volume weighted center, relative to the typical price variation around it. This creates a standardized distance measure that tells you how stretched price is from its recent fair zone.
When the distance becomes significantly positive, the market is considered extended upward. When it becomes significantly negative, it is extended downward. Intermediate thresholds are used to create “warning” and “extreme” zones.
Background fills at the top and bottom of the panel change based on this standardized distance, visually indicating when the market is moving into overextended territory that often precedes mean reversion or at least slowing of the move.
Reversal Metric With Volume Filter
A separate 0 to 100 style momentum score is calculated over a mid length window. It evaluates recent gains and losses in price to produce a relative strength measure of the current move.
Upper and lower thresholds on this score are used to mark areas where price action is historically stretched to the upside or downside.
This alone would generate many signals, so a volume based filter is added. Reversal markers are only displayed when this momentum score is in an extreme area and volume has shown a short term pickup.
This combination gives more weight to reversals that occur during active trading, where trapped positions and forced unwinds are more likely.
Divergence Engine
The divergence logic scans for swing highs and swing lows in the normalized oscillator and in price. Swing points are defined by requiring a certain number of bars on both sides of the pivot, which you can configure via the divergence length input.
For regular bullish divergence:
Price makes a lower low, indicating apparent weakness.
The oscillator makes a higher low over the same general region, indicating that internal momentum is actually improving.
If both conditions are met within a valid bar distance, a bullish divergence line is drawn from the prior oscillator pivot to the new one.
For regular bearish divergence:
Price makes a higher high, suggesting continued strength.
The oscillator makes a lower high, showing that underlying momentum is waning.
The engine checks that both pivot structures appear within an allowed time frame, then draws a bearish line between the oscillator peaks.
Hidden divergences are handled in a similar way, except the direction of price and oscillator swings is reversed, which makes them suitable for trend continuation contexts instead of reversal contexts.
Confluence Gauge
The grid on the right converts a smoothed, range based momentum reading into ten equal bands. This momentum reading looks at where the current value sits between the lowest and highest readings of a recent window, then rescales it into a 0 to 100 scale.
That 0 to 100 value is divided into ten slices of ten points each. For example, 0 to 10 is the lowest band, 90 to 100 is the top band.
The algorithm then checks whether the fast component of this reading is above or below its slower companion. If fast is above slow, it is treated as bullish pressure and the active band is colored in green. If fast is below slow, it is treated as bearish pressure and the active band is colored in red.
A pointer label is placed alongside the active band and “Max” and “Min” markers are drawn above and below the grid. This creates a compact visual where you can quickly gauge if the current state is closer to the lower boundary of recent conditions or to the upper boundary, along with its directional bias.
Normalization And Scaling
Several internal components use rolling highest and lowest values to transform raw readings into normalized percentages. This includes the main oscillator and the range based momentum used by the confluence gauge.
The key idea is to express conditions relative to what has recently been possible on that instrument and timeframe instead of using absolute fixed thresholds. This makes Fluxion adaptive and more robust when switching between assets with different volatility profiles.
Double Whammy Stop‑Run IndicatorThis indicator simulates the institutional "Double Whammy" order flow setup—for order flow traders—using standard Price Action and Volume analysis.
Since TradingView does not provide native access to Level 3 data (Stop Orders and Iceberg Orders), this script uses a proprietary algorithm to create a "proxy" for these events using relative volume anomalies, candle body strength, and market structure breaks.
The Concept
The "Double Whammy" is a reversal pattern that relies on the interaction between trapped retail traders and institutional absorption. It occurs in two specific phases:
The Stop Run (The Trap): Price aggressively breaks a significant recent High or Low on high volume. This represents retail stop-losses being triggered or breakout traders getting trapped.
The Absorption (The Whammy): Instead of continuing in the direction of the breakout, price is immediately absorbed by "Iceberg" orders (limit orders) and reverses with high intensity.
How It Works (The Logic)
This script identifies these two phases using the following logic:
1. Identifying the Stop-Run Proxy
The script monitors for a specific set of conditions to identify a potential trap:
Market Structure: The price must make a new High or Low based on the user-defined Lookback period (default 50 bars).
Volume Spike: The bar must have a volume significantly higher than the average (defined by the Volume Multiplier), suggesting a capitulation or stop-cascade.
Candle Strength: The bar must be a strong trend bar (large body relative to wicks) to mimic the look of a breakout.
2. Identifying the Absorption
Once a Stop-Run is detected, the script opens a "Window of Opportunity" (shaded background). For a valid signal to generate, a reversal must occur within Max Bars (default 3):
Reversal: A candle of the opposite color must appear.
Engulfing Logic: The reversal candle must close back inside the range (below the High of a bullish trap, or above the Low of a bearish trap).
Momentum: The reversal candle must also show significant volume and body strength.
Visual Guide
Background Shading (Green/Red): Indicates a Stop-Run has just occurred. This is a warning zone. Do not trade yet.
"DW" Label (Double Whammy): An immediate reversal occurred on the very next bar after the stop run.
"DDW" Label (Delayed Double Whammy): The reversal occurred 2 or 3 bars later, but still within the valid window.
Settings
Lookback Bars: The range used to determine significant Support/Resistance levels (Default: 50).
Max Bars to Absorption: How many bars the market has to reverse before the setup is considered invalid (Default: 3).
Volume Multiplier: How much larger current volume must be compared to the SMA to qualify as a "Stop Run" (Default: 1.5x).
Body/Range Ratio: Filters out Doji candles or weak moves. Higher numbers require stronger candles.
Disclaimer
This tool is intended for educational purposes and to assist in identifying high-volatility reversal zones. It uses price and volume proxies to estimate order flow events and does not track actual Level 3 limit orders. Always combine this indicator with your own risk management and market analysis.
Use Arrow Up and Arrow Down to select a turn, Enter to jump to it, and Escape to return to the chat.
Reversal SMC Suite Pro by TradeswithBThe Reversal SMC Suite is an intraday Smart Money Concepts toolkit designed to help traders visually analyze structure, imbalances, and displacement during trending or volatile sessions. This script combines multiple SMC elements—reversals, order blocks, FVGs, HTF bias, and pivot-based support/resistance—into one organized framework to support decision-making.
This indicator does not generate buy or sell signals and does not guarantee results. It is strictly a charting and visualization tool intended to help traders study market behavior.
🔍 Key Features
1. Reversal Detection
Swing Failure Pattern (SFP)
Bullish/Bearish Engulfing
Momentum candle detection (ATR-based)
Optional unified “reversal” signal
Visual arrows and reversal blocks
These are designed to highlight potential turning points based on price behavior—not to predict or guarantee outcomes.
2. HTF Trend Filter
Optional higher timeframe EMA/SMA filter
Customizable HTF resolution
Bias modes: Long only / Short only / Both
This helps you align lower-timeframe reversals with broader market context.
3. Dynamic Order Blocks
Automated OB detection (Body, Wick, or Hybrid)
Smart mitigation logic (body-based or wick-based)
Configurable lookback and OB count
Optional ATR body-size filter for OB quality
Real-time mitigation removal
These tools help visualize areas of interest where price previously showed displacement.
4. Fair Value Gaps (FVG)
Automatic gap detection
Optional FVG extension until filled
Per-side max FVG limit
Useful for identifying imbalance zones and measuring how price revisits inefficiencies.
5. Support / Resistance
Pivot-based S/R with left/right bar settings
Auto-drawing with customizable line counts
Optional S/R visibility toggle
🎛 Presets Included
Several visual configurations are included for convenience:
Custom / Manual (default)
Intraday ORB 5–15m (optimized for fast futures charts)
Clean SMC (Trend + OB)
FVG + OB Combo
Presets adjust inputs automatically to give new users cleaner starting points.
🧠 How To Use
This script is meant to be paired with any strategy or workflow that benefits from:
visual structure analysis,
HTF/LTF alignment,
OB + FVG context, or
intraday trend identification.
It does not replace risk management, strategy rules, or trade planning.
⚠️ Important Notes / Disclaimer
This indicator does not generate trading signals.
No part of this script guarantees profitable outcomes.
It is for educational and informational purposes only.
Always perform your own analysis and use proper risk management.
Past market behavior does not guarantee future results.
Support Line [by rukich]🟠 OVERVIEW
The indicator displays a floating line that acts as a support level. It's important to remember that any support level can be broken.
🟠 COMPONENTS
The indicator is based on the percentage difference between the closes of the n-th bar back and the current bar. The resulting percentage is smoothed to remove noise.
The indicator is displayed as a green-red line (the colors don’t carry meaning — they are used just for visual variety). When the price touches the support level, the bar background turns green.
For convenience, there is a label on the right side of the indicator showing the current value of the line.
🟠 HOW TO USE
The indicator includes several settings that can be adjusted, though optimal defaults are provided.
Settings:
Timeframe — specifies which timeframe’s data is used to calculate the line.
Candles back — specifies how many bars back from the current one are used.
The indicator should be used according to general support-zone logic. Since no support zone guarantees a price bounce, the optimal approach is to confirm the reaction after the price touches the line.
Example of use:
In the current example, the Timeframe in the indicator settings is set to 1 hour, and the currently open chart is 5 minutes. This means that on the 5-minute chart we see a 1-hour line. After the price touches the support line, you need to see a confirmation of the reaction to understand whether the support zone is holding the price.
In the examples, reaction confirmation is shown through: the formation of an M5 shift and the invalidation of an FVG M5- (the latter is more risky than the M5 shift):
🟠 CONCLUSION
The indicator shows a floating support zone, and when tested, you should confirm the reaction on a lower timeframe.
Best Entry Swing MASTER v3 PUBLIC (S.S)Strategy Description (English)
Best Entry Swing MASTER v3 – Quality Mode
The Best Entry Swing MASTER v3 is a structured swing trading and trend-following strategy designed to identify high-probability long and short entries during directional markets.
It combines three core setup types commonly used by momentum and breakout traders:
Breakout (BO)
Pullback Reversal (PB)
Volatility Contraction Pattern (VCP)
The strategy applies multiple layers of confirmation, including multi-EMA trend structure, volatility contraction, volume filters, and an optional market regime filter.
It is suitable for swing trading on higher timeframes (4H, Daily), as well as medium-term trend continuation setups.
Core Concepts
1. Trend Structure
A trend is considered valid when:
Uptrend: Price > EMA20 > EMA50 > EMA100
Downtrend: Price < EMA20 < EMA50 < EMA100
In addition, a simple but effective trend-strength metric is calculated using the percentage spread between EMA20 and EMA100.
This helps avoid signals during sideways or low-volatility environments.
2. Market Regime Filter
The market environment is determined using a higher timeframe benchmark (default: SPY on Daily).
Only long trades are allowed in bullish market conditions
Only short trades in bearish conditions
This significantly reduces false signals in counter-trend conditions.
Entry Logic
Breakout (BO)
A long breakout triggers when:
Price closes above the highest high of the lookback period
Volume exceeds its 20-period average
Trend and market regime confirm
(Optional A+ mode): true volatility contraction is required
Similar logic applies for short breakdowns.
Pullback (PB)
A pullback entry triggers after:
At least two corrective candles
A strong reversal candle (close above previous high for long)
Volume confirmation
Price interacts with EMA20
This structure models classical trend-reentry conditions.
Volatility Contraction Pattern (VCP)
A VCP entry triggers when:
True range contracts over multiple bars
Price holds near the breakout zone
Volume contracts
Trend and market regime are aligned
This setup aims to capture explosive continuation moves.
Quality Modes
The strategy offers two modes:
Balanced Mode
Moderate signal frequency
Broader trend-strength allowance
Suitable for more active traders
A+ Only Mode
Strict confirmation requirements
Only high-quality setups with multiple confluences
Designed to avoid low-probability trades entirely
Risk Management
Risk is managed using an ATR-based stop and target:
Long SL = Close − ATR × 1.5
Long TP = Close + ATR × 3
(Equivalent logic for short positions)
This provides a balanced reward-to-risk profile and avoids overly tight stops.
Early Entry Signals (Optional)
The script offers optional “Early Entry” markers that highlight when a setup is forming but not yet confirmed.
These are not entry signals and are disabled by default for public use.
Intended Use
This strategy is designed for:
Swing trading
Momentum continuation
Trend-following
Multi-day to multi-week trades
It performs best on:
4H
Daily
High-liquidity equities, indices, and futures
Disclaimer
This script is intended for educational and research purposes.
Past performance does not guarantee future results.
Always backtest thoroughly and use appropriate risk management.
BT Aggressionv0.3.1 Beta Release
The BT Aggression Indicator is a high-resolution market sentiment and aggression tool for futures trading. It combines volume delta, volatility normalization, and dynamic smoothing to give traders real-time insight into market pressure.
Detailed description in future release.
Titan EMA Liquidity [Stansbooth]
🔥 Precision EMA + FVG Liquidity Sweep System
Advanced Buy/Sell Signal Engine for High-Probability Trade Entries
Unlock a new level of precision with this all-in-one market structure indicator built for traders who demand accuracy, clarity, and confidence.
This tool combines EMA trend filtration , Fair Value Gap (FVG) detection , and liquidity sweep analysis to deliver powerful buy and sell signals that align with institutional price behavior.
✅ Key Features
Dynamic EMA Trend Filter:
Identifies true trend direction and filters out low-quality trades. Signals only trigger when momentum aligns with higher-timeframe directional bias.
Smart FVG Detection:
Automatically highlights bullish and bearish Fair Value Gaps, helping you spot premium/discount zones where institutional traders seek entries.
Liquidity Sweep Identification:
Detects equal highs/lows, stop hunts, and engineered liquidity grabs—then confirms reversals when price sweeps liquidity and returns inside structure.
High-Accuracy Signal Engine:
Buy/Sell alerts trigger only when three layers agree:
1. EMA trend alignment
2. FVG confirmation
3. Liquidity sweep completion
This results in cleaner signals , fewer false entries, and strong trend continuation setups.
Optimized for All Market Conditions:
Works for scalping, day trading, and swing trading across Forex, Crypto, Indices, and Stocks.
What This Indicator Helps You Achieve
Capture smart-money style entries with reduced drawdown
Enter after liquidity grabs instead of before them
Avoid chop with EMA-filtered market direction
Spot precision premium/discount zones using automatic FVG mapping
Obtain high-confidence Buy/Sell signals based on institutional concept
Why Traders Love It
This system isn’t just another signal generator—it’s a market-structure aware model that reads the chart the same way professional traders do.
Every signal is based on probability stacking , giving you the clarity and confidence to take the best setups while ignoring noise.
Engulfing Detector by RWBTradeLabEngulfing Detector by RWBTradeLab
A clean, non-repainting engulfing pattern detector designed for traders who rely on price action and candle confirmation.
What this indicator does
This script automatically identifies and highlights two types of engulfing patterns on closed candles only:
1. Regular Engulfing (R EG)
* Regular Buy EG: A bullish candle fully engulfs the previous bearish candle’s high.
* Regular Sell EG: A bearish candle fully engulfs the previous bullish candle’s low.
2. E-Regular Engulfing (ER EG)
* Detects “extended” engulfing setups where a strong base candle is followed by 2 or more opposite-color candles and then a confirming engulf close.
* Useful for spotting delayed but powerful reversals.
Visuals on chart
* A rectangle (box) is drawn from the base candle to the confirmation candle.
* Optional text labels appear above/below the box (offset adjustable).
* Separate color controls for:
- Regular Buy / Regular Sell
- E-Regular Buy / E-Regular Sell
Alerts
Built-in alerts trigger only at candle close:
* R Buy EG
* R Sell EG
* ER Buy EG
* ER Sell EG
Each alert includes price and time in the message.
Key settings
* Candle Length: Scans last N closed candles (running candle excluded).
* On/Off toggles: Enable/disable each engulfing type and labels individually.
* Text Offset (%): Controls label distance from the box.
Non-repainting confirmation
All signals and alerts are calculated using confirmed bars only.
No running-bar signals → no repainting.
Best use
Works on any market and timeframe. For higher reliability, combine with:
* Key S/R zones
* Trend direction
* Volume or structure confirmation
Disclaimer:
This indicator is a pattern-detection tool, not financial advice. Trading involves risk; always use proper risk management and confirm signals with your own analysis.
Creator: RWBTradeLab
If you find this useful, please leave a like ⭐ and share your feedback.
Daily RDR (Prev Day H/L, Intraday)This indicator identifies intraday Range-Deviation Reversal (RDR) signals using the previous day’s high and low. At each new session, it stores yesterday’s levels and resets today’s range tracking. During the day, it detects when price first breaks above the prior high or below the prior low, then waits for a reversal: a bearish RDR triggers when price exceeds yesterday’s high and then closes back below it, while a bullish RDR triggers when price undercuts yesterday’s low and then closes back above it. The script plots the previous day’s levels and marks RDR reversals with small up/down triangles.
RSI HunterConcept and Methodology This indicator is an advanced technical tool that "reverse engineers" J. Welles Wilder’s standard Relative Strength Index (RSI).
While a standard RSI takes price data and outputs an oscillator value (0-100), this script performs the inverse operation. It calculates exactly what Price the current candle must reach to generate a specific RSI value (e.g., RSI 74 or RSI 26). By projecting these price levels onto the chart, traders can visualize Overbought and Oversold zones in real-time, turning the RSI from a lagging confirmation tool into a leading price-target system.
Key Features
1. Multi-Timeframe (MTF) Projection The indicator allows you to map RSI levels from a higher timeframe onto your current chart. For example, you can view the 3-Hour RSI "Overbought" price levels while trading on a 5-minute chart. This creates distinct "stepped" support and resistance lines that remain valid for the duration of the higher timeframe's candle.
2. Dual Zone Logic The script projects two distinct bands of resistance and support:
Inner Zone (Early Warning): Defaults to RSI 69 / 31. This represents the initial threshold of over-extension.
Outer Zone (Extreme): Defaults to RSI 74 / 26. This represents statistical extremes where mean reversion probabilities are higher.
Zone Shading: The area between the Inner and Outer lines is shaded (Red for Resistance, Green for Support) to visually identify the "Reversal Zone."
3. Smart Wick & Rejection Filter (New) This version introduces a robust filtration system designed to reduce false signals during strong trending moves (often referred to as "falling knives").
How it works: The signal logic is Intra-bar Aware. It continuously asks two questions:
Did the price touch the zone? (Did the High/Low breach the Inner line?)
Did the price reject? (Did the candle Close back inside the neutral channel?)
The Result: Signals are generated only when the price tests the level but closes safely back inside the range. This captures both long-tail wick rejections (single bar) and trend reversals, while suppressing signals when the candle closes deep inside the Overbought/Oversold zones.
How to Interpret
Stepped Lines: These are the dynamic resistance (Red) and support (Green) levels based on the selected Timeframe's RSI.
Large Arrows (Deep Red / Lime Green): Triggered when price touches the Outer (Extreme) band and rejects/closes back below the Inner band.
Small Arrows (Standard Red / Green): Triggered when price touches the Inner (Early) band and rejects/closes back, but did not reach the Outer extreme.
Settings & Defaults
RSI Length: 23
Timeframe: 3 Hours (180 minutes)
Targets: 74/26 (Outer) and 69/31 (Inner)
Filter: "Wait for Confirmed Exit" is ON by default.
Disclaimer This tool is for informational and educational purposes only. RSI projections are mathematical calculations based on historical price averages and do not guarantee future market movements. Always use proper risk management.
Uptrick: Dynamic Z-Score DivergenceIntroduction
Uptrick: Dynamic Z-Score Divergence is an oscillator that combines multiple momentum sources within a Z-Score framework, allowing for the detection of statistically significant mean-reversion setups, directional shifts, and divergence signals. It integrates a multi-source normalized oscillator, a slope-based signal engine, structured divergence logic, a slope-adaptive EMA with dynamic bands, and a modular bar coloring system. This script is designed to help traders identify statistically stretched conditions, evolving trend dynamics, and classical divergence behavior using a unified statistical approach.
Overview
At its core, this script calculates the Z-Score of three momentum sources—RSI, Stochastic RSI, and MACD—using a user-defined lookback period. These are averaged and smoothed to form the main oscillator line. This normalized oscillator reflects how far short-term momentum deviates from its mean, highlighting statistically extreme areas.
Signals are triggered when the oscillator reverses slope within defined inner zones, indicating a shift in direction while the signal remains in a statistically stretched state. These mean-reversion flips (referred to as TP signals) help identify turning points when price momentum begins to revert from extended zones.
In addition, the script includes a divergence detection engine that compares oscillator pivot points with price pivot points. It confirms regular bullish and bearish divergence by validating spacing between pivots and visualizes both the oscillator-side and chart-side divergences clearly.
A dynamic trend overlay system is included using a Slope Adaptive EMA (SA-EMA). This trend line becomes more responsive when Z-Score deviation increases, allowing the trend line to adapt to market conditions. It is paired with ATR-based bands that are slope-sensitive and selectively visible—offering context for dynamic support and resistance.
The script includes configurable bar coloring logic, allowing users to color candles based on oscillator slope, last confirmed divergence, or the most recent signal of any type. A full alert system is also built-in for key signals.
Originality
The script is based on the well-known concept of Z-Score valuation, which is a standard statistical method for identifying how far a signal deviates from its mean. This foundation—normalizing momentum values such as RSI or MACD to measure relative strength or weakness—is not unique to this script and is widely used in quantitative analysis.
What makes this implementation original is how it expands the Z-Score foundation into a fully featured, signal-producing system. First, it introduces a multi-source composite oscillator by combining three momentum inputs—RSI, Stochastic RSI, and MACD—into a unified Z-Score stream. Second, it builds on that stream with a directional slope logic that identifies turning points inside statistical zones.
The most distinctive additions are the layered features placed on top of this normalized oscillator:
A structured divergence detection engine that compares oscillator pivots with price pivots to validate regular bullish and bearish divergence using precise spacing and timing filters.
A fully integrated slope-adaptive EMA overlay, where the smoothing dynamically adjusts based on real-time Z-Score movement of RSI, allowing the trend line to become more reactive during high-momentum environments and slower during consolidation.
ATR-based dynamic bands that adapt to slope direction and offer real-time visual zones for support and resistance within trend structures.
These features are not typically found in standard Z-Score indicators and collectively provide a unique approach that bridges statistical normalization, structure detection, and adaptive trend modeling within one script.
Features
Z-Score-based oscillator combining RSI, StochRSI, and MACD
Configurable smoothing for stable composite signal output
Buy/Sell TP signals based on slope flips in defined zones
Background highlighting for extreme outer bands
Inner and outer zones with fill logic for statistical context
Pivot-based divergence detection (regular bullish/bearish)
Divergence markers on oscillator and price chart
Slope-Adaptive EMA (SA-EMA) with real-time adaptivity based on RSI Z-Score
ATR-based upper and lower bands around the SA-EMA, visibility tied to slope direction
Configurable bar coloring (oscillator slope, divergence, or most recent signal)
Alerts for TP signals and confirmed divergences
Optional fixed Y-axis scaling for consistent oscillator view
The full setup mode can be seen below:
Input Parameters
General Settings
Full Setup: Enables rendering of the full visual system (lines, bands, signals)
Z-Score Lookback: Lookback period for normalization (mean and standard deviation)
Main Line Smoothing: EMA length applied to the averaged Z-Score
Slope Detection Index: Used to calculate directional flips for signal logic
Enable Background Highlighting: Enables visual region coloring in
overbought/oversold areas
Force Visible Y-Axis Scale: Forces max/min bounds for a consistent oscillator range
Divergence Settings
Enable Divergence Detection: Toggles divergence logic
Pivot Lookback Left / Right: Defines the structure of oscillator pivot points
Minimum / Maximum Bars Between Pivots: Controls the allowed spacing range for divergence validation
Bar Coloring Settings
Bar Coloring Mode:
➜ Line Color: Colors bars based on oscillator slope
➜ Latest Confirmed Signal: Colors bars based on the most recent confirmed divergence
➜ Any Latest Signal: Colors based on the most recent signal (TP or divergence)
SA-EMA Settings
RSI Length: RSI period used to determine adaptivity
Z-Score Length: Lookback for normalizing RSI in adaptive logic
Base EMA Length: Base length for smoothing before adaptivity
Adaptivity Intensity: Scales the smoothing responsiveness based on RSI deviation
Slope Index: Determines slope direction for coloring and band logic
Band ATR Length / Band Multiplier: Controls the width and responsiveness of the trend-following bands
Alerts
The script includes the following alert conditions:
Buy Signal (TP reversal detected in oversold zone)
Sell Signal (TP reversal detected in overbought zone)
Confirmed Bullish Divergence (oscillator HL, price LL)
Confirmed Bearish Divergence (oscillator LH, price HH)
These alerts allow integration into automation systems or signal monitoring setups.
Summary
Uptrick: Dynamic Z-Score Divergence is a statistically grounded trading indicator that merges normalized multi-momentum analysis with real-time slope logic, divergence detection, and adaptive trend overlays. It helps traders identify mean-reversion conditions, divergence structures, and evolving trend zones using a modular system of statistical and structural tools. Its alert system, layered visuals, and flexible input design make it suitable for discretionary traders seeking to combine quantitative momentum logic with structural pattern recognition.
Disclaimer
This script is for educational and informational purposes only. No indicator can guarantee future performance, and trading involves risk. Always use risk management and test strategies in a simulated environment before deploying with live capital.
Wick Reversal - GaviDetect clean single-bar reversal candles (hammer / shooting star variants) with objective rules.
This script flags bars where a dominant wick overwhelms the body and the close finishes near the relevant extreme of the candle—an evidence-based way to find potential turns or continuation traps.
What it detects
A bar is labeled a Wick Reversal when any of these structures occur:
Bullish candidates (WR↑):
Long lower wick ≥ Wick_Multiplier × Body, and
Close finishes in the top X% of the bar’s range.
Doji and flat-top variants are also handled (size-filtered).
Bearish candidates (WR↓):
Long upper wick ≥ Wick_Multiplier × Body, and
Close finishes in the bottom X% of the bar’s range.
Doji and flat-bottom variants are also handled (size-filtered).
Close-percent is measured from the high (bullish) or from the low (bearish), matching the commonly used definition.
INMERELO EMA Reclaim HighlighterOverview
The INMERELO EMA Reclaim indicator highlights intraday candles reclaiming a configurable EMA on any timeframe. It identifies candles based on customizable candle geometry filters and confirms momentum using a custom MACD setup.
Features
Configurable Intraday EMA
Any EMA length and timeframe. Default: 6-period EMA on chart timeframe.
Highlights when price reclaims the EMA after a configurable number of prior closes below it.
Candle Geometry Filters (ORB-Style)
Open Position: Maximum position of open relative to candle range (0–1). Default: 0.40
Close Position: Minimum position of close relative to candle range (0–1). Default: 0.70
Body Fraction: Minimum body size relative to candle range. Default: 0.50
Custom MACD Filter
Fast line above slow line.
Configurable: Fast (default 6), Slow (default 20), Signal (default 9).
Prior Closes Below EMA Filter
Configurable minimum number of prior closes below EMA. Default: 2
Visual Options
Paint candle with configurable color.
Optional arrow display above reclaim candle (toggleable).
Flexible
Works on any intraday timeframe, including 5-minute, 2-minute, 15-minute, etc.
Settings Overview
Setting Default Notes
EMA Length 6 EMA used for reclaim detection
EMA Timeframe Chart TF Can be set to any intraday timeframe
Open ≤ 0.40 ORB-style filter
Close ≥ 0.70 ORB-style filter
Body Fraction 0.50 ORB-style filter
Min Prior Closes Below EMA 2 Minimum closes below EMA before reclaim
MACD Fast 6 Custom MACD fast line
MACD Slow 20 Custom MACD slow line
MACD Signal 9 Custom MACD signal line
Paint Candle True Highlights valid candles
Candle Color Lime Configurable
Show Arrow False Optional visual
Summary:
The INMERELO EMA Reclaim indicator identifies intraday candles reclaiming a configurable EMA, filtered by customizable candle geometry and MACD momentum. Visual options include painted candles and optional arrows, and all settings are fully configurable.
Key Zones & Levels - IntradayThis indicator provides key zones and levels for the day.
The levels are constant for the day and no re-painting.
The levels are plotted at 9:15pm IST for Indian stock market trading.
Use these levels with RSI for a perfect reversal setup with small stop loss.
Work perfectly for all types of market - Indices, stocks, commodity, futures.
Join my channel to support me - whatsapp.com
DeMARK 9-13For the first time ever, the power and precision of DeMARK is now available on TradingView. Combining core elements of the renowned Sequential® and Combo® studies, the DeMARK 9-13® indicator delivers the same unique insights in a streamlined interface.
The Sequential and Combo family of indicators have been trusted by the top financial firms, funds and figures for decades to enhance their trading and investment strategies. Known for their 9 Setup® and 13 Countdown® readings, these studies are designed to highlight potential market reversals as well as key areas of support, resistance and momentum. With DeMARK 9-13, users can access these groundbreaking techniques in one integrated offering.
While it's often said, "the trend is your friend," it's also crucial to recognize when it's about to end. Identifying potential market inflection points allows you to buy weakness and sell strength, improving your cost basis, reducing risk and allowing you to capitalize on a greater portion of the reversal.
At its core, 9s and 13s are constructed to measure market momentum and exhaustion. Both Sequential and Combo consist of two phases: Setup and Countdown. The Setup phase compares price activity across nine consecutive bars to define the market environment, while the Countdown phase performs a separate 13-bar comparison to indicate when a reversal may be imminent. A 9-13 reading reflects the fulfillment of both phases. When combined with TDST® lines and Risk Levels®, this approach provides a more comprehensive view of the market.
The DeMARK 9-13 indicator consists of:
Sequential
Combo
9 Setup
13 Countdown
TD Setup Trend (TDST)
Perfected® Setup
Risk Levels & Zones
Together, these elements provide an unparalleled view into the inner workings of the market, helping you anticipate shifts and act with greater precision.
🟡 DESCRIPTION
SETUP
The initial stage of the DeMARK 9-13 indicator is the Setup phase. This series is the same for both Sequential and Combo and compares the close of the current bar to the close four bars earlier. Buy Setup counts are displayed in blue below the data set and fulfilled when there are nine consecutive closes less than the close four bars earlier. Sell Setup counts are displayed in blue above the data set and fulfilled when there are nine consecutive closes greater than the close four bars earlier.
During the active Setup, all number counts remain visible to show the progress of the series. Upon completing the Setup, the 9 is recorded and the 1-8 counts are removed. This reduces visual distraction and allows for more result history (due to TradingView’s 500-label limit). Setups are always counting, with Price Flips® occurring as the series alternates between Buy and Sell Setups.
PERFECTED SETUPS
Setups can be classified as either “Perfected” or “Imperfected.” The Setup is Perfected when the 9 is completed and the 6 and 7 bars have been exceeded. In the case of a Buy Setup, the low of bars 8 or 9 must be less than the low of bars 6 and 7. Conversely, in the case of a Sell Setup, the high of bars 8 or 9 must be greater than the high of bars 6 and 7. The point at which the Setup is perfected is displayed with a solid blue dot, matching the color of the Setup series.
Generally speaking, the market will reverse or stabilize within one to four bars of a completed and Perfected Setup 9. The strength and duration of this response can be assessed with the implementation of other indicators, such as TDST® lines.
TD SETUP TREND (TDST)
The TDST indicator is derived from the Setup phase and is used to confirm market trends and identify likely trend failures. A TDST resistance line is drawn from the highest true high of the completed 9 Buy Setup series, while a TDST support line is drawn from the lowest true low of the completed 9 Sell Setup series. These TDST lines provide an indication of market support, resistance and momentum to help evaluate the integrity of the move.
TDST lines are displayed in a lighter blue than the Setup phase. When Breakout Qualifiers are enabled, TDST lines can be considered qualified or disqualified. Disqualified TDSTs appear as a dashed line, indicating potential support in the case of TDST support lines or resistance in the case of TDST resistance lines. Qualified TDSTs appear as a solid line and will stop drawing when a breakout or breakdown occurs, suggesting continued momentum.
COUNTDOWN
Once the Setup phase is completed, the second stage of the DeMARK 9-13 indicator can begin — the Countdown phase. Sequential and Combo share the same Setup series, but there are subtle differences in their respective Countdown phases, each constructed to identify areas of potential trend exhaustion in different market conditions.
Sequential is designed to respond in both trending and consolidating markets, while Combo is more responsive in trending environments and inactive during periods of market consolidation. For that reason, we often say that Combo identifies the highest or lowest points of a move, with Sequential identifying secondary tests. When aligned, these results are even more powerful.
SEQUENTIAL COUNTDOWN
A Sequential Buy Countdown is possible upon completion of a Buy Setup and looks for 13 closes less than or equal to the low two bars earlier. Sequential Buy Countdown counts are displayed as a dark green number below the data set and can begin as early as the 9 bar of a completed Buy Setup. A Sequential Sell Countdown is possible upon completion of a Sell Setup and looks for 13 closes greater than or equal to the high two bars earlier. Sequential Sell Countdown counts are displayed as a dark red number above the data set and can begin as early as the 9 bar of a Sell Setup. Because of this overlap, Sequential Countdown requires as few as 12 bars beyond the 9 Setup to complete the cycle.
Unlike the Setup phase, Countdown counts need not be consecutive. During the active Countdown, all number counts remain visible to display the progress of the series. Upon completing the Countdown, the 13 is confirmed and the 1-12 counts are removed. This reduces visual distraction and allows for more result history (due to TradingView’s 500-label limit).
A completed Sequential 13 Countdown marks the fulfillment of the 9-13 reading and identifies potential market exhaustion. Additional elements of Sequential Countdown like Intersection, Countdown Deferral, Risk Levels and the 12-bar rule can be used to provide further detail and are outlined below.
COMBO COUNTDOWN
A Combo Buy Countdown is possible upon completion of a Buy Setup and looks for 13 closes less than or equal to the low two bars earlier, with additional rules based on the Combo version selected. Combo Buy Countdown counts are displayed as a light green number below the data set and can begin as early as the 1 bar of a completed Buy Setup. A Combo Sell Countdown is possible upon completion of a Sell Setup and looks for 13 closes greater than or equal to the high two bars earlier, with additional rules based on the Combo version selected. Combo Sell Countdown counts are displayed as a magenta number above the data set and can begin as early as the 1 bar of a Sell Setup. Because of this overlap, Combo Countdown requires as few as four bars beyond the 9 Setup to complete the cycle.
Unlike the Setup phase, Countdown counts need not be consecutive. During the active Countdown, all number counts remain visible to display the progress of the series. Upon completing the Countdown, the 13 is confirmed and the 1-12 counts are removed. This reduces visual distraction and allows for more result history (due to TradingView’s 500-label limit).A completed Combo 13 Countdown marks the fulfillment of the 9-13 reading and identifies potential market exhaustion. Additional elements of Combo Countdown like Risk Levels and the 12-bar rule can be used to provide further detail and are outlined below.
RISK LEVELS
When a 9 Setup or 13 Countdown indication is recorded, a Risk Level is generated to identify the zone within which a reversal should occur. This level accounts for any residual trend momentum without invalidating the buy or sell indication. For a completed buy indication, the Risk Level marks the price above which the 9 or 13 remains active and serves as additional support. Conversely, for a completed sell indication, it marks the price below which the 9 or 13 remains active and serves as additional resistance. This level can be viewed as the maximum threshold the indication can withstand before the prevailing momentum overwhelms and negates it and is often used to establish stop-loss areas.
Risk Level line colors correspond to the completed Setup, Sequential Countdown or Combo Countdown that generated it. Shaded risk zones can also be displayed, further highlighting the indication window. When Breakout Qualifiers are enabled, the Risk Level can be considered qualified or disqualified. Disqualified Risk Levels appear as a dashed line, indicating likely support in the case of a buy indication and likely resistance in the case of a sell indication. Qualified Risk Levels appear as a solid line and will stop drawing when a breakout or breakdown occurs, suggesting continued momentum.
4-BAR & 12-BAR METRICS
Generally speaking, the market should see some sort of response within four bars of a completed 9 Setup indication and 12 bars of a completed 13 Countdown indication. If the chart has not responded in that time the existing trend is likely to continue.
INTERSECTION
Intersection is an elective setting unique to Sequential Countdown. When enabled, it postpones the start of the Countdown phase until the price range of the later Setup counts overlap with the price activity of any Setup count occurring three or more bars earlier. This is intended as a pressure release to avoid commencing the count during an extraordinary breakaway market event or aberration. The Intersection level’s color matches its corresponding Buy and Sell Countdown reading and is displayed as a horizontal line on the confirming bar.
COUNTDOWN DEFERRAL
The Sequential Countdown phase of the DeMARK 9-13 indicator includes two optional Countdown Deferral qualifiers — the 13 vs. 8 rule and the 8 vs. 5 rule.
The 13 vs. 8 Countdown Deferral rule is designed to ensure that the tail end of the Countdown is representative of the existing trend. To fulfill this restriction, the low of the 13 bar must be less than or equal to the close of the 8 bar in the case of a Sequential Buy Countdown, while the high of the 13 bar must be greater than or equal to the close of the 8 bar in the case of a Sequential Sell Countdown. Because Countdown counts can increment in a sideways market, this rule helps to confirm that a trend has remained intact and improves accuracy as the series reaches its completion.
When enabled, this Countdown Deferral condition substitutes a “+” for what would otherwise be a “13,” thereby postponing the count. A Sequential Buy Countdown deferral is displayed in dark green below the data set, while a Sequential Sell Countdown deferral is displayed in dark red above the data set. Note that this optional setting is enabled by default and labeled “Last vs. 8 Qualifier” in the DeMARK 9-13 indicator settings.
Whereas the 13 vs. 8 rule is designed to ensure that the tail end of the Sequential series is representative of the existing trend, the 8 vs. 5 Countdown Deferral rule is designed to ensure that the body of the Countdown phase is properly configured. As with the 13 vs. 8 rule, the 8 vs. 5 rule matches the color and placement of its corresponding Buy or Sell Countdown series and substitutes a "+" for what would otherwise be an "8," thereby postponing the count. The 13 vs. 8 comparison is critical to the Countdown phase, while the 8 vs. 5 comparison is elective and provides additional confidence that the trend has remained intact.
COUNTDOWN RECYCLE®
Markets are constantly evolving to reflect new information. Just as fundamentals experience occasional adjustments impacting the expectations of the asset, so too do technical analysis and market timing. This is most often reflected in the Sequential and Combo Countdown phase by a process known as Recycling.
Recycling occurs when a Countdown 13 is interrupted by a subsequent overlapping “22” Setup count in the same direction. Recycling suggests that the new Setup is sufficiently strong to weaken the impact of a confirmed Countdown series and resets the process. A recycling indication is represented as an “R” where the Countdown 13 was previously displayed, matching the color and placement of that Buy or Sell Countdown series.
COUNTDOWN CANCELLATION
Once completed, a 9 Setup and 13 Countdown confirmation is permanent and never altered. However, it’s important to note that Countdowns can be cancelled during their construction phase. There are two scenarios where a Countdown series would be removed from the chart.
The first Countdown cancellation scenario occurs when a subsequent 9 Setup is confirmed in the opposite direction prior to the completion of the Countdown phase. The reasoning is that market conditions have changed from what they were when the initial Setup was fulfilled, making the newer Setup more relevant. Upon confirming an opposing 9 Setup, the incomplete Countdown phase is canceled and removed from the chart.
The second Countdown cancellation scenario takes place when the TDST in the opposite direction is violated, suggesting a conclusion to the previous trend and a confirmation of a new one. In these cases, a true low that occurs above the Buy Setup’s TDST resistance line, or a true high that occurs below the Sell Setup’s TDST support line, cancels the incomplete Countdown phase and removes the counts from the chart.
🟡 SETTINGS
DISPLAY
Setup : Displays the Setup phase of the Sequential and Combo indicators. The first swatch controls the color of the Buy Setup phase displayed below the data set. The second swatch controls the color of the Sell Setup phase displayed above the data set.
TDST : Displays the TDST lines for the Sequential and Combo indicators. The first swatch controls the color of the TDST resistance lines associated with the Buy Setup phase. The second swatch controls the color of the TDST support lines associated with the Sell Setup phase.
Sequential Countdown : Displays the Countdown phase of the Sequential indicator. The first swatch controls the color of the Buy Countdown phase displayed below the data set. The second swatch controls the color of the Sell Countdown phase displayed above the data set.
Combo Countdown : Displays the Countdown phase of the Combo indicator. The first swatch controls the color of the Buy Countdown phase displayed below the data set. The second swatch controls the color of the Sell Countdown phase displayed above the data set.
Indicator font size : Adjusts the size of the Sequential and Combo indicator counts displayed above and below the data set. ( Default: 18 )
Display full series count : Displays the full Sequential and Combo numerical series for the active 9 Setup and 13 Countdown phases only, or for all completed indications (within TradingView’s 500-label limit). ( Default: Active only )
SETUP
Bars to Setup : Number of consecutive bars needed to complete the Setup phase. ( Default: 9 )
Bars to look back : Defines the bar to which the current Setup count is compared. ( Default: 4 )
Setup compare : Determines whether equal prices should increment the Setup count. ( Default: Without equal )
Count completion weight : Adjusts the font weight of the Setup completion counts displayed above and below the data set. ( Default: Bold )
Setup Perfection : Identifies when Setup Perfection occurs, with the low of the final two Buy Setup counts less than the lows three or four bars prior to completion, and the high of the final two Sell Setup counts greater than the highs three or four bars prior to completion. With the default “Bars to Setup” setting of “9,” Perfection occurs when the low of Buy Setup bar 8 or 9 is less than the lows of bars 6 and 7, and the high of Sell Setup bar 8 or 9 is greater than the highs of bars 6 and 7. ( Default: Enabled )
Enable Setup Risk Level : Displays the Risk Level tied to the Setup. ( Default: On )
Enable Setup Risk Level Zone : Shades the area between the completed Setup and its Risk Level. ( Default: On )
TD SETUP TREND (TDST)
TDST line thickness : Adjusts the thickness of TDST support and resistance lines. ( Default: Standard )
COUNTDOWN (SHARED)
Bars to Countdown : Number of bars needed to complete the Countdown phase. ( Default: 13 )
Bars to look back : Defines the bar to which the current Countdown count is compared. ( Default: 2 )
Countdown comparison value : Output used in the Countdown look back comparison. For Aggressive settings, Low/High is required. ( Default: Close )
Termination Count price value : Allows the final count of the Countdown phase to use a different comparison value for more flexibility. ( Default: Open or Close )
Countdown compare : Determines whether equal prices should increment the Countdown count. ( Default: With equal )
Count completion weight : Adjusts the font weight of the Countdown completion counts displayed above and below the data set. ( Default: Bold )
SEQUENTIAL COUNTDOWN
Enable Intersection : Toggles the Sequential Intersection phase requirement. ( Default: Off )
8 vs. 5 Qualifier : Qualifier requiring the low of the 8 Buy Countdown to be less than the close of the 5 count, and the high of the 8 Sell Countdown to be greater than the close of the 5 count. ( Default: Off )
Last vs. 8 Qualifier : Qualifier requiring the low of the final Buy Countdown count to be less than the close of the 8 count, and the high of the final Sell Countdown to be greater than the close of the 8 count. With the default “Bars to Countdown” setting of “13,” the low of the 13 Buy Countdown would need to be less than the close of the 8 count, and the high of the 13 Sell Countdown would need to be greater than the close of the 8 count. ( Default: On )
Enable Risk Level : Displays the Risk Level tied to the Countdown. ( Default: On )
Enable Risk Level Zone : Shades the area between the completed Countdown and its Risk Level. ( Default: On )
COMBO COUNTDOWN
Combo version : Determines the version of Combo used for the Countdown phase, whether it’s Standard, Conservative or Aggressive. ( Default: Standard )
Enable Risk Level : Displays the Risk Level tied to the Countdown. ( Default: On )
Enable Risk Level Zone : Shades the area between the completed Countdown and its Risk Level. ( Default: On )
RECYCLE
Enable Recycle : Toggles Recycling, replacing the final Sequential and Combo Countdown count with an “R” when its rules are met. With the default “Bars to Countdown” setting of “13,” a recycled 13 count would be replaced with the ‘R’. ( Default: On )
Setup Count : Defines the number of consecutive Setup bars required to trigger a Recycle. ( Default: 22 )
CANCEL
Reverse Setup : Incomplete Countdowns are cancelled when a Setup in the opposite direction is confirmed. ( Default: On )
TDST Rule : Incomplete Buy Countdowns are cancelled when a true low exceeds the Buy Setup’s TDST resistance line, and incomplete Sell Countdowns are cancelled when a true high breaks the Sell Setup’s TDST support line. ( Default: On )
BREAKOUT QUALIFIERS
Enable Breakout Qualifiers : Breakout Qualifier rules will dictate whether TDST and Risk Level line breakouts can be considered qualified or disqualified. Qualified lines are solid and will stop drawing when a breakout or breakdown occurs, suggesting continued momentum. Disqualified lines are dashed, serving as resistance in the case of a false breakout and support in the case of a false breakdown. When Breakout Qualifier rules are disabled, a line becomes solid on any close beyond the level. ( Default: On )
🟡 DISCLAIMER
By subscribing to and or using DeMARK 9-13 or any other DeMARK Indicators on TradingView, you acknowledge that you have read, understood and agree to the DeMARK for TradingView Terms of Service (located in the DeMARK account signature) as well as any updates to those terms which may happen from time-to-time.
The DeMARK Indicators are powerful tools designed to assist the individual process you use to understand financial markets and make investment decisions but they are not trading systems. Any information presented is not, and should not be construed as, financial or investment advice. You should not make any investment decision based solely on the information provided by these tools. The products we offer do not recommend or endorse any specific securities, financial products or investment strategies. Any information, data or analysis presented by any DeMARK products or tools is generic and does not consider your personal financial situation, investment objectives or risk tolerance. All investment decisions are yours alone and are made at your own risk. Those risks include, but are not limited to, potential system errors, data inaccuracies or outages.
From time to time unauthorized and unaffiliated third parties use the DeMARK name or the names of our copyrighted and/or trademarked products in an unapproved, inaccurate and misleading manner. While we do our best to remove these examples, some fake, flawed and fraudulent may exist. The only official and accurate sources of our products are those listed on the DeMARK company website. Unauthorized reproduction, copying, scraping, republishing, distribution, dissemination or any other use of our name, trademarks and/or copyrighted materials (including this script documentation) is prohibited.
Without in any way limiting DeMARK’s exclusive rights under copyright, trademark and all other intellectual property protections, any use of DeMARK products to “train” generative artificial intelligence (AI) technologies to generate text is expressly prohibited. DeMARK reserves all rights to license uses of this work for generative AI training and development of machine learning language or machine learning visual models.
The data and analysis in our products are based on sources believed to be reliable, but DeMARK does not control or guarantee the accuracy, completeness or timeliness of this information.
As a DeMARK subscriber or user, you are responsible for conducting your own research and due diligence before making any investment decisions.
Past performance, including any simulated or historical data, is not indicative of future results.
Paid script
Screener (SSA) [AlgoAlpha]🟠 OVERVIEW
This script is a multi-symbol screener that serves as a dashboard companion to the "Smart Signals Assistant (SSA)" indicator. Its purpose is to monitor the entire suite of SSA components—from the core signals to all confluence tools—across a customizable watchlist of up to 18 assets. By displaying the real-time status of each indicator in a single table, it allows traders to get a bird's-eye view of the market, quickly identify assets with strong trend confluence, and filter for high-probability setups without needing to switch charts.
The screener is designed to mirror the modularity of the main SSA indicator, allowing you to enable or disable components in the table to match your preferred trading dashboard.
🟠 CONCEPTS
The screener is built directly on the analytical framework of the Smart Signals Assistant, applying its complex, proprietary algorithms to each symbol in your watchlist and summarizing the results. The combination of these different analytical concepts is what gives the screener its utility, as it helps traders find opportunities where multiple, distinct strategies align.
Each column in the table represents a core trading concept:
Smart Signals: This is the primary signal engine, designed to identify potential entry points. It operates in different modes to capture both long-term swings and faster scalping opportunities.
Fair Value Trail (FVT): This component provides a dynamic, volatility-adjusted baseline for the trend. It acts as a form of dynamic support or resistance, helping to confirm the validity of a trend shown by the Smart Signals.
Trend Spine: This tool is designed to identify the underlying "backbone" of the market's trend. It filters out short-term price noise to provide a more stable, clear indication of the dominant market direction.
Trend Bias: This measures the strength and conviction behind a trend. It helps distinguish between a strong, accelerating move and a weak, decelerating one, adding a layer of momentum analysis.
Firmament Clouds: These are volatility-based bands that create dynamic overbought and oversold zones. They help identify when price is potentially overextended and due for a pullback or consolidation.
Trend-Range Classifier (TRC): A machine-learning model that analyzes market characteristics to classify the current environment as either "Trending" or "Ranging." This is crucial for helping traders apply the right strategy for the current conditions.
🟠 FEATURES
This screener organizes the complex data from the SSA indicator into a simple, color-coded table. Here is a breakdown of each column and its possible values:
Asset: Displays the ticker symbol for the asset being analyzed.
Smart Signals: Shows the latest signal from the core engine.
▲: A standard bullish signal has been detected.
▼: A standard bearish signal has been detected.
▲+: A strong bullish signal with higher conviction has been detected.
▼+: A strong bearish signal with higher conviction has been detected.
Fair Value Trail: Indicates the trend direction based on the volatility trail.
▲: The FVT is in a bullish trend (acting as dynamic support).
▼: The FVT is in a bearish trend (acting as dynamic resistance).
Trend Spine: Shows the direction of the core underlying trend.
▲: The underlying trend backbone is bullish.
▼: The underlying trend backbone is bearish.
Trend Bias: Measures the current momentum strength.
Strong▲: Strong and accelerating bullish momentum.
Weak▲: Bullish momentum exists but is weakening.
Strong▼: Strong and accelerating bearish momentum.
Weak▼: Bearish momentum exists but is weakening.
Firmament Clouds: Identifies overbought/oversold conditions relative to volatility.
Very Overbought / Overbought: Price is significantly extended above its recent range.
Very Oversold / Oversold: Price is significantly extended below its recent range.
Neutral: Price is trading within its normal volatility range.
Trend-Range Classifier: Displays the market state as determined by the ML model.
Trend: The market is in a trending environment, suitable for trend-following strategies.
Range: The market is in a ranging or consolidating environment, suitable for mean-reversion strategies.
Exit Signal Count: Tracks the number of take-profit signals that have occurred since the last primary Smart Signal.
0, 1, 2, 3...: A numerical count of exit signals. A higher number suggests a trend may be maturing or exhausting.
🟠 USAGE
The main purpose of the screener is to quickly identify assets where multiple components of the SSA system are in alignment, indicating a high-confluence trading opportunity.
1. Setup and Configuration:
Add the screener to your chart.
Go into the settings and populate the "Watchlist" group with the symbols you wish to monitor.
Ensure the settings for the components (Time Horizon, Signal Mode, etc.) are synchronized with the settings on your main SSA indicator for consistency.
2. Interpreting the Columns for Trading Decisions:
Start with the Big Picture (TRC): First, look at the "Trend-Range Classifier" column. If it shows "Trend," you should be looking for trend-following setups. If it shows "Range," you might avoid taking strong trend signals.
Establish Directional Bias (Spine & Bias): For trend-following, look for assets where the "Trend Spine" and "Trend Bias" agree. A "▲" in the Spine column combined with a "Strong▲" in the Bias column indicates a healthy and robust uptrend.
Time Your Entry (Smart Signals): Once you have an asset with a clear bias, watch the "Smart Signals" column for a fresh signal that aligns with that bias. A "▲+" signal appearing in an asset with a strong bullish bias across other columns is a high-confluence entry point.
Add Context (FVT & Clouds): Use the "Fair Value Trail" and "Firmament Clouds" to refine your entry. A buy signal is generally stronger if the FVT is also bullish ("▲") and the price is not in a "Very Overbought" state according to the clouds.
Manage the Trade (Exit Count): After entering a trade, keep an eye on the "Exit Signal Count." As the number increases, it serves as a warning that the trend is becoming extended and it might be time to take partial profits or tighten your stop-loss.
Paid script
Reversals & Pullbacks PRO🚀 Reversals & Pullbacks Pro — Predict Market Turning Points with Precision
Stop chasing trends — start anticipating them.
The Reversals & Pullbacks Pro indicator identifies high-probability reversal and pullback zones before they happen, using advanced mean reversion logic and momentum change signals.
What it does:
✅ Detects major reversals and minor pullbacks in real time
✅ Uses dynamic mean reversion algorithms to spot over-extended price moves
✅ Highlights premium entry zones for counter-trend and trend-reversal setups
✅ Works across many markets — Designed for Forex and Indices but can be used on Crypto
✅ Clean visuals with smart alerts (no repainting after candle close)
💡 Perfect for:
Swing traders, scalpers, and day traders who want to catch price turning points before everyone else.
⏱️ Don’t react — predict.
Upgrade your trading with Reversals & Pullback Pro and trade market reversals like a PRO!
SibayakNa - v16.1 Entry Setup Indicator to confirm Entry Setup with simple MA Crossing, RSI, Volume, ATR, OBV, ADX at MTF.






















