sharonyazdi ghasemiani:
hi
in filehandle we can use const string name for filename.
how we can use variable string?
i want to create a file with current local time name:
Code:
string bookname = StringFormat("%s_%s_Ticks.csv",my_symbol,TimeToString(StructToTime(startday),TIME_DATE));
sharonyazdi ghasemiani: how we can use variable string?
i want to create a file with current local time name:
string strtime=TimeToString(tm,TIME_DATE|TIME_SECONDS); string InpFileName=strtime;
Filenames can not contain slashes or colons. Create a name without them.
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
hi
in filehandle we can use const string name for filename.
how we can use variable string?
i want to create a file with current local time name: