PROTECTED SOURCE SCRIPT

AsliGold Multi-Strategy Confluence XAUUSD H4 v1

167
AsliGold Multi-Strategy Confluence (MSC) for XAUUSD H4

A single chart that watches five long-only systems on gold at once. Each system targets a different setup type, so the suite stays active across most market conditions instead of waiting for one specific pattern.

What it does

The indicator monitors XAUUSD H4 candles in real time and detects setups for five independent strategies. Each strategy has its own entry rule, stop-loss, take-profit, and exit time limit. When a setup triggers, the indicator marks the bar, draws the trade levels, tracks the position to its exit, and prints the realised R-multiple.

The five strategies cover different market behaviours:

BBMR: pullback to lower Bollinger Band in a confirmed uptrend, with DXY weakness and a calm volatility regime
LSweep: failed breakdown of the prior 40-bar low, where price sweeps stops then closes back above
Donchian: fresh 80-bar high break above SMA200, the trend-following workhorse
ATRBrk: momentum burst more than 1.5×ATR above the prior close, gated by EMA20 slope and the 12-16 UTC killzone
Hammer: bullish hammer rejection candle in a low-volatility killzone session

All five are long-only by design. Mean correlation between them is 0.13, which means they fire in genuinely different conditions.

What you see on the chart
✅ Triangle below the entry bar with a B1 to B5 label showing which strategy fired
✅ Entry, stop, and target lines drawn at trade entry, extended through trade duration, frozen at exit
✅ Triangle (TP), cross (SL), or diamond (time exit) marker at the exit bar
✅ Per-trade R-multiple label printed at exit so you can audit each trade
✅ Live dashboard in the top-right showing macro filters, current signal status per strategy, active trade with current R, and per-strategy win-rate and total R
✅ Combined statistics row showing total trades, total R-multiples, and estimated portfolio return at your chosen risk percent

Setup
📌 Symbol: OANDA:XAUUSD
📌 Timeframe: 4-hour
📌 DXY data: TVC:DXY (default, change in inputs if your broker uses a different feed)
The indicator works out of the box on the H4 chart. Each strategy can be toggled on or off independently if you only want to follow some of them.

Alert setup
The indicator includes built-in runtime alerts. Setup is one click for all five strategies plus all exits.

Add the indicator to your XAUUSD H4 chart
Click the alarm clock icon in TradingView's top toolbar
Click "Create Alert"
In the Condition dropdown, select "AsliGold Multi-Strategy Confluence XAUUSD H4 v1"
Inside that, choose "Any alert() function call"
Pick your notification method (push, email, SMS, webhook)
Click Create

That single alert covers every entry and exit across all five strategies. Each notification will tell you which strategy fired (B1 through B5), the action (LONG, TP HIT, SL HIT, TIME EXIT), the price, and the SL/TP levels for entries or the realised R for exits.
If you only want alerts for specific strategies, the indicator also exposes individual alertcondition options in the dropdown (BBMR Entry, LSweep Entry, etc).

Customization
The settings panel groups inputs by strategy so you can adjust each one independently:

Toggle individual strategies on or off
Adjust risk percent per trade for the dashboard's estimated return calculation
Customise filter thresholds (BB length, DXY lookback, ATR multipliers, killzone hours, vol percentile cutoff)
Independent colours for entry, take-profit, stop-loss, and time-exit markers per strategy
Show or hide the dashboard, trade levels, R-multiple labels, and entry markers


How to use
When a setup fires, you see exactly which strategy triggered, the entry price, the stop, and the target. You decide whether to take the trade based on your own risk management.
The position size for each trade should be calculated so the distance from entry to stop equals a fixed percent of your account (1% is a common starting point). The indicator's dashboard shows the cumulative R-multiple total so you can verify the suite is working as expected over time.
Because the five strategies are uncorrelated, more than one may fire in the same week. Decide in advance whether you will take all signals or cap the number of concurrent positions.

Notes
🔍 This is an indicator for setup detection and trade tracking. It does not auto-execute trades.
🔍 All five strategies are long-only and were validated on H4 OANDA XAUUSD data. Using on other symbols or timeframes will produce different results.
🔍 The DXY filter requires a working data feed. If your TradingView plan does not include DXY, switch the symbol input to a USD index alternative.
🔍 Trading involves risk of loss. Past performance shown in the dashboard is computed from historical chart data and does not guarantee future results. Always test on a demo account before risking capital.

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.