OPEN-SOURCE SCRIPT
Gold 3min Trading Pro [XAU/USD]

# Gold 3min Trading Pro [XAU/USD] - User Guide
## Overview
This is a professional scalping indicator specifically designed for Gold (XAU/USD) trading on 3-minute timeframes. It combines multiple technical analysis methods to provide high-probability entry signals for short-term trading.
## Key Features
### 1. Multi-Timeframe Trend Analysis
- **Major Trend**: Analyzes 15min, 1H, and 4H timeframes using moving averages
- **Short-term Trend**: Focuses on 3-minute price action and moving average alignment
- **Trend Strength**: Rated from 1-3 based on timeframe agreement
### 2. Core Indicators
- **RSI (9-period)**: Momentum oscillator for overbought/oversold conditions
- **Stochastic (9-period)**: %K and %D lines for entry timing
- **MACD**: Additional trend confirmation
- **Volume Analysis**: Detects volume spikes for signal validation
- **ATR-based Volatility Filter**: Ensures adequate market movement
### 3. Signal Types
- **Primary Signals**: Green triangles (LONG) and Red triangles (SHORT)
- **Enhanced Signals**: Stronger signals with multiple confirmations
- **Confirmation Signals**: Small circles for stochastic crossovers
## How to Use
### 1. Setup
- **Timeframe**: Use on 3-minute charts for Gold (XAU/USD)
- **Settings**: Default settings are optimized for Gold scalping
- **Session Filter**: Enable for London/New York sessions (recommended)
### 2. Entry Conditions
#### LONG Entry:
- Major trend is bullish (green background)
- Short-term trend is up or neutral
- RSI shows bullish momentum
- Stochastic indicates oversold recovery
- Volume spike confirmation
- Strong price action (bullish candle)
#### SHORT Entry:
- Major trend is bearish (red background)
- Short-term trend is down or neutral
- RSI shows bearish momentum
- Stochastic indicates overbought reversal
- Volume spike confirmation
- Strong price action (bearish candle)
### 3. Trade Management
- **Quick Target**: 50% of ATR-based calculation
- **Main Target**: Full ATR-based target
- **Stop Loss**: 60% of ATR below/above entry
- **Time Limit**: Exit if no progress within 20 bars (60 minutes)
### 4. Risk Management
- **Position Size**: Risk 1-2% of account per trade
- **Maximum Trades**: 3-5 trades per session
- **Avoid**: Low volatility periods and major news events
## Visual Elements
### Background Colors
- **Light Green**: Bullish major trend
- **Light Red**: Bearish major trend
- **Yellow**: Volume spike detected
- **Intense Colors**: Very strong trend alignment
### Chart Indicators
- **RSI Line (Blue)**: Main momentum indicator
- **Stochastic %K (Orange)**: Fast stochastic line
- **Stochastic %D (Yellow)**: Slow stochastic line
- **Horizontal Lines**: 70 (overbought), 30 (oversold), 50 (midline)
### Information Table (Top Right)
- Total signal count and performance statistics
- Current market conditions and trend strength
- RSI levels and volatility status
- Trading session information
- Last signal timing
## Alert System
### Standard Alerts
- **Scalp Long Signal**: Basic long entry signal
- **Scalp Short Signal**: Basic short entry signal
- **Premium Signals**: High-quality signals with strong confirmation
- **Trend Reversal**: Major trend change notifications
### Alert Setup
1. Right-click on chart → "Add Alert"
2. Select desired alert condition
3. Configure notification method (popup, email, webhook)
4. Set alert frequency to "Once Per Bar Close"
## Best Practices
### 1. Trading Sessions
- **Optimal**: London-NY overlap (3:00-5:00 PM EST)
- **Good**: London session (2:00-11:00 AM EST)
- **Avoid**: Asian session and major news releases
### 2. Market Conditions
- **Best**: Trending markets with normal to high volatility
- **Moderate**: Ranging markets during active sessions
- **Avoid**: Extremely low volatility or choppy conditions
### 3. Confirmation Rules
- Wait for signal triangle to appear
- Check that major trend aligns with signal direction
- Verify volume spike (yellow background)
- Ensure volatility is adequate (check info table)
### 4. Entry Timing
- Enter immediately after signal confirmation
- Use market orders for scalping speed
- Set stop loss and take profit levels immediately
## Settings Customization
### Essential Settings
- **MA Type**: EMA (recommended) or SMA
- **RSI Length**: 9 (default, can adjust 5-14)
- **Volume Threshold**: 1.8 (higher = fewer but stronger signals)
- **Volatility Filter**: Keep enabled for better signal quality
### Display Options
- **Show Scalping Signals**: Main entry signals
- **Show Performance Stats**: Information table
- **Show Trend Filter**: Background trend colors
- **Use Time Filter**: Session-based filtering
## Performance Optimization
### 1. Backtesting Tips
- Test on different market conditions
- Analyze win rate and average profit/loss
- Adjust settings based on historical performance
### 2. Signal Quality
- Higher trend strength (2-3) = better signals
- Volume confirmation improves success rate
- Enhanced signals have higher probability
### 3. Risk Control
- Never risk more than 2% per trade
- Use proper position sizing
- Stop trading after 3 consecutive losses
## Troubleshooting
### Common Issues
1. **No Signals**: Check volatility filter and session timing
2. **Too Many Signals**: Increase volume threshold or enable filters
3. **Poor Performance**: Verify timeframe (must be 3-minute) and symbol (XAU/USD)
### Support
- Ensure TradingView Pro+ subscription for multi-timeframe data
- Verify Gold symbol matches your broker's format
- Update to latest TradingView version
This indicator is designed for experienced traders familiar with scalping techniques and risk management. Always practice on demo accounts before live trading.
## Overview
This is a professional scalping indicator specifically designed for Gold (XAU/USD) trading on 3-minute timeframes. It combines multiple technical analysis methods to provide high-probability entry signals for short-term trading.
## Key Features
### 1. Multi-Timeframe Trend Analysis
- **Major Trend**: Analyzes 15min, 1H, and 4H timeframes using moving averages
- **Short-term Trend**: Focuses on 3-minute price action and moving average alignment
- **Trend Strength**: Rated from 1-3 based on timeframe agreement
### 2. Core Indicators
- **RSI (9-period)**: Momentum oscillator for overbought/oversold conditions
- **Stochastic (9-period)**: %K and %D lines for entry timing
- **MACD**: Additional trend confirmation
- **Volume Analysis**: Detects volume spikes for signal validation
- **ATR-based Volatility Filter**: Ensures adequate market movement
### 3. Signal Types
- **Primary Signals**: Green triangles (LONG) and Red triangles (SHORT)
- **Enhanced Signals**: Stronger signals with multiple confirmations
- **Confirmation Signals**: Small circles for stochastic crossovers
## How to Use
### 1. Setup
- **Timeframe**: Use on 3-minute charts for Gold (XAU/USD)
- **Settings**: Default settings are optimized for Gold scalping
- **Session Filter**: Enable for London/New York sessions (recommended)
### 2. Entry Conditions
#### LONG Entry:
- Major trend is bullish (green background)
- Short-term trend is up or neutral
- RSI shows bullish momentum
- Stochastic indicates oversold recovery
- Volume spike confirmation
- Strong price action (bullish candle)
#### SHORT Entry:
- Major trend is bearish (red background)
- Short-term trend is down or neutral
- RSI shows bearish momentum
- Stochastic indicates overbought reversal
- Volume spike confirmation
- Strong price action (bearish candle)
### 3. Trade Management
- **Quick Target**: 50% of ATR-based calculation
- **Main Target**: Full ATR-based target
- **Stop Loss**: 60% of ATR below/above entry
- **Time Limit**: Exit if no progress within 20 bars (60 minutes)
### 4. Risk Management
- **Position Size**: Risk 1-2% of account per trade
- **Maximum Trades**: 3-5 trades per session
- **Avoid**: Low volatility periods and major news events
## Visual Elements
### Background Colors
- **Light Green**: Bullish major trend
- **Light Red**: Bearish major trend
- **Yellow**: Volume spike detected
- **Intense Colors**: Very strong trend alignment
### Chart Indicators
- **RSI Line (Blue)**: Main momentum indicator
- **Stochastic %K (Orange)**: Fast stochastic line
- **Stochastic %D (Yellow)**: Slow stochastic line
- **Horizontal Lines**: 70 (overbought), 30 (oversold), 50 (midline)
### Information Table (Top Right)
- Total signal count and performance statistics
- Current market conditions and trend strength
- RSI levels and volatility status
- Trading session information
- Last signal timing
## Alert System
### Standard Alerts
- **Scalp Long Signal**: Basic long entry signal
- **Scalp Short Signal**: Basic short entry signal
- **Premium Signals**: High-quality signals with strong confirmation
- **Trend Reversal**: Major trend change notifications
### Alert Setup
1. Right-click on chart → "Add Alert"
2. Select desired alert condition
3. Configure notification method (popup, email, webhook)
4. Set alert frequency to "Once Per Bar Close"
## Best Practices
### 1. Trading Sessions
- **Optimal**: London-NY overlap (3:00-5:00 PM EST)
- **Good**: London session (2:00-11:00 AM EST)
- **Avoid**: Asian session and major news releases
### 2. Market Conditions
- **Best**: Trending markets with normal to high volatility
- **Moderate**: Ranging markets during active sessions
- **Avoid**: Extremely low volatility or choppy conditions
### 3. Confirmation Rules
- Wait for signal triangle to appear
- Check that major trend aligns with signal direction
- Verify volume spike (yellow background)
- Ensure volatility is adequate (check info table)
### 4. Entry Timing
- Enter immediately after signal confirmation
- Use market orders for scalping speed
- Set stop loss and take profit levels immediately
## Settings Customization
### Essential Settings
- **MA Type**: EMA (recommended) or SMA
- **RSI Length**: 9 (default, can adjust 5-14)
- **Volume Threshold**: 1.8 (higher = fewer but stronger signals)
- **Volatility Filter**: Keep enabled for better signal quality
### Display Options
- **Show Scalping Signals**: Main entry signals
- **Show Performance Stats**: Information table
- **Show Trend Filter**: Background trend colors
- **Use Time Filter**: Session-based filtering
## Performance Optimization
### 1. Backtesting Tips
- Test on different market conditions
- Analyze win rate and average profit/loss
- Adjust settings based on historical performance
### 2. Signal Quality
- Higher trend strength (2-3) = better signals
- Volume confirmation improves success rate
- Enhanced signals have higher probability
### 3. Risk Control
- Never risk more than 2% per trade
- Use proper position sizing
- Stop trading after 3 consecutive losses
## Troubleshooting
### Common Issues
1. **No Signals**: Check volatility filter and session timing
2. **Too Many Signals**: Increase volume threshold or enable filters
3. **Poor Performance**: Verify timeframe (must be 3-minute) and symbol (XAU/USD)
### Support
- Ensure TradingView Pro+ subscription for multi-timeframe data
- Verify Gold symbol matches your broker's format
- Update to latest TradingView version
This indicator is designed for experienced traders familiar with scalping techniques and risk management. Always practice on demo accounts before live trading.
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.