Help to detect BreakEven
-
Would anyone know how to detect when a trade closes in Breakeven, since the only way I can think of is to detect closed trades with little profit, but if there is a simpler way or with some identifier that I have not seen or different logic, you would help me a lot. . thank you.
-
@yerlin You can do it this way:

-
I had thought about it but this wouldn't cover all the situations due to slippage, right?
That is to say, if at any time an operation closes 1 pip up or down, you wouldn't count it as Breakeven, right?
-
@yerlin Yes, that depends on your definition of BE. For me, BE means what I show in the image. If you need to add some slippage, you can ad another additional condition blocks searching for that max distance.