Mohammad Soubra:
Hello all,
in the mql4 language:
I am using the following to get the tick value in pips
Alert(MarketInfo(NULL,MODE_TICKSIZE));
but the result is as the following pic:
need help please
how to get the value in pips ?
1e-05 is another way to write 0.00001
If you want it displayed differently, try:
Alert(DoubleToStr(MarketInfo(NULL,MODE_TICKSIZE),Digits));
You probably want to look up Point too, if you are looking to convert it to "pips". You'll also find it beneficial to look up about catering for 4 digit versus 5 digit brokers.
Mohammad Soubra: I am using the following to get the tick value in pips
Alert(MarketInfo(NULL,MODE_TICKSIZE));
If you had read the documentation, you would know that tick size is not a value at all (pips or otherwise)
Oh...
Thank you both ( honest_knave & whroeder1 )
seems I misunderstand myself
I want another idea
it is the gap between each tick
However, I will calculate it by a simple function
Thanks Again
Good Luck
:)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello all,
in the mql4 language:
I am using the following to get the tick value in pips
but the result is as the following pic:
need help please
how to get the value in pips ?