MT5 · Runtime errors
MT5 5058 · Must be an array of type float | YI GOLD
ERR_FLOAT_ARRAY_ONLY
Official meaning
Must be an array of type float
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.