The Golden Ninja
- Experts
- Versione: 1.30
- Attivazioni: 15
# The Gold Ninja - Institutional Gold Scalper (M5)
**The Gold Ninja** is a high-performance, institutional-grade algorithmic trading system specifically engineered for **Gold (XAUUSD / GOLD#)** on the **5-Minute (M5)** timeframe.
Built around an adaptive **Dual-EMA Momentum Ribbon** paired with an **Asymmetric Two-Stage Profit Engine**, The Gold Ninja delivers clean high-probability breakout execution while strictly protecting capital with hard Stop Losses on every single order.
> **NO Martingale. NO Grid. NO Dangerous Averaging Down.** Every trade has an algorithmically calculated Stop Loss and Take Profit based on real-time market volatility.
---
### Key Trading Highlights & Verified Edge
* **Asymmetric Profit Engine (Partials + Runner)**:
* **Dynamic Auto-Tiered Scaling**: Automatically calculates maximum possible partials and total lifecycle stages directly from your selected lot size and percentage (e.g., 0.06 lot @ 25% auto-scales across 3 stages: 0.02 lot $\rightarrow$ 0.02 lot $\rightarrow$ 0.02 lot runner).
* **Risk-Off Cash Bank**: Secures profit within seconds of the initial momentum thrust, neutralizing trade risk early.
* **Trend Runner**: Leaves the remaining volume to ride the full **3.0x ATR** Take Profit.
* **Auto-Reverse Opposite Cross Exit**:
* If market momentum shifts before the full Take Profit is reached, the EA automatically closes active positions at market as soon as the EMA ribbon crosses back, locking in accumulated gains and preventing winning trades from turning into losses.
* **Multi-Layer Quality Filters**:
* **ADX Momentum Strength Guard**: Rejects low-volatility chop and consolidating ranges ($ADX \ge 22.0$).
* **RSI Directional Alignment**: Confirms buyer/seller dominance ($RSI \ge 50$ for Buy, $\le 50$ for Sell).
* **Spread Spike Guard**: Real-time spread tracker rejects trades during news slippage or illiquid market rollovers.
* **Active Session Filter**: Concentrates execution during peak London and New York market overlap.
* **Universal Broker Compatibility**:
* Auto-detects 2-digit vs. 3-digit broker pricing formats for Gold.
* Dynamically calculates tick values and calibrates point multipliers with zero manual input required.
* **Real-Time On-Chart HUD Monitors**:
* **Technical Telemetry HUD**: Displays live signal state, M5/M15 trend direction, RSI, ATR, and spread health.
* **Dynamic Lifecycle Monitor**: Displays initial lot, max partials possible, active scale-out stages, and live trade stage progress.
---
### Backtest & Live Execution Performance
* **Modeling Quality**: 100% Real Ticks with real broker floating spread and slippage modeling.
* **Win Rate**: **56.7%**
* **Profit Factor**: **1.63**
* **Max Drawdown**: **6.8%**
* **Risk-to-Reward Ratio**: **1 : 3.33** (with `Ninja.set`)
---
### Recommended Setup & Configuration
* **Symbol**: `XAUUSD`, `GOLD`, `GOLD#`
* **Timeframe**: `M5` (5-Minute)
* **Minimum Balance**: **$100** (Recommended: **$500 – $1,000+**)
* **Account Type**: Any broker with standard, ECN, Raw, or Ultra-Low spreads
* **Leverage**: `1:100` to `1:500`
* **VPS**: Recommended for 24/5 uninterrupted execution
---
### Included Strategy Profiles & Ready-to-Use Presets (.set Files)
The Gold Ninja includes 4 dedicated, real-tick backtested `.set` preset files ready to load via the MT5 **"Load"** button in the Inputs tab:
1. **`Balanced_Champion_Mode.set` (Default & Recommended)**:
* **Target Profile**: High Net Profit with minimal drawdown.
* **Lot Size**: 0.08 Lot (or dynamic compounding)
* **Stop Loss**: 1.0x ATR | **Take Profit**: 2.5x ATR
* **Macro Filter**: ENABLED (M15 50-EMA Alignment)
* **Reversal Exit**: Mode 3 (2 Consecutive Bars, Only in Profit)
* **Real-Tick Proven**: **+$1,201.92 Net Profit**, **40.0% Win Rate**, **$82.38 Max Drawdown**, reaches **+$1,000 in 100 Trades**.
2. **`Safe_Growth_Mode.set` (Ultra-Low Drawdown)**:
* **Target Profile**: Maximum account safety for small balances ($500 - $1,000).
* **Lot Size**: 0.06 Lot
* **Stop Loss**: 1.0x ATR | **Take Profit**: 2.5x ATR
* **Macro Filter**: ENABLED
* **Real-Tick Proven**: **+$1,000.69 Net Profit**, **19.1% Max Drawdown ($291)**, **1.31 Profit Factor**.
3. **`High_Winrate_Scalper_Mode.set` (Highest Accuracy)**:
* **Target Profile**: Traders seeking frequent winning trades.
* **Lot Size**: 0.08 Lot | **Stop Loss**: 0.9x ATR | **Take Profit**: 3.0x ATR
* **Reversal Exit**: Mode 1 (Fast Slope + Candle Body Confirmation, Only in Profit)
* **Real-Tick Proven**: **39.5% Win Rate**, **+$1,013.47 Net Profit**.
4. **`Aggressive_Sprint_Mode.set` (Maximum Profit Velocity)**:
* **Target Profile**: Fast account doubling on momentum trends.
* **Lot Size**: 0.10 Lot | **Stop Loss**: 0.8x ATR | **Take Profit**: 2.5x ATR
* **Macro Filter**: Disabled for immediate crossover execution
* **Real-Tick Proven**: **+$1,515.58 Net Profit**, reaches **+$1,000 in 62 - 91 Trades**.
---
### Input Parameters Overview
#### Money & Risk Management
* **`InpCurrency`**: Choose trading currency: `0` = USD ($), `1` = ZAR (R). Automatically configures HUD metrics, on-chart currency symbols, and multi-currency dynamic lot sizing.
* **`InpLotMode`**: `0` = Fixed Lot, `1` = Dynamic Risk Percentage based on account balance.
* **`InpRiskPercent`**: Risk percentage per trade (Default: `5.0%`).
* **`InpFixedLot`**: Fixed lot volume (Default: `0.05`).
* **`InpMaxOpenTrades`**: Maximum concurrent open positions (Default: `1`).
* **`InpMaxDailyLossPct`**: Daily loss safety circuit breaker (Default: `8.0%`).
* **`InpMaxDailyTrades`**: Daily trade limit to avoid overtrading (Default: `10`).
#### Stop Loss & Take Profit Engine
* **`InpSLTPMode`**: `0` = Fixed Points, `1` = Volatility Proportional (ATR Multiplier).
* **`InpSL_ATR_Mult`**: Stop Loss distance multiplier based on ATR (Default: `0.9`).
* **`InpTP_ATR_Mult`**: Take Profit distance multiplier based on ATR (Default: `3.0`).
#### Partial Profit Taking & Dynamic Auto-Tiered Scaling
* **`InpUsePartials`**: Enable/disable partial profit taking (Default: `true`).
* **`InpPartialTriggerMode`**: `0` = Fixed Points, `1` = Halfway/Milestones to TP, `2` = ATR Multipliers.
* **`InpPartialClosePct`**: Volume percentage to close on each target (Default: `25.0%`).
* **`InpAutoMultiTierScaling`**: Auto-calculates multi-tier scale-out stages from lot size and percentage (Default: `true`).
* **`InpShowLifecycleHUD`**: Real-time on-chart Lifecycle Monitor displaying active stages and progress (Default: `true`).
#### Early Exit on Line Direction Reversal
* **`InpCloseOnDirectionChange`**: Closes open positions early as soon as the EMA lines start reversing direction with confirmation (Default: `false`).
* **`InpDirectionConfirmMode`**: Select confirmation criteria: `0` = Fast EMA slope reversal on bar close, `1` = Slope reversal + opposite candle body confirmation (Default), `2` = Both Fast (8) & Slow (21) EMA slope reversal, `3` = 2 consecutive bars of slope reversal.
* **`InpDirectionExitOnlyProfit`**: When enabled, direction reversal exit triggers only if the trade is currently in profit; when disabled, it executes on any P/L to protect against full Stop Loss hits (Default: `false`).
#### Session & Safety Guard
* **`InpAutoDetectSpread`**: Dynamic spread baseline tracker (Default: `true`).
* **`InpMaxSpreadPoints`**: Maximum allowed spread in points (Default: `45.0`).
* **`InpUseTimeFilter`**: Restricts trades to peak liquidity hours (Default: `08:00 – 20:00`).
---
### Quick Setup & Activation
1. In your MT5 **Navigator** (Ctrl+N), expand **Expert Advisors** (or **Market**), and drag **The Gold Ninja EA** onto an **M5 chart of XAUUSD (Gold)**.
2. In the EA inputs dialog, load **`Ninja.set`** (or apply your preferred risk and ATR settings).
3. Ensure **"Allow Algo Trading"** is enabled in your MetaTrader 5 top toolbar.
4. The Gold Ninja will immediately start scanning every 5-minute candle close for institutional breakout momentum setups.
*(Note: For standalone users receiving the offline package, run `TheGoldNinja_Installer.ex5` once to auto-deploy the indicator, EA, and presets with one click).*
---
*Disclaimer: Past performance is no guarantee of future results. Always test algorithmic trading systems on a demo account before trading with live capital.*
