Volume Biased CandlesVolume Biased Candles 
This indicator visualizes the underlying  volume polarity  of price action by coloring candles based on directional volume bias over a rolling bucket of bars.
Instead of reading price alone, each candle reflects whether buying or selling pressure has dominated within its recent volume structure — giving a more intuitive picture of volume sentiment beneath price movement.
🔹  How it works 
 Bucket Size (n)  → defines how many candles are aggregated to evaluate directional volume bias
For each bucket, total up-volume and down-volume are compared to determine overall market pressure
 Volume Bias Score  → a continuous ratio from -1 to +1, representing the relative dominance of buyers or sellers
Candles are colored according to the active bias — green for positive (buying), red for negative (selling)
🔹  Use cases 
Visualize shifts in market control without needing divergence overlays
Combine with delta divergence or price structure tools to validate entries and exits
Simplify volume and price insights into an intuitive, single-chart visualization
✨  Volume Biased Candles transforms standard candles into a live sentiment gauge, revealing whether the dominant flow behind price movement is bullish or bearish.
Trend
AlphaMACD - Adaptive MACD with Efficiency RatioOVERVIEW 
AlphaMACD is an adaptive implementation of the classic MACD indicator that dynamically adjusts its calculation periods based on market efficiency. Unlike traditional MACD which uses fixed periods (typically 12, 26, 9), this indicator adapts its fast and slow EMA periods in real-time based on how efficiently the market is trending.
 WHAT MAKES THIS ORIGINAL 
This is not a simple MACD with different settings or colors. The core innovation is the adaptive period calculation using Kaufman's Efficiency Ratio, which was originally developed for the Adaptive Moving Average (AMA). This indicator applies that adaptive logic to MACD itself.
 Key Differences from Standard MACD: 
- Periods dynamically adjust between user-defined ranges (default: 8-21 for fast, 21-55 for slow)
- Uses Kaufman's Efficiency Ratio to measure market trendiness
- Implements gap protection to prevent extreme spikes from market gaps
- Includes market regime detection to filter signals in choppy conditions
- Provides multi-timeframe trend confirmation
 HOW IT WORKS 
 1. Efficiency Ratio Calculation: 
The indicator calculates market efficiency by comparing the absolute price change over a period to the sum of absolute price changes within that period. High efficiency = strong trending market. Low efficiency = choppy/sideways market.
 2. Adaptive Period Adjustment: 
   - In trending markets (high efficiency): Periods move toward the minimum values for faster response
   - In choppy markets (low efficiency): Periods move toward the maximum values for slower, more stable signals
   - The "Sensitivity" parameter controls how aggressively periods adapt (0.5 to 5.0)
 3. Gap Protection: 
The custom adaptive EMA function detects abnormal price gaps (moves larger than 3x the typical ATR-based change) and limits their impact on the calculation. This prevents weekends or news gaps from causing extreme MACD spikes.
 4. Signal Quality Filtering: 
   - Market regime detection identifies trending vs sideways conditions
   - Momentum filter (RSI-based) prevents signals during overextended moves
   - Signal strength calculation helps identify high-confidence setups
   - Sideways market signals are marked with warning symbols
 5. Multi-Timeframe Analysis: 
The indicator compares current timeframe MACD with a higher timeframe (default 60 min) to provide context and filter against-trend signals.
 HOW TO USE IT 
 Settings: 
- Core Settings: Define the minimum and maximum periods for fast/slow EMAs
- Sensitivity: Higher values make the indicator more responsive to market changes
- Multi-timeframe: Set a higher timeframe for trend confirmation
- Visual options: Customize appearance and enable/disable features
 Signal Interpretation: 
- Strong bullish/bearish signals (large triangles): High-confidence entries in trending markets
- Warning signals (small ⚠): Crossovers in sideways markets - use caution or skip
- Divergence labels ("DIV"): Price and MACD diverging - potential reversal
- Background color: Green tint = trending market, Orange tint = sideways market
 The Information Table shows: 
- Current market regime (trending or sideways)
- Market efficiency percentage (how clean the trend is)
- Current adaptive fast and slow periods
- Higher timeframe trend direction
- Current signal strength
 Best Practices: 
- In trending markets: Trust strong signals, avoid warning signals
- In sideways markets: Reduce position sizes or skip trades entirely
- Use higher timeframe confirmation for better signal quality
- Adjust sensitivity based on your trading timeframe (higher for intraday, lower for swing)
 TECHNICAL DETAILS 
 Calculation Method: 
- Efficiency Ratio = ABS(Close - Close ) / SUM(ABS(Close - Close ), Period)
- Smoothed Efficiency = EMA(Efficiency Ratio, 5)
- Fast Period = Fast_Min + (Fast_Max - Fast_Min) × (1 - Smoothed_Efficiency × Sensitivity)
- Slow Period = Slow_Min + (Slow_Max - Slow_Min) × (1 - Smoothed_Efficiency × Sensitivity)
- Adaptive EMA uses standard EMA formula with gap detection and limiting
- MACD = Fast Adaptive EMA - Slow Adaptive EMA
- Signal = EMA(MACD, Signal Period)
- Histogram = MACD - Signal
The adaptive periods are calculated on every bar, so the MACD responds faster in trending conditions and stabilizes during consolidation.
 WHAT THIS SOLVES 
 Standard MACD Problems: 
- Fixed periods don't adapt to changing market conditions
- Too many false signals in sideways markets
- Whipsaws during low-volatility consolidation
- Price gaps can cause misleading spikes
 AlphaMACD Solutions: 
- Periods automatically adjust to market state
- Market regime filter identifies and warns about sideways conditions
- Adaptive smoothing reduces whipsaws
- Gap protection prevents false extremes
 LIMITATIONS 
- Like all indicators, this does not predict the future
- Requires trending markets for optimal performance
- Adaptive calculation means backtesting results will differ from fixed-period MACD
- More complex than standard MACD - requires understanding of adaptive concepts
- The adaptive periods mean you cannot directly compare this to traditional MACD studies
This indicator is best used as part of a complete trading system, not as a standalone signal generator.
 EDUCATIONAL VALUE 
For traders learning about:
- Adaptive indicators and market efficiency concepts
- Kaufman's Adaptive Moving Average principles applied to oscillators
- Market regime detection and signal filtering
- Gap handling in technical indicators
- Multi-timeframe analysis integration
Not Financial advice.
ZynAlgo Trend Dashboard MiniZynAlgo Trend Dashboard™ is a professional-grade tool designed to simplify multi-timeframe trend analysis and bring visual clarity to any trading setup.
It instantly shows who’s in control — buyers or sellers — across all key timeframes, allowing traders to make faster and more confident decisions based on overall market direction.
Developed using advanced Pine Script architecture, this indicator provides a clean and efficient interface that can be used on its own or combined with other ZynAlgo tools for enhanced market confluence.
⚙️ CORE CONCEPT
Trends are rarely aligned across timeframes — that’s why most traders get caught trading against higher-timeframe momentum.
ZynAlgo Trend Dashboard™ solves this by displaying a synchronized overview of the market’s directional bias, from short-term to long-term, within a single compact panel.
Each timeframe is evaluated using one of three models that can be toggled according to user preference:
MA Cross Model: Detects when short-term momentum shifts in relation to the dominant trend.
Price vs Baseline Model: Highlights when price behavior transitions above or below a defined average baseline.
Momentum Model: Measures relative strength within adjustable thresholds to identify overextended or recovering market conditions.
Every timeframe is color-coded — 🟢 Bullish, 🔴 Bearish, 🟡 Neutral — providing an immediate read of trend alignment and potential turning points.
🧩 FEATURES
Multi-timeframe trend confluence panel (supports up to 9 custom timeframes)
Adjustable calculation models (MA, Price, or Momentum)
“Overall Trend” summary bar for quick bias identification
Clean interface optimized for all chart backgrounds
Custom color themes and dashboard placement controls
Detailed / Compact / Minimal display modes
Alert system for full or partial trend alignment
Lightweight and resource-efficient performance
🧠 HOW TO USE
Select your preferred signal mode (MA, Price, or Momentum).
Enable the timeframes you want to monitor.
Observe dashboard colors for alignment:
 • When most timeframes turn 🟢 → uptrend confirmation.
 • When most turn 🔴 → downtrend alignment.
Combine the Overall Trend with your entry strategy or confirmation tools.
Set alerts to receive notifications whenever confluence conditions are met.
📊 INTERPRETATION
Full Alignment: High probability of sustained directional momentum.
Mixed Signals: Possible consolidation or transition; exercise patience.
Sudden Shift: Early sign of momentum reversal or structural change.
This indicator is not intended to generate buy or sell orders.
It’s designed to clarify directional context, helping traders avoid low-probability setups and focus on trades aligned with dominant market flow.
⚙️ CUSTOMIZATION
Configure dashboard size, transparency, and layout
Select preferred average type (EMA, SMA, HMA, etc.)
Adjust baseline lengths and sensitivity
Switch between dark/light UI themes
Enable or disable Overall Trend aggregation
⚠️ DISCLAIMER
Trading involves substantial risk and is not suitable for every investor.
All information and tools provided by ZynAlgo are intended for educational and analytical purposes only. Past performance does not guarantee future results.
🔶 CONCLUSION 
We believe that success lies in the association of the user with the indicator, opposed to many traders who have the perspective that the indicator itself can make them become profitable. The reality is much more complicated than that. The aim is to provide an indicator comprehensive, customizable, and intuitive enough that any trader can be led to understand this truth and develop an actionable perspective of technical indicators as support tools for decision making. You can see the Author's instructions below to get instant access to this indicator
🔶 RISK DISCLAIMER 
Trading is risky & most day traders lose money. All content, tools, scripts, articles, & education provided by ZynAlgo are purely for informational & educational purposes only. Past performance does not guarantee future results.
TREND (Type II) | Hamster-CoderTREND (Type II) — Smart Trend Reversal Indicator Based on RCI & MACD 
 TREND (Type II)  is a powerful tool for traders who want to spot not just where the market is now, but where it might be heading next.
It combines the analytical strength of  RSI  and  MACD  to identify potential trend reversal points before they become obvious on the chart.
🚀  Key Advantages 
 
 Early trend detection.  TREND can anticipate possible reversals even before the actual crossover occurs.
 Flexible visualization.  Displayed in a separate panel while showing buy/sell signals directly on the main chart.
 Multi-timeframe support.  Analyze signals from higher or lower timeframes without switching charts.
 Intuitive color background.  The background automatically turns red during bearish conditions for instant market sentiment recognition.
 
🎯  Signal Types 
 
 Primary Signal.  When RCI and MACD lines actually cross, confirming a trend shift.
 Preliminary Signal.  When a crossover is projected to occur on the next bar.
 Overheat Signal.  When the market reaches a defined threshold (e.g. ±90) and starts showing signs of cooling down.
 
🧠  Unique Features 
 
 Extra Filters (experimental).  Filters out weak or false signals, showing only those confirmed by additional criteria.
 RCI–MACD Difference Mode.  Visualize the distance between RCI and MACD as a histogram to assess divergence strength.
 Custom Thresholds.  Define your own overbought/oversold zones to fine-tune signal sensitivity.
 
🔍  Who It’s For 
 TREND (Type II)  is ideal for traders who:
