MT5 · Runtime errors
MT5 5310 · Ticks in the array are not arranged in the order of time | YI GOLD
ERR_CUSTOM_TICKS_WRONG_ORDER
Official meaning
Ticks in the array are not arranged in the order of time
Possible causes · YI GOLD suggestions
Array size, index, type or series orientation violates function requirements.
Troubleshooting · YI GOLD suggestions
Check length, bounds, dynamic-array declarations and ArraySetAsSeries. Validate returned element counts before access.