Check distance
-
How can i modify Condition block like check distance block?
-
@mario-c Not sure how you mean? If you put a modify variables block beneath a check distance with your desired check settings, for example orange output = bool true and yellow = bool false then your variable will rotate from true/false as your chec does the same.
-
@mario-c What do you exactly need?
-
i want to make an EA which open order trigered if distance from high and low is 90pips. ex: if price is 90pis from daily high, open trade buy. To mark the High and Low i use horizontal line. And to check distance, I use object on chart and running price. Am I doing it right or wrong....?
-
@jstap https://fxdreema.com/shared/2HPF6F2Dc are you mean like this? @l-andorrà
-
@mario-c theres a single block called check distance. Just place it below something that tells it how often to measure. Its a bool block, so if the distance parameter is met, it will PASS, if not, ELSE.
-
@mario-c Trying to have a close on 0 is unlikely because it is the current forming candle, as it closes it becomes 1 and a new 0 opens. Put your conditions into a comment block so you can visually see if it is working.
-
@jstap ok. I got you. How can I get the precise distance like 90 or 140 pips away from high and low. Because your comment make me rethink and I know my condition going wrong way.
-
@mario-c In condition put price (market properties) level on left, on right put the level you want something to happen on, in the adjust box below put +90 Pips, or -140 Pips whichever you prefer.
-
@jstap thank you so much.
-
@mario-c "Pips" is put in without capital "pips".
-
@jstap can you give me some example. itry this 5 times and it going wrong
-
@mario-c Like this, if you haven't set the pip rules it will likely only work for forex pairs.
