i want loop to value price
-

I used here bigger and smaller than without equal, so I can check the price is greater than the value I set or not?
But sometimes I see the price exceeds the value, and a counter deal is not opened.
How can I set a frequency to confirm the price above the price of the value or below the value -
Note here the price written on the chart is lower than the opening price of the second trade.
I didn't understand how this happened? Where I use a zero candle -
You are requiring that Ask/Bid are above specific proce levels. More than probably there will be one tick immediately below that level and the next one arriving to your platform will be immediately above it.
Considering that trades can only be opened at a tick level, the second one is confirming the condition so the trade will be alway opened at that exact price and not at the one specified by your variable.
-
@l-andorrà Thank you for the clarification . I do not care about two or three points difference. But I am interested in opening a counter deal. When going down even if the difference is 20 points.
I want to place a repeat: to check the price every time -
Are you trying to create a hedging system? Not sure if that is what you're looking for.
