Hello everyone,
I'm not really understanding this error message atm.
I would like to ask, how do I resolve the error?
I'm not sure of the difference between this working and the above not working.
Read the documentation.
ID | Value | Description |
MODE_LOW | 1 | Low day price |
MODE_HIGH | 2 | High day price |
Nothing about getting the High and Low.
Please use
iOpen( iHigh( iLow( iClose(
Hello friend,
so why "improper enumerator cannot be used" ?
The error makes no sense to me. I have read the documents.. the error isn't illustrated within mql4 documents.
Hello friend,
so why "improper enumerator cannot be used" ?
The error makes no sense to me. I have read the documents.. the error isn't illustrated within mql4 documents.
MODE_OPEN and MODE_CLOSE are not listed here
You haven't read the documents because those enumerations do not belong to the call MarketInfo()
If you had read the documentation you would know this:
Series Array Identifiers
Series array identifier used with ArrayCopySeries(), iHighest() and iLowest() functions. It can be any of the following values:
ID | Value | Description |
MODE_OPEN | 0 | Open price |
MODE_LOW | 1 | Low price |
MODE_HIGH | 2 | High price |
MODE_CLOSE | 3 | Close price |
MODE_VOLUME | 4 | Volume, used in iLowest() and iHighest() functions |
MODE_TIME | 5 | Bar open time, used in ArrayCopySeries() function |

- docs.mql4.com

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello everyone,
I'm not really understanding this error message atm.
I would like to ask, how do I resolve the error?
I'm not sure of the difference between this working and the above not working.