Andrea Di:
I'm using the Point () function for a take profit calculation. On USDJPY it returns me 0.001 but on EURUSD and GBPUSD it returns me "le-05".
What happen?
I'm using the Point () function for a take profit calculation. On USDJPY it returns me 0.001 but on EURUSD and GBPUSD it returns me "le-05".
What happen?
"1e-05" (not l) is the scientific presentation of a double: 10^-5 (e means here exponent) or 0,00001, see here: https://en.wikipedia.org/wiki/Double-precision_floating-point_format?oldformat=true.
See here as well: https://www.mql5.com/en/docs/common/printformat#type
Documentation on MQL5: Common Functions / PrintFormat
- www.mql5.com
PrintFormat - Common Functions - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
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
What happen?