Zbynek Liska: Can someone please advise me where I am making a mistake? How it should be right?
Enumerations "enums" are for whole numbers only (eg. -100, -1, 0, 2, 5, 99, etc.). You can not use real numbers (numbers with decimal places).
ok, thank you
![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
enum intPair{
EURNZD =1.1213,
GBPJPY = 151.151,
EURUSD = 1.3114
};
input intPair Pair = EURUSD;