Gold Tristronge XXX
- Experts
-
Jeison Martinez Quintero
Soy Jeison Martínez Quintero, trader profesional, ingeniero y desarrollador enfocado en crear soluciones tecnológicas aplicadas a los mercados financieros. Mi trabajo integra análisis técnico, automatización y desarrollo de estrategias algorítmicas, siempre con una visión consciente orientada al - Version: 2.5
- Activations: 5
Version 2.05 | Copyright © 2026 Jeison Martinez
🌟 Overview
Gold Tristronge XXX is an algorithmic trading expert specifically designed for XAUUSD (Gold) on the 1-minute (M1) chart. Its core logic is based on an impulsive strategy that identifies wide-range candles in the direction of the main trend, combined with a strict risk management and capital protection system.
The bot operates only during selectable trading sessions (Asian, European, American, or custom) and incorporates multiple safety layers: daily loss/profit limits, monthly drawdown protection, monthly profit cap, and automatic position closing before the American session ends.
⚙️ How It Works
-
Trend Analysis: Uses exponential moving averages (EMA) on multiple timeframes (M1, M5, M15) to determine market direction.
-
Wide Candle Detection: Scans for M1 candles whose range (high - low) exceeds a multiple of the current ATR (default 2×). These candles represent strong impulsive moves with potential for continuation.
-
Trend Alignment (optional): If enabled, the bot only trades when the wide candle forms in the same direction as the M15 trend.
-
Lot Size Calculation: Position size is calculated based on base risk (% of account), the ATR-based stop loss, and a risk multiplier that adjusts after consecutive losses.
-
Execution: Opens a trade in the direction of the impulsive candle, with dynamic stop loss and take profit levels based on ATR and the signal score.
-
Risk Management: Controls daily loss/profit, maximum trades per day, monthly drawdown, and monthly profit. Optionally closes all positions before the end of the American session.
✅ Key Advantages
-
Robust Strategy: Based on detecting strong price impulses, not lagging indicators.
-
Multi‑Layer Capital Protection: Daily and monthly limits prevent catastrophic losses.
-
Session‑Adaptable: Can trade only during high‑liquidity hours or custom time windows.
-
Dynamic Risk Management: Risk adjusts after consecutive losses to preserve capital.
-
Automatic Pre‑Event Closure: Avoids holding positions during the American session close or when monthly limits are hit.
-
On‑Chart Information Panel: Displays real‑time balance, equity, drawdown, winrate, signal score, and protection status.
-
Hedging Support: Optional intelligent hedging.
📋 Main Features
-
Core Strategy: Wide‑range candles + trend alignment.
-
Timeframe: Trades on M1, but analyzes M5 and M15 trends.
-
Risk Management:
-
Base risk % per trade.
-
Risk multiplier after consecutive losses.
-
Daily loss and profit limits.
-
Monthly drawdown and profit limits.
-
Maximum trades per day.
-
-
Programmable Sessions: Asian, European, American (stops 15 min before close), or custom.
-
Entry Filters:
-
Minimum signal score (adjustable).
-
Broker minimum stop distance check.
-
Minimum time gap between trades (10 bars).
-
-
Additional Protections:
-
Close ALL positions before American session end (optional).
-
Monthly drawdown protection (pauses trading).
-
Monthly profit limit (pauses trading and closes positions).
-
-
On‑Chart Panel: Real‑time info and manual pause button.
-
Margin Validation: Adjusts lot size if free margin is insufficient.
-
Compatibility: MetaTrader 5, any broker offering XAUUSD.
🔧 Input Parameters
All configurable parameters are listed below, grouped by category.
📌 Core Trading Parameters
| Parameter | Description | Default |
|---|---|---|
| InpSymbol | Trading symbol (usually XAUUSD) | "XAUUSD" |
| InpRiskBase | Base risk % per trade (as % of balance) | 1.01 |
| InpMaxSimTrades | Maximum number of simultaneous trades | 1 |
| InpMaxDailyLossPct | Maximum daily loss % (stops trading) | 1.9 |
| InpMaxDailyProfitPct | Maximum daily profit % (stops trading) | 5.7 |
| InpWinrateWindow | Window size for winrate calculation (# trades) | 50 |
| InpMinScore | Minimum signal score to open a trade (0-100) | 60 |
| InpUseHedge | Enable intelligent hedging (optional) | false |
| InpMaxTradesPerDay | Maximum trades per day | 3 |
| InpMagicNumber | Magic number to identify EA's trades | 910717 |
📊 Impulsive Strategy Parameters
| Parameter | Description | Default |
|---|---|---|
| InpUseImpulsiveStrategy | Enable impulsive strategy (overrides old scoring) | true |
| InpWideRangeATRMult | ATR multiplier to consider a candle as "wide" | 2.0 |
| InpRequireTrendAlignment | Require alignment with M15 trend | true |
| InpMaxBarsBackForSignal | Max bars to look back for a signal | 7 |
⏰ Session Parameters
| Parameter | Description | Default |
|---|---|---|
| InpTradeSession | Trading session: Asian, European, American, or Custom | Custom |
| InpCustomStartTime | Custom start time (HH:MM) | "08:00" |
| InpCustomEndTime | Custom end time (HH:MM) | "15:30" |
| InpAsianStart | Asian session start | "00:00" |
| InpAsianEnd | Asian session end | "08:00" |
| InpEuropeanStart | European session start | "08:00" |
| InpEuropeanEnd | European session end | "15:30" |
| InpAmericanStart | American session start | "15:00" |
| InpAmericanEnd | American session end (bot stops 15 min before) | "21:53" |
📈 Indicators & SL/TP Parameters
| Parameter | Description | Default |
|---|---|---|
| InpATRPeriod | ATR period | 22 |
| InpSL_ATR_Mult | ATR multiplier for Stop Loss | 6.89292035 |
| InpTP_ATR_MinMult | Minimum ATR multiplier for Take Profit | 2.0 |
| InpTP_ATR_MaxMult | Maximum ATR multiplier for Take Profit | 3.0 |
| InpEMAPeriod1 | Fast EMA period (M1) | 25 |
| InpEMAPeriod2 | Medium EMA period (M1) | 50 |
| InpEMAPeriod3 | Slow EMA period (M1) | 200 |
| InpADXPeriod | ADX period | 14 |
| InpADXThreshold | ADX threshold for trend | 25 |
🛡️ Protection & Limit Parameters
| Parameter | Description | Default |
|---|---|---|
| InpCloseProfitableBeforeEnd | Close ALL trades before American session end | true |
| InpUseMonthlyProtection | Enable monthly drawdown protection | true |
| InpMonthlyMaxDrawdownPct | Maximum monthly drawdown % from peak | 10.0 |
| InpUseMonthlyProfitLimit | Enable monthly profit limit | true |
| InpMonthlyMaxProfitPct | Maximum monthly profit % from start (pauses trading) | 20 |
| InpMaxLotGlobal | Global maximum lot per trade (additional cap) | 5.0 |
🔧 Pivot & Compatibility Parameters (not used in impulsive mode)
| Parameter | Description | Default |
|---|---|---|
| InpPivotLeftBars | Left bars for pivot detection | 2 |
| InpPivotRightBars | Right bars for pivot detection | 2 |
| InpPivotProximityATR | Proximity to pivot in ATR multiples | 11 |
| InpRSIPeriod | RSI period | 14 |
| InpStochK | Stochastic %K period | 5 |
| InpStochD | Stochastic %D period | 3 |
| InpStochSlow | Stochastic slowing | 3 |
| InpBBPeriod | Bollinger Bands period | 20 |
| InpBBDeviation | Bollinger Bands deviation | 2.0 |
📌 Important Notes
-
The bot is optimized for XAUUSD on the M1 timeframe. Using it on other symbols or timeframes may produce undesired results.
-
Ensure your broker offers sufficient market depth and allows tight stop levels.
-
Test thoroughly on a demo account before trading live.
-
The protection parameters (daily/monthly limits) are essential for capital preservation. Adjust them according to your risk tolerance.
Thank you for choosing Gold Tristronge XXX!
For support or inquiries, contact the developer via MQL5.community.
Final Note:
For better bot performance, it is recommended to leave these default settings:
| Parameter | Description | Value |
|---|---|---|
| InpCustomStartTime | Custom start time (HH:MM) | "08:00" |
| InpCustomEndTime | Custom end time (HH:MM) | "15:30" |
If you need support or training on bot configuration, contact the developer Jeison Martinez at jeison0717@hotmail.com. Additional fees may apply. It is recommended to use a VPS of your choice.

