Martingale cycle trading/back to initial lot size after each loss

MQL5 Experts Libraries

Job finished

Execution time 121 days

Specification

Hi All, 

I am looking for existing EA script to a martingale consecutive trading in 1 direction (no hedging). 

Here are the requirements:

1) Sell/buy direction to be initiated by user where the automated trading is triggered with the same direction (sell or buy) as the initial order.

2) Lot size is multiplied by X value after the win of the trade within the same cycle]

3) Back to starting lot size X (in this example 0.1) after each loss. 

4) Start a new cycle after the preceding cycle is completed 

5) EA does create a new order if spread is over X value or time X to be specified when EA need not be working

6) EA does not operate when the price is below the initial entry price in buy or above the initial entry price in sell

Below is is an example. I would require parameters to input the rule for each trade. Each trade in the cycle should have its own pips take profit/pips stoploss

Cycle   Cycle trade no. Lot Size Pips TP Pip SL 
 1  1 0.1 (initial order)
20 As specified in the parameter
 1  2 0.2
20 10
 1  3 0.4   10 10
 2  1 0.1 20 As specified in the parameter
 2  2 0.2 20 10
 2  3 0.4 10 10


Responded

1
Developer 1
Rating
(772)
Projects
1039
44%
Arbitration
50
8% / 50%
Overdue
116
11%
Free
2
Developer 2
Rating
(2645)
Projects
3362
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
3
Developer 3
Rating
(66)
Projects
95
28%
Arbitration
20
25% / 55%
Overdue
24
25%
Free
4
Developer 4
Rating
(493)
Projects
1022
58%
Arbitration
30
27% / 23%
Overdue
133
13%
Working
5
Developer 5
Rating
(3)
Projects
1
100%
Arbitration
1
0% / 0%
Overdue
0
Free
6
Developer 6
Rating
(65)
Projects
71
30%
Arbitration
8
0% / 88%
Overdue
5
7%
Free
7
Developer 7
Rating
(296)
Projects
475
40%
Arbitration
105
40% / 24%
Overdue
80
17%
Busy
Published: 2 codes
8
Developer 8
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free

Project information

Budget
50+ USD
Deadline
from 1 to 3 day(s)