Help pls, EA

 
Hello traders, I'm building an EA, How can I get the difference between the initial tick and the current tick at a given time 
 
Lisa James: Hello traders, I'm building an EA, How can I get the difference between the initial tick and the current tick at a given time 

Your question is unclear. Please explain in more detail.

 
Fernando Carreiro #:

Your question is unclear. Please explain in more detail.

Thank you for your interest in solving this issue. The question is, how do I gauge pip movement? For instance, when the market moves from price x to price y. I want to be able to measure the difference between the two price points.
 
Lisa James #: Thank you for your interest in solving this issue. The question is, how do I gauge pip movement? For instance, when the market moves from price x to price y. I want to be able to measure the difference between the two price points.

Your question is still unclear because it seems obvious.

Read and save [price x], then read and save [price y], then subtract them [diff] = [price y] - [price x].

You should show your code where you implement this and describe in detail the difficulties.