Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 1020

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
Please advise :
I need to edit information in a binary file (there are html tags and text inside)
what is the correct way ?
1 open the file for reading, read text into an array char one character at a time or into an array string with words edit the array open the file for writing pour it back into the file
2 can i edit in the file ?
ps what is the easiest and most correct path to take when editing text inside a file ?
open-edit
open as a binary read ReadString replace the information in the data (data only strings) (Print all is normal) write to the file
1 it is appended, not replace the current info and when writing to the file as WriteString and even just Write
2 gets instead of the Russian text questions (please advise where to look? to save with russian text and ideally to save the edited text in place in the text
Time[0]+Volume[0]
Thanks, I saw that you can open a file for both Read and Write
I open it as a binary, read ReadString, change the data (only strings) (Print is fine), then type it into the file
1 it is appended to the file and does not replace the current info and when writing to the file as WriteString or even just Write
2 I get questions instead of russian text (could you tell me where to look for it? It should save with russian text and ideally I should save it exactly as I place it in the text
I'm not good with files.
https://book.mql4.com/ru/functions/files
can you tell me how to increase the font of mt4?
eevviill:
ctrl+колесо?
doesn't work!
There is a script to export quotes in the format I want for the last 100 bars or up to a certain time in the past. It works as it should. But if it is thrown on the visualization chart of the tester, it saves quotes based on the last time there is a quote in the history, not on the date and time of the tester.
Can you teach it to save the last 100 bars based on the time of the tester's visualization chart?
If so, please advise how to do it. I can't figure it out.
PS: the fact that it uses Kim's function for replacement, instead of StringReplace - that's how it's designed, don't pay attention.