Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1938

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
But if the indicator is switched on in the graph, there is no error
Without the source code it's hard to tell
Without the source code, it's hard to tell.
This is what the indicator and objects look like. Some of them can be disabled in inbox, but not all of them, and that's how these errors go too.
I have the source code (old and in need of improvement) and I can edit it to get rid of these problems. The question is to solve it without editing,
"And check the logs in the shared and µl folder" - where in the shared folder?
... ...until the right ones are downloaded.
That's understandable. I will wait for the history data to be updated.
Thanks. I will have a look. Is the histories folder also in data folder in MQL5 folder?
I will look and delete...
I can see the old data directory:
How do I write this condition correctly in the indirector and at the end of this function?
Artem Hello! Can you tell me if it's possible to download all your articles in one archive?
Hello. I don't. Why put them in the same archive if the development is incomplete? I don't see the point.
New bar appears if iTime != OldTime then Alert and OldTime =iTime on zero shift/bar.
what value should be written in OldTime? O_o
The arrow itself is drawn at the moment the zero bar opens.
I made this condition.
It doesn't work properly - even in the tester, there are a lot of alerts in the log.
i also get a bunch of alerts - i don't know how to write this thing(((
what value should be written in OldTime? O_o
The arrow itself is drawn at the moment the zero bar opens.
I made this condition.
It doesn't work properly - even in the tester, there are a lot of alerts in the log.
I also get a bunch of alerts - I don't understand how to write this thing (((
So, when you boot up, you will also get an alert. When a new bar appearsiTime(NULL,0,0) will be changed and there will be no equality once, then there will be equality and the if will be false.
You can also do it this way.
Or we could get a new bar on any timeframe.
The call would be as follows
This way there will also be an alert when loading. When a new bar appearsiTime(NULL,0,0) will be changed and there will be no equality once, then there will be equality and the if will be false.
"New bar" is evil, at this event you can get data from the "last bar" indicator i.e. newbar-1.
If you run 3 terminals on one server and, depending on trading frequency the signal skips in some terminals, i.e. before sending the order set print (Buy signal for example), and the indicator print value will show the value of the previous bar.
Of course, you can perform some checks...