Golden Cross
- 지표
-
Joel Brito De Mesquita
Sou Formado em Matemática, Professor. Comecei a me interessar no mundo do mercado forex e no mql5 e aprendi a criar meus próprios robôs e hoje ocupo boa parte do meu tempo em criar robôs tentando chegar no melhor possível. Sou aberto a novidades e grupos e estou disponível para muitas discussões. - 버전: 1.0
- 활성화: 5
🎯 General Description
The GOLDEN CROSS is an advanced technical indicator developed for MetaTrader 5 that combines moving average crossovers with a quality scoring system based on multiple technical filters. It is designed to identify high-probability entry points, offering traders interactive visual tools and comprehensive risk management features.
🔍 Indicator Structure and Logic
1. Crossover System
-
Fast MA (9 periods): Tracks short-term price movements
-
Slow MA (21 periods): Identifies medium-term trend direction
-
BUY Signal: When Fast MA crosses above Slow MA
-
SELL Signal: When Fast MA crosses below Slow MA
2. Quality Score System (0-100)
The score is calculated based on 8 technical filters, each with a specific weight:
| Filter | Weight | Description |
|---|---|---|
| Crossover | 25 | Mandatory for any signal |
| ADX + DI | 20 | Confirms strong trend |
| RSI | 15 | Overbought/oversold verification |
| ATR | 10 | Minimum volatility for trade |
| MA Separation | 10 | Distance between moving averages |
| Slope | 10 | Fast MA trend strength |
| Candle Body | 5 | Confirms movement strength |
| Candle Direction | 5 | Aligns with signal direction |
| TOTAL | 100 | Maximum possible score |
3. Technical Filters
ADX (Average Directional Index)
-
Measures trend strength
-
Minimum 20 points for valid trend
-
+DI > -DI confirms bullish trend
-
-DI > +DI confirms bearish trend
RSI (Relative Strength Index)
-
BUY: RSI ≥ 52 (avoids overbought)
-
SELL: RSI ≤ 48 (avoids oversold)
ATR (Average True Range)
-
Measures market volatility
-
Ensures sufficient movement for the trade
MA Separation
-
Minimum distance between moving averages
-
Avoids signals in sideways markets
Fast MA Slope
-
BUY: Positive slope ≥ 2 points
-
SELL: Negative slope ≤ -2 points
Candle Body
-
Minimum 40-45% of total range
-
Confirms movement strength
⚙️ Configuration by Asset
🔵 FOREX CONFIGURATION (XAUUSD, EURUSD, GBPUSD, etc.)
// ============================================================ // FOREX CONFIGURATION // ============================================================ // MOVING AVERAGES PeriodoRapido = 9 PeriodoLento = 21 MetodoMedia = MODE_SMA // ADX UsarFiltroADX = true PeriodoADX = 14 ADXMinimo = 20.0 // RSI UsarFiltroRSI = true PeriodoRSI = 14 RSIMinCompra = 52.0 RSIMaxVenda = 48.0 // ATR UsarFiltroATR = true PeriodoATR = 14 ATRMinimoPontos = 100.0 // Adjust per asset // SEPARATION UsarFiltroSeparacao = true SeparacaoMinimaPontos = 10.0 // SLOPE UsarFiltroInclinacao = true InclinacaoMinimaPontos = 3.0 // CANDLE UsarFiltroCorpo = true CorpoMinimoPercentual = 40.0 UsarFiltroDirecaoVela = true // SCORE UsarScore = true ScoreMinimo = 70.0 // TP/SL MultiplicadorATR_TP = 2.0 MultiplicadorATR_SL = 1.5 MostrarLinhasTP_SL = true AjusteAutomaticoTP_SL = false UsarTrailingStop = false
Forex Asset Adjustments:
| Asset | ATR Min | Score Min | TP | SL |
|---|---|---|---|---|
| XAUUSD (Gold) | 100 | 70 | 2.0 | 1.5 |
| ETHUSD | 150 | 70 | 2.0 | 1.5 |
| BTCUSD | 200 | 75 | 2.0 | 1.5 |
| EURUSD | 20 | 75 | 1.8 | 1.5 |
| GBPUSD | 20 | 75 | 1.8 | 1.5 |
| USDJPY | 20 | 75 | 1.8 | 1.5 |
🟢 WIN (Mini Index) and WDO (Mini Dollar) CONFIGURATION
// ============================================================ // WIN / WDO CONFIGURATION // ============================================================ // MOVING AVERAGES PeriodoRapido = 9 PeriodoLento = 21 MetodoMedia = MODE_SMA // ADX UsarFiltroADX = true PeriodoADX = 14 ADXMinimo = 20.0 // RSI UsarFiltroRSI = true PeriodoRSI = 14 RSIMinCompra = 52.0 RSIMaxVenda = 48.0 // ATR UsarFiltroATR = true PeriodoATR = 14 ATRMinimoPontos = 50.0 // SEPARATION UsarFiltroSeparacao = true SeparacaoMinimaPontos = 8.0 // SLOPE UsarFiltroInclinacao = true InclinacaoMinimaPontos = 2.0 // CANDLE UsarFiltroCorpo = true CorpoMinimoPercentual = 45.0 UsarFiltroDirecaoVela = true // SCORE UsarScore = true ScoreMinimo = 75.0 // TP/SL MultiplicadorATR_TP = 1.5 MultiplicadorATR_SL = 1.5 MostrarLinhasTP_SL = true AjusteAutomaticoTP_SL = false UsarTrailingStop = false
WIN/WDO Asset Adjustments:
| Asset | ATR Min | Score Min | TP | SL |
|---|---|---|---|---|
| WINV26 | 50 | 75 | 1.5 | 1.5 |
| WDO | 50 | 75 | 1.5 | 1.5 |
🛠️ Interactive Features
1. Visual Signals
-
🟢 Green Circle: Confirmed BUY signal
-
🔴 Red Circle: Confirmed SELL signal
-
Solid Line: Entry price
-
Green Dashed Line: Take Profit (TP)
-
Red Dashed Line: Stop Loss (SL)
2. Adjustable Lines
-
Click and drag TP/SL lines directly on the chart
-
Values update automatically
-
Dashboard updates in real-time
3. Information Dashboard
┌──────────────────────────────────────────────┐ │ GOLDEN CROSS V3.14 │ │ Asset: XAUUSD | TF: M5 │ │ Spread: 15 | Bid: 1920.50 | Ask: 1920.65 │ │ Time remaining: 03:45 │ │ MA9: 1918.32 | MA21: 1915.67 │ │ Separation: 10.5 points │ │ ADX: 25.3 | Min: 20.0 │ │ +DI: 30.1 | -DI: 22.4 │ │ RSI: 58.7 │ │ ATR: 120.5 points │ │ Slope MA9: 45.2 points │ │ QUALITY: 75.0 / 100 | MIN: 70.0 │ │ SIGNAL: BUY CONFIRMED │ │ SIGNAL ONLY ON CLOSED CANDLE │ │ 📊 ACTIVE TRADE │ │ ▲ BUY | Entry: 1920.50 | TP: 1930.00 | SL: 1915.00 │ └──────────────────────────────────────────────┘
4. Alerts and Notifications
-
🎯 GAIN! - When TP is reached
-
😱 LOSS! - When SL is reached
-
⚠️ CLOSE TO TP/SL - Warning at 25% distance
-
🔄 MANUAL ADJUSTMENT - When user drags lines
📊 Score Interpretation
| Score | Meaning | Recommended Action |
|---|---|---|
| 90-100 | Excellent Signal | ✅ Enter with confidence |
| 80-89 | Very Good Signal | ✅ Enter |
| 70-79 | Good Signal | ⚠️ Analyze before entering |
| 60-69 | Weak Signal | ⚠️ Avoid or wait for confirmation |
| < 60 | Poor Signal | ❌ Do not enter |
Example Signals on XAUUSD:
| Signal | Score | ADX | RSI | Result |
|---|---|---|---|---|
| SELL | 100 | 29.9 | 36.7 | ✅ Excellent |
| BUY | 100 | 25.3 | 61.9 | ✅ Excellent |
| SELL | 100 | 36.4 | 43.6 | ✅ Excellent |
| BUY | 75 | 30.3 | 49.8 | ✅ Good |
| BUY | 65 | - | - | ❌ Rejected |
| SELL | 60 | - | - | ❌ Rejected |
📈 Performance Test Results
WINV26 (Mini Index) - M5
-
Signals: 8
-
Confirmed: 6 (75%)
-
Rejected: 2 (25%)
-
Ideal Score: ≥ 75
-
Win Rate: 75%
XAUUSD (Gold) - M5
-
Signals: 12
-
Confirmed: 10 (83.3%)
-
Rejected: 2 (16.7%)
-
Ideal Score: ≥ 70
-
Win Rate: 83.3%
⚠️ IMPORTANT DISCLAIMER
This indicator is an analytical tool, NOT a guarantee of profit!
-
Markets are unpredictable - No indicator can predict future movements with 100% accuracy.
-
Test thoroughly - Before using on a live account:
-
✅ Test on demo account for at least 30 days
-
✅ Backtest across different periods (2020-2024)
-
✅ Test under different market conditions (trending, ranging, high volatility)
-
-
Analyze current market - Suggested configurations are based on historical tests. Current market conditions may behave differently.
-
Manage your risk - Never risk more than 1-2% of your capital per trade.
-
Combine with other tools - Use with support/resistance analysis, volume, or other filters.
-
Adapt to conditions - Adjust parameters according to current market volatility.
-
Not investment advice - This indicator is only an auxiliary tool. The final buy/sell decision is always the trader's responsibility.
🎯 Final Summary
The GOLDEN CROSS is a robust indicator that combines:
-
✅ Moving average crossover
-
✅ Quality scoring system with 8 technical filters
-
✅ Interactive TP/SL lines
-
✅ Comprehensive information dashboard
-
✅ Real-time alerts and notifications
-
✅ Optimized configurations for Forex and WIN/WDO
Remember: Trading success comes not from a single indicator, but from a combination of:
-
📚 Technical knowledge
-
🧠 Discipline and risk management
-
📊 Constant market analysis
-
🔄 Adaptability to current conditions
