Check Unrealized loss of all trades in pips not working
-
i am trying to close all running trades from current chart if unrealized loss in pips for combined trades reaches 50 pips , but the block isnt working correctly for some reason , and it didnt closed the trades on 50 pips combined loss and instead trades were closed because of some other condition in the EA , 3 trades marked in the photo are closed because of indicator giving sell entry so it closed the trades , but right before closing , the total unrealized loss in pips was 92 pips , where as i set it to close the trades on -50 pips unrealized loss as total sum
here is how i am using the unrealized profit block : https://fxdreema.com/shared/Eona3uxkd
i even tried using it with the block bucket of trades but still didnt work

-
@zackry I almost never use that block. I always create two variables, one to check the current value of open pips and then compare it to my max value. I use 'for each trade' loops only.
-
@Zackry said in Check Unrealized loss of all trades in pips not working:
i am trying to close all running trades from current chart if unrealized loss in pips for combined trades reaches 50 pips , but the block isnt working correctly for some reason , and it didnt closed the trades on 50 pips combined loss and instead trades were closed because of some other condition in the EA , 3 trades marked in the photo are closed because of indicator giving sell entry so it closed the trades , but right before closing , the total unrealized loss in pips was 92 pips , where as i set it to close the trades on -50 pips unrealized loss as total sum
here is how i am using the unrealized profit block : https://fxdreema.com/shared/Eona3uxkd
i even tried using it with the block bucket of trades but still didnt work

Hi, I'm having the same problem, did you manage to solve it? If so could you help me, thank you!
-
I use this block often and it functions perfectly. Are the Pip rules correct in Setting?

-

