The Accutrade: Smart Martingale

The Accutrade: Smart Martingale

4 марта 2019, 18:30
Anton Sobinov
0
104

Along with stop-order instruments, the Accutrade EA also implements a strategy for reallocation trades, representing an improved version of the Martingale strategy, based on the trade volume increasing in the counter-trend.

The main difference of reallocation from the classic Martingale is the ability to use the extremum levels to calculate the iterations, which significantly increases the probability of closing the tarde with a positive result, because the extremum levels are the most likely price reversal points:

Reallocation 

The principle of reallocation by extremums is based on the trade opening with an increased volume shortly before the target extremum, and its volume is calculated for achieving profit when the price roll back to the previous extremum.

The reallocation strategy automatically determines the most significant extremums using price-touch indexes, and selects the most appropriate levels and its quantity for current risk amount, defined by risk management.

However, the classic version of the Martingale is also possible in the Accutrade EA, if you disable calculation iterations by extremes:

Martingale

In this case, user can choose the multiplier and the progression of the iteration distance, or simply distribute the levels by the required price values by dragging and dropping. Volumes of iterations will be calculated automatically within risk management. The zero levels are also available for dragging, with level volume recalculation. 

In fact, we can build the behavior of a strategy in several levels with а simple mouse movements, taking into account all the features of current market situation, and the risk management will automatically determine the volume within the allocated funds.

Reallocation settings content:

  • Start level – the first iteration start level
    • Calculation plan – start level calculation plan
    • Level distance – the first iteration distance
  • Iterations calculation – iteration levels calculation settings
    • Reallocation type – iterations evaluation strategy: Martingale / averaging
    • Iterations limit – max iterations count
      • Auto adjust by equity – iterations limit within equity
        • Min iterations limit – min iterations limit value
    • Iterations multiplier – next iteration volume multiplier
    • Progression multiplier – next iteration distance multiplier
    • Distance by range auto-adjust – automatic iterations distance within risk-management
      • Stop-Loss as range – use Stop-Loss as the range boundary
    • Iterations by extremums – iterations calculation based on the extremum grid
      • Calculation possibility – calculation possibility flag
      • Min distance –iteration min distance
        • Calculation plan – start level calculation plan
        • Level distance – min iteration distance value
      • Level allowance, % – indent from target extremum of iteration
      • Zero extremums count – extremums count to breakeven
      • Zero allowance, % - indent from zero extremum
      • Extremums control – reallocation extremums grid calculation. The extremums grid settings are similar to the settings, described at https://www.mql5.com/ru/blogs/post/725052, the “Extremums control” item
  • Iterations processors – iterations stop orders settings
    • Iterations Stop-Loss – iterations Stop-Loss settings
    • Iterations Take-Profit – iterations Take-Profit settings
    • Iterations Breakeven – iterations Breakeven settings
    • Iterations Trailing-Stop – iterations Trailing-Stop settings
  • Iteration levels – reallocation iteration levels list
    • Iteration 1…N level – reallocation iteration levels
      • Iteration settings – iteration level calculation settings
        • Iteration multiplier – iteration volume multiplier
        • Iteration ratio – iteration total volume multiplier
        • Iteration volume – iteration volume
        • Iteration distance – iteration distance
        • Level cost – iteration cost in deposit currency
      • Show level – iteration visibility on the chart
      • Hide for 1 minute – hide iteration for 1 minute
      • Zero level – iteration breakeven price
        • Iteration processors – iteration stop orders settings (for active only)
For each iteration, a separate stop order settings is available, described at https://www.mql5.com/ru/blogs/post/725060. Breakeven and Trailing-Stop with short distances in ATR are included by default, which allows you to quickly take profits when breakeven is achieved.