I don't know why it didn't open? Is there anything wrong?
-

I set a point on the chart by using the mathematical equation
When the price rises above this point by ten points,= buy, and down by ten points = sell
A sale was opened at the beginning, after which the price rose more than 70 points, but a long position was not opened ؟
I don't know why it didn't open? Is there anything wrong?

Is there another way to compare output with price? And make a repeat to check the price exceeded or not
I mean, I can use a method

-
@khalids222 hi.
at the first, you cant write text in the adjust menu. just +10 or -10 -
every two sides in a condition should be the same together.
you cant Comparison a price with pip. price comparing with the price -
@xfire
I think like this according to what you see, or I got it wrong
However, I will try to try it again without pips -
@khalids222 i never used this type of data. but your comparing is incorrect
on the right side, you should use price value -
@xfire Can you explain at this point? PLEASE
The result is a price -
@xfire said in I don't know why it didn't open? Is there anything wrong?:
every two sides in a condition should be the same together.
you cant Comparison a price with pip. price comparing with the price -
@khalids222 please share your project
-
@xfire shared/5TbhqTg5b
-
-
@khalids222 you can change variable with this block

-
I don't understand, on the screenshot buy is open?
And I think I would add 10 pips in the result value in the Formula block instead of in the condition block

-
https://fxdreema.com/shared/18vPCCK7b
TIP: If thing doesn't do what you want it to do then "Trace" block is a nice tool to check values.
-
@padletut Thanks a lot, yes, there is a mistake, well done. But what's useful TRACE
-
@xfire Thank you very much for your effort and time, but replace this variable to buy and sell how it will be -10؟
-
@khalids222 to trace the values you are calculating so you can see it on the screen live.

-
@padletut said in I don't know why it didn't open? Is there anything wrong?:
to trace the values you are calculating so you can see it on the screen live.
Ok thank you very much, I appreciate your effort and time.
-
@padletut You also see the price exceeded the point by more than one hundred points, and the opposite has not been opened
The last buy was on 22180 and the price now 21970
More than 200 points and
It should have been at a point 21166 open sell , but not did't
Is there a way for the price not to exceed the set point until a trade is opened?
-
I'm not sure, did you look at the "Journal" tab in MT4, is there any error opening trade?
-
@padletut There are no errors, but I do not know why only one deal is opened.
An example of suppose the limit 21000 & A buy transaction was opened on 21010 and the price fell to 20990 short position was opened, and the price started to rise again TO same limit 21010 never open a buy again
I don’t know if the problem is one per bar ? or any things ؟
Can there be loop to confirm cross price ? or any things ?