WriteFormat = "n%.5f,%.5f,%.5f,%.5f,%.5f,%.5f,%.5f,%.5f"
//this needs to match your variables!
//each %.5f means a var with 5 Digits, %d would mean an integer
sprintf(FileName,"Data\blabla%s.csv",strx(Asset,"/","")); // remove slash from forex pairs
file_delete(FileName); //if you want to delete old files
//v1, v2 are the variables you want to write