Simple low risk martingale EA

MQL4 Experts Forex

Job finished

Execution time 53 seconds
Feedback from employee
Thank you!
Feedback from customer
The developer was very fast and efficient in implementing my trading strategy! Furthermore, he was very polite and immediately grasped the idea of the EA, which made it a very pleasant cooperation.

Specification

Short Description:

The EA trades one specific forex pair in a low-risk Martingale way. The trade direction is random.

 

Martingale Money Management:

The core of the EA consists of a row of 10 equal numbers that represent the lot sizes.

For example: 1 – 1 – 1 – 1 – 1 – 1 – 1 – 1 – 1 – 1.

The EA trades in «runs». Once a run is finished, it starts the next run.

 

In each run, the row of 10 equal numbers (lot sizes) is cleared.

 

This clearing of the row happens as follows: For the first trade (and all others), the two outer numbers are summed up (here: 1 + 1 = 2). A trade (for example, EUR/USD) with a random direction (for example, BUY) and the calculated lot size of 2 is entered. SL and TP have the same distance, so that there’s always a chance of 50% to lose or win the trade.

 

In case the first trade is won, the two outer numbers of the row are cleared (deleted), resulting in 8 numbers left:

1 – 1 – 1 – 1 – 1 – 1 – 1 – 1

 

In case the first trade is lost, the lot size of the lost trade (2) is added to the end of the row, resulting in 11 numbers left:

1 – 1 – 1 – 1 – 1 – 1 – 1 – 1 – 1 – 1 – 2

 

From here, this procedure is being repeated until the row is empty:

 

In case the first trade was won, the two outer numbers of the row are summed up (1 + 1 = 2) and a trade is placed accordingly (2 lots, random direction).

 

In case the first trade was lost, the two outer numbers of the row are summed up (1 + 2 = 3) and a second trade is placed accordingly (3 lots, random direction).

 

If this third trade has also been lost, the lot size number (3) would be added to the end of the row and the next trade would be 4 lots (3 + 1 = 4):

1 – 1 – 1 – 1 – 1 – 1 – 1 – 1 – 1 – 1 – 2 – 3

 

 

The Martingale logic: As a won trade clears two numbers, but a lost trade only adds one number to the row, it takes on average 20 trades to clear the row. (Every trade has a 50% chance of winning/losing). There’s a profit factor of 1.5.

 

The Details:

 

(a) The EA only trades the chart (forex pair) it has been placed on. However, it should be possible to place the EA on multiple charts within a single MT4 platform, so the use of magic numbers might be needed (you’re the expert here).

 

(b) The randomness of the trades should be based on a random generator, not simply alternating buy and sell orders.  

 

(c) SL and TP are not hidden, they’re communicated to the broker.

 

(d) SL and TP values in pips can be specified inside the EA. As SL and TP always have the same values, only one field is needed here.

 

(e) There should be a pause between the trades, which can be specified within the EA in minutes.  

 

(f) As already mentioned above, the EA never stops trading: Once a run is finished (that is, once the row is cleared), I will start the next run with the next 10 number row.

 

(g) The 10 lot sizes in the (initial) row (1 in our example above) can be specified within the EA in absolute numbers.



Responded

