A bit of help needed.

 
Hello everyone, am building an EA to display the pips in a candle stick as a comment. But am confuse on how to go bout it.

I used ((High[1]-Low[1])/_Point) but when displayed am seeing a different value. 

When i use((High[1]-Low[1])*_Point) i get a totally different value too. 

so please guys what do you think should 
be the correct formula. 
 

I used ((High[1]-Low[1])/_Point) but when displayed am seeing a different value.

 

What do you see, what do you expect to see. How are you displaying it?

 
Nkechi Sonia KanuI used ((High[1]-Low[1])/_Point) but when displayed am seeing a different value.
That will display the size of the previous candle in points. A PIP ( What is a TICK? - MQL4 forum) is not a point. adjusting SL, TP, and slippage; for 4/5 digit brokers and for JPY pairs.
 

Thanks guy for helping out but i found a better way yo do it : ((High[1]-Low[1])/_Point)/10

 
Nkechi Sonia Kanu:i found a better way yo do it : ((High[1]-Low[1])/_Point)/10
Which fails on a 4 digit broker, exotics and metals. Read the links provided.
Reason: