As %d is for int a double value isn't displayed - just use %f, like: %.5f
Or instead of hard coding precision (%0.5f) just use %s with
question about decima of marketinfo() - MQL4 and MetaTrader 4 - MQL4 programming forum
question about decima of marketinfo() - MQL4 and MetaTrader 4 - MQL4 programming forum
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
The variable "speed" should display the value of variable "ti" which is 0.00156. But it just displays some random number. Why this isn't working? any format conversion mismatch? double and inters etc?