MT4 · Compilation errors
MT4 142 · Parameter can be a dynamic array only | YI GOLD
Official meaning
Parameter can be a dynamic array only
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.