Hi, I don't want to say it's a bug but... Below code is giving me implicit conversion warning on compilation even though I don't think there is any conversion happening there... Please correct me if I'm wrong.
- Type conversion
- Explicit type conversion
- Parameters and arguments
salvatoreone: I don't think there is any conversion happening there... Please correct me if I'm wrong.
WRONG_VALUE is an int, not an ENUM_ORDER_TYPE, so you do have a conversion. Try ENUM_ORDER_TYPE(WRONG_VALUE)
William Roeder #:
Thank you, that was it...
WRONG_VALUE is an int, not an ENUM_ORDER_TYPE, so you do have a conversion. Try ENUM_ORDER_TYPE(WRONG_VALUE)
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