Hi, when plotting say a MA for example, the EUR/USD, it returns the value as 1.xxxxx (5 digits). How can I increase that to say 8 digits -
1.xxxxxxxx? Using this in a MA slope EA. TIA!
- Collateral Symbols - For Advanced Users - Trading Operations
- Fibonacci Expansion - Fibonacci Tools - Objects - Charts - MetaTrader 5 for Android
- Fibonacci Expansion - Fibonacci Tools - Objects - Chart - MetaTrader 5 for iPhone
- MA doesn't return anything. It shows what it is coded to do. You can't change it.
- If you are coding your own indicator, you should read the manual.
IndicatorDigits - Custom Indicators - MQL4 Reference - Reading indicators into an EA you get a double. Floating-point has infinite number of decimals.
Print out your values to the precision you want with DoubleToString - Conversion Functions - MQL4 Reference.

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