You are not showing your code, so how do you expect us to help!
Plus, forget Python - there is no "numpy.ndarray" or "pandas.DataFrame" here. This is MQL, with MQL coding rules which are much more like "C" or "C++".
For reading the CSV file you may use the built-in CSV support (see FileOpen).
For iterating an array look for the for loop.
To add comments, please log in or register