Download MetaTrader 5

I need a hedging EA.

2018.01.13 Experts

Job finished

Execution time 10 days
Feedback from customer
Thank you for your patient
Feedback from employee
Very interesting job, thank you.

Specification

I need a Hedging EA.

1.       Open Trade.

Buy Stop and Sell Stop set follow by the Highest (+Premium Pips), and Lowest (-Discount Pips) of the previous candle.

Example:

 

Setting as:

-          +6 pips (Premium) of previous = Buy

-          -6 pips (Discount) of previous = Sell

 

2.       Martingale (2 levels).

 

-          If continuer same direction, lot size in same.

 

Example:

 

Buy 1 = 0.01 lot

Buy 2 = 0.01 lot

Buy 3 = 0.01 lot until meet a Sell Trade or TP.

 

1st level Martingale Increase:

 

-          If 1st is Buy 1 = 0.01 lot, and meet a Sell Trade, depend how many pips different to the 1st trade, if the different is 12 pips, the = 0.01 lot X 12 times (Sell 1 = 0.12 lot), minimum is 0.01 X 3 times.

 

2nd level Martingale Increase:

 

-          After 1st trade lot size and 1st opposite lot size (1st trade lot size X different pips), all next coming opposite trade are 3 times increase of the last lot size. Until TP.

 

Example:

 

Buy (1st trade)       =0.01 lot

Buy                          =0.01 lot

Buy                          =0.01 lot

Sell (1st opposite) =0.12 lot (different 12 pips)

Sell                          =0.12 lot

Sell                          =0.12 lot

Buy                          =0.36 lot (X 3 of last lot size increase)

Buy                          =0.36 lot

Sell                           =1.08 lot (X 3 of last lot size increase)

Sell                           =1.08 lot

Sell                           =1.08 lot … Until TP, and close all trades.

 

3.       TP / Close Trade.

 

-          If there is a few trades open, maybe previous hit TP already, only use the last open as a guild, either which one of the direction hit TP 1st, and close all trades include opposite trades. 

 

Example 1, Ideal case:

 

Buy (1st trade)       =0.01 lot

Buy                          =0.01 lot

Buy                          =0.01 lot

Sell (1st opposite) =0.12 lot (if different 12 pips)

Sell                          =0.12 lot

Sell                          =0.12 lot

Buy                          =0.36 lot (X 3 of last lot size increase)

Buy                          =0.36 lot

Sell                           =1.08 lot (X 3 of last lot size increase)

Sell                           =1.08 lot

Sell                           =1.08 lot (Hit TP, close all trades)

 

 

 

 

 

Example 2, Worst case:

 

Buy (1st trade)       =0.01 lot

Buy                          =0.01 lot

Buy                          =0.01 lot

Sell (1st opposite) =0.12 lot (if different 12 pips)

Sell                          =0.12 lot

Sell                          =0.12 lot

Buy                          =0.36 lot (X 3 of last lot size increase)

Buy                          =0.36 lot (Hit TP, close all trades)

Sell                           =1.08 lot (X 3 of last lot size increase)

Sell                           =1.08 lot

Sell                           =1.08 lot

 

4.       Input.

 

-          Premium

-          Discount

-          1st lot size

-          1st level Martingale Increase level (Automatic X 1st lot size)

-          2nd level Martingale Increase level (X ? times)

-          TP

-          No SL





Files:

PNG
1.png
163.5 Kb
PNG
2.png
162.4 Kb
PNG
3.png
169.4 Kb

Responded

1
Developer 1
2018.01.13
Rating
5
(34)
Projects
34
26%
Arbitration
0
Overdue
4
12%
Free
2
Developer 2
2018.01.14
Rating
4.87
(204)
Projects
304
43%
Arbitration
52
19% / 63%
Overdue
68
22%
Busy
3
Developer 3
2018.01.14
Rating
4.91
(146)
Projects
241
62%
Arbitration
5
40% / 0%
Overdue
101
42%
Working
4
Developer 4
2018.01.14
Rating
4.65
(17)
Projects
26
31%
Arbitration
3
0% / 33%
Overdue
13
50%
Working
5
Developer 5
2018.01.14
Rating
4.8
(20)
Projects
36
25%
Arbitration
11
18% / 18%
Overdue
12
33%
Free
6
Developer 6
2018.01.14
Rating
4.88
(24)
Projects
41
34%
Arbitration
4
25% / 0%
Overdue
9
22%
Working
7
Developer 7
2018.01.14
Rating
5
(46)
Projects
73
16%
Arbitration
13
8% / 92%
Overdue
49
67%
Working
8
Developer 8
2018.01.14
Rating
3.67
(3)
Projects
8
13%
Arbitration
10
10% / 70%
Overdue
3
38%
Free
9
Developer 9
2018.01.14
Rating
4.96
(53)
Projects
171
57%
Arbitration
28
39% / 18%
Overdue
125
73%
Free

Project information

Budget
30 - 80 USD
Deadlines
from 7 to 14 day(s)