Errors, bugs, questions - page 2614
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
Reading binary from indicator does not work, similar code from EA works without problems!
The ChartScreenShot in the indicators most likely works asynchronously.
Most likely ChartScreenShot in indicators works asynchronously.
Checked it, that's why I put in a loop
I checked, that's why I put in a loop
Ending the loop does not guarantee that there is a file.
Andrei Kossarev:
Не работает чтение бинарного файла из индикатора, аналогичный код из советника работает без проблем!
Doesn't it bother you that there are errors in your code?
The FileSize function expects int variable and you put string...
Corrected code, still doesn't work
Corrected code, still doesn't work
Try splitting the code into two separate functions:
1. Read file and follow up.
2. Taking a screenshot.
And if the result is null, then try flagging. And sequence of function calls, first try to read, but by the flag read is skipped, then skim, by the flag is executed and the flag is switched. And after that, on the next tick the file is read.
Suggestion - add another field to store user information, not accessible to change by the broker and mandatory to be saved on rollovers.
In short, a non-destructible field that can only be changed by the user.
Suggestion - add another field to store user information, not accessible to change by the broker and mandatory to be saved on rollovers.
In short, a non-destructible field that can only be changed by the user.
Plus 100600
No it won't, the server part of MT needs to be rewritten, it hasn't been done in 10+ years, so it will be in the near future, use what you were given - file, global variables of the terminal, DB
i write the state of orders in the file, i used a template of my universal databaseat https://www.mql5.com/ru/forum/85652/page17#comment_12370424
here is the latest offer from the developers - a SQLite databasehttps://www.mql5.com/ru/forum/327940
No it won't, the server part of MT needs to be rewritten, it hasn't been done in 10+ years, so it will be in the near future, use what you were given - file, global variables of the terminal, DB
i write the state of orders in the file, i used a template of my universal databaseat https://www.mql5.com/ru/forum/85652/page17#comment_12370424
this is the latest offering from the developers - a SQLite DBhttps://www.mql5.com/ru/forum/327940