seek  dynamic entry and exit points  without lagging indicators;
want  visual and statistical confirmation  of trend changes;
build  multi-layered strategies  requiring signal validation.
💬  Use TREND (Type II) to see the market one step ahead. 
This isn’t just another indicator — it’s an  early warning system for potential trend reversals .
Sequential Trend + Momentum Long and Short📈 Signals
🟢 Long Entry: EMA trend turns bullish and RSI confirms momentum.
🔴 Short Entry: EMA trend turns bearish and RSI confirms momentum.
🟢 Long Exit: Price drops below EMA Exit zone.
🔴 Short Exit: Price rises above EMA Exit zone.
🧩 Parameters
Input	Description
EMA Fast	Short-term EMA for trend detection
EMA Slow	Medium-term EMA for trend filtering
EMA Exit	Longer EMA for trailing exit confirmation
RSI Length	Period of RSI used for momentum check
RSI Long Threshold	RSI value confirming bullish momentum
RSI Short Threshold	RSI value confirming bearish momentum
🚀 How to Use
Apply the indicator on your preferred timeframe (15min–1h recommended).
Use Long Entry and Short Entry markers for potential trade setups.
Combine with your own stop-loss & target rules or automate via webhook.
Alerts are built-in for all entries/exits and can be sent to trading bots or brokers.
🔔 Alerts
Sequential Long Entry Triggered → triggers when bullish conditions align.
Sequential Long Exit Triggered → triggers when long trend weakens.
Sequential Short Entry Triggered → triggers when bearish conditions align.
Sequential Short Exit Triggered → triggers when short trend weakens.
🧭 Best Practices
Works best in trending markets; avoid ranging conditions.
Can be paired with volume filters or higher timeframe confirmation for better accuracy.
Adjustable EMA and RSI values make it flexible across assets (stocks, crypto, indices).
SZO - Signal Zone Oscillator ## Signal Zone Oscillator - SZO
**Created by:** @TraderCurses
**Version:** 1.0 (October 2025)
### ▌ OVERVIEW
The Signal Zone Oscillator (SZO) is a comprehensive momentum tool designed to provide a clearer, more nuanced view of market dynamics. It synthesizes three of the most powerful classic indicators—RSI, a unique MACD Ratio, and the Stochastic oscillator—into a single, unified signal.
The indicator's core feature is the **"Signal Zone"**: a colored area between the main oscillator line and its moving average filter. This zone makes it incredibly easy to visualize shifts in momentum, trends, and potential entry/exit points.
### ▌ KEY FEATURES
* **Composite Formula:** Combines RSI, MACD Ratio, and Stochastic using a weighted average to measure underlying market momentum.
* **The Signal Zone:** The flagship feature. The area between the SZO line and its filter is colored **green** in a bullish context (SZO above filter) and **red** in a bearish context (SZO below filter).
* **Dynamic Coloring:** Both the main SZO line and its filter change color dynamically, providing instant feedback on direction and strength.
* **Zero-Line Reference:** A dashed zero line acts as a classic equilibrium level, helping to confirm stronger bullish or bearish momentum.
* **Fully Customizable:** Every parameter is adjustable. You can change the lengths, sources, and even the weights of the core indicators from the settings menu.
* **Built-in Alerts:** Comes with pre-configured alerts for crossovers of the filter and the zero line, allowing you to automate your monitoring.
### ▌ HOW TO USE IT
The SZO provides several clear signals for traders:
1.  **Bullish Signal:**
    * The SZO line crosses **above** its filter.
    * The Signal Zone turns **green**.
    * A cross above the zero line can be used as further confirmation of strong bullish momentum.
2.  **Bearish Signal:**
    * The SZO line crosses **below** its filter.
    * The Signal Zone turns **red**.
    * A cross below the zero line can be used as further confirmation of strong bearish momentum.
3.  **Divergences:**
    * Like any oscillator, look for divergences between the SZO's peaks/troughs and the price action to spot potential reversals.
This tool is designed for traders who want to cut through the noise and get a clear, actionable signal from multiple momentum sources at once. Happy trading!
Metallic Retracement LevelsThere's something that's always bothered me about how traders use Fibonacci retracements. Everyone treats the golden ratio like it's the only game in town, but mathematically speaking, it's completely arbitrary. The golden ratio is just the first member of an infinite family of metallic means, and there's no particular reason why 1.618 should be special for markets when we have the silver ratio at 2.414, the bronze ratio at 3.303, and literally every other metallic mean extending to infinity. We just picked one and decided it was magical.
The metallic means are a sequence of mathematical constants that generalize the golden ratio. They're defined by the equation x² = kx + 1, where k is any positive integer. When k equals 1, you get the golden ratio. When k equals 2, you get the silver ratio. When k equals 3, you get bronze, and so on forever. Each metallic mean generates its own set of ratios through successive powers, just like how the golden ratio gives you 0.618, 0.382, 0.236 and so forth. The silver ratio produces a completely different set of retracement levels, as does bronze, as does any arbitrary metallic number you want to choose.
This indicator calculates these metallic means using the standard alpha and beta formulas. For any metallic number k, alpha equals (k + sqrt(k² + 4)) / 2, and we generate retracement ratios by raising alpha to various negative powers. The script algorithmically generates these levels instead of hardcoding them, which is how it should have been done from the start. It's genuinely silly that most fib tools just hardcode the ratios when the math to generate them is straightforward. Even worse, traditional fib retracements use 0.5 as a level, which isn't even a fibonacci ratio. It's just thrown in there because it seems like it should be important.
The indicator works by first detecting swing points using the  Sylvain Zig-Zag . The zig-zag identifies significant price swings by combining percentage change with ATR adjustments, filtering out noise and connecting major pivot points. This is what drives the retracement levels. Once a new swing is confirmed, the script calculates the range between the last two pivot points and generates metallic retracement levels from the most recent swing low or high.
You can adjust which metallic number to use (golden, silver, bronze, or any positive integer), control how many power ratios to display above and below the 1.0 level, and set how many complete retracement cycles you want drawn. The levels extend from the swing point and show you where price might react based on whichever metallic mean you've selected. The zig-zag settings let you tune the sensitivity of swing detection through ATR period, ATR multiplier, percentage reversal, and additional absolute or tick-based reversal values.
What this really demonstrates is that retracement analysis is more flexible than most traders realize. There's no mathematical law that says markets must respect the golden ratio over any other metallic mean. They're all valid mathematical constructs with the same kind of recursive properties. By making this tool, I wanted to highlight that using fibonacci retracements involves an arbitrary choice, and maybe that choice should be more deliberate or at least tested against alternatives. You can experiment with different metallic numbers and see which ones seem to work better for your particular market or timeframe, or just use this to understand that the standard fib levels everyone uses aren't as fundamental as they appear.
Engulfing Failure & Overlap Zones [HASIB]🧭 Overview 
Engulfing Failure & Overlap Zones   is a smart price action–based indicator that detects failed engulfing patterns and overlapping zones where potential liquidity traps or reversal setups often occur.
It’s designed to visually highlight both bullish and bearish failed engulfing areas with clean labels and zone markings, making it ideal for traders who follow Smart Money Concepts (SMC) or price action–driven trading.
 ⚙️ Core Concept 
Engulfing patterns are powerful reversal signals — but not all of them succeed.
This indicator identifies:
When a Buy Engulfing setup fails and overlaps with a Sell Engulfing zone, and
When a Sell Engulfing setup fails and overlaps with a Buy Engulfing zone.
These overlapping areas often represent liquidity grab zones, reversal points, or Smart Money manipulation levels.
 🎯 Key Features 
✅ Detects both Buy and Sell Engulfing Failures
✅ Highlights Overlapping (OL) zones with colored rectangles
✅ Marks Buy EG OL / Sell EG OL labels automatically
✅ Fully customizable visuals — colors, padding, and zone styles
✅ Optimized for both scalping and swing trading
✅ Works on any timeframe and any instrument
 ⚡ How It Helps 
Identify liquidity traps before reversals happen
Visually see Smart Money overlap zones between opposing engulfing structures
Strengthen your entry timing and confirmation zones
Combine with your own SMC or ICT-based trading setups for higher accuracy
 📊 Recommended Use 
Use on higher timeframes (e.g., M15, H1, H4) to confirm major liquidity zones.
Use on lower timeframes (e.g., M1–M5) for precision entries inside the detected zones.
Combine with tools like Order Blocks, Break of Structure (BOS), or Fair Value Gaps (FVG).
 🧠 Pro Tip 
When a failed engulfing overlaps with an opposite engulfing zone, it often signals market maker intent to reverse price direction after liquidity has been taken. Watch these zones closely for strong reaction candles.
Composite Stochastic Oscillator (CSO) [SharpStrat]Composite Stochastic Oscillator (CSO) 
The Composite Stochastic Oscillator (CSO) is a refined momentum tool designed to improve on the limitations of the traditional stochastic indicator. Standard stochastics are often too sensitive, producing choppy signals and frequent false turns. CSO tackles this problem by combining multiple stochastic calculations, each with different lengths and smoothing settings, into a single, balanced output.
The goal of combining these stochastic variants is to create a more stable and reliable reading of market momentum. Each version of the stochastic captures different aspects of price behavior like shorter ones react faster, while longer ones filter noise. CSO brings them together mathematically to form a composite oscillator that reacts smoothly and consistently across varying market conditions. This makes it a useful improvement over the standard stochastic, providing traders with a more dependable signal while retaining the familiar interpretation framework.
 How It Works 
 
 Calculates five independent stochastic oscillators with customizable K, D, and slowing parameters.
 Each stochastic contributes to the final composite value according to its assigned weight, allowing the user to emphasize faster or slower reactions.
 The resulting composite K is then smoothed into a D line using a chosen moving average method (SMA, EMA, WMA, or RMA).
 The oscillator is plotted along with optional overbought/oversold levels and a color fill to enhance visual interpretation.
 A compact on-chart table displays the current K and D readings for quick reference.
 
 Comparison with normal Stochastic 
  
Compared to a standard stochastic, the CSO generally produces smoother lines and fewer false flips.  As evident in the comparison chart, this improves upon the normal stochastic by reducing noise and making signals more reliable, although results depend on parameter settings too.
 How To Use It 
 
 Use the CSO exactly like a normal stochastic: look for crossovers, overbought/oversold zones, and divergences.
 In practice, CSO should provides smoother and more consistent signals than the regular stochastic, especially in sideways or volatile markets.
 When plotted beside a standard stochastic, you’ll notice CSO avoids many of the false reversals that clutter traditional readings.
 
 Customization Options 
 
 Choice of smoothing method (SMA, EMA, WMA, RMA).
 Full control over each stochastic component’s parameters and weights.
 Adjustable overbought/oversold levels and display preferences.
 Option to enable or disable the on-chart table and zone fills.
 
 Note 
 
 This indicator is shared purely for educational and research purposes. It is not financial advice and should not be treated as a ready-made trading system.
 I encourage you to experiment with different parameter values (periods, weights, smoothing) to explore how the behavior changes and to learn from the results.
Advanced Speedometer Gauge [PhenLabs]Advanced Speedometer Gauge  
Version: PineScript™v6
 📌 Description 
