Check how it was closed
-
Hi to everyone, I been working with this block in my real account (zero spread, MT4) and I need to check SL and TP and never did active the outputs when the conditions met, but in the Tester everything was great and full working.
So, thinking about why in tester this works but real dont, I look in my closed trades and the broker can close your trade with a little difference in the SL or TP and probably this Closed Price is not the same of the EA is waiting for to apply the rule block.
I hope some valious help of Fxdreema to add in the block if you want to round some points or pips the value of SL, TP, etc. because broker never will give the same price and probably this checker never matches.
Sorry for my english. Maybe and my theory is wrong so I will heard your comments.



-
In the past I had another check to detect this - the EA was looking at the comment of the trade. But in MT4 and MT5 the comment was different, so I removed that check. I don't know, I may add some tolerance.
-
@fxDreema Hi sir... Stil doesn't work. Are you programming to fix it?
-
I would use on trade to tell me this:
