Download MetaTrader 5

I need a hedging EA.

To add comments, please log in or register
Watch how to order a trading robot
Read the Rules before you post an order or execute it
How to order a trading robot and get the desired result
Develop a robot in no time
Write trade operations easily
185
Customer 2018.01.13 22:50 30 - 80 USD   from 7 to 14 day(s)

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





Experts, MQL4

Developer 2018.01.14 01:31
Jobs: 226 (41% personal)
Arbitration: 43 (completed in favor of the developer 20%, canceled in favor of the customer 65%)
Overdue: 61 (26%)

Developer 2018.01.14 03:57
Jobs: 201 (59% personal)
Arbitration: 5 (completed in favor of the developer 40%, canceled in favor of the customer 0%)
Overdue: 90 (44%)

Developer 2018.01.14 23:29
Jobs: 160 (56% personal)
Arbitration: 26 (completed in favor of the developer 34%, canceled in favor of the customer 15%)
Overdue: 118 (73%)

Developer 2018.01.14 19:10
Jobs: 66 (18% personal)
Arbitration: 11 (completed in favor of the developer 9%, canceled in favor of the customer 90%)
Overdue: 44 (66%)

Developer 2018.01.14 07:44
Jobs: 33 (27% personal)
Arbitration: 10 (completed in favor of the developer 20%, canceled in favor of the customer 20%)
Overdue: 11 (33%)

Developer 2018.01.14 10:38
Jobs: 13 (30% personal)
Arbitration: 2 (completed in favor of the developer 0%, canceled in favor of the customer 0%)
Overdue: 2 (15%)

Developer 2018.01.13 22:53
Jobs: 8 (0% personal)
Overdue: 4 (50%)

Developer 2018.01.14 23:13
Jobs: 7 (14% personal)
Arbitration: 9 (completed in favor of the developer 11%, canceled in favor of the customer 44%)
Overdue: 3 (42%)

Developer 2018.01.14 04:37
Jobs: 4 (0% personal)
Overdue: 0 (0%)
To add comments, please log in or register