Unfortunately, NTr Close All Trades is unavailable
The code has been removed. However, the huge code base still remains at your disposal allowing you to find a suitable code.
Check out other MetaTrader 5 codes:
Volatility-Adjusted Momentum Decay Line
A momentum oscillator that relaxes back toward zero at a speed set by the current ATR relative to its own moving average, so decay speed adapts automatically to whether the market is calm or volatile.
Simple Anchored VWAP - Institutional Volume Benchmark
Clean and efficient Anchored VWAP (AVWAP) indicator for MetaTrader 5. Calculates volume-weighted average price from a user-defined anchor date with optional volatility standard deviation bands.
Market Structure from Pullback Swings — BOS, CHoCH, IDM
Smart Money Concepts market structure on pullback swings: trend, BoS, CHoCH, IDM and liquidity sweeps. A level counts as taken only on a close — a wick through it is marked as a sweep (x) and relocates the swing. Self-contained, closed bars only.
QCL Heikin Flow MT5
QCL Heikin Flow applies two-stage smoothing to Heikin Ashi candles, helping traders filter price noise and visualize trend direction. Features adjustable smoothing periods, four moving average methods, and customizable candle colors.
EMA Cross Scalper M15 (XAUUSD, WIB session filter)
EMA(10) x EMA(30) scalper for XAUUSD on the M15 timeframe with a Jakarta session filter. Educational example: fixed lot size, SL/TP in points, maximum of 1 position, spread filter. Tested on 100% real ticks.