Version 3.1 — The Five Weapons Architecture
GoldScalperNinja v3.1 is an automated, high-probability gold execution engine designed to eliminate the three classic grid failure modes on XAUUSD: catching falling knives, carrying trapped counter-trend chains, and exhausting margin during sustained one-way surges.
— Weapon 01: Stop Orders That Chase Price — Uses trailing Buy Stop and Sell Stop orders that follow price movements and only trigger when price confirms a micro-reversal rebound by at least the minimum distance, eliminating falling-knife entries.
— Weapon 02: Two-Phase Pruning Engine — Rolling recovery algorithm executed in two strict sequential phases: Phase 1 banks scalp profits and verifies execution; Phase 2 uses those gains to prune the oldest negative orders one-by-one with net positive capital protection.
— Weapon 03: Trend Master D1 Daily Compass — Reads daily price action at the D1 candle open to project TM Upper, TM Open D1, and TM Lower dynamic bands scaled to ADR, enforcing directional gates and activating trend-locking debt cleanup.
— Weapon 04: Lot–Price Distance Filter (v3.1) — Mathematical ladder guard enforcing that larger volume orders always sit at more favorable prices than smaller orders, while automatically blocking duplicate fills and order clustering during high-volatility spikes.
— Weapon 05: Neon Control Panel & Mobile Remote — Live visual telemetry interface with 7 color-coded status zones, one-click manual overrides, and remote MT5 mobile control via pending orders at price 999.00.
Engineered for cold risk math, strict stop-loss discipline, and drawdown preservation.
This system is fully compiled and ready to download. You can unlock your MT5 account license key by opening and maintaining an eligible account under our partner network. Access is free and activated automatically upon partner account verification.
Risk Note: GoldScalperNinja EA utilizes automated grid execution. Grid systems can increase market exposure quickly; ensure you configure strict daily loss limits and test on demo/cent environments before live deployment.
At the open of every D1 candle, Trend Master reads daily price action and calculates TM Upper, TM Open D1, and TM Lower bands scaled to the Average Daily Range (ADR). Above TM Upper (UP 100%), only BUY orders are permitted. Below TM Lower (DOWN 0%), only SELL orders are permitted. In the middle zone (~50%), both directions operate simultaneously. If price trends persistently, it engages [LOCK BUY] or [LOCK SELL] and activates trend clean-up pruning.
Classic grid systems fail because they wait for complete market reversals. Two-Phase Pruning executes in two strict stages: Phase 1 banks profit from fresh scalp positions and waits for broker execution confirmation. Phase 2 uses that locked-in profit to close the oldest, deepest losing orders one-by-one, ensuring every pruning cycle closes at a net positive profit and brings the basket breakeven closer to market price.
The Lot–Price distance filter enforces a mathematical ladder rule: a larger lot size must always sit at least 'Filter distance' points at a more favorable price than every smaller order on its side (lower for BUY, higher for SELL). It also blocks duplicate orders within the filter distance, eliminating accidental cluster fills during high-volatility spikes.
You can control the EA remotely without accessing your VPS desktop by placing a pending order on XAUUSD with volume 0.01 at price 999.00: Place a Sell Stop at 999.00 to turn the EA OFF (halts new orders and pruning). Place a Buy Limit at 999.00 to turn the EA ON (resumes normal cycles). The EA automatically deletes the trigger order after executing the command.
Version 3.1 eliminates DLL imports entirely for maximum security and compatibility. MT5 connects directly to secure Google Apps Script authorization endpoints via native WebRequest. You simply add https://script.google.com and https://script.googleusercontent.com in MT5 Tools -> Options -> Expert Advisors.
First, verify that your account ID shown in the panel's Status box has been authorized by your broker or partner admin. Second, ensure 'Allow WebRequest for listed URL' has both Google Script endpoints added. Third, ensure the toolbar 'Algo Trading' button is green and 'Allow Algo Trading' is checked in the EA Common tab.
Risk Warning & Disclaimer:Trading forex, cryptocurrencies, and CFDs carries a high level of risk and may not be suitable for all investors. You may lose more than your initial investment. Only trade with money you can afford to lose. Past performance is not indicative of future results. TheNextTrade provides software tools and trade analytics only and does not act as a broker, custodian, or financial advisor.
Restricted Jurisdictions:The information, software tools, and partner broker links on this website are directed at global markets and are not intended for distribution to, or use by, any person in any country or jurisdiction where such distribution or leveraged FX/CFD trading would be contrary to local law or regulation (including the United States, Vietnam, and other restricted territories).