maybe Point is less than 0.0001 ? say 0.00001 ?
and default is to print with 4 dp
so maybe use something like DoubleToStr(Point, Digits) ?
brewmanz:
maybe Point is less than 0.0001 ? say 0.00001 ?
and default is to print with 4 dp
so maybe use something like DoubleToStr(Point, Digits) ?
don't understand what you want to tell me.
"Point" is a predefined variable and it's a double.
Look at "MQL4 Reference"
double Point The current symbol
point value in the quote currency. |
HE's trying to tell you that, yes point is a double, but so small double that when used in defualt text formatting like in your example above, it's rounded down to 0.
Use DoubleToStr(Point,Digits); for customized formatting and magic will happen.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
I tried to run the Programs in the 2 articles "Betting Modeling as Means of Developing Market Intuition" and "Comfortable Scalping"
from this site.
In both programs i found they don't work.
I used an Alert to find out what was going on.
Alert ("Ask= ", Ask);
Alert ("Point= ", Point);
For Ask i got a normal number. But for Point i allways got Point= 0 !!
Can anybody tell me why?