OPEN-SOURCE SCRIPT
XAUUSD Multi-Timeframe Supertrend Alert v2

**Indicator Overview: XAUUSD Multi-Timeframe Supertrend Alert v2**
**Core Components:**
1. **Multi-Timeframe Supertrend System**
- Two Supertrend indicators (ST1 & ST2) with customizable timeframes
- ST1 typically set to Daily, ST2 to Weekly as main trend
- Visualized with distinct colors and background fills
2. **Customizable SMA**
- Adjustable period and timeframe
- Plotted as blue line for additional trend reference
3. **Neutral Zone System**
- Creates a neutral line offset from ST1 by customizable tick distance
- Yellow dashed line that adjusts based on ST1 trend direction
- **Alert Conditions:**
- **Test Buy Zone**: Both ST1 & ST2 in uptrend AND price enters neutral zone above ST1
- **Test Sell Zone**: Both ST1 & ST2 in downtrend AND price enters neutral zone below ST1
4. **Distance Lines from ST2**
- Upper/lower lines at customizable tick distance from ST2
- Purple dashed lines with touch alerts
**Trading Signals:**
- **Bullish Signal**: Price above ST2 but below ST1 (potential buy)
- **Bearish Signal**: Price below ST2 but above ST1 (potential sell)
- **Neutral Zone Alerts**: Price enters defined zone when both trends align
- **Line Touch Alerts**: Price touches distance lines from ST2
**Alert System:**
- Limited to 3 consecutive alerts per signal type
- Visual markers (triangles, diamonds, circles)
- Background coloring for signal zones
- Separate alert conditions for each signal type
**Visual Features:**
- Candles colored green/red based on signals
- Clear trend visualization with colored backgrounds
- Real-time alert markers without information table clutter
This indicator provides multi-timeframe trend analysis with precise entry zone detection and comprehensive alert system for XAUUSD trading. SAM89 M15, ST1 (5:10) M5, ST2 ( 1,5:20) H1, Test Buy Sell 7000, Line 15000
**Core Components:**
1. **Multi-Timeframe Supertrend System**
- Two Supertrend indicators (ST1 & ST2) with customizable timeframes
- ST1 typically set to Daily, ST2 to Weekly as main trend
- Visualized with distinct colors and background fills
2. **Customizable SMA**
- Adjustable period and timeframe
- Plotted as blue line for additional trend reference
3. **Neutral Zone System**
- Creates a neutral line offset from ST1 by customizable tick distance
- Yellow dashed line that adjusts based on ST1 trend direction
- **Alert Conditions:**
- **Test Buy Zone**: Both ST1 & ST2 in uptrend AND price enters neutral zone above ST1
- **Test Sell Zone**: Both ST1 & ST2 in downtrend AND price enters neutral zone below ST1
4. **Distance Lines from ST2**
- Upper/lower lines at customizable tick distance from ST2
- Purple dashed lines with touch alerts
**Trading Signals:**
- **Bullish Signal**: Price above ST2 but below ST1 (potential buy)
- **Bearish Signal**: Price below ST2 but above ST1 (potential sell)
- **Neutral Zone Alerts**: Price enters defined zone when both trends align
- **Line Touch Alerts**: Price touches distance lines from ST2
**Alert System:**
- Limited to 3 consecutive alerts per signal type
- Visual markers (triangles, diamonds, circles)
- Background coloring for signal zones
- Separate alert conditions for each signal type
**Visual Features:**
- Candles colored green/red based on signals
- Clear trend visualization with colored backgrounds
- Real-time alert markers without information table clutter
This indicator provides multi-timeframe trend analysis with precise entry zone detection and comprehensive alert system for XAUUSD trading. SAM89 M15, ST1 (5:10) M5, ST2 ( 1,5:20) H1, Test Buy Sell 7000, Line 15000
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.