Skip to content
All library documents

Bar-Skipping Martingale Entries for Small Forex Accounts

Article MQL5 code base

Summary

This Expert Advisor applies a martingale approach with a configurable delay between entries. After an initial position, it waits a chosen number of bars before opening another position when the price moves by the specified step and a new entry signal appears. The example shows how a three-bar delay reduces the number of positions opened during a run of consecutive signals compared with entering on every bar. Other controls include starting volume, a volume multiplier, maximum volume, take profit, and a minimum combined profit for closing all positions.

The document describes the mechanism using a EURUSD hourly testing context, but provides no performance figures or detailed test results. Skipping bars can slow position accumulation, but it does not remove the risk of a martingale strategy: increasing exposure can still produce large losses when price continues moving against the positions. The account-size framing is not evidence that the approach is safe for small deposits; position limits and exit settings remain important, and the source gives no drawdown analysis.

Key ideas

  • A configurable bar delay controls how long the EA waits before adding another position.
  • The example uses a volume multiplier, so later positions are larger than earlier ones.
  • The EA includes limits and exits such as maximum volume and a minimum profit threshold for closing all positions.
  • Slower entry spacing does not eliminate the risk of accumulating losses in a sustained adverse move.

Tags

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