Hi,
Your code is incomplete.
So if you check the documentation carefully,it explained as "The structure should not contain strings, dynamic arrays or virtual functions" at " FileWriteStruct" function section.
So it means,your structure should not contain string data type in its variable stack,
So your structure should be like below:
struct Datefile { //string symb; double ask_volume; double bid_volume; datetime tm; };
And the :
//file.symb=_Symbol;
Should be removed,
Hi,
Your code is incomplete.
So if you check the documentation carefully,it explained as "The structure should not contain strings, dynamic arrays or virtual functions" at " FileWriteStruct" function section.
So it means,your structure should not contain string data type in its variable stack,
So your structure should be like below:
And the :
Should be removed,Thanks for your help
Thanks for your help
You're welcome,
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi guys, i am using a struct to save DoM data into a file(TXT), but it has a problem, it is for passing a struct object , not a link or a reference. I tried doing that but didnt work.
I am sending the code if someone can help.