




Detailed Technical Description of the DMG-Mega GOLD (LIVE Trader Version)
1. Trading Strategy
The bot operates based on a trend-following system that uses two Exponential Moving Averages (EMA):
10-period EMA: Fast, captures short-term movements
50-period EMA: Slow, identifies the main trend
Entry Rules:
BUY SIGNAL: When the 10-period EMA crosses upwards above the 50-period EMA
SELL SIGNAL: When the 10-period EMA crosses downwards above the 50-period EMA
2. Risk Management (Money Management)
Risk % per trade: Adjustable (default 2% of capital)
Automatic lot calculation based on:
Account equity
Stop Loss in pips
Tick value for the symbol
Lot normalization according to broker specifications
3. Trading Filters
Trading Hours: Trades only Between Start Hour and End Hour (default 7:00-20:00 UTC)
Spread Control: Does not operate if the spread exceeds MaxSpreadPips (default 15 pips)
Dynamic Trailing Stop (optional):
Position Management
Fixed Stop Loss: Calculated at the time of entry
Fixed Take Profit: Set to 90 pips (editable)
Trailing Stop Logic:
Operational Logic (Flowchart)
On Tick() → Checks if it is trading time
Check Market Conditions() → Checks spread and time
Check Trading Opportunity() → Analyzes trend (EMA10 vs EMA50)
Calculate Lot Size() → Determines position size
Execute Market Order() → Opens trade with SL/TP
Update Trailing Stops() → Manages trailing stops (if active)
Descrizione Tecnica Dettagliata del DMG-Mega GOLD (Versione c T rader LIVE
1. Strategia di Trading
Il bot opera basandosi su un trend-following system che utilizza due Medie Mobili Esponenziali (EMA):
- EMA 10 periodi: Rapida, cattura i movimenti a breve termine
- EMA 50 periodi: Lenta, identifica il trend principale
Regole di Entrata:
- SEGNALE COMPRA: Quando la EMA10 incrocia al rialzo la EMA50
- SEGNALE VENDITA: Quando la EMA10 incrocia al ribasso la EMA50
2. Gestione del Rischio (Money Management)
- Risk % per trade: Impostabile (default 2% del capitale)
- Calcolo automatico dei lotti basato su:
- Equity del conto
- Stop Loss in pips
- Valore del tick per il simbolo
- Normalizzazione dei lotti secondo le specifiche del broker
- 3. Filtri Operativi
- Orario di Trading: Opera solo tra
StartHour
eEndHour
(default 7:00-20:00 UTC) - Controllo Spread: Non opera se lo spread supera
MaxSpreadPips
(default 15 pips) - Trailing Stop Dinamico (opzionale):
- Gestione delle Posizioni
- Stop Loss Fisso: Calcolato al momento dell'entrata
- Take Profit Fisso: Impostato a 90 pips (modificabile)
- Trailing Stop Logic:
- Logica Operativa (Flowchart)
- On Tick() → Verifica se è orario di trading
- Check Market Conditions() → Controlla spread e orario
- Check Trading Opportunity() → Analizza trend (EMA10 vs EMA50)
- Calculate Lot Size() → Determina dimensione posizione
- Execute Market Order() → Apre operazione con SL/TP
- Update Trailing Stops() → Gestisce trailing stop (se attivo)