The example of the work with the CSV file as with a table – script MetaTrader 5

Output result of the script.
The script demonstrates the work with the table in which the only detail is necessity to know the number of columns. news.txt should be converted to csv file with delimiter”;”, or any other file but in the same code. filehandle=FileOpen(“News.csv”,FILE_READ|FILE_CSV|FILE_ANSI,’;’); Instead of “;” set this symbol. Such approach allows to work with each line separately, … Read more