Finding the value of 1 pip per 1 lot of a pair

[Deleted]  

Finding the value of 1 pip per 1 lot of a pair

I am trying to write a Money management subroutine for an EA that I am working on, and I am having difficulties calculating what 1 pip is worth per lot. Is there a built in function in MQL to get this? Or do I have to write a routine myself??

Thanks

Rusty

[Deleted]  

Anybody??

Any hints?

Rusty

 
rusty105:
Finding the value of 1 pip per 1 lot of a pair

I am trying to write a Money management subroutine for an EA that I am working on, and I am having difficulties calculating what 1 pip is worth per lot. Is there a built in function in MQL to get this? Or do I have to write a routine myself??

Thanks

Rusty

I think it's :

PipValue = MarketInfo(Symbol(),MODE_TICKVALUE);

[Deleted]  
rusty105:
Anybody??

Any hints?

Rusty

Have you tried looking here: http://docs.mql4.com/constants/marketinfo/ ?

Hope that helps.

Cheers,

Diam0nd

I LOVE

[Deleted]  

Thanks Guys!!

I'll give that a try, and see if it works like I need it to work.

Thanks again

Rusty

[Deleted]  

Perfect !!!

Thanks a bunch

Rusty