How to measure price change.

To add comments, please log in or register
tiib3t
90
tiib3t  

Hi all,

can someone kindly tell me how to make a EA what measures price movement from starting price what can be first bar open price.

to point that price has risen or decreased lets say 10pip.

and from that price it will repeat the process again and so on.

Many thanks.

William Roeder
18696
William Roeder  
tiib3t: how to make
  1. learn to code it. If you don't learn MQL4/5, there is no common language for us to communicate. If we tell you what you need, you can't code it. If we give you the code, you don't know how to integrate it into yours.
  2. Get or remember the open price
  3. get the current price
  4. compute what a PIP is.
              What is a TICK? - MQL4 and MetaTrader 4 - MQL4 programming forum
  5. See if the difference between № 2 and № 3 is greater than your 10 PIPs
To add comments, please log in or register