Skip to content

Martingale

The Martingale money manager will change the lot size by a configurable value after an order with a negative result. The lot size can multiply multiple times when multiple losses were taken in a row. This strategy is only useful for strategies with a high probability of winning a trade. Significant risk is taken when using this module. If there’s a minimum or maximum lot size the broker has set for the symbol you’re trading, the lot size will be at least the minimum and not more than the maximum per order.

Settings

  • Lot size sequence: Enter a manual sequence of order lot sizes, seperated by a comma.

    When the input sequence is 0.01, 0.03, 0.05 the first order’s lot size will be 0.01, the next order 0.03 lot and the third order 0.05 lot. When using an additional operator, choose from ’+’ (add to previous lot size), ’-’ substract from previous lot size, ’*’ multiply previous lot size, ’/’ devide previous lot size or ’%’ as a percentage of your equity, using this amount of equity to equal the required margin. For example, when the input sequence is ‘0.01, *2’ the first order’s lot size will be 0.01, the next order will have the previous lot size times 2: 0.02 lot and the third order 0.04 lot, etc.

  • Number of orders taken into consideration: when entering 1, only the last order is evaluated.

  • Percentage lost: This setting represents the percentage of recent orders (determined by Number of orders taken into consideration) that resulted in a loss.

    • If you set Number of orders taken into consideration to 1 and Percentage lost to 100%, it means that if the last order resulted in a loss, the multiplier will be applied to the next order.
    • If you set the Number of orders taken into consideration to 2 and Percentage lost to 100%, it means that if both of the last two orders resulted in a loss, the multiplier will be applied to the next order.
    • If you set the Number of orders taken into consideration to 2 and Percentage lost to 50%, it means that if either one or both of the last two orders resulted in a loss, the multiplier will be applied to the next order.
  • Max steps after losses: after this number of steps, the order’s volume won’t be affected anymore by the Lot size sequence. This means that when this amount of steps (or number of losing orders) happen, the previous lot size may also be the lot size for the next order.

  • Reset martingale after max steps: by enabling this setting you can now reset the lot size after you have reached a maximum number of steps (or losing orders).

  • Include open orders: include open orders for volume calculation, not just closed orders.

  • Split sequence for buy and sell orders: If enabled, the sequence will be split for buy and sell orders.

  • Use real (rounded) lot size for next orders: Enable if the lot size for next order has to be calculated based on the real, currently newest opened order’s lot size, instead of the calculated lot size.