Errors, bugs, questions - page 1682

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
You are forcing me to complain about you as being completely unwilling to hear what your opponent writes.
Look in the Func() body to see what it returns before exiting. I'm talking about a special case. If the value will be calculated directly in parentheses, of course, there's no way.
Thanks. I can't figure out why the indicator calls OnCalculate twice in the beginning. I'd like to find out what event this response is for. There are no events visible on the debugging, unfortunately.
Answer from Service Desk on this subject:
Specifically depends on the checksum.
The history may not have swapped (may well be a modification of an existing history without adding new data), but the checksum has changed significantly
This is your right, my task is to inform you that there are no strict rules on the number of calls OnCalculate() - because this function essentially reflects the reaction to events: either history paging or history changing (arrival of fresh ticks) or trade environment preparation.
You are free to set yourself whatever tasks you like. But please don't, at least to me, answer questions I don't ask.
I know how to use even undocumented features of OnCalculate. Please don't talk about "lukewarm" when asked about a completely different area.
Response from Service Desk on this issue:
Response from Service Desk on this issue:
Build 1010 of 18 August
Problem with loading history
2016.09.13 09:51:02.539 Windows 7 Ultimate (x64 based PC), IE 11.00, 8 x Intel Core i7-6700 @ 3.40GHz, RAM: 18768 / 32684 Mb, HDD: 35417 / 1498122 Mb, GMT+02:00
such problem:
is DRWEB.
I can not download history with enabled antivirus. antivirus does not tell me about the blocked ports
Terminal is inallowed programs, but when enabled antivirus - history is not downloaded.
There is nothing in the log, I.e. History download slider stands still, after pressing STOP - just writes
2016.09.13 10:04:52.424 HistoryCenter: error reading data
2016.09.13 10:03:04.944 HistoryCenter: GBPUSD_2004_07 loaded (115 kb)
2016.09.13 10:03:04.621 HistoryCenter: GBPUSD_2004_06 loaded (118 kb)
I disabled the antivirus - the downloading process started, downloaded a couple of years - then it stopped again and does not go any further.
I restarted history downloading a couple of times - and after 10-15 tries all the history was downloaded.
Thank you, but you rushed the answer here as well. See example.
I understand you are talking about the debugger. My question sounded like this:
Description of the problem.
I am writing an indicator. MT4. I get (in a way I do not understand) a reset of prev_calculated to 0 after it should have become non-zero after the first tick. I.e. double.
The result is in the log:
Hadn't noticed before, but is this a bug or is it supposed to be?
Let's assume that the history was pumped up (rates_total increased). But still can get similar:
2016.03.15 13:55:40.569 test_indicator_15032016 EURUSD,M15: initialized
In this case I was doing an unpriming.
I understand you are talking about the debugger. My question sounded like this:
In this case, I was doing an unpriming.
Your case has nothing to do with what I was asking about. Thank you for wanting to help.