Errors, bugs, questions - page 2789

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
Question about TimeLocal().
It's not the only one though.
The thing is, that when running the script which trains NS modules, I've noticed that sometimes the module takes a very long time to train. Not very nice, but understandable.
So I decided to add a simple calculation of the time it takes for each iteration.
And then I had some questions...
Anyway, the training of the module begins
And then I see that it takes a very long time to train.
Then I get messages
There's nothing to complain about on the recordings. Two seconds. But I actually waited 5 minutes, if not more, for these entries.
The computer's not loaded with anything else. Where to look for the shooter?
As I was writing this, the next module was being taught. There, it seemed to write normally...
Trade disabled is the answer.
Synopsis:Trade permit
Thank you, but the text does not say anything about Trade disabled
Run the help script. Use Google Translator to translate the service messages.
Thank you, but the text does not say anything about Trade disabled
Your message:
Forum on trading, automated trading systems and trading strategy testing
Bugs, bugs, questions
Turbo888, 2020.06.26 22:08
Good day. The MT5 platform does not allow trading for some reason. Yesterday there was a trade, today there is no trade. And this is on two different dashboards. Stops and takeovers are not shown. In my journal it says: failed buy limit 1 MESU20 at 3015.75 sl: 3013.75 [Trade disabled] What is wrong?System message:
"failed buy limit 1 MESU20 at 3015.75 sl: 3013.75[Trade disabled]"
Help me out, I don't understand what's going on. When copying historical data, the 0th element of the array is always equal to the 1st. I.e. the 1st one has the closing price, it's correct here, but the zero one has the opening price, not the closing price.
2015.01.19 11:00:00 0 2015.01.19 11:00 1.15834000
2015.01.19 11:00:00 1 2015.01.19 10:00 1.15834000
2015.01.19 11:00:00 2 2015.01.19 09:00 1.15587000
2015.01.19 11:00:00 3 2015.01.19 08:00 1.15678000
2015.01.19 11:00:00 4 2015.01.19 07:00 1.15605000
Help me out, I don't understand what's going on. When copying historical data, the 0th element of the array is always equal to the 1st. I.e. the 1st one has the closing price, it's correct here, but the zero one has the opening price, not the closing price.
2015.01.19 11:00:00 0 2015.01.19 11:00 1.15834000
2015.01.19 11:00:00 1 2015.01.19 10:00 1.15834000
2015.01.19 11:00:00 2 2015.01.19 09:00 1.15587000
2015.01.19 11:00:00 3 2015.01.19 08:00 1.15678000
2015.01.19 11:00:00 4 2015.01.19 07:00 1.15605000
Where is this happening? Maybe in the tester in open price mode?
Where does it happen? Maybe in the tester in open price mode?
I figured it out, in the tester, but I copy when a new bar opens. I.e. the 0th bar (the current one) has just started to form and so it has an opening price.