double iLow( const string symbol, // Symbol ENUM_TIMEFRAMES timeframe, // Period int shift // Shift );
ILow's second parameter is an enumeration, not an int. Cast tf to the enumeration, or define its type as the enumeration.
Compare the above with MT4's definition.
double iLow( string symbol, // symbol int timeframe, // timeframe int shift // shift );

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
Why is it i get the "cannot convert enum" error in mql5? but not mql4?
In the following i get the error
But if i type it directly into the parameter there is no error?
Or even the enumeration directly there is no error?