--- name: xauusd-trading-system description: Core XAUUSD 1-minute scalping framework. Contains the 9 confluence source analysis methodology, Gold-specific market characteristics, signal generation logic with scoring rules, and signal output format. Use this skill for every signal analysis and market evaluation. metadata: autoload: true --- # XAUUSD 1-Minute Scalping — Trading System ## Gold-Specific Market Characteristics - **Gold moves in bursts** — long consolidation followed by explosive impulse moves. Be patient during ranges, aggressive on breakouts. - **Liquidity sweeps are frequent** — Gold hunts stops above/below swing points before reversing. Wait for the sweep, then trade the reversal. - **Dollar correlation is critical** — when DXY rises, Gold typically falls. A Gold BUY signal with DXY also rising is suspect. - **Session behavior varies dramatically:** - Asian (19:00–02:00 ET): tight range, low volume, mean-reversion - London (02:00–08:00 ET): trend initiation, breakouts, highest reliability - New York (08:00–12:00 ET): max volatility, London overlap, best R:R - Late NY (12:00–17:00 ET): fading moves, low conviction, reduce size - Rollover (17:00–19:00 ET): DO NOT TRADE - **Gold respects round numbers** — $10 intervals are primary levels, $5 intervals secondary. - **Gold reacts to geopolitical headlines instantly** — spikes with no technical setup = STAND ASIDE. ## The 9 Confluence Sources Analyze ALL sources for every potential signal. Score each as BULLISH (+1), BEARISH (-1), or NEUTRAL (0). RSI divergence = +2/-2. ### Source 1 — Price Action & Candlestick Structure Look for: engulfing candles, pin bars, hammer, shooting star, inside bars, doji reversals, marubozu, tweezers, rejection wicks at key levels, break-and-retest patterns. Gold often forms "wick traps" — long wicks sweeping a level then slamming back = high-probability reversal. ### Source 2 — Market Structure & Smart Money Concepts (SMC) Determine: higher highs/lows (uptrend) or lower highs/lows (downtrend). Identify BOS (break of structure), CHoCH (change of character), equal highs/lows (liquidity pools), order blocks, fair value gaps (FVGs). Gold's OBs are most reliable on 5-min/15-min — use 1-min for entry precision. ### Source 3 — Support, Resistance & Key Levels Map: round numbers, session high/low, previous day high/low/close, weekly/monthly open. Gold's $10 intervals ($2,340, $2,350) = primary levels. $5 intervals = secondary. Sub-$5 levels = noise. Look for 3+ touch levels and freshly broken levels acting as new S/R. ### Source 4 — Moving Averages (EMA Stack) Use 9 EMA, 21 EMA, 50 EMA on 1-min. 200 EMA as trend filter. Bullish = price above all EMAs, EMAs fanning upward (9 > 21 > 50). Bearish = below all, fanning downward. Tangled/flat EMAs = DO NOT TRADE. The 50 EMA is Gold's "magnet" — price returns to it during consolidation. ### Source 5 — Momentum Oscillators RSI (14): Bullish if crossing above 40 from oversold or holding >55 in trend. Bearish if crossing below 60 from overbought or holding <45. MACD (12,26,9): histogram flipping. Stochastic (14,3,3): crossovers at extremes. **RSI divergence = +2 confluence score** — very high-value signal. ### Source 6 — Volume & Tick Analysis Compare current volume to 20-period moving average. High volume on green + low on red = accumulation. Volume climax at support = reversal BUY. 2x+ tick volume spike on reversal candle = strong confirmation. Monitor cumulative delta if available. ### Source 7 — Multi-Timeframe Confirmation Check 5-min and 15-min for trend alignment. Also check 1H for dominant bias — trading against 1H trend = lower probability. If 15-min has unfilled FVG or untested OB in direction of 1-min signal = strong confluence. ### Source 8 — US Dollar Index (DXY) Inverse Correlation Gold and DXY have -0.7 to -0.9 correlation. Bullish Gold = DXY weakening. **Critical: If Gold signal AGREES with DXY direction, downgrade confidence by 2 points.** Don't front-run the correlation — wait for Gold to react. ### Source 9 — Volatility, ATR & Session Context ATR(14) on 1-min determines stop/TP sizing. ATR > 1.5x average = widen stops. ATR < 0.5x = tighten or avoid. Session calibration: Asian ATR $0.30–$0.80, London $0.80–$1.50, NY $1.00–$2.50. London/NY overlap (08:00–12:00 ET) = weight signals most heavily. ## Signal Generation Logic ``` FOR each analysis: score = sum of all 9 source scores IF Gold_signal_direction == DXY_direction: apply -2 penalty (subtract 2 from bullish or add 2 to bearish) IF session == London_NY_overlap AND abs(score) >= 5: confidence_bonus = +1 IF score >= 5: GENERATE BUY signal IF score <= -5: GENERATE SELL signal IF -5 < score < 5: NO TRADE — insufficient confluence ``` **Minimum Confluence: 5 out of 9 sources must agree. Fewer = NO TRADE.** ## Signal Output Format Every signal MUST use the `TradingSignal` component with these fields: - signal: BUY / SELL / NO_TRADE - entry: exact price - stopLoss: exact price - takeProfit1, takeProfit2, takeProfit3: exact prices (1:1, 1:2, 1:3 of risk) - riskReward: ratio string - confidence: 1-10 scale - confluenceScore: "X/9" format - spreadCheck: current spread status - reasoning: one-line summary - invalidation: condition that cancels signal - session: current session name Before every signal, show the `MarketAnalysis` component with all 9 sources scored and reasoned. ## Additional High-Priority Setups - **Liquidity sweep** (price takes out swing by $0.50–$1.50 then reverses with displacement): +2 confluence - **Asian range breakout** (clean break of Asian high/low with volume when London opens): +1 confluence - **Triple tap rejection** (3 tests without breaking = 4th test likely breaks through): prepare for breakout - **Choppy market filter** (ADX < 20 on last 30 candles): emit NO TRADE