Skip to content
All library documents

NTK 07: Pending-Order Trend Catching with Increasing Lots

Article MQL5 code base

Summary

NTK 07 is an expert adviser that starts by placing two pending orders around the current price. When one activates, the other is removed. The EA then adds another pending order in the direction of price movement at a specified step, increasing lot size by a multiplier, until it reaches its limit for open trades or lots. It subsequently trails stop losses and take profits in the direction of price, aiming to capture trends while limiting losses in flat conditions. The author advises keeping the multiplier below two and using the smallest workable parameter values, with settings chosen in light of market volatility.

A EURUSD backtest is reported with a 1.81 profit factor and a 26.06% maximum drawdown, alongside 777 trades and other performance statistics. These are historical test results for a particular parameter set and period, not evidence of live robustness. The author notes large drawdown and order-modification problems on some brokers, and asks for help improving the system and its live operation.

Key ideas

  • The EA places opposing pending orders and cancels the untriggered order when one activates.
  • It adds trades in the price direction, increasing lot size until a trade or lot limit is reached.
  • Trailing stops and take profits are intended to capture trends while controlling exposure in flat markets.
  • The author recommends a multiplier below two and small parameter values, adjusted for volatility.
  • The reported EURUSD backtest has substantial drawdown, and the author reports live order-modification issues on some brokers.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.