High and low
-
Hello
I hope everyone is doing fine. I was trying to make a new project. It a full EA bot that can identify high and low.If you can see there is A B and X. A = Higher high, B = Higher low and X = previous Higher low. I like calculate point (A+B)/2. But if you use the market properties you'll get (A+X)/2. could someone tell me how its works. I dont have a base project jet.
Thanks in advance.

-
@William-1 Easy. One you get both values for A and B you can use this formula block:

High value shoould be inserted oin the left operand and low in the right. Then you use the '/2' sign as I marked in the image and you insert the final result in a variable.
-
@l-andorrà thank you very much
-
You're welcome.