-Aleks-: Thanks, I'll give it a try. But, if variableATR_D_1000 is not printed, how can we expect it to be written?
D It will print. Most likely the problem is in the history paging, because 1000 day bars is quite huge, the indicator takes a long time to calculate on first run, then everything is normal
Sergey Gritsay: D Everything prints out. Most likely the problem is in the history loading, because 1000 day bars is quite huge, the indicator takes a long time to calculate on the first run, then everything is normal.
What is the code, can you attach the script? I can't get it to move, thanks.
if the order ticket function returns a value of type int, what happens when we hit a ceiling, for example, now we have 9-digit ticket numbers, is there a 10-digit ceiling? or will the broker reset the order counter?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Look at the PrintFormat() function. In your case, it is better to use it.
Then it goes like this:
Parsimony rules :-)
Tried the code, got zeros
2016.05.12 00:41:43.336 Info_SymbolList AUDJPY,M15: symbolName=AUDJPY, ATR_D_1001=0.0000
Try writing only string variables to the file.
It's like this:
all variables are written normally, exceptATR_D_1000 , it's not clear...
G try it like this
G Try this
Thanks, I'll give it a try. But, if variableATR_D_1000 is not printed, how can we expect it to be written?
D Everything prints out. Most likely the problem is in the history loading, because 1000 day bars is quite huge, the indicator takes a long time to calculate on the first run, then everything is normal.
What's the code, can you attach a script? I can't get it to move, thank you.
EX5 loading failed (on execution)
otherwise - fine
same as yours.