What's there to master? Put everything in OnInit into a separate function, make it MyOnInit. From OnInit call MyOnInit and from OnChartEvent after changing input field.
These are the basics, you may need something else. I have a free indicator in the Market which colors bars or candlesticks on the condition that MACD is above or below zero. But if you switch the chart to a line, the number of required buffers already changes. The solution is found in this way.
long a=132;
if(a>-9223372036854775808)
{Print("а прошла проверку на > INT64_MIN");}
else{Print("а НЕ прошла проверку на > INT64_MIN");}
if(a<-9223372036854775808)
{Print("а прошла проверку на < INT64_MIN");}
else{Print("а НЕ прошла проверку на < INT64_MIN");}
if(a!=-9223372036854775808)
{Print("а прошла проверку на != INT64_MIN");}
else{Print("а НЕ прошла проверку на != INT64_MIN");}
Result
2019.05.1411:49:13.574 check (EURUSD,M5) а НЕ прошла проверку на > INT64_MIN
2019.05.1411:49:13.574 check (EURUSD,M5) а прошла проверку на < INT64_MIN
2019.05.1411:49:13.574 check (EURUSD,M5) а прошла проверку на != INT64_MIN
In the latest builds this error has started to appear:
2019.05.1413:03:50.526 EURUSD: history data load error
2019.05.1413:03:50.528 EURUSD,M5: history cache allocated for101454 bars and contains 74274 bars from2018.01.0209:00 to 2018.12.3120:552019.05.1413:03:50.528 EURUSD,M5: history begins from2018.01.0209:002019.05.1413:03:50.533 history error 9in undefined function
2019.05.1413:03:50.533 stopped on 0% of testing interval with error '03 EURUSD'
What?
No one can answer my question#24566?
What's there to master? Put everything in OnInit into a separate function, make it MyOnInit. From OnInit call MyOnInit and from OnChartEvent after changing input field.
These are the basics, you may need something else. I have a free indicator in the Market which colors bars or candlesticks on the condition that MACD is above or below zero. But if you switch the chart to a line, the number of required buffers already changes. The solution is found in this way.
So you've already posted the code.
If I'm an inept, someone must be a pro. I don't see it yet.
I accept your effort to find an answer. It's deeper in the understanding. That is, at the level of the developers.
The code is crazy, but it's the only way it worked for me... but my computer's really busy right now...
Respect for the effort.
Successful.
Grateful. Frankly.
Am I correct in assuming that after a pass agents sleep and wait for the remaining busy agents to finish their work?
Yes. Sometimes this downtime for free cores takes a long time when optimizing over real ticks.
Maybe developers can solve this problem?
There is no way to get a link to the entry in the feed. For example, to leave it in your bookmarks.
There is no way to get a link to the entry in the feed. For example, to leave it in your bookmarks.
https://www.mql5.com/ru/users/fxsaber#profileMessage_6131695 is it?
Yes, but I don't see a regular way to get the link.
Result
Is this exactly how it should be ?
Hi all.
In the latest builds this error has started to appear:
and it keeps coming up every other time.
What does it mean?
Result
Is this exactly how it should be ?
Result:
long -9223372036854775808
ulong 9223372036854775808
long -9223372036854775807
int -2147483648
long-2147483648
int -2147483647
What is the fundamental difference between (1)(2)(3) and (4)(5)(6), respectively?