Hi jack_the_whack! Thanks for posting this.

Some thoughts:
1) f5, f6 (fVal, fVol t6 data) cannot be used in a free version of Zorro, only Zorro S
2) you can use main() instead of run() for the entry point if your function runs once
3) I think you should check if(Name==NULL) before you use name
4) it might work if you just write `while(Name = file_next(0))` so the loop is ended when it returns NULL

I have a Java t6 generation code as well - https://gist.github.com/alun/79c4a633c72ea91ec338a7d66c5ab496

This part in particular https://gist.github.com/alun/79c4a633c72ea91ec338a7d66c5ab496#file-gent6history-java-L174

I wrote it to export data from DukasCopy broker. Maybe it could be useful

Also - looks like your format should be

Code
// 02/28/2020,108.4,110,107.475,107.575,44239
string Format = "+%d/%m/%Y,f3,f1,f2,f4,f6";


Last edited by alun; 09/13/22 17:40.