Comment("SPREAD =" + DoubleToString(Ask - Bid,Digits));
You can achieve the same result with this
Comment("Spread = ", MarketInfo(NULL, MODE_SPREAD));
Keith Watford:
Comment("SPREAD =" + DoubleToString(Ask - Bid,Digits));
no i mean , how can i comment dont normalized ASK and BID prices(with real 3 or 5 digits), what we see in market watch?
Well, when you try to calculate current spread and you want it to be in natural numbers, you need to multiply by pow of digits.
(ask - bid) * 10^digits
As far as I understand your intentions.
And yes, it would be very polite to in fact be more clear about what you are trying to accomplish.
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
hi
i wrote this , but it dont shows me real spread, why?