OPEN-SOURCE SCRIPT

Combined Fractal + MACD + Volume Alerts - Buy/Sell

345
Overview

This TradingView indicator is designed to save traders hours of manual analysis by automatically combining three powerful market signals into a single alert system:

Williams Fractals – identifies local highs and lows in the price structure.

MACD Crosses – confirms momentum direction and potential trend changes.

Volume Spike Detection – ensures signals occur with meaningful market participation.

The indicator will generate buy and sell alerts only when all three conditions align (or within a short configurable window), allowing traders to focus on high-probability setups without monitoring multiple charts and indicators manually.

Key Features

✅ Combined Alerts – Only triggers when Fractal, MACD, and Volume conditions are met.

✅ Early Alerts – Alerts fire as soon as the conditions occur, giving traders a head start for preparation and analysis.

✅ Optional Visuals – Plots buy/sell markers for testing and strategy verification; can be disabled for a cleaner chart.

✅ Flexible Settings – Users can adjust MACD parameters, volume multipliers, and Fractal ranges to suit their trading style.

✅ Timeframe Agnostic – Works on all timeframes; best on intraday and swing-trading charts.

✅ Non-Repainting Alerts – Ensures reliable signals without misleading historical adjustments.

How It Works

Fractals (Price Structure)

The indicator detects local highs and lows (Williams Fractals) over a configurable range of bars.

Fractals act as a support/resistance or trend turning point filter.

MACD (Momentum Confirmation)

Signals are validated with MACD line and Signal line crosses.

Optional conditions: only alert when MACD crosses above zero for a bullish trend or below zero for a bearish trend.

Volume (Participation Check)

The indicator ensures that any signal occurs with above-average volume, filtering weak or low-confidence signals.

Volume threshold is configurable via a multiplier relative to the average over a selected period.

Combined Logic

Buy Alert: Triggered when a bullish Fractal is formed and MACD crosses up and volume spike occurs.

Sell Alert: Triggered when a bearish Fractal is formed and MACD crosses down and volume spike occurs.

Optionally, the conditions can fire within 3 candles of each other, giving some flexibility for real-market timing.

Benefits for Traders

Saves Time: No need to manually watch multiple indicators.

High-Probability Alerts: Combines trend, structure, and volume for robust signals.

Customizable: Adapt to your trading style, instrument, or timeframe.

Testing & Validation: Optional visuals allow backtesting before relying solely on alerts.

Alerts Anywhere: Works on all tickers and chart timeframes supported by TradingView.

How to Use

Apply the indicator to your TradingView chart.

Configure settings:

Fractal Left/Right range (default: 2 bars).

MACD Fast/Slow/Signal lengths.

Volume multiplier to define “spike.”

Optional: enable/disable visuals for testing.

Set up TradingView alerts using the indicator’s prebuilt alert conditions.

Use the alerts as early heads-up for potential trades; validate with your strategy rules or confluences.

Tips for Traders

Start with defaults: Test on a few symbols and intraday charts first.

Adjust volume multiplier: Avoid too many alerts on low-volume symbols.

Backtest visually: Enable markers to verify signals against historical price action.

Combine with your workflow: Use alerts to prioritize charts rather than trade blindly.

Conclusion

This Combined Fractal + MACD + Volume Alerts Indicator is ideal for traders who want to automate the detection of high-probability setups while maintaining flexibility and control. It streamlines decision-making by combining price structure, momentum, and market participation into a single, actionable alert system.

Whether you are a day trader, swing trader, or part-time trader, this indicator saves time, reduces noise, and helps focus on the most promising trading opportunities.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.