Download MetaTrader 5

Fix existing EA and add 1 function

2018.05.08 Indicators Experts

Specification

This EA has issues that needs debugging and add new function.

1) Function:

Hedging_Allowed = true/false

This function should close active trade and open new trade at same time on the opposite side. This function is for Broker's that does not allow hedging. This added function should not interfere with original functions of the EA.


2) Debugging:

EA currently updates lot size when terminal rejects pending order due to low balance. EA does this until terminal accepts pending order.

I want to fix/debug this to take the difference between total BUY and total SELL. then, subtract MODE_LOTSTEP until terminal accepts pending order. This needs to be with the same SIGNAL and SYMBOL. This EA trades with multiple signals and multiple symbols.

example:

SIGNALSYMBOLBUYSELL
B_USDJPY_5USDJPY0.01
B_USDJPY_51_RCVR-S1USDJPY
0.02
B_USDJPY_51_RCVR-B2USDJPY0.04
B_USDJPY_51_RCVR_S3USDJPY
0.08
B_USDJPY_51_RCVR_B4USDJPY0.16




total BUY = 0.21
total SELL = 0.10

update lot size = 0.21 - 0.10 + MODE_LOTSTEP

if terminal reject, update lot size = 0.21 - 0.10 - MODE_LOTSTEP

if terminal still reject, update lot size = 0.21 - 0.10 - MODE_LOTSTEP - MODE_LOTSTEP.......until terminal accepts pending order


3) Debugging:

Recover Max Trade = 5

Right now, EA stop to place new pending order.  I want EA to place final trade as example above. 


4) Debugging:

set LOT SIZE = 0.1

I want EA to default to minimum lot size when Account balance is low. Right now, EA use above function to update lot size.

I will send detailed instruction to the selected freelancer.

Responded

2
Developer 2
2018.05.08
Rating
4
(4)
Projects
5
0%
Arbitration
3
0% / 67%
Overdue
3
60%
Free
3
Developer 3
2018.05.08
Rating
4.75
(16)
Projects
22
32%
Arbitration
5
20% / 20%
Overdue
4
18%
Working
4
Developer 4
2018.05.08
Rating
4.83
(6)
Projects
8
13%
Arbitration
3
0% / 33%
Overdue
5
63%
Working
5
Developer 5
2018.05.08
Rating
5
(13)
Projects
34
76%
Arbitration
1
100% / 0%
Overdue
11
32%
Working

Project information

Budget
30+ USD
Deadlines
from 1 to 5 day(s)