The Golden Ninja Indicator
- Indicatori
- Versione: 1.20
- Attivazioni: 5
===================================================================
THE GOLD NINJA - INSTITUTIONAL GOLD SCALPER & MOMENTUM RIBBON (MT5)
===================================================================
The Gold Ninja is a professional, institutional-grade technical indicator engineered specifically for Gold (XAUUSD / GOLD#) on MetaTrader 5. Built for high-precision scalpers and day traders, it combines an adaptive Dual-EMA Momentum Ribbon, TTM Squeeze Volatility Breakout Detection, Institutional Trend Filters, and Dynamic On-Chart SL/TP Visual Targets to deliver clean, actionable trading signals with 100% Zero Repaint.
Whether you trade manually or use signals to confirm your discretion, The Gold Ninja transforms complex multi-timeframe gold price action into clear, high-probability execution setups.
KEY TRADING HIGHLIGHTS & FEATURES
-------------------------------------------------------------------
- 100% Zero-Repaint Confirmation:
Signals and chart arrows are calculated strictly on bar close (InpSignalOnBarClose = true). Once a candle closes and a signal arrow prints, it will NEVER disappear, repaint, or shift position.
- Adaptive Dual-EMA Momentum Ribbon:
Features an optimized Fast EMA (8) and Slow EMA (21) ribbon that tracks immediate gold market momentum. Real-time visual trend tracking displays smooth bullish and bearish flow with zero chart clutter.
- Dynamic On-Chart Target Projection (SL, TP & 25% Partial):
Automatically calculates and paints real-time Stop Loss (SL), Take Profit (TP), and 25% Partial Profit target lines directly on your chart upon signal trigger. Targets dynamically scale with market volatility via the built-in Average True Range (ATR) engine.
- Institutional Telemetry HUD Dashboard:
Displays a sleek, dark glassmorphism on-chart dashboard with institutional gold accents:
* Signal Status: Live scanning state (SCANNING, BULLISH BUY, BEARISH SELL).
* M5 Trend & M15 Macro Alignment: Multi-timeframe trend directional consensus.
* TTM Squeeze Ignition: Alerts you when volatility is compressing before an explosive breakout.
* RSI & ATR Metrics: Real-time momentum strength and volatility range in points.
* Spread Safety Monitor: Real-time broker spread tracker to prevent trading during news spikes.
- Multi-Layer Institutional Quality Filters:
* M15 Macro Trend Filter: Ensures you never trade against the higher-timeframe 50-EMA institutional flow.
* ADX Trend Strength Guard: Rejects low-volatility consolidation and choppy ranging markets (ADX >= 22.0).
* RSI Momentum Confirmation: Validates directional buyer/seller volume dominance (RSI >= 50 for Buy, <= 50 for Sell).
* TTM Squeeze & Keltner Breakout Engine: Identifies explosive momentum ignition out of low-volatility channel squeezes.
* Pre-Trade Tick Confirmation Filter: Analyzes real-time tick velocity before signal confirmation.
- Universal Broker Auto-Detection:
Automatically detects 2-digit vs. 3-digit broker pricing formats for Gold. Dynamically calculates point multipliers and spread baselines with zero manual calibration required.
- Instant Multi-Channel Alerts:
* MT5 Terminal Pop-up with custom audio alert.
* Mobile Push Notifications sent directly to your iOS / Android MetaTrader 5 app.
* Email notifications with precise entry price, Stop Loss, and Take Profit levels.
4 SPECIALIZED STRATEGY MODES BUILT-IN
-------------------------------------------------------------------
The Gold Ninja includes 4 selectable strategy algorithms directly switchable from the inputs:
1. STRAT_EMA_CROSSOVER (Flagship Scalper - Default):
Enters on confirmed momentum crossovers between Fast EMA (8) and Slow EMA (21), filtered by RSI and ADX trend strength. Ideal for M5 gold scalping.
2. STRAT_MOMENTUM_BREAKOUT:
Detects micro-momentum band breakouts when price aggressively pushes past Bollinger & Keltner channel extremes.
3. STRAT_TREND_CONTINUATION:
Identifies high-probability pullback continuation entries within established institutional trends.
4. STRAT_PULLBACK:
Uses Stochastic and RSI oversold/overbought exhaustion to catch deep value pullbacks to the moving average ribbon.
HOW TO TRADE WITH THE GOLD NINJA
-------------------------------------------------------------------
BUY SETUP:
1. Green Buy Arrow appears under the candle.
2. Fast EMA (Blue) is sloping upward above Slow EMA (Orange).
3. Institutional HUD displays "M5 Trend: BULLISH" and "M15 Macro: BULLISH".
4. Enter at market on candle open. Place Stop Loss at the dynamic green dashed SL line, and set Take Profit at the solid TP line.
5. (Optional) Bank 25% partial profit when price touches the dynamic Partial Target line, moving Stop Loss to Break-Even.
SELL SETUP:
1. Red Sell Arrow appears above the candle.
2. Fast EMA (Blue) is sloping downward below Slow EMA (Orange).
3. Institutional HUD displays "M5 Trend: BEARISH" and "M15 Macro: BEARISH".
4. Enter at market on candle open. Place Stop Loss at the dynamic red dashed SL line, and set Take Profit at the solid TP line.
5. (Optional) Bank 25% partial profit when price touches the dynamic Partial Target line, moving Stop Loss to Break-Even.
RECOMMENDED SETUP & SETTINGS
-------------------------------------------------------------------
- Instrument: XAUUSD, GOLD, GOLD#
- Timeframe: M5 (5-Minute) - Also works with high accuracy on M1, M15, and H1.
- Broker: Any MT5 broker with standard, Raw, or ECN spreads.
- Trading Sessions: London Open (08:00–11:00 GMT) & New York Overlap (13:00–17:00 GMT).
INPUT PARAMETERS OVERVIEW
-------------------------------------------------------------------
[Strategy Selection]
- InpStrategyMode: Strategy algorithm (0 = EMA Crossover, 1 = Momentum Breakout, 2 = Trend Continuation, 3 = Pullback).
- InpSignalOnBarClose: When true, signals only calculate on completed candle close (100% Zero-Repaint).
[EMA Ribbon & Signal Settings]
- InpShowRealtimeArrow: Show live real-time candidate signal on current unclosed candle.
- InpArrowDistanceATR: Dynamic distance offset for signal arrows (ATR multiplier).
- InpEMACrossFilterMacro: Filter signals by M15 Macro 50-EMA trend.
- InpEMACrossFilterRSI: Require RSI momentum confirmation (>50 Buy / <50 Sell).
- InpEMACrossFilterSession: Restrict signals to active London & New York market hours.
- InpEMACrossFilterSpread: Block signals if broker spread exceeds maximum safe threshold.
[Technical Indicators]
- InpFastEMAPeriod: Fast EMA period (Default: 8).
- InpSlowEMAPeriod: Slow EMA period (Default: 21).
- InpMacroTimeframe: Higher timeframe for macro trend filter (Default: PERIOD_M15).
- InpMacroEMAPeriod: Macro trend EMA period (Default: 50).
- InpRSIPeriod: Relative Strength Index period (Default: 7).
- InpATRPeriod: Average True Range period for dynamic volatility targets (Default: 14).
- InpADXPeriod: Average Directional Movement Index period (Default: 14).
- InpMinADX: Minimum ADX threshold to filter flat consolidation (Default: 22.0).
[Visual SL/TP Target Lines]
- InpSLTPMode: Target calculation mode (0 = Fixed Points, 1 = Dynamic ATR Multiplier).
- InpSL_ATR_Mult: Dynamic Stop Loss distance (Default: 1.0x ATR).
- InpTP_ATR_Mult: Dynamic Take Profit distance (Default: 2.2x ATR).
- InpDrawTargetLines: Draw dynamic entry, SL, and TP lines on chart upon signal.
- InpDrawPartialLine: Draw 25% Partial Profit Target line on chart.
[HUD Dashboard]
- InpShowHUD: Enable/disable on-chart Institutional Telemetry HUD.
- InpHUDBgColor: Dashboard background color (Default: C'18,22,28').
- InpHUDBorderColor: Dashboard border accent color (Default: Gold C'212,175,55').
- InpHUDX, InpHUDY: On-chart pixel offset coordinates.
[Alerts & Notifications]
- InpAlertPopUp: Terminal sound and pop-up alert dialog.
- InpAlertPush: Send instant Push Notification to MetaTrader mobile app.
- InpAlertEmail: Send trade signal details via email.
- InpAlertSound: Play audio alert when a signal triggers.
RISK DISCLAIMER
-------------------------------------------------------------------
Gold is a volatile financial asset. Past performance is no guarantee of future returns. Always test on a demo account
