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

MQL5 专家 资料库

工作已完成

执行时间121 天

指定

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


反馈

1
开发者 1
等级
(772)
项目
1039
44%
仲裁
50
8% / 50%
逾期
116
11%
空闲
2
开发者 2
等级
(2645)
项目
3362
68%
仲裁
77
48% / 14%
逾期
342
10%
空闲
发布者: 1 代码
3
开发者 3
等级
(66)
项目
95
28%
仲裁
20
25% / 55%
逾期
24
25%
空闲
4
开发者 4
等级
(493)
项目
1022
58%
仲裁
30
27% / 23%
逾期
133
13%
工作中
5
开发者 5
等级
(3)
项目
1
100%
仲裁
1
0% / 0%
逾期
0
空闲
6
开发者 6
等级
(65)
项目
71
30%
仲裁
8
0% / 88%
逾期
5
7%
空闲
7
开发者 7
等级
(296)
项目
475
40%
仲裁
105
40% / 24%
逾期
80
17%
繁忙
发布者: 2 代码
8
开发者 8
等级
项目
0
0%
仲裁
0
逾期
0
空闲

项目信息

预算
50+ USD
截止日期
 1  3 天