OPEN-SOURCE SCRIPT

SuperTrend + Multi-MA + CVD Confluence

987
The SuperTrend + Multi-MA + CVD Confluence indicator is a comprehensive trading suite designed to solve the common issue of "false signals" in trend-following strategies. While standard moving average crossovers often fail in sideways or low-volume markets, this script integrates Volume Delta (CVD) and Volatility Filtering to ensure that price momentum is supported by real market conviction.

The originality of this script lies in its "triple-filter" approach:

Structural Trend: Defined by a customizable Multi-MA crossover.
Momentum Confirmation: Provided by the SuperTrend algorithm.
Volume Conviction: Validated through Cumulative Volume Delta (CVD) alignment.

How It Works
Multi-MA Crossover Engine: Traders can choose from six different Moving Average types (SMA, EMA, WMA, SMMA, DEMA, and TEMA). This flexibility allows the script to adapt to different asset classes—for example, using TEMA for fast-paced scalping or SMMA for smoother trend following.
CVD (Cumulative Volume Delta) Alignment: Buy and Sell signals are only triggered if the MA crossover aligns with the current Volume Delta momentum. A BUY signal requires the CVD to be rising, indicating that aggressive buyers are in control, while a SELL signal requires a falling CVD.
Chop Zone & ATR Filtering: To prevent overtrading, the script uses the ADX (Average Directional Index) to identify "Chop Zones" where the market lacks a clear trend. Additionally, an optional ATR Volatility Filter ensures signals only appear when the market has sufficient range to reach a target.
Signal Cooldown: A built-in "Cooldown" setting prevents signal spamming during volatile price action, requiring a minimum number of bars between consecutive trade labels.
Multi-Timeframe Dashboard: A theme-aware table provides a high-level view of the trend across 7 different timeframes (1m through 4h), alongside real-time Net Delta, Ask Volume, and Bid Volume metrics for current and previous bars.

How to Use It
Entries: Look for "BUY" or "SELL" labels. These represent the confluence of the MA crossover, CVD momentum, and volatility.
Trend Reference: Use the SuperTrend line as your primary trend guard. If price is above the SuperTrend, look primarily for long confluence; if below, focus on shorts.
No-Trade Zones: Avoid taking trades when candles turn Grey, as this indicates a "Chop Zone" where trend-following strategies are likely to be whipsawed.
Institutional Pressure: Monitor the Net Delta in the dashboard. Large positive delta alongside a bullish crossover provides the highest probability for a successful trade.
Exits: The SuperTrend line or the opposite MA crossover can serve as dynamic exit points or trailing stop-loss guides.

Customization
Independently Change Colors: You can customize the colors of Bullish/Bearish bars, Chop bars, and signal labels to match your specific chart theme.
Dashboard Settings: The table can be resized (Tiny, Small, Normal) and positioned in any corner of the chart.
Volatility Tuning: Adjust the ATR and ADX thresholds to tighten or loosen the signal frequency based on the asset's specific volatility profile.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.