@rrpons But if I'm not wrong, only the Tester prints those arrows. When I create a trade in my MT4, I only see horizontal line. But nevermind, you don't need such object at all. When the trade is there, its Open Price is known and can be read.
I think you can do this with "For each Trade" and few other blocks where you can check the values and finally close the trade with the pink "close trade". But please, take a little time and try to understand how these blocks work: https://fxdreema.com/examples#Loop-(For each...)
@Pipperoni, be careful with the first 2 parameters in those "Draw..." blocks. Only when A is No and B is Yes the name is a Name and not a Prefix.
Also, when you compare prices, never use that == sign. There is very little chance to see 2 prices exactly the same. You are measuring distance, but it's similar, you still have 2 price values compared with ==.