How to check distance between currently running trade and the price 12 bars ahead
-
So all of the functions work except for this one.
The this second part of blocks that I have problem in. (If trade)
What I'm trying to do is this:
IF trade is active
Every 12 bars on 15min time frame
Check the distance between the trade position To where it is now after 12 bars
IF difference between price of trade when I opened and price now is less the 5 pips close the trade.The problem is with checking distance in pips and comparing it. I can't find it how to do it. I found how to do it with equity but money and pips are completely different values.

-
That pink 'In loop' Operand requires a 'For each trade' block over it. Pink operands in general don't work well if not 'controlled by a 'For each trade' block.