How to get stop and take profit in points for EA

 

hi there beautiful people, i am currently trying to get the current trades position sl or tp in points and not in mumbers(price). any help with this? thanx is advance.

 
yomadestephens :

hi there beautiful people, i am currently trying to get the current trades position sl or tp in points and not in mumbers(price). any help with this? thanx is advance.

Please, show your MQL5 code.

 
SL/TP is a price.  Subtract that from the market price and then divide by point.
 
Vladimir Karputov #:

Please, show your MQL5 code.

i havent written a code on it yet. was hoping to get help here in doing that, i hope u understood my initial question?
 
William Roeder #:
SL/TP is a price.  Subtract that from the market price and then divide by point.

still dont understand how i am going to divide it by point if i am actually  trying to get the point in particular

 
yomadestephens #:

still dont understand how i am going to divide it by point if i am actually  trying to get the point in particular

_Point
Reason: