Try adding a FileSeek() to SEEK_END
Thank you very much,problem solved.
I looked this function before I post this topic,I don't know why I didn't use it.Thanks anyway!
overwrite (or create):
handle=FileOpen("filename.sql", FILE_CSV|FILE_WRITE, ',');
(seeking to the end of an empty file does nothing)
appending:
int APPEND = FILE_CSV|FILE_WRITE|FILE_READ; int handleOPT = FileOpen(nameOPT, APPEND, '~'); if (handleOPT < 1){ ... } FileSeek(handleOPT, 0, SEEK_END);
hi guys...i'm newbie here...anybody now how to make my indicator of trendline that have vertical line price for High price 1 and 2 then lowprice1 and 2, how to export that price to my specific coloumn in my excell file.
i need that...thanks before.
semarfx:
i'm newbie here...anybody now how to make my indicator
i'm newbie here...anybody now how to make my indicator
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
I want to record spread,and input them to mysql,so I can do some statistics.The following is my code,but my problem is every time the new content will remove old content.So can someone tell me how to write new content without remove old content? Thank you very much!