The Advanced Speedometer Gauge is a revolutionary multi-metric visualization tool that consolidates 13 distinct trading indicators into a single, intuitive speedometer display. Instead of cluttering your workspace with multiple oscillators and panels, this gauge provides a unified interface where you can switch between different metrics while maintaining consistent visual interpretation.
Built on PineScript™ v6, the indicator transforms complex technical calculations into an easy-to-read semi-circular gauge with color-coded zones and a precision needle indicator. Each of the 13 available metrics has been carefully normalized to a 0-100 scale, ensuring that whether you’re analyzing RSI, volume trends, or volatility extremes, the visual interpretation remains consistent and intuitive.
The gauge is designed for traders who value efficiency and clarity. By consolidating multiple analytical perspectives into one compact display, you can quickly assess market conditions without the visual noise of traditional multi-indicator setups. All metrics are non-overlapping, meaning each provides unique insights into different aspects of market behavior.
 🚀 Points of Innovation 
 
  13 selectable metrics covering momentum, volume, volatility, trend, and statistical analysis, all accessible through a single dropdown menu
  Universal 0-100 normalization system that standardizes different indicator scales for consistent visual interpretation across all metrics
  Semi-circular gauge design with 21 arc segments providing smooth precision and clear visual feedback through color-coded zones
  Non-redundant metric selection ensuring each indicator provides unique market insights without analytical overlap
  Advanced metrics including MFI (volume-weighted momentum), CCI (statistical deviation), Volatility Rank (extended lookback), Trend Strength (ADX-style), Choppiness Index, Volume Trend, and Price Distance from MA
  Flexible positioning system with 5 chart locations, 3 size options, and fully customizable color schemes for optimal workspace integration
 
 🔧 Core Components 
 
   Metric Selection Engine:  Dropdown interface allowing instant switching between 13 different technical indicators, each with independent parameter controls
   Normalization System:  All metrics converted to 0-100 scale using indicator-specific algorithms that preserve the statistical significance of each measurement
   Semi-Circular Gauge:  Visual display using 21 arc segments arranged in curved formation with two-row thickness for enhanced visibility
   Color Zone System:  Three distinct zones (0-40 green, 40-70 yellow, 70-100 red) providing instant visual feedback on metric extremes
   Needle Indicator:  Dynamic pointer that positions across the gauge arc based on precise current metric value
   Table Implementation:  Professional table structure ensuring consistent positioning and rendering across different chart configurations
 
 🔥 Key Features 
 
   RSI (Relative Strength Index):  Classic momentum oscillator measuring overbought/oversold conditions with adjustable period length (default 14)
   Stochastic Oscillator:  Compares closing price to price range over specified period with smoothing, ideal for identifying momentum shifts
   MFI (Money Flow Index):  Volume-weighted RSI that combines price movement with volume to measure buying and selling pressure intensity
   CCI (Commodity Channel Index):  Measures statistical deviation from average price, normalized from typical -200 to +200 range to 0-100 scale
   Williams %R:  Alternative overbought/oversold indicator using high-low range analysis, inverted to match 0-100 scale conventions
   Volume %:  Current volume relative to moving average expressed as percentage, capped at 100 for extreme spikes
   Volume Trend:  Cumulative directional volume flow showing whether volume is flowing into up moves or down moves over specified period
   ATR Percentile:  Current Average True Range position within historical range using specified lookback period (default 100 bars)
   Volatility Rank:  Close-to-close volatility measured against extended historical range (default 252 days), differs from ATR in calculation method
   Momentum:  Rate of change calculation showing price movement speed, centered at 50 and normalized to 0-100 range
   Trend Strength:  ADX-style calculation using directional movement to quantify trend intensity regardless of direction
   Choppiness Index:  Measures market choppiness versus trending behavior, where high values indicate ranging markets and low values indicate strong trends
   Price Distance from MA:  Measures current price over-extension from moving average using standard deviation calculations
 
 🎨 Visualization 
 
   Semi-Circular Arc Display:  Curved gauge spanning from 0 (left) to 100 (right) with smooth progression and two-row thickness for visibility
   Color-Coded Zones:  Green zone (0-40) for low/oversold conditions, yellow zone (40-70) for neutral readings, red zone (70-100) for high/overbought conditions
   Needle Indicator:  Downward-pointing triangle (▼) positioned precisely at current metric value along the gauge arc
   Scale Markers:  Vertical line markers at 0, 25, 50, 75, and 100 positions with corresponding numerical labels below
   Title Display:  Merged cell showing “𓄀 PhenLabs” branding plus currently selected metric name in monospace font
   Large Value Display:  Current metric value shown with two decimal precision in large text directly below title
   Table Structure:  Professional table with customizable background color, text color, and transparency for minimal chart obstruction
 
 📖 Usage Guidelines 
 Metric Selection 
 
   Select Metric:  Default: RSI | Options: RSI, Stochastic, Volume %, ATR Percentile, Momentum, MFI (Money Flow), CCI (Commodity Channel), Williams %R, Volatility Rank, Trend Strength, Choppiness Index, Volume Trend, Price Distance | Choose the technical indicator you want to display on the gauge based on your current analytical needs
 
 RSI Settings 
 
   RSI Length:  Default: 14 | Range: 1+ | Controls the lookback period for RSI calculation, shorter periods increase sensitivity to recent price changes
 
 Stochastic Settings 
 
   Stochastic Length:  Default: 14 | Range: 1+ | Lookback period for stochastic calculation comparing close to high-low range
   Stochastic Smooth:  Default: 3 | Range: 1+ | Smoothing period applied to raw stochastic value to reduce noise and false signals
 
 Volume Settings 
 
   Volume MA Length:  Default: 20 | Range: 1+ | Moving average period used to calculate average volume for comparison with current volume
   Volume Trend Length:  Default: 20 | Range: 5+ | Period for calculating cumulative directional volume flow trend
 
 ATR and Volatility Settings 
 
   ATR Length:  Default: 14 | Range: 1+ | Period for Average True Range calculation used in ATR Percentile metric
   ATR Percentile Lookback:  Default: 100 | Range: 20+ | Historical range used to determine current ATR position as percentile
   Volatility Rank Lookback (Days):  Default: 252 | Range: 50+ | Extended lookback period for Volatility Rank metric using close-to-close volatility
 
 Momentum and Trend Settings 
 
   Momentum Length:  Default: 10 | Range: 1+ | Lookback period for rate of change calculation in Momentum metric
   Trend Strength Length:  Default: 20 | Range: 5+ | Period for directional movement calculations in ADX-style Trend Strength metric
 
 Advanced Metric Settings 
 
   MFI Length:  Default: 14 | Range: 1+ | Lookback period for Money Flow Index calculation combining price and volume
   CCI Length:  Default: 20 | Range: 1+ | Period for Commodity Channel Index statistical deviation calculation
   Williams %R Length:  Default: 14 | Range: 1+ | Lookback period for Williams %R high-low range analysis
   Choppiness Index Length:  Default: 14 | Range: 5+ | Period for calculating market choppiness versus trending behavior
   Price Distance MA Length:  Default: 50 | Range: 10+ | Moving average period used for Price Distance standard deviation calculation
 
 Visual Customization 
 
   Position:  Default: Top Right | Options: Top Left, Top Right, Bottom Left, Bottom Right, Middle Right | Controls gauge placement on chart for optimal workspace organization
   Size:  Default: Normal | Options: Small, Normal, Large | Adjusts overall gauge dimensions and text size for different monitor resolutions and preferences
   Low Zone Color (0-40):  Default: Green (#00FF00) | Customize color for low/oversold zone of gauge arc
   Medium Zone Color (40-70):  Default: Yellow (#FFFF00) | Customize color for neutral/medium zone of gauge arc
   High Zone Color (70-100):  Default: Red (#FF0000) | Customize color for high/overbought zone of gauge arc
   Background Color:  Default: Semi-transparent dark gray | Customize gauge background for contrast and chart integration
   Text Color:  Default: White (#FFFFFF) | Customize all text elements including title, value, and scale labels
 
 ✅ Best Use Cases 
 
  Quick visual assessment of market conditions when you need instant feedback on whether an asset is in extreme territory across multiple analytical dimensions
  Workspace organization for traders who monitor multiple indicators but want to reduce chart clutter and visual complexity
  Metric comparison by switching between different indicators while maintaining consistent visual interpretation through the 0-100 normalization
  Overbought/oversold identification using RSI, Stochastic, Williams %R, or MFI depending on whether you prefer price-only or volume-weighted analysis
  Volume analysis through Volume %, Volume Trend, or MFI to confirm price movements with corresponding volume characteristics
  Volatility monitoring using ATR Percentile or Volatility Rank to identify expansion/contraction cycles and adjust position sizing
  Trend vs range identification by comparing Trend Strength (high values = trending) against Choppiness Index (high values = ranging)
  Statistical over-extension detection using CCI or Price Distance to identify when price has deviated significantly from normal behavior
  Multi-timeframe analysis by duplicating the gauge on different timeframe charts to compare metric readings across time horizons
  Educational purposes for new traders learning to interpret technical indicators through consistent visual representation
 
 ⚠️ Limitations 
 
  The gauge displays only one metric at a time, requiring manual switching to compare different indicators rather than simultaneous multi-metric viewing
  The 0-100 normalization, while providing consistency, may obscure the raw values and specific nuances of each underlying indicator
  Table-based visualization cannot be exported or saved as an image separately from the full chart screenshot
  Optimal parameter settings vary by asset type, timeframe, and market conditions, requiring user experimentation for best results
 
 💡 What Makes This Unique 
 
   Unified Multi-Metric Interface:  The only gauge-style indicator offering 13 distinct metrics through a single interface, eliminating the need for multiple oscillator panels
   Non-Overlapping Analytics:  Each metric provides genuinely unique insights—MFI combines volume with price, CCI measures statistical deviation, Volatility Rank uses extended lookback, Trend Strength quantifies directional movement, and Choppiness Index measures ranging behavior
   Universal Normalization System:  All metrics standardized to 0-100 scale using indicator-appropriate algorithms that preserve statistical meaning while enabling consistent visual interpretation
   Professional Visual Design:  Semi-circular gauge with 21 arc segments, precision needle positioning, color-coded zones, and clean table implementation that maintains clarity across all chart configurations
   Extensive Customization:  Independent parameter controls for each metric, five position options, three size presets, and full color customization for seamless workspace integration
 
 🔬 How It Works 
 1. Metric Calculation Phase: 
 
  All 13 metrics are calculated simultaneously on every bar using their respective algorithms with user-defined parameters
  Each metric applies its own specific calculation method—RSI uses average gains vs losses, Stochastic compares close to high-low range, MFI incorporates typical price and volume, CCI measures deviation from statistical mean, ATR calculates true range, directional indicators measure up/down movement, and statistical metrics analyze price relationships
 
 2. Normalization Process: 
 
  Each calculated metric is converted to a standardized 0-100 scale using indicator-appropriate transformations
  Some metrics are naturally 0-100 (RSI, Stochastic, MFI, Williams %R), while others require scaling—CCI transforms from ±200 range, Momentum centers around 50, Volume ratio caps at 2x for 100, ATR and Volatility Rank calculate percentile positions, and Price Distance scales by standard deviations
 
 3. Gauge Rendering: 
 
  The selected metric’s normalized value determines the needle position across 21 arc segments spanning 0-100
  Each arc segment receives its color based on position—segments 0-8 are green zone, segments 9-14 are yellow zone, segments 15-20 are red zone
  The needle indicator (▼) appears in row 5 at the column corresponding to the current metric value, providing precise visual feedback
 
 4. Table Construction: 
 
  The gauge uses TradingView’s table system with merged cells for title and value display, ensuring consistent positioning regardless of chart configuration
  Rows are allocated as follows: Row 0 merged for title, Row 1 merged for large value display, Row 2 for spacing, Rows 3-4 for the semi-circular arc with curved shaping, Row 5 for needle indicator, Row 6 for scale markers, Row 7 for numerical labels at 0/25/50/75/100
  All visual elements update on every bar when barstate.islast is true, ensuring real-time accuracy without performance impact
 
 💡 Note: 
This indicator is designed for visual analysis and market condition assessment, not as a standalone trading system. For best results, combine gauge readings with price action analysis, support and resistance levels, and broader market context. Parameter optimization is recommended based on your specific trading timeframe and asset class. The gauge works on all timeframes but may require different parameter settings for intraday versus daily/weekly analysis. Consider using multiple instances of the gauge set to different metrics for comprehensive market analysis without switching between settings.
Cumulative Volume Delta Z Score [BackQuant]Cumulative Volume Delta Z Score  
The Cumulative Volume Delta Z Score indicator is a sophisticated tool that combines the cumulative volume delta (CVD) with Z-Score normalization to provide traders with a clearer view of market dynamics. By analyzing volume imbalances and standardizing them through a Z-Score, this tool helps identify significant price movements and market trends while filtering out noise.
 Core Concept of Cumulative Volume Delta (CVD) 
Cumulative Volume Delta (CVD) is a popular indicator that tracks the net difference between buying and selling volume over time. CVD helps traders understand whether buying or selling pressure is dominating the market. Positive CVD signals buying pressure, while negative CVD indicates selling pressure.
The addition of Z-Score normalization to CVD makes it easier to evaluate whether current volume imbalances are unusual compared to past behavior. Z-Score helps in detecting extreme conditions by showing how far the current CVD is from its historical mean in terms of standard deviations.
 Key Features 
 
 Cumulative Volume Delta (CVD): Tracks the net buying vs. selling volume, allowing traders to gauge the overall market sentiment.
 Z-Score Normalization: Converts CVD into a standardized value to highlight extreme movements in volume that are statistically significant.
 Divergence Detection: The indicator can spot bullish and bearish divergences between price and CVD, which can signal potential trend reversals.
 Pivot-Based Divergence: Identifies price and CVD pivots, highlighting divergence patterns that are crucial for predicting price changes.
 Trend Analysis: Colors bars according to trend direction, providing a visual indication of bullish or bearish conditions based on Z-Score.
 
 How It Works 
 
 Cumulative Volume Delta (CVD): The CVD is calculated by summing the difference between buying and selling volume for each bar. It represents the net buying or selling pressure, giving insights into market sentiment.
 Z-Score Normalization: The Z-Score is applied to the CVD to normalize its values, making it easier to compare current conditions with historical averages. A Z-Score greater than 0 indicates a bullish market, while a Z-Score less than 0 signals a bearish market.
 Divergence Detection: The indicator detects regular and hidden bullish and bearish divergences between price and CVD. These divergences often precede trend reversals, offering traders a potential entry point.
 Pivot-Based Analysis: The indicator uses pivot highs and lows in both price and CVD to identify divergence patterns. A bullish divergence occurs when price makes a lower low, but CVD fails to follow, suggesting weakening selling pressure. Conversely, a bearish divergence happens when price makes a higher high, but CVD doesn't confirm the move, indicating potential selling pressure.
 Trend Coloring: The bars are colored based on the trend direction. Green bars indicate an uptrend (CVD is positive), and red bars indicate a downtrend (CVD is negative). This provides an easy-to-read visualization of market conditions.
 Standard Deviation Levels: The indicator plots ±1σ, ±2σ, and ±3σ levels to indicate the degree of deviation from the average CVD. These levels act as thresholds for identifying extreme buying or selling pressure.
 
 Customization Options 
 
 Anchor Timeframe: The user can define an anchor timeframe to aggregate the CVD, which can be customized based on the trader’s needs (e.g., daily, weekly, custom lower timeframes).
 Z-Score Period: The period for calculating the Z-Score can be adjusted, allowing traders to fine-tune the indicator's sensitivity.
 Divergence Detection: The tool offers controls to enable or disable divergence detection, with the ability to adjust the lookback periods for pivot detection.
 Trend Coloring and Visuals: Traders can choose whether to color bars based on trend direction, display standard deviation levels, or visualize the data as a histogram or line plot.
 Display Options: The indicator also allows for various display options, including showing the Z-Score values and divergence signals, with customizable colors and line widths.
 
 Alerts and Signals 
The Cumulative Volume Delta Z Score comes with pre-configured alert conditions for:
 
 Z-Score Crossovers: Alerts are triggered when the Z-Score crosses the 0 line, indicating a potential trend reversal.
 Shifting Trend: Alerts for when the Z-Score shifts direction, signaling a change in market sentiment.
 Divergence Detection: Alerts for both regular and hidden bullish and bearish divergences, offering potential reversal signals.
 Extreme Imbalances: Alerts when the Z-Score reaches extreme positive or negative levels, indicating overbought or oversold market conditions.
 
 Applications in Trading 
 
 Trend Identification: Use the Z-Score to confirm bullish or bearish trends based on cumulative volume data, filtering out noise and false signals.
 Reversal Signals: Divergences between price and CVD can help identify potential trend reversals, making it a powerful tool for swing traders.
 Volume-Based Confirmation: The Z-Score allows traders to confirm price movements with volume data, providing more reliable signals compared to price action alone.
 Divergence Strategy: Use the divergence signals to identify potential points of entry, particularly when regular or hidden divergences appear.
 Volatility and Market Sentiment: The Z-Score provides insights into market volatility by measuring the deviation of CVD from its historical mean, helping to predict price movement strength.
 
The Cumulative Volume Delta Z Score is a powerful tool that combines volume analysis with statistical normalization. By focusing on volume imbalances and applying Z-Score normalization, this indicator provides clear, reliable signals for trend identification and potential reversals. It is especially useful for filtering out market noise and ensuring that trades are based on significant price movements driven by substantial volume changes.
This indicator is perfect for traders looking to add volume-based analysis to their strategy, offering a more robust and accurate way to gauge market sentiment and trend strength.
Trend Ali📈 Trend Ali - Advanced Hull Moving Average Indicator
 
 🎯 Overview
 
This indicator is an advanced and highly customizable version of the Hull Moving Average (HMA), designed for precise trend identification and optimal entry/exit point detection in various market conditions.
 ✨ Key Features
 
🔄 Three Hull Moving Average Calculation Methods
The indicator offers three distinct calculation approaches to suit different trading styles:
1. HMA (Standard Hull Moving Average)
Ideal for most market conditions
Excellent balance between responsiveness and noise reduction
Uses WMA (Weighted Moving Average) for calculations
Best for general trend following
2. EHMA (Exponential Hull Moving Average)
Faster reaction to price changes
Perfect for volatile markets and quick scalping
Uses EMA instead of WMA for enhanced sensitivity
Recommended for aggressive trading strategies
3. THMA (Triangular Hull Moving Average)
Smoother than the standard version
Reduces false signals significantly
Optimal for higher timeframes and position trading
Provides clearer trend direction
🛠️ Advanced Settings
Length Parameter
This parameter directly affects the indicator's sensitivity and behavior:
55: Perfect for Swing Trading and identifying entry points
Catches medium-term trends
Good balance for 4H to Daily charts
180-200: Ideal for identifying floating Support/Resistance levels
Acts as dynamic S/R zones
Excellent for position trading
Reduces market noise significantly
Shorter Length = Faster response but more noise
Longer Length = Stronger signals but with more lag
Length Multiplier
View higher timeframe trends without changing your chart
Default value of 6.0 provides macro trend analysis
Increasing this value smooths the line further
Useful for multi-timeframe analysis on a single chart
Creates "straight band" effect for clearer trend visualization
Higher Timeframe Analysis
Display Hull MA from any higher timeframe
Extremely useful for scalping while maintaining trend awareness
Default: 240 minutes (4-hour chart)
Helps avoid counter-trend trades
Provides context for lower timeframe decisions
🎨 Intelligent Color System
The indicator automatically adjusts colors based on trend direction:
 🟢 Green: Uptrend (price moving above previous levels)
 
Indicates bullish momentum
Consider long positions
 🔴 Red: Downtrend (price moving below previous levels)
 
Indicates bearish momentum
Consider short positions or exit longs
 🟠 Orange: Neutral (when color coding is disabled)
 
For traders who prefer monochrome display
 📊 How to Use
 For Swing Trading (Length: 55)
Wait for color change from red to green for long entries
Wait for color change from green to red for short entries or exits
Use price action confirmation at the Hull MA line
The line acts as dynamic support/resistance
For Support/Resistance (Length: 180-200)
The Hull MA acts as a floating S/R zone
Price bouncing off the line indicates strong trend
Price crossing the line signals potential trend reversal
Use for position sizing and stop loss placement
For Scalping (with Higher Timeframe)
Enable "Show Hull MA from X timeframe"
Select 240 (4H) or higher timeframe
Only take trades in direction of higher timeframe trend
Use lower timeframe for precise entries
Higher timeframe Hull MA keeps you on the right side
Multi-Timeframe Strategy
Use Length Multiplier to see macro trend
Keep your chart on preferred timeframe
Align trades with the smoothed trend direction
Enter on pullbacks to the Hull MA line
🔍 Technical Details
Why Hull Moving Average?
Traditional moving averages face a tradeoff between lag and noise. Hull Moving Average solves this by:
Using weighted calculations for faster response
Applying square root of length for optimal smoothing
Eliminating lag while maintaining smoothness
Calculation Method
The indicator uses sophisticated algorithms:
HMA: Combines multiple WMAs with square root period
EHMA: Applies exponential smoothing for speed
THMA: Uses triangular weighting for stability
RSI Source Input
Allows using any price source (Close, Open, HL2, etc.)
Default: Close price
Experiment with different sources for unique insights
⚙️ Recommended Settings
Day Trading
Mode: EHMA
Length: 55
Length Multiplier: 3-4
Color: Enabled
Swing Trading
Mode: HMA
Length: 55
Length Multiplier: 6
Color: Enabled
Position Trading
Mode: THMA
Length: 180-200
Length Multiplier: 8-10
Color: Enabled
Scalping
Mode: HMA or EHMA
Length: 55
Higher Timeframe: Enabled (240 or higher)
Color: Enabled
💡 Pro Tips
Trend Confirmation: Wait for 2-3 candles to confirm color change before entering
Divergence: Watch for price/Hull MA divergence for reversal signals
Volume: Combine with volume analysis for stronger signals
Multiple Instances: Add indicator twice with different settings for multi-timeframe view
Backtesting: Test different Length values for your specific asset and timeframe
Risk Management: Use Hull MA distance for stop loss placement
⚠️ Important Notes
No indicator is 100% accurate - always use risk management
Best used in combination with price action and other technical analysis
Different markets may require different settings
Backtest thoroughly before live trading
Consider market volatility when adjusting parameters
DM Super Trend FlowDM Super Trend Flow — Single Line Explanation
The DM Super Trend Flow is a single-line trend indicator built from a carefully selected group of Exponential Moving Averages (EMAs) designed to capture smooth and reliable trend direction.
Instead of plotting multiple EMA lines, the indicator calculates several EMAs internally and then displays only the middle EMA — creating a clean, uncluttered chart while still reflecting the overall trend strength and alignment.
The line color automatically changes based on how all EMAs are aligned:
GREEN - Bullish Alignment → All EMAs are stacked upward, confirming strong upward momentum. (Line turns lime)
RED - Bearish Alignment → All EMAs are stacked downward, confirming strong downward momentum. (Line turns red)
GRAY - EMAs are mixed or flat, indicating sideways or transition phases. (Line turns gray)
This single dynamic line gives you a clear visual of overall market direction — showing when the trend is fully aligned, weakening, or shifting — without the clutter of multiple overlapping averages.
Luxy Momentum, Trend, Bias and Breakout Indicators  V7
TABLE OF CONTENTS
This is Version 7 (V7) - the latest and most optimized release. If you are using any older versions (V6, V5, V4, V3, etc.), it is highly recommended to replace them with V7. 
 
 Why This Indicator is Different
 Who Should Use This
 Core Components Overview
 The UT Bot Trading System
 Understanding the Market Bias Table
 Candlestick Pattern Recognition
 Visual Tools and Features
 How to Use the Indicator
 Performance and Optimization
 FAQ
 
---
 ### CREDITS & ATTRIBUTION 
This indicator implements proven trading concepts using entirely original code developed specifically for this project.
 ### CONCEPTUAL FOUNDATIONS 
 • UT Bot ATR Trailing System 
  - Original concept by @QuantNomad: (search "UT-Bot-Strategy"
  - Our version is a complete reimplementation with significant enhancements:
  - Volume-weighted momentum adjustment
  - Composite stop loss from multiple S/R layers
  - Multi-filter confirmation system (swing, %, 2-bar, ZLSMA)
  - Full integration with multi-timeframe bias table
  - Visual audit trail with freeze-on-touch
  - NOTE: No code was copied - this is a complete reimplementation with enhancements.
 • Standard Technical Indicators (Public Domain Formulas): 
   - Supertrend: ATR-based trend calculation with custom gradient fills
   - MACD: Gerald Appel's formula with separation filters
   - RSI: J. Welles Wilder's formula with pullback zone logic
   - ADX/DMI: Custom trend strength formula inspired by Wilder's directional movement concept, reimplemented with volume weighting and efficiency metrics
   - ZLSMA: Zero-lag formula enhanced with Hull MA and momentum prediction
  ### Custom Implementations 
- Trend Strength: Inspired by Wilder's ADX concept but using volume-weighted pressure calculation and efficiency metrics (not traditional +DI/-DI smoothing)
- All code implementations are original
 ### ORIGINAL FEATURES (70%+ of codebase) 
- Multi-Timeframe Bias Table with live updates
- Risk Management System (R-multiple TPs, freeze-on-touch)
- Opening Range Breakout tracker with session management
- Composite Stop Loss calculator using 6+ S/R layers
- Performance optimization system (caching, conditional calcs)
- VIX Fear Index integration
- Previous Day High/Low auto-detection
- Candlestick pattern recognition with interactive tooltips
- Smart label and visual management
- All UI/UX design and table architecture
 ### DEVELOPMENT PROCESS 
 **AI Assistance:**  This indicator was developed over 2+ months with AI assistance (ChatGPT/Claude) used for:
- Writing Pine Script code based on design specifications
- Optimizing performance and fixing bugs
- Ensuring Pine Script v6 compliance
- Generating documentation
 **Author's Role:**  All trading concepts, system design, feature selection, integration logic, and strategic decisions are original work by the author. The AI was a coding tool, not the system designer.
 **Transparency:**  We believe in full disclosure - this project demonstrates how AI can be used as a powerful development tool while maintaining creative and strategic ownership.
---
 1. WHY THIS INDICATOR IS DIFFERENT 
Most traders use multiple separate indicators on their charts, leading to cluttered screens, conflicting signals, and analysis paralysis. The Suite solves this by integrating proven technical tools into a single, cohesive system.
 Key Advantages: 
 
 All-in-One Design:  Instead of loading 5-10 separate indicators, you get everything in one optimized script. This reduces chart clutter and improves TradingView performance.
 Multi-Timeframe Bias Table:  Unlike standard indicators that only show the current timeframe, the Bias Table aggregates trend signals across multiple timeframes simultaneously. See at a glance whether 1m, 5m, 15m, 1h are aligned bullish or bearish - no more switching between charts.
 Smart Confirmations:  The indicator doesn't just give signals - it shows you WHY. Every entry has multiple layers of confirmation (MA cross, MACD momentum, ADX strength, RSI pullback, volume, etc.) that you can toggle on/off.
 Dynamic Stop Loss System:  Instead of static ATR stops, the SL is calculated from multiple support/resistance layers: UT trailing line, Supertrend, VWAP, swing structure, and MA levels. This creates more intelligent, price-action-aware stops.
 R-Multiple Take Profits:  Built-in TP system calculates targets based on your initial risk (1R, 1.5R, 2R, 3R). Lines freeze when touched with visual checkmarks, giving you a clean audit trail of partial exits.
 Educational Tooltips Everywhere:  Every single input has detailed tooltips explaining what it does, typical values, and how it impacts trading. You're not guessing - you're learning as you configure.
 Performance Optimized:  Smart caching, conditional calculations, and modular design mean the indicator runs fast despite having 15+ features. Turn off what you don't use for even better performance.
 No Repainting:  All signals respect bar close. Alerts fire correctly. What you see in history is what you would have gotten in real-time.
 
  
 What Makes It Unique: 
Integrated UT Bot + Bias Table: No other indicator combines UT Bot's ATR trailing system with a live multi-timeframe dashboard. You get precision entries with macro trend context.
Candlestick Pattern Recognition with Interactive Tooltips: Patterns aren't just marked - hover over any emoji for a full explanation of what the pattern means and how to trade it.
Opening Range Breakout Tracker: Built-in ORB system for intraday traders with customizable session times and real-time status updates in the Bias Table.
Previous Day High/Low Auto-Detection: Automatically plots PDH/PDL on intraday charts with theme-aware colors. Updates daily without manual input.
Dynamic Row Labels in Bias Table: The table shows your actual settings (e.g., "EMA 10 > SMA 20") not generic labels. You know exactly what's being evaluated.
Modular Filter System: Instead of forcing a fixed methodology, the indicator lets you build your own strategy. Start with just UT Bot, add filters one at a time, test what works for your style.
---
 2. WHO WHOULD USE THIS 
Designed For:
 
 Intermediate to Advanced Traders: You understand basic technical analysis (MAs, RSI, MACD) and want to combine multiple confirmations efficiently. This isn't a "one-click profit" system - it's a professional toolkit.
 Multi-Timeframe Traders: If you trade one asset but check multiple timeframes for confirmation (e.g., enter on 5m after checking 15m and 1h alignment), the Bias Table will save you hours every week.
 Trend Followers: The indicator excels at identifying and following trends using UT Bot, Supertrend, and MA systems. If you trade breakouts and pullbacks in trending markets, this is built for you.
 Intraday and Swing Traders: Works equally well on 5m-1h charts (day trading) and 4h-D charts (swing trading). Scalpers can use it too with appropriate settings adjustments.
 Discretionary Traders: This isn't a black-box system. You see all the components, understand the logic, and make final decisions. Perfect for traders who want tools, not automation.
 
 Works Across All Markets: 
Stocks (US, international)
Cryptocurrency (24/7 markets supported)
Forex pairs
Indices (SPY, QQQ, etc.)
Commodities
 NOT Ideal For :
 
 Complete Beginners: If you don't know what a moving average or RSI is, start with basics first. This indicator assumes foundational knowledge.
 Algo Traders Seeking Black Box: This is discretionary. Signals require context and confirmation. Not suitable for blind automated execution.
 Mean-Reversion Only Traders: The indicator is trend-following at its core. While VWAP bands support mean-reversion, the primary methodology is trend continuation.
 
---
 3. CORE COMPONENTS OVERVIEW 
 The indicator combines these proven systems: 
 
 Trend Analysis: 
 Moving Averages:  Four customizable MAs (Fast, Medium, Medium-Long, Long) with six types to choose from (EMA, SMA, WMA, VWMA, RMA, HMA). Mix and match for your style.
 Supertrend:  ATR-based trend indicator with unique gradient fill showing trend strength. One-sided ribbon visualization makes it easier to see momentum building or fading.
 ZLSMA : Zero-lag linear-regression smoothed moving average. Reduces lag compared to traditional MAs while maintaining smooth curves.
 Momentum & Filters: 
 MACD:  Standard MACD with separation filter to avoid weak crossovers.
 RSI:  Pullback zone detection - only enter longs when RSI is in your defined "buy zone" and shorts in "sell zone".
 ADX/DMI:  Trend strength measurement with directional filter. Ensures you only trade when there's actual momentum.
 Volume Filter:  Relative volume confirmation - require above-average volume for entries.
 Donchian Breakout:  Optional channel breakout requirement.
 
 Signal Systems: 
 
 UT Bot:  The primary signal generator. ATR trailing stop that adapts to volatility and gives clear entry/exit points.
 Base Signals:  MA cross system with all the above filters applied. More conservative than UT Bot alone.
 Market Bias Table:  Multi-timeframe dashboard showing trend alignment across 7 timeframes plus macro bias (3-day, weekly, monthly, quarterly, VIX).
 Candlestick Patterns:  Six major reversal patterns auto-detected with interactive tooltips.
 ORB Tracker:  Opening range high/low with breakout status (intraday only).
 PDH/PDL:  Previous day levels plotted automatically on intraday charts.
 VWAP + Bands : Session-anchored VWAP with up to three standard deviation band pairs.
 
  
---
 4. THE UT BOT TRADING SYSTEM 
The UT Bot is the heart of the indicator's signal generation. It's an advanced ATR trailing stop that adapts to market volatility.
Why UT Bot is Superior to Fixed Stops:
Traditional ATR stops use a fixed multiplier (e.g., "stop = entry - 2×ATR"). UT Bot is smarter:
It TRAILS the stop as price moves in your favor
It WIDENS during high volatility to avoid premature stops
It TIGHTENS during consolidation to lock in profits
It FLIPS when price breaks the trailing line, signaling reversals
 Visual Elements You'll See: 
Orange Trailing Line: The actual UT stop level that adapts bar-by-bar
Buy/Sell Labels: Aqua triangle (long) or orange triangle (short) when the line flips
ENTRY Line: Horizontal line at your entry price (optional, can be turned off)
Suggested Stop Loss: A composite SL calculated from multiple support/resistance layers:
- UT trailing line
- Supertrend level
- VWAP
- Swing structure (recent lows/highs)
- Long-term MA (200)
- ATR-based floor
Take Profit Lines: TP1, TP1.5, TP2, TP3 based on R-multiples. When price touches a TP, it's marked with a checkmark and the line freezes for audit trail purposes.
Status Messages: "SL Touched ❌" or "SL Frozen" when the trade leg completes.
 How UT Bot Differs from Other ATR Systems: 
Multiple Filters Available: You can require 2-bar confirmation, minimum % price change, swing structure alignment, or ZLSMA directional filter. Most UT implementations have none of these.
Smart SL Calculation: Instead of just using the UT line as your stop, the indicator suggests a better SL based on actual support/resistance. This prevents getting stopped out by wicks while keeping risk controlled.
Visual Audit Trail: All SL/TP lines freeze when touched with clear markers. You can review your trades weeks later and see exactly where entries, stops, and targets were.
Performance Options: "Draw UT visuals only on bar close" lets you reduce rendering load without affecting logic or alerts - critical for slower machines or 1m charts.
 Trading Logic: 
UT Bot flips direction (Buy or Sell signal appears)
Check Bias Table for multi-timeframe confirmation
Optional: Wait for Base signal or candlestick pattern
Enter at signal bar close or next bar open
Place stop at "Suggested Stop Loss" line
Scale out at TP levels (TP1, TP2, TP3)
Exit remaining position on opposite UT signal or stop hit
  
---
 5. UNDERSTANDING THE MARKET BIAS TABLE 
This is the indicator's unique multi-timeframe intelligence layer. Instead of looking at one chart at a time, the table aggregates signals across seven timeframes plus macro trend bias.
 Why Multi-Timeframe Analysis Matters: 
 
 Professional traders check higher and lower timeframes for context:
 Is the 1h uptrend aligning with my 5m entry?
 Are all short-term timeframes bullish or just one?
 Is the daily trend supportive or fighting me?
 
Doing this manually means opening multiple charts, checking each indicator, and making mental notes. The Bias Table does it automatically in one glance.
 Table Structure: 
 Header Row: 
On intraday charts: 1m, 5m, 15m, 30m, 1h, 2h, 4h (toggle which ones you want)
On daily+ charts: D, W, M (automatic)
Green dot next to title = live updating
 Headline Rows - Macro Bias: 
These show broad market direction over longer periods:
3 Day Bias: Trend over last 3 trading sessions (uses 1h data)
Weekly Bias: Trend over last 5 trading sessions (uses 4h data)
Monthly Bias: Trend over last 30 daily bars
Quarterly Bias: Trend over last 13 weekly bars
VIX Fear Index: Market regime based on VIX level - bullish when low, bearish when high
Opening Range Breakout: Status of price vs. session open range (intraday only)
These rows show text: "BULLISH", "BEARISH", or "NEUTRAL"
Indicator Rows - Technical Signals:
These evaluate your configured indicators across all active timeframes:
Fast MA > Medium MA (shows your actual MA settings, e.g., "EMA 10 > SMA 20")
Price > Long MA (e.g., "Price > SMA 200")
Price > VWAP
MACD > Signal
Supertrend (up/down/neutral)
ZLSMA Rising
RSI In Zone
ADX ≥ Minimum
These rows show emojis: GREEB (bullish), RED (bearish), GRAY/YELLOW (neutral/NA)
 AVG Column: 
Shows percentage of active timeframes that are bullish for that row. This is the KEY metric:
AVG > 70% = strong multi-timeframe bullish alignment
AVG 40-60% = mixed/choppy, no clear trend
AVG < 30% = strong multi-timeframe bearish alignment
 How to Use the Table: 
 For a long trade: 
Check AVG column - want to see > 60% ideally
Check headline bias rows - want to see BULLISH, not BEARISH
Check VIX row - bullish market regime preferred
Check ORB row (intraday) - want ABOVE for longs
Scan indicator rows - more green = better confirmation
 For a short trade: 
Check AVG column - want to see < 40% ideally
Check headline bias rows - want to see BEARISH, not BULLISH
Check VIX row - bearish market regime preferred
Check ORB row (intraday) - want BELOW for shorts
Scan indicator rows - more red = better confirmation
 When AVG is 40-60%: 
Market is choppy, mixed signals. Either stay out or reduce position size significantly. These are low-probability environments.
 Unique Features: 
 
 Dynamic Labels: Row names show your actual settings (e.g., "EMA 10 > SMA 20" not generic "Fast > Slow"). You know exactly what's being evaluated.
 Customizable Rows: Turn off rows you don't care about. Only show what matters to your strategy.
 Customizable Timeframes: On intraday charts, disable 1m or 4h if you don't trade them. Reduces calculation load by 20-40%.
 Automatic HTF Handling: On Daily/Weekly/Monthly charts, the table automatically switches to D/W/M columns. No configuration needed.
 Performance Smart: "Hide BIAS table on 1D or above" option completely skips all table calculations on higher timeframes if you only trade intraday.
 
 
  
---
 6. CANDLESTICK PATTERN RECOGNITION 
The indicator automatically detects six major reversal patterns and marks them with emojis at the relevant bars.
 Why These Six Patterns: 
These are the most statistically significant reversal patterns according to trading literature:
High win rate when appearing at support/resistance
Clear visual structure (not subjective)
Work across all timeframes and assets
Studied extensively by institutions
 The Patterns: 
 
 Bullish Patterns (appear at bottoms):
 Bullish Engulfing: Green candle completely engulfs prior red candle's body. Strong reversal signal.
 Hammer: Small body with long lower wick (at least 2× body size). Shows rejection of lower prices by buyers.
 Morning Star: Three-candle pattern (large red → small indecision → large green). Very strong bottom reversal.
 Bearish Patterns (appear at tops):
 Bearish Engulfing: Red candle completely engulfs prior green candle's body. Strong reversal signal.
 Shooting Star: Small body with long upper wick (at least 2× body size). Shows rejection of higher prices by sellers.
 Evening Star: Three-candle pattern (large green → small indecision → large red). Very strong top reversal.
 
 Interactive Tooltips: 
Unlike most pattern indicators that just draw shapes, this one is educational:
Hover your mouse over any pattern emoji
A tooltip appears explaining: what the pattern is, what it means, when it's most reliable, and how to trade it
No need to memorize - learn as you trade
 Noise Filter: 
"Min candle body % to filter noise" setting prevents false signals:
Patterns require minimum body size relative to price
Filters out tiny candles that don't represent real buying/selling pressure
Adjust based on asset volatility (higher % for crypto, lower for low-volatility stocks)
  
 How to Trade Patterns: 
Patterns are NOT standalone entry signals. Use them as:
 
 Confirmation: UT Bot gives signal + pattern appears = stronger entry
 Reversal Warning: In a trade, opposite pattern appears = consider tightening stop or taking profit
 Support/Resistance Validation: Pattern at key level (PDH, VWAP, MA 200) = level is being respected
 
 Best combined with: 
 
 UT Bot or Base signal in same direction
 Bias Table alignment (AVG > 60% or < 40%)
 Appearance at obvious support/resistance
 
---
 7. VISUAL TOOLS AND FEATURES 
 VWAP (Volume Weighted Average Price): 
Session-anchored VWAP with standard deviation bands. Shows institutional "fair value" for the trading session.
Anchor Options: Session, Day, Week, Month, Quarter, Year. Choose based on your trading timeframe.
Bands: Up to three pairs (X1, X2, X3) showing statistical deviation. Price at outer bands often reverses.
Auto-Hide on HTF: VWAP hides on Daily/Weekly/Monthly charts automatically unless you enable anchored mode.
 Use VWAP as: 
 
 Directional bias (above = bullish, below = bearish)
 Mean reversion levels (outer bands)
 Support/resistance (the VWAP line itself)
 
 Previous Day High/Low: 
Automatically plots yesterday's high and low on intraday charts:
Updates at start of each new trading day
Theme-aware colors (dark text for light charts, light text for dark charts)
Hidden automatically on Daily/Weekly/Monthly charts
These levels are critical for intraday traders - institutions watch them closely as support/resistance.
 Opening Range Breakout (ORB): 
Tracks the high/low of the first 5, 15, 30, or 60 minutes of the trading session:
Customizable session times (preset for NYSE, LSE, TSE, or custom)
Shows current breakout status in Bias Table row (ABOVE, BELOW, INSIDE, BUILDING)
Intraday only - auto-disabled on Daily+ charts
ORB is a classic day trading strategy - breakout above opening range often leads to continuation.
 Extra Labels: 
Change from Open %: Shows how far price has moved from session open (intraday) or daily open (HTF). Green if positive, red if negative.
ADX Badge: Small label at bottom of last bar showing current ADX value. Green when above your minimum threshold, red when below.
RSI Badge: Small label at top of last bar showing current RSI value with zone status (buy zone, sell zone, or neutral).
These labels provide quick at-a-glance confirmation without needing separate indicator windows.
---
 8. HOW TO USE THE INDICATOR 
 Step 1: Add to Chart 
Load the indicator on your chosen asset and timeframe
First time: Everything is enabled by default - the chart will look busy
Don't panic - you'll turn off what you don't need
 Step 2: Start Simple 
Turn OFF everything except:
UT Bot labels (keep these ON)
Bias Table (keep this ON)
Moving Averages (Fast and Medium only)
Suggested Stop Loss and Take Profits
Hide everything else initially. Get comfortable with the basic UT Bot + Bias Table workflow first.
 Step 3: Learn the Core Workflow 
UT Bot gives a Buy or Sell signal
Check Bias Table AVG column - do you have multi-timeframe alignment?
If yes, enter the trade
Place stop at Suggested Stop Loss line
Scale out at TP levels
Exit on opposite UT signal
Trade this simple system for a week. Get a feel for signal frequency and win rate with your settings.
 Step 4: Add Filters Gradually 
If you're getting too many losing signals (whipsaws in choppy markets), add filters one at a time:
Try: "Require 2-Bar Trend Confirmation" - wait for 2 bars to confirm direction
Try: ADX filter with minimum threshold - only trade when trend strength is sufficient
Try: RSI pullback filter - only enter on pullbacks, not chasing
Try: Volume filter - require above-average volume
Add one filter, test for a week, evaluate. Repeat.
 Step 5: Enable Advanced Features (Optional) 
Once you're profitable with the core system, add:
Supertrend for additional trend confirmation
Candlestick patterns for reversal warnings
VWAP for institutional anchor reference
ORB for intraday breakout context
ZLSMA for low-lag trend following
 Step 6: Optimize Settings 
Every setting has a detailed tooltip explaining what it does and typical values. Hover over any input to read:
What the parameter controls
How it impacts trading
Suggested ranges for scalping, day trading, and swing trading
Start with defaults, then adjust based on your results and style.
 Step 7: Set Up Alerts 
Right-click chart → Add Alert → Condition: "Luxy Momentum v6" → Choose:
"UT Bot — Buy" for long entries
"UT Bot — Sell" for short entries
"Base Long/Short" for filtered MA cross signals
Optionally enable "Send real-time alert() on UT flip" in settings for immediate notifications.
 Common Workflow Variations: 
Conservative Trader:
UT signal + Base signal + Candlestick pattern + Bias AVG > 70%
Enter only at major support/resistance
Wider UT sensitivity, multiple filters
 Aggressive Trader: 
UT signal + Bias AVG > 60%
Enter immediately, no waiting
Tighter UT sensitivity, minimal filters
 Swing Trader: 
Focus on Daily/Weekly Bias alignment
Ignore intraday noise
Use ORB and PDH/PDL less (or not at all)
Wider stops, patient approach
---
 9. PERFORMANCE AND OPTIMIZATION 
The indicator is optimized for speed, but with 15+ features running simultaneously, chart load time can add up. Here's how to keep it fast:
 Biggest Performance Gains: 
Disable Unused Timeframes: In "Time Frames" settings, turn OFF any timeframe you don't actively trade. Each disabled TF saves 10-15% calculation time. If you only day trade 5m, 15m, 1h, disable 1m, 2h, 4h.
Hide Bias Table on Daily+: If you only trade intraday, enable "Hide BIAS table on 1D or above". This skips ALL table calculations on higher timeframes.
Draw UT Visuals Only on Bar Close: Reduces intrabar rendering of SL/TP/Entry lines. Has ZERO impact on logic or alerts - purely visual optimization.
 Additional Optimizations: 
Turn off VWAP bands if you don't use them
Disable candlestick patterns if you don't trade them
Turn off Supertrend fill if you find it distracting (keep the line)
Reduce "Limit to 10 bars" for SL/TP lines to minimize line objects
 Performance Features Built-In: 
Smart Caching: Higher timeframe data (3-day bias, weekly bias, etc.) updates once per day, not every bar
Conditional Calculations: Volume filter only calculates when enabled. Swing filter only runs when enabled. Nothing computes if turned off.
Modular Design: Every component is independent. Turn off what you don't need without breaking other features.
 Typical Load Times: 
5m chart, all features ON, 7 timeframes: ~2-3 seconds
5m chart, core features only, 3 timeframes: ~1 second
1m chart, all features: ~4-5 seconds (many bars to calculate)
If loading takes longer, you likely have too many indicators on the chart total (not just this one).
---
 10. FAQ 
Q: How is this different from standard UT Bot indicators?
A: Standard UT Bot (originally by @QuantNomad) is just the ATR trailing line and flip signals. This implementation adds:
- Volume weighting and momentum adjustment to the trailing calculation
- Multiple confirmation filters (swing, %, 2-bar, ZLSMA)
- Smart composite stop loss system from multiple S/R layers
- R-multiple take profit system with freeze-on-touch
- Integration with multi-timeframe Bias Table
- Visual audit trail with checkmarks
Q: Can I use this for automated trading?
A: The indicator is designed for discretionary trading. While it has clear signals and alerts, it's not a mechanical system. Context and judgment are required.
Q: Does it repaint?
A: No. All signals respect bar close. UT Bot logic runs intrabar but signals only trigger on confirmed bars. Alerts fire correctly with no lookahead.
Q: Do I need to use all the features?
A: Absolutely not. The indicator is modular. Many profitable traders use just UT Bot + Bias Table + Moving Averages. Start simple, add complexity only if needed.
Q: How do I know which settings to use?
A: Every single input has a detailed tooltip. Hover over any setting to see:
What it does
How it affects trading
Typical values for scalping, day trading, swing trading
Start with defaults, adjust gradually based on results.
Q: Can I use this on crypto 24/7 markets?
A: Yes. ORB will not work (no defined session), but everything else functions normally. Use "Day" anchor for VWAP instead of "Session".
Q: The Bias Table is blank or not showing.
A: Check:
"Show Table" is ON
Table position isn't overlapping another indicator's table (change position)
At least one row is enabled
"Hide BIAS table on 1D or above" is OFF (if on Daily+ chart)
Q: Why are candlestick patterns not appearing?
A: Patterns are relatively rare by design - they only appear at genuine reversal points. Check:
Pattern toggles are ON
"Min candle body %" isn't too high (try 0.05-0.10)
You're looking at a chart with actual reversals (not strong trending market)
Q: UT Bot is too sensitive/not sensitive enough.
A: Adjust "Sensitivity (Key×ATR)". Lower number = tighter stop, more signals. Higher number = wider stop, fewer signals. Read the tooltip for guidance.
Q: Can I get alerts for the Bias Table?
A: The Bias Table is a dashboard for visual analysis, not a signal generator. Set alerts on UT Bot or Base signals, then manually check Bias Table for confirmation.
Q: Does this work on stocks with low volume?
A: Yes, but turn OFF the volume filter. Low volume stocks will never meet relative volume requirements.
Q: How often should I check the Bias Table?
A: Before every entry. It takes 2 seconds to glance at the AVG column and headline rows. This one check can save you from fighting the trend.
Q: What if UT signal and Base signal disagree?
A: UT Bot is more aggressive (ATR trailing). Base signals are more conservative (MA cross + filters). If they disagree, either:
Wait for both to align (safest)
Take the UT signal but with smaller size (aggressive)
Skip the trade (conservative)
There's no "right" answer - depends on your risk tolerance.
---
 FINAL NOTES 
The indicator gives you an edge. How you use that edge determines results.
For questions, feedback, or support, comment on the indicator page or message the author.
 Happy Trading! 
DM Auto PDH/PDL/PMH/PMLThe “DM Auto PDH/PDL/PMH/PML” indicator is a price-level plotting tool designed for intraday traders who want to automatically display key reference levels on their TradingView chart — specifically:
 What It Does
It automatically plots and labels:
PDH (Previous Day High) – The highest price of the previous trading day.
PDL (Previous Day Low) – The lowest price of the previous trading day.
PMH (Premarket High) – The highest price during the premarket session (e.g., 4:00–9:30 AM).
PML (Premarket Low) – The lowest price during the premarket session.
These levels are critical for many day traders to identify:
Potential support/resistance zones.
Breakout or reversal areas.
Liquidity zones where price tends to react.
 Key Features
Automatic Detection:
The script calculates these levels automatically from live or historical data.
Custom Session Settings:
You can define your premarket hours (default: 04:00–09:30 exchange time).
Visual Customization:
Choose whether to show lines only on the latest bar or across the whole chart.
Choose line colors for PDH, PDL, PMH, and PML.
Optionally display labels (e.g., “PDH”, “PML”) at the right edge of the chart.
No Signals or Strategy Logic:
This version does not buy/sell or alert — it’s purely a visual reference indicator for price levels.
 Typical Uses
Day traders and scalpers use this to:
Plan trades around prior-day highs/lows (major intraday levels).
Identify premarket extremes, which often act as first support/resistance after the open.
Combine with other indicators (VWAP, moving averages, volume profiles) for confirmation.
 Summary
Level	Meaning	Common Usage
PDH	Previous Day High	Resistance / Breakout Target
PDL	Previous Day Low	Support / Breakdown Target
PMH	Premarket High	Intraday Resistance Zone
PML	Premarket Low	Intraday Support Zone
DM Scalper FlowHow to enter trades manually
You can use this workflow:
For LONG entries
Wait for the “LONG ▲” bias to appear on the table.
Confirm the candle is bullish (close > open) and above VWAP.
Enter at or near the close of that bar or on a small pullback.
Set stop loss at Bull SL, target at Bull TP from the table.
For SHORT (PUT) entries
Wait for the “PUT ▼” bias.
Confirm the candle is bearish (close < open) and below VWAP.
Enter near the close or next small retracement.
Use Bear SL and Bear TP from the table.
How to interpret the table
Row	Meaning	Usage
Bull SL / TP	ATR-based Stop-Loss and Take-Profit levels for a long	Use as your entry plan if you take a long
Bear SL / TP	ATR-based levels for a short	Use for short entries
Bias	“LONG” or “PUT” signal + arrow	Follow only when it’s active
DM Super AlgoHere’s what each row in the Summary Table means and how you’d use it:
Mode
Shows your selected trade style (Scalp / Day trade / Swing) plus the ATR settings tied to it.
Use it to remember what volatility context you set the algo to (it also informs some visuals/OB stats under the hood).
ADX
Current trend strength from the Wilder ADX. It also labels the regime: WEAK / MODERATE / STRONG / VERY STRONG.
When ADX is below your “ADX min” input, the algo treats trend as weak; unified signals only fire when trend is strong.
Vol >MA*x
Whether current volume is UNUSUAL (above SMA(volume, flowVolLen) × flowVolMult) or NORMAL.
UNUSUAL volume = better odds a move can follow through; it also contributes a “vote.”
RSI(len)
Shows RSI value or zone: Overbought / OB Zone / Oversold / OS Zone / number.
Above 50 adds a bull vote; below 50 adds a bear vote. OB/OS text just gives quick context.
ATR(len)
Shows the ATR and (optionally) the ATR % of price (e.g., “1.23 (0.65%)”).
Higher ATR = more noise/range; useful for setting stops/targets sized to current volatility.
DM Total BUY
Rolling total of estimated buy volume over your lookback window (formatted in K/M/B).
Bigger than SELL suggests net buying pressure recently.
DM Total SELL
Rolling total of estimated sell volume over the same window.
Bigger than BUY suggests net selling pressure recently.
DM Buy Dom%
The share of buy volume in total (BUY / (BUY+SELL)), as a percentage.
>50% favors bulls; <50% favors bears. It also feeds a vote.
Votes (B/Bear)
The bull vs bear tally from 5 components:
Price vs EMA(Trend)
RSI vs 50
DM dominance (>50%)
CVD slope (last 5 bars)
Volume condition
When trend is strong (ADX filter passes) and one side has ≥3 votes AND more than the other, the script plots its triangle marker.
How to use the table (quick workflow)
Check ADX: If not “STRONG/VERY STRONG,” be cautious—signals won’t print unless trend passes your ADX threshold.
Scan Votes: A clear majority (e.g., 4/1) is stronger than 3/2.
Confirm with Volume: “UNUSUAL” volume increases conviction.
Gauge Volatility: Use ATR (and ATR%) to size stops/targets.
Read DM & Dominance: BUY vs SELL totals and DM Buy Dom% tell you whether the recent flow supports the direction.
Next-Day Open Bias (NDO) — Clean HUD (Compat)What It’s Designed To Do
Goal:
Predict whether the next day’s market open will gap up (bullish) or down (bearish) — useful for swing entries into next-day expiry trades, e.g. SPX 0DTE or next-day options.
It’s a probability-driven model, not a buy/sell signal generator.
It gives you a probability bias for the next day’s opening direction.
The text color instantly tells you:
🟩 Green = Bull signal (expect next-day gap up)
🟥 Red = Bear signal (expect next-day gap down)
⚪ White = Neutral / no edge
Continuation Suite v1 — 5m/15mContinuation Suite v1 — 5m/15m (Non-Repainting, S/R + Trend Continuation)
What it does
Continuation Suite v1 is a practical intraday toolkit that combines non-repainting trend-continuation signals with auto-built Support/Resistance (S/R) from confirmed pivots. It’s designed for fast, liquid names on 5m charts with an optional 15m higher-timeframe (HTF) overlay. You get: stacked-EMA bias, disciplined pullback+reclaim entries, optional volume/volatility gates, a “Strong” signal tier, solid S/R lines or zones, and a compact dashboard for fast reads.
⸻
Why traders use it
	•	Clear bias using fast/mid/slow EMA stacking.
	•	Actionable entries that require a pullback, a reclaim, and (optionally) a minor break of prior extremes.
	•	Signal quality gates (volume vs SMA, ATR%, ADX/DI alignment, EMA spacing, slope).
	•	Non-repainting logic when “Confirm on Close” = ON. Intrabar previews show what’s forming, but confirmed signals only print on bar close.
	•	S/R that matters: confirmed-pivot lines or ATR-sized zones, optional HTF overlay, and auto de-dup to avoid clutter.
⸻
Signal construction (no magic, just rules)
Bullish continuation (base):
	1.	Trend: EMA fast > EMA mid > EMA slow
	2.	Pullback: price pulls into the stack (lowest low or close vs EMA fast/mid over a lookback)
	3.	Reclaim: close > EMA fast and close > open
	4.	Break filter (optional): current bar takes out the prior bar’s high
	5.	Filters: volume > SMA (if enabled) and ATR% ≤ max (if enabled)
	6.	Cooldown: a minimum bar gap between signals
Bearish continuation (base): mirror of the above.
Strong signals: base conditions plus ADX ≥ threshold, DI alignment (DI+>DI- for longs; DI->DI+ for shorts), minimum EMA-spacing %, and minimum fast-EMA slope.
Reference stops:
	•	Longs: lowest low over the pullback lookback
	•	Shorts: highest high over the pullback lookback
Alerts are included for: Bullish Continuation, Bearish Continuation, STRONG Bullish, STRONG Bearish.
⸻
S/R engine (current TF + optional HTF)
	•	Builds S/R from confirmed pivots only (left/right bars).
	•	Choose Lines (midlines) or Zones (ATR-sized).
	•	Zones merge when a new pivot lands near an existing zone’s mid (ATR-scaled epsilon).
	•	Touches counter tracks significance; you can require a minimum to draw.
	•	HTF overlay (default 15m) draws separate lines/zones with tiny TF tags on the right.
	•	De-dup option hides current-TF zones that sit too close to HTF zones (ATR-scaled), reducing overlap.
	•	Freeze on Close (optional) keeps arrays stable intrabar; snapshots show levels immediately as bars open.
⸻
Presets
	•	Auto: Detects QQQ-like tickers (QQQ, QLD, QID) or SoFi; else defaults to Custom.
	•	QQQ: Tighter ATR% and EMA settings geared to index-ETF behavior.
	•	SoFi: Wider ATR allowances and longer mid/slow for single-name behavior.
	•	Custom: Expose all key inputs to tune for your product.
⸻
Dashboard (top-right)
	•	Preset in use
	•	Bias (Bullish CONT / Bearish CONT / Neutral)
	•	Strong (Yes/No)
	•	Volatility (ATR% bucket)
	•	Trend (ADX bucket)
	•	HTF timeframe tag
	•	Volume (bucket or “off”)
	•	Signals mode (Close-Confirmed vs Intrabar)
⸻
Inputs you’ll actually adjust
Trend/Signals
	•	Fast/Mid/Slow EMA lengths
	•	Pullback lookback, Min bars between signals
	•	Volume filter (vol > SMA N)
	•	ATR% max filter (cap excessive volatility)
	•	Require break of prior bar’s high/low
	•	“Strong” gates: min EMA slope, min EMA spacing %, ADX length & threshold
Support/Resistance
	•	Lines vs Zones
	•	Pivot left/right bars
	•	Extend left/right (bars)
	•	Max pivots kept (current & HTF)
	•	Zone width (× ATR), Merge epsilon (× ATR), Min gap (× ATR)
	•	Min touches, Max zones per side near price
	•	De-dup current TF vs HTF (× ATR)
Repainting control
	•	Confirm on Close: when ON, signals/SR finalize on bar close (non-repainting)
	•	Freeze on Close: freeze S/R intrabar with snapshot updates
	•	Show previews: translucent intrabar labels for what’s forming
⸻
How to use it (straightforward)
	1.	Load on 5-minute chart (baseline). Keep Confirm on Close ON if you hate repainting.
	2.	Use Bias + Strong + S/R context. If a long prints into HTF resistance, you have information.
	3.	Manage risk off the reference stop (pullback extreme). If ATR% reads “Great,” widen expectations; if “Poor,” size down or pass.
	4.	Alerts: wire the four alert types to your workflow.
⸻
Notes and constraints
	•	Designed for liquid symbols. Thin books and synthetic “volume” will degrade the volume gate.
	•	S/R is pivot-based. On very choppy tape, touch counts help. Increase min touches or switch to Lines to declutter.
	•	If your chart timeframe isn’t 5m, behavior changes because lengths are in bars, not minutes. Tune lengths accordingly.
⸻
Disclaimers
This is a research tool. No signals are guaranteed. Markets change, outliers happen, slippage is real. Nothing here is financial advice—use your own judgment and risk management.
⸻
Author: DaddyScruff
License: MPL-2.0 (Mozilla Public License 2.0)
BND Trader (By Vahid.Jz) 🇮🇷🎉 The first Persian indicator on TradingView, released for free to celebrate my daughter's birthday. 🎉
**Trading Assistant (by Vahid.Jz)** is an all-in-one tool designed to simplify analysis and improve accuracy. It acts as an intelligent trading partner.
**Features:**
- Market Structure detection
- Multi-Timeframe “Third Eye” analysis
- Professional Order Blocks recognition
- Fair Value Gaps (FVGs) detection
- Customizable alerts
- Fully Persian interface
- Create Custom Alarm
Developed with love by **Vahid.Jz**, a trader and Pine Script enthusiast.
*“Trading is not a destination; it’s the journey — a path of learning, growth, and experience.”*
DM Flow AlgoDM Flow Algo is a volume-based flow analysis tool that compares buying vs. selling pressure in the market over a rolling window of bars.
It helps identify whether buyers or sellers are dominant, and optionally, it can align that with trend direction (via EMAs).
It’s designed for volume flow insight, trend confirmation, and momentum shifts.
DM OscillatorWhat the DM Oscillator Does
This indicator is designed to measure overall market trend strength and direction by combining multiple dimensions of momentum, volatility, and trend structure. It combines multiple signals
Each of the following contributes a small “vote” toward bullish or bearish bias:
Tight Entry Trend Engine Strategy═══════════════════════════════════════
TIGHT ENTRY TREND ENGINE
═══════════════════════════════════════
A breakout-based trend-following system designed to capture explosive 
moves by entering at precise resistance/support breakouts with minimal 
entry risk and massive profit potential.
⚠️ LOW WIN RATE, HIGH REWARD SYSTEM ⚠️
This is NOT a high win-rate strategy. Expect 25-35% winners, but 
when it hits, winners are typically 10X+ larger than losers.
═══════════════════════════════════════
🎯 WHAT THIS SYSTEM DOES
═══════════════════════════════════════
The Tight Entry Trend Engine identifies powerful breakout opportunities 
by detecting when price breaks through established trendlines with 
confirmation from higher timeframe trends:
1. DYNAMIC TRENDLINE DETECTION (3 BANKS)
   • Automatically draws support and resistance trendlines
   • 3 separate "banks" capture short-term, medium-term, and long-term levels
   • Each bank has configurable parameters (required pivot touch count, 
     angle limits, lengths)
2. BREAKOUT ENTRY TIMING
   • Enters LONG when price breaks ABOVE resistance trendlines
   • Enters SHORT when price breaks BELOW support trendlines
   • Entry Alert occurs at the exact moment of breakout = "tight entry"
   • Stop-loss placed just below/above the broken trendline (configurable)
3. HIGHER TIMEFRAME TREND FILTER
   • Uses Hull Moving Average (HMA) on higher timeframe for trend following
   • Auto-adjusts HTF based on your chart timeframe
   • Optional filters prevent entries against major trend
   • Optional "overextension" filter avoids buying parabolic moves
4. VOLATILITY-ADAPTIVE RISK MANAGEMENT
   • Stop-loss calculated using Average True Range (ATR)
   • Tighter stops = better R:R
   • Profit targets adjust dynamically with volatility
   • Breakeven stop moves automatically when in profit
   • Extended profit targets when far from HTF trend
═══════════════════════════════════════
📊 HOW IT WORKS (METHODOLOGY)
═══════════════════════════════════════
STEP 1: TRENDLINE FORMATION
The system continuously scans for pivot highs and pivot lows to 
construct trendlines. You control:
BANK 1 (Short-Term):
- Pivot Length: How many bars to look back for swing points
- Min Touches: How many pivots needed to form a line (default: 3)
- Max Length: How far back lines can reach (default: 180 bars)
- Angle Limits: Maximum steepness allowed for valid trendlines
- Tolerance: How close pivots must align to form horizontal lines
BANK 2 (Medium-Term):
- Slightly longer pivot periods for more significant levels
- Captures medium-term trend structure
- Default Max Length: 200 bars
BANK 3 (Long-Term):
- Focuses on major support/resistance zones
- Often uses horizontal levels (angled lines disabled by default)
- Default Max Length: 300 bars
The system draws RESISTANCE lines (red) above price and SUPPORT 
lines (green) below price. These adapt in real-time as new pivots form.
STEP 2: BREAKOUT DETECTION
LONG SIGNALS:
- Price closes above a resistance trendline
- Higher timeframe trend is up (optional filter)
- Price not overextended from HTF trend (optional filter)
- No position currently open
SHORT SIGNALS:
- Price closes below a support trendline
- Higher timeframe trend is down (optional filter)
- Price not overextended from HTF trend (optional filter)
- No position currently open
The "tight" aspect: Because you're entering right at the trendline 
break, your stop-loss can be placed very close (just below the 
broken resistance for longs), creating exceptional risk/reward ratios.
STEP 3: POSITION SIZING
Choose between:
- Fixed $ Risk Per Trade: Risk same dollar amount every trade
- % Risk Per Trade: Risk percentage of current equity
Position size automatically calculated based on:
- Your risk amount
- Distance to stop-loss (ATR-based)
- Works with stocks, futures, crypto (auto-adjusts for contract multipliers)
STEP 4: EXIT MANAGEMENT
Multiple exit methods working together:
- PROFIT TARGET: Exits when profit reaches 100x your risk
- EXTENDED PROFIT: Earlier exit (80R) when very far from HTF trend
- STOP LOSS: Fixed ATR-based stop below entry
- HTF TREND EXIT: Exits when price crosses below HTF trend with profit
- BREAKEVEN PULLBACK: Exits if profit drops below 0.6R after reaching breakeven
- PARTIAL PROFITS: Optional - take partial profits at specified R-multiple
═══════════════════════════════════════
🔧 KEY COMPONENTS EXPLAINED
═══════════════════════════════════════
HULL MOVING AVERAGE (HMA)
A smoothed moving average that reduces lag compared to traditional 
MAs. The system uses HMA on a higher timeframe to determine the 
dominant trend direction. You can choose:
- Auto HTF: System picks appropriate HTF based on your chart timeframe
- Manual HTF: You specify the higher timeframe
AVERAGE TRUE RANGE (ATR)
Measures current market volatility. Used for:
- Stop-loss distance (tighter when volatility low)
- Profit targets (larger when volatility high)
- Position sizing (smaller positions in volatile conditions)
- Breakeven trigger distance
TRENDLINE ANGLE FILTERING
Each trendline bank has angle limits to ensure quality:
- Resistance lines: Max downward/upward slope allowed
- Support lines: Max downward/upward slope allowed
- Angles automatically adjust based on current volatility
- Prevents overly steep/unreliable trendlines
SENSITIVITY CONTROL
One master slider adjusts multiple parameters:
- Trendline detection sensitivity
- HTF MA length
- Exit timing
- Auto-adjusts for daily+ timeframes (60% increase)
═══════════════════════════════════════
⚙️ WHAT YOU SEE ON YOUR CHART
═══════════════════════════════════════
TRENDLINES:
✓ Red resistance lines above price
✓ Green support lines below price  
✓ Orange broken lines (past breakouts)
✓ Lines extend to show current levels
HTF TREND:
✓ Thick colored line showing higher timeframe trend
✓ Color gradient: Red (bearish) → Orange → Yellow → Green (bullish)
✓ 250-bar smoothed curve for visual clarity
ENTRY/EXIT SIGNALS:
✓ Small green dot below bar = Long entry
✓ Small red dot above bar = Short entry
✓ Small red dot above = Long exit
✓ Small black dot below = Short exit
OPTIONAL DETAILED LABELS:
✓ Bank number that triggered entry (Bank 1, 2, or 3)
✓ Exit reason (Profit Target, Stop Loss, HTF Exit, etc.)
✓ Partial profit notifications
POSITION TRACKING:
✓ Yellow dashed line at entry price (extends right)
✓ Green/red fill showing current profit/loss zone
✓ Lime arrows at top = Currently in long position
✓ Red arrows at bottom = Currently in short position
✓ Gray background = No position (flat)
STATS TABLE (Top Right):
✓ Current position (LONG/SHORT/FLAT)
✓ Risk per trade ($ or %)
✓ Entry price
✓ Unrealized P/L in dollars
✓ P/L in R-multiples (how many R's profit/loss)
✓ Average winner/loser R ($ mode) OR CAGR (% mode)
═══════════════════════════════════════
📈 OPTIMAL USAGE
═══════════════════════════════════════
BEST ASSETS:
- NASDAQ:QQQ on 1-hour (reg) chart ⭐ (PRIMARY OPTIMIZATION)
- Strong trending stocks: NVDA, AAPL, TSLA, MSFT, GOOGL, AMZN
- High volatility tech stocks
- Crypto: BTC, ETH
- Any liquid asset with clear trends and momentum (GOLD)
AVOID:
- Low volatility stocks
- Ranging/choppy markets
- Penny stocks or illiquid assets
- Assets without clear directional movement
BEST TIMEFRAMES:
- PRIMARY: 1-hour charts (optimal for QQQ)
- ALSO EXCELLENT: 2H, 4H, 8H
- WORKS: 15min, 30min (only momentum leaders, more noise)
- WORKS WITH ADJUSTMENTS: 1D, 2D (decrease trendline pivot lengths)
═══════════════════════════════════════
📊 BACKTEST RESULTS (QQQ 1H (Reg hours), 1999-2024)
═══════════════════════════════════════
The system showed on NASDAQ:QQQ 1-hour timeframe (regular hours):
- Total Return: 1,100,000%+ over 24 years
- Total Trades: 500+
- Win Rate: ~20-24% (LOW - this is by design!)
- Average Winner: 8-15% gain
- Average Loser: 2-4% loss
- Win/Loss Ratio: 10:1 (winners much bigger than losers)
- Profit Factor: 3+
- Max Drawdown: 45-50%
- Risk per trade: 3% of capital
KEY INSIGHT: This is a LOW WIN RATE, HIGH REWARD system. You will 
lose more trades than you win, but the few winners are so large 
they more than compensate for many small losses.
IMPORTANT: These are backtested results using optimal parameters 
on historical data. Real trading results will vary based on:
- Your execution and timing
- Slippage and commissions
- Your emotional discipline
- Market conditions during your trading period
═══════════════════════════════════════
🎓 WHO IS THIS FOR?
═══════════════════════════════════════
IDEAL FOR:
✓ Swing traders comfortable holding winners for longer period
✓ Part-time traders (1H = check 2-3x per day)
✓ Traders seeking exceptional risk/reward ratios
✓ Those comfortable with low win rates if winners are huge
✓ Technical analysis enthusiasts
✓ Breakout traders
✓ Trend followers
═══════════════════════════════════════
🚀 GETTING STARTED - STEP BY STEP
═══════════════════════════════════════
STEP 1: APPLY TO YOUR CHART
- Search "Tight Entry Trend Engine" in indicators
- Click to apply to your chart
- Trendlines and HTF line will appear immediately
STEP 2: CHOOSE YOUR SETTINGS
For BEGINNERS - Use These Settings First:
1. Trade Direction & Filters:
   • ENABLE LONGS: ✓ ON
   • ENABLE SHORTS: ✗ OFF (start with longs only)
   • Sensitivity: 1.0 (default)
   • HTF Trend Entry Filter: ✓ ON (safer entries)
   • Block Entries When Overextended: ✓ ON (avoid parabolic tops)
2. Position Sizing & Risk:
   • Position Sizing: "Per Risk"
   • RISK Type: "$ Per Trade"
   • Risk Amount: $200 (or 1-3% of your account)
   
3. Visual Settings:
   • Show Support Lines: ✗ OFF (unless trading shorts)
   • Show Detailed Entry/Exit Labels: ✓ ON
   • Show Stats Table: ✓ ON
   • Show Entry Line & P/L Fill: ✓ ON
   
4. Leave everything else at DEFAULT for now
STEP 3: UNDERSTAND WHAT YOU SEE
When trendlines appear:
- RED lines above = Resistance (watch for price breaking UP through these)
- GREEN lines below = Support (watch for price breaking DOWN)
- When price breaks a red line = Potential LONG entry
- When price breaks a green line = Potential SHORT entry
The HTF trend line (thick colored):
- Green/lime = Strong uptrend (favorable for longs)
- Red = Strong downtrend (favorable for shorts if enabled)
- Orange/yellow = Transitioning
STEP 4: OBSERVE SIGNALS
- Small GREEN dot below bar = System entered LONG
- Small RED dot above bar = System exited LONG
- Check the label to see which "Bank" triggered (Bank 1, 2, or 3)
- Watch the yellow entry line and colored fill show your P/L
STEP 5: PAPER TRADE FIRST
- Use TradingView's paper trading feature
- Watch how signals perform on YOUR chosen asset
- Understand the win rate will be LOW (20-35%)
- Verify that winners are indeed much larger than losers
- Test for at least 20-30 signals before going live
STEP 6: OPTIMIZE FOR YOUR ASSET (OPTIONAL)
If default settings aren't working well:
For FASTER signals (more trades):
- Reduce Pivot Length 1 to 3-4
- Reduce Max Length 1 to 120-150
- Increase Sensitivity to 1.2-1.5
For SLOWER signals (higher quality):
- Increase Pivot Length 1 to 7-10
- Increase Max Length 1 to 250+
- Decrease Sensitivity to 0.7-0.9
For DAILY timeframes:
- Increase all Pivot Lengths by 30-50%
- Increase all Max Lengths significantly
- Sensitivity: 0.6-0.8
═══════════════════════════════════════
⚙️ ADVANCED SETTINGS EXPLAINED
═══════════════════════════════════════
TRENDLINE BANK SETTINGS:
Each bank (1, 2, 3) has these parameters:
- Min Touches: Minimum pivots to form a line
  - Lower (2) = More lines, earlier detection
  - Higher (4+) = Fewer lines, higher quality
- Pivot Length: Lookback for swing points
  - Lower (3-5) = Reacts to recent price action
  - Higher (10+) = Only major swing points
- Max Length: How old a trendline can be
  - Shorter (100-150) = Only recent lines
  - Longer (300+) = Include historical levels
- Tolerance: Alignment strictness for horizontal lines
  - Lower (3.0-3.5) = Very strict horizontal
  - Higher (4.5+) = More forgiving alignment
- Allow Angled Lines: Enable diagonal trendlines
  - ON = Catches sloped support/resistance
  - OFF = Only horizontal levels
- Angle Limits: Maximum steepness allowed
  - Lower (1-2) = Only gentle slopes
  - Higher (4-6) = Accept steeper angles
  - Automatically adjusts for volatility
ATR MULTIPLIERS:
- STOP LOSS ATR (0.6): Distance to stop-loss
  - Lower (0.4-0.5) = Tighter stops, stopped out more
  - Higher (0.8-1.0) = Wider stops, more room
- PROFIT TARGET ATR (100): Main profit target
  - This is 100x your risk = 10,000% R:R
  - Lower (50-80) = Take profits sooner
  - Higher (120+) = Let winners run longer
- BREAKEVEN ATR (40): When to move stop to breakeven
  - Lower (20-30) = Protect profits earlier
  - Higher (60+) = Give more room before protecting
HIGHER TIMEFRAME:
- Auto HTF: Automatically selects appropriate HTF
  - 5min chart → uses 2H
  - 15-30min → uses 6H
  - 1-4H → uses 2D
  - Daily → uses 4D
- HTF MA Length (300): HMA period for trend
  - Lower (150-250) = More responsive
  - Higher (400-500) = Smoother, less whipsaw
- HTF Trend Following Exit: Exits when crossing HTF
  - ON = Additional exit method
  - OFF = Rely only on profit targets/stops
- HTF Trend Entry Filter: Only trade with HTF trend
  - ON = Safer, fewer signals
  - OFF = More aggressive, more signals
- Block Entries When Overextended: Prevents chasing
  - ON = Avoids parabolic tops/bottoms
  - OFF = Enter all breakouts regardless
═══════════════════════════════════════
💡 TRADING PHILOSOPHY & EXPECTATIONS
═══════════════════════════════════════
This system is built on one core principle:
"ACCEPT SMALL, FREQUENT LOSSES TO CAPTURE RARE, MASSIVE WINS"
What this means:
- You WILL lose 65%-75% of your trades
- Most losses will be small (1-2R)
- Some winners hit 80R+
- Over time, math works in your favour






















