Hi guys. This EA doesn't correctly work.
For example I want:
TP 1 40
Breakeven to open price + 1pips
TP2 80
Breakeven at 40 pips
Partial Close: amount of lot to close what i set
TP3 100
Breakeven at 80pips
TP4 120 - Close orders (it's not necessary)
But what EA does?
If price get 40 pip, breakeven to open price. But it plays around open price. When price gets down of 40 pips SL = OpenPice, if price at 40 pips SL = OpenPrice + 1pips. And it plays so continuesly....
Second the major problem: If it close half of position (last version was so), it does it continuesly. I mean if i opened 0.04 lot and I close half (0.02), the it closes again half of 0.02. Result: I wanted just close 0.02 and left other 0.02 lot go on, it left there 0.01 lot order and continue message "lot error" to me.
Please can anyone help me?
For example I want:
TP 1 40
Breakeven to open price + 1pips
TP2 80
Breakeven at 40 pips
Partial Close: amount of lot to close what i set
TP3 100
Breakeven at 80pips
TP4 120 - Close orders (it's not necessary)
But what EA does?
If price get 40 pip, breakeven to open price. But it plays around open price. When price gets down of 40 pips SL = OpenPice, if price at 40 pips SL = OpenPrice + 1pips. And it plays so continuesly....
Second the major problem: If it close half of position (last version was so), it does it continuesly. I mean if i opened 0.04 lot and I close half (0.02), the it closes again half of 0.02. Result: I wanted just close 0.02 and left other 0.02 lot go on, it left there 0.01 lot order and continue message "lot error" to me.
Please can anyone help me?
Attached File(s)
Partial Close.mq4
6 KB
|
595 downloads
Think like an investor, Act as a speculator. Ferid H.