[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 356
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 have Windows 7 and when I create an EA it is there in the terminal but not in explorer.
Does anyone know why this happens ?
Because it's in C:\Users\user name\AppData\Roaming.... somewhere in there. In general, when the terminal does not have enough permissions, or it is installed on the C drive, which is basically the same, it saves EAs somewhere in this folder, not in MetaTrader 4\experts
Output your alert without conditions and see. There's no such thing as miracles. Also print the values of flags, which are responsible for alert output, in the comments
Wrote just 1 line in EA - Alert output:
Put it on the tool - at least 1 alert came out...
Wrote just 1 line in EA - Alert output:
Putted on the tool - at least 1 alert came out...
Wait, Zhunko!
Don't run away, I'm all about FileWrite( ). Tell me, isn't there some API function to remove "r\n" programmatically?
Thanks for reminding me about FileWriteString(). I'll experiment... of course it's a pity that it writes data in "string" type... I need Excel to separate the written data into columns afterwards... I'll try putting ";" between the data... maybe Excel will understand them as separators.
If you need it to continue writing the string (MQL4 limits it to 63 cells), you can shift file pointer 2 bytes back and keep on writing FileWrite( ). Just don't forget to put cell separator instead of line break.
There are such WinAPI functions to override the file without line break, they will trim the file where needed. But should this be done?
If you need to continue writing the string (MQL4 limits it to 63 cells), you can shift the file pointer by 2 bytes and continue writing FileWrite( ). Just remember to put cell separator instead of line break.
To file override without line break, there are such WinAPI functions, which will trim a file where it should be trimmed. But should it be trimmed?
Yes, yes, yes, I need it for line continuation... as a matter of fact I don't care whether to write it with FileWrite( ) or FileWriteString(). Now I tried FileWriteString( ), it's OK... I'll do it in Excel later, distribute it by columns.
Hmmm...offset by 2 bytes? I'll try that, too. Thanks for your help. Tips are good.
trades according to a predetermined algorithm, and ellan out and never mention it again.
Which one would you recommend?
Which one would you recommend?
Your own.