This EA has issues that needs debugging and add new 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.
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.
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
Recover Max Trade = 5
Right now, EA stop to place new pending order. I want EA to place final trade as example above.
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.