condition
-
This ea should close trade when bid line goes below open price but it doesn't work: http://fxdreema.com/shared/4xGbaOaR
Maybe right operands of blocks 11 & 12 are not correct? -
In your condition you have Bid + 1. If for example Bid is 1.3243, then 1.3243+1=2.3243. Better use +0.0001 or +1pips.
-
ok, I'll try thanks. Just to review on 5-decimal system like EURUSD, isn't 1 pip = 0.00001 (5 decimal places) so if I write +1pips wouldn't it mean 0.00001 instead of 0.0001 (4 decimal places)?
where is "toPips" defined in code?
thanks

-
"pips" uses the point format defined in options, so it depends.
search for "double toPips", I can tell where exactly it is located because what functions to be used inside the project depends on the project itself - only the ones needed are places in the code.