Use function DoubleToStr():
string DoubleToStr( | double value, int digits) |
Returns text string with the specified numerical value converted into a specified precision format.
Parameters:
value | - | Floating point value. |
digits | - | Precision format, number of digits after decimal point (0-8). |
Sample:
string value=DoubleToStr(1.28473418, 5);
// the value is "1.28473"
Alert("Broker Name ",AccountCompany()," POINT ", DoubleToStr(MarketInfo(Symbol(),MODE_POINT), MarketInfo(Symbol(),MODE_DIGITS)) );
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
Alert("Broker Name ",AccountCompany()," Point ",MarketInfo(Symbol(),MODE_POINT));
Alert("Broker Name ",AccountCompany()," Diğits ",MarketInfo(Symbol(),MODE_DIGITS));
IBFX/FXDD is True. But FXCM is False. FXCM Broker Company Point is Zero.
Please Help me ?
This screenshort is included.