Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

Martin for small deposits - expert for MetaTrader 5

Published by:
Vladimir Karputov
Views:
7645
Rating:
(26)
Published:
2018.03.01 09:37
Updated:
2018.06.27 12:32
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The author of the idea: udrya, the mq5 code author: barabashkakvn.

Martingale based Expert Advisor specially designed for small deposits. This feature is enabled through the configurable parameter "Number of bars to be skipped", which means skipping the specified number of bars after the last entry.

How it works: suppose we have the first open BUY position, and a new entry signal emerges on the next bar (the price moved down by "Step between positions"). More signals to open BUY emerge on the next two bars. A regular martingale would open four consecutive positions with the following total volume (taking into account the starting lot of 0.01 and the multiplier of 2.0):

  • #1 BUY 0.01
  • #2 BUY 0.02
  • #3 BUY 0.04
  • #4 BUY 0.08

This load can destroy small deposits. Our EA with "Number of bars to be skipped" (let it equal 3) would open the first BUY 0.01 position, skip three bars and open the second BUY 0.02 position.


Input Parameters

  • Volume - position volume;
  • Take Profit (in pips) - take profit value;
  • Step between positions - step between position;
  • Number of bars to be skipped - the number of bars to skip before opening a new trade;
  • Volume increase factor - volume multiplier for each subsequent position;
  • Max volume - maximum allowable position volume;
  • Min profit for close all - minimum profit, at which all open position should be closed.

Testing on EURUSD,H1:

Martin for small deposits

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/19637

JS_SISTEM_2 JS_SISTEM_2

The Expert Advisor uses three iMAs (Moving Average, MA), one iOsMA (Moving Average of Oscillator and one iRVI (Relative Vigor Index, RVI). Trailing stop is based on the High/Low of earlier bars.

ColorSRoC ColorSRoC

The smoothed S-RoC indicator of the relative price increment by Fred Shutsman.

XDidi_Index_System_HTF XDidi_Index_System_HTF

Two "Didi Needles" indicators from different timeframes on one chart.

AdaptiveRVICloud_System_HTF AdaptiveRVICloud_System_HTF

Two AdaptiveRVICloud indicators from different timeframes on one chart.