How to solve these Bugs on SaveTicks.mq5

 
Hi Top programmer,

First thanks to Mr. Andrey Khatimlianskii, His SaveTicks V1.&V2.mq4. on 
It's a pity that the website has turned the comments and output text in the source code into garbled characters.
but I'm tring to upgrade it for MT5 running.

To learn the MQL5 programe for me, just know it only one week, very unfamiliar the language, so I don't know the
 correct grammar of private define function call, how to work?
I'm Still debug them, can you help me how to fix those bugs on SaveTicks.mq5?

Ps. I'm sorry, to use traditional Chinesefrom Taiwan for annotations

Thanks your kindly hlpe for.
Joseph
Сборщик тиков (TickSave)
Сборщик тиков (TickSave)
  • www.mql5.com
Эксперт сохраняет тиковую историю по указанным символам в csv-файлы.
附加的文件:
SaveTicks.mq5  25 kb