OPEN-SOURCE SCRIPT
Updated Triple EMA + Volume/Price Signals

Overview
This script merges three exponential moving averages (EMA) with adaptive volume thresholds to identify high-confidence trends. Unlike basic volume indicators, it triggers signals only when volume exceeds both a user-defined absolute value (e.g., 500k) and a percentage increase (e.g., 5%) – reducing noise in volatile markets.
Key Features
Triple EMA System:
Short (9), Medium (21), and Long (50) EMAs for trend direction.
Bullish Signal: Short EMA > Medium EMA > Long EMA.
Bearish Signal: Short EMA < Medium EMA < Long EMA.
Dual-Threshold Volume Confirmation:
Absolute Volume: Highlight bars where volume exceeds X (e.g., 500,000).
Percentage Increase: Highlight bars where volume rises by Y% (e.g., 5%) vs. prior bar.
Users can enable/disable either threshold.
Customizable Alerts:
Trigger alerts only when both EMA alignment and volume conditions are met.
How It Works
Trend + Volume Synergy:
A bullish EMA crossover alone might be a false breakout. This script requires additional volume confirmation (e.g., 500k volume + 5% spike) to validate the move.
Flexibility: Adjust thresholds for different assets:
Stocks: Higher absolute volume (e.g., 1M shares).
Crypto: Smaller absolute volume but larger % spikes (e.g., 10%).
Usage Examples
Swing Trading:
Set EMA lengths to 20/50/200 and volume thresholds to 500k + 5% on daily charts.
Scalping:
Use 5/13/21 EMAs with 100k volume + 3% spikes on 5-minute charts.
This script merges three exponential moving averages (EMA) with adaptive volume thresholds to identify high-confidence trends. Unlike basic volume indicators, it triggers signals only when volume exceeds both a user-defined absolute value (e.g., 500k) and a percentage increase (e.g., 5%) – reducing noise in volatile markets.
Key Features
Triple EMA System:
Short (9), Medium (21), and Long (50) EMAs for trend direction.
Bullish Signal: Short EMA > Medium EMA > Long EMA.
Bearish Signal: Short EMA < Medium EMA < Long EMA.
Dual-Threshold Volume Confirmation:
Absolute Volume: Highlight bars where volume exceeds X (e.g., 500,000).
Percentage Increase: Highlight bars where volume rises by Y% (e.g., 5%) vs. prior bar.
Users can enable/disable either threshold.
Customizable Alerts:
Trigger alerts only when both EMA alignment and volume conditions are met.
How It Works
Trend + Volume Synergy:
A bullish EMA crossover alone might be a false breakout. This script requires additional volume confirmation (e.g., 500k volume + 5% spike) to validate the move.
Flexibility: Adjust thresholds for different assets:
Stocks: Higher absolute volume (e.g., 1M shares).
Crypto: Smaller absolute volume but larger % spikes (e.g., 10%).
Usage Examples
Swing Trading:
Set EMA lengths to 20/50/200 and volume thresholds to 500k + 5% on daily charts.
Scalping:
Use 5/13/21 EMAs with 100k volume + 3% spikes on 5-minute charts.
Release Notes
OverviewThis script merges three exponential moving averages (EMA) with adaptive volume thresholds to identify high-confidence trends. Unlike basic volume indicators, it triggers signals only when volume exceeds both a user-defined absolute value (e.g., 500k) and a percentage increase (e.g., 5%) – reducing noise in volatile markets.
Key Features
Triple EMA System:
Short (9), Medium (21), and Long (50) EMAs for trend direction.
Bullish Signal: Short EMA > Medium EMA > Long EMA.
Bearish Signal: Short EMA < Medium EMA < Long EMA.
Dual-Threshold Volume Confirmation:
Absolute Volume: Highlight bars where volume exceeds X (e.g., 500,000).
Percentage Increase: Highlight bars where volume rises by Y% (e.g., 5%) vs. prior bar.
Users can enable/disable either threshold.
Customizable Alerts:
Trigger alerts only when both EMA alignment and volume conditions are met.
How It Works
Trend + Volume Synergy:
A bullish EMA crossover alone might be a false breakout. This script requires additional volume confirmation (e.g., 500k volume + 5% spike) to validate the move.
Flexibility: Adjust thresholds for different assets:
Stocks: Higher absolute volume (e.g., 1M shares).
Crypto: Smaller absolute volume but larger % spikes (e.g., 10%).
Usage Examples
Swing Trading:
Set EMA lengths to 20/50/200 and volume thresholds to 500k + 5% on daily charts.
Scalping:
Use 5/13/21 EMAs with 100k volume + 3% spikes on 5-minute charts.
Why This Script?
Most volume indicators use either absolute values or percentage changes, which can fail in low-liquidity or high-volatility markets. By combining both, this script adapts to market conditions, making it unique.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.