1
Developer 1
Rating
(16)
Projects
35
23%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
2
Developer 2
Rating
(366)
Projects
414
55%
Arbitration
12
50% / 42%
Overdue
1
0%
Free
3
Developer 3
Rating
(20)
Projects
32
9%
Arbitration
0
Overdue
0
Free
4
Developer 4
Rating
(12)
Projects
14
0%
Arbitration
4
0% / 75%
Overdue
3
21%
Working
5
Developer 5
Rating
(100)
Projects
139
51%
Arbitration
5
40% / 60%
Overdue
0
Working
6
Developer 6
Rating
(85)
Projects
175
44%
Arbitration
3
100% / 0%
Overdue
5
3%
Free
Published: 1 code
7
Developer 7
Rating
(162)
Projects
209
61%
Arbitration
10
80% / 0%
Overdue
0
Free
Published: 1 code
8
Developer 8
Rating
(78)
Projects
246
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
9
Developer 9
Rating
(144)
Projects
186
41%
Arbitration
24
58% / 21%
Overdue
13
7%
Free
10
Developer 10
Rating
(258)
Projects
269
29%
Arbitration
2
50% / 0%
Overdue
3
1%
Working
Published: 2 codes
11
Developer 11
Rating
(72)
Projects
80
10%
Arbitration
38
8% / 58%
Overdue
6
8%
Free
12
Developer 12
Rating
(27)
Projects
27
26%
Arbitration
2
0% / 50%
Overdue
1
4%
Free
13
Developer 13
Rating
(45)
Projects
63
52%
Arbitration
5
0% / 40%
Overdue
1
2%
Free
14
Developer 14
Rating
(312)
Projects
521
47%
Arbitration
30
10% / 47%
Overdue
139
27%
Free
15
Developer 15
Rating
(145)
Projects
169
50%
Arbitration
22
14% / 55%
Overdue
22
13%
Free
16
Developer 16
Rating
(626)
Projects
733
34%
Arbitration
48
52% / 40%
Overdue
14
2%
Loaded
17
Developer 17
Rating
(772)
Projects
1039
44%
Arbitration
50
8% / 50%
Overdue
116
11%
Free
18
Developer 18
Rating
(515)
Projects
554
53%
Arbitration
13
69% / 15%
Overdue
3
1%
Free
19
Developer 19
Rating
(37)
Projects
59
27%
Arbitration
26
19% / 54%
Overdue
10
17%
Working
Published: 1 code
20
Developer 20
Rating
Projects
1
0%
Arbitration
3
0% / 100%
Overdue
0
Free
21
Developer 21
Rating
(2676)
Projects
3418
68%
Arbitration
77
48% / 14%
Overdue
343
10%
Working
Published: 1 code
22
Developer 22
Rating
(45)
Projects
46
24%
Arbitration
34
9% / 85%
Overdue
10
22%
Free
23
Developer 23
Rating
(14)
Projects
21
24%
Arbitration
0
Overdue
2
10%
Free
Published: 3 codes
24
Developer 24
Rating
(119)
Projects
169
38%
Arbitration
9
78% / 22%
Overdue
15
9%
Free
Similar orders
MT5 Professional Account Risk Manager & Multi-Symbol Trade Monitor Then keep the description technically equivalent, but rewrite the wording and organization so it doesn't look like a copy: > I am looking for an experienced MQL5/MT5 developer to create a professional account-level risk management and position monitoring Expert Advisor. The EA will not generate trading signals. Its primary purpose is to monitor and
Hi, I’m looking for an experienced MQL5/MT5 developer to build a complex AI-powered adaptive Expert Advisor for XAUUSD+ on Ultima Markets. I have a detailed 28-section technical specification, and the requirements are fixed. I’m looking for the complete implementation , not a simplified EA or a conventional indicator-based system. The project includes: Genuine AI/ML integration AI-based market regime classification
Trading bot ea 30+ USD
yoo i want to make a trading bot i have my strategy in videos and also the rules to if anyone can work it out for me i will be glad welcome your bid and it urget let connect here on mgl5 And if you know you can not do the project without getting paid first please don't bid thanks
MT5 EA make work on zone break and candle confirm. Hi i need one expert person who can make exact what i want. My EA logic very simple.... few hrs market high and low make line then candle body close above or low then candle confirmation then pullback then entry RR1:2 no trail nothing,,,,, the line high low create after few hrs of the day i wll tell you later,,,,then 1hrs no trade if break then no trade for the
المطلوب موشر لتداول الذهب مجرب وقوية يعطي اشاره قوية فقط مع وقف خساره ومختبر ومجرب في حال الموافقه علي لموشر بعد التجربه لمدة ٣ ايام يتم الشراء دايم مبلغ ٢٠٠ دولار
Masoudahg1 999999+ USD
Hello world, thank you for your helping and supporting for us from your for all everyone that investments or working in this programing and supporting seven/24 hours in daily and nightly for customers
Laily Mahmudy 100000+ USD
Thank you very much and of trying supporting and helping for us and my investfolio portfolio id is:"investfolio portfolio masoudahg1 id is":"7Zk0iVh7zuytHkQ9OJSzeY" &"35VmgKWofZxWowQ7O6CL8K" https://leylimahmudi46.atlassian.net is my Atlassian programing that when I working of this programs
Hi there I need someone who will create an ea then test it .. the ea should only place order on the bid price of it breakout in 1 point using invisible buy and invisible sell,, example if bid breakout in 1 point up automatically invisible buy active then invisible stop loss at where the ask price was same in sell If the bid breakout in 1 point down automatically invisible sell active then invisible stop loss where
I’m looking for an experienced MT5/MQL5 freelancer to help install and configure several existing EAs on IC Markets MT5 accounts using a Windows VPS. The work will include setting up the EAs on separate demo accounts and later running several together on one account with different risk settings. I also need help with MT5 backtesting and strategy optimisation, including comparing different risk levels and reviewing
Ea which is based on the price returning to the open or close of a 1-minute candle or zone of candles. panel on chart need too have buttons : trainding on/off close all close profit add buy stop add buy limit add sell stop add sell limit ( all to existing setups) calculating profit/loss for a single open setup and in total in account currency calculating profit/loss for a single open setup and in total in percentage

Project information

Budget
400+ USD