You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
What I asked is how to avoid that every time I write to the CSV it change row, I want all data o the same raw, later (if condition is done) I will change row.
I mean i don't want this: I'd like this:
Anyway I have still not read the documentation I received, hope o solve this ;-)
As already stated, you can use the "FileWriteString" for that. A text file (be it .TXT or .CSV) is basically "string" output.
Since in your code you already convert your data into strings (EnumToString, DoubleToString, etc.) when you output with FileWrite, you can simply substitute for the equivalent.
FileWrite( filehandle, ... );
// To this
FileWriteString( filehandle, StringConcatenate( ... ) );
Hello, i want to say that I could solve this issue usig FileWriteString(filehandle, string) ,so I had to create a string containing all my variables to write into a unique string using spaces as separator , something like this:
FileWrite(filehandle, stringfile);
on next even I will need to change raw but I think there will be no problem, I hope !!
Thank's again !
As already stated, you can use the "FileWriteString" for that. A text file (be it .TXT or .CSV) is basically "string" output.
Since in your code you already convert your data into strings (EnumToString, DoubleToString, etc.) when you output with FileWrite, you can simply substitute for the equivalent.
FileWrite( filehandle, ... );
// To this
FileWriteString( filehandle, StringConcatenate( ... ) );