Errors, bugs, questions - page 2789

 

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

2020.06.27 14:47:03.435 modul_training_mZZ3_MLP (EURUSD,H3)     ~~~ Сеть №16 по модулю >>> 11 (24) <<< создана... Учимся...

And then I see that it takes a very long time to train.

Then I get messages

2020.06.27 14:47:05.038 modul_training_mZZ3_MLP (EURUSD,H3)     Ошибка = 3.03%
2020.06.27 14:47:05.038 modul_training_mZZ3_MLP (EURUSD,H3)     00:00:02 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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...

2020.06.27 14:59:15.114 modul_training_mZZ3_MLP (EURUSD,H3)     Ошибка = 3.03%
2020.06.27 14:59:15.114 modul_training_mZZ3_MLP (EURUSD,H3)     00:12:09 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
The timer does not work when the market is closed. Is this normal?
 
Good afternoon! Paid for the EA, but for some reason it does not show up in purchases and in the terminal, please advise what to do?
 
Vladimir Karputov:

Trade disabled is the answer.

Synopsis:Trade permit

Thank you, but there is nothing in the text about Trade disabled
 
Turbo888:
Thank you, but the text does not say anything about Trade disabled

Run the help script. Use Google Translator to translate the service messages.

Files:
 
Turbo888:
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.

if (CopyRates(symbol[symbol_idx], _Period, 0, BAR_KOL_MIN, mql_rates) < 0)
        alert(symbol[symbol_idx] + " не удалось скопировать исторические данные.");
else   // если скопировали исторические данные
{
        if (mql_rates[0].time == D'2015.01.19 11:00')
        {
                Print("0 " + TimeToString(mql_rates[0].time) + " " + DoubleToString(mql_rates[0].close));
                Print("1 " + TimeToString(mql_rates[1].time) + " " + DoubleToString(mql_rates[1].close));
                Print("2 " + TimeToString(mql_rates[2].time) + " " + DoubleToString(mql_rates[2].close));
                Print("3 " + TimeToString(mql_rates[3].time) + " " + DoubleToString(mql_rates[3].close));
                Print("4 " + TimeToString(mql_rates[4].time) + " " + DoubleToString(mql_rates[4].close));
        }

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

This is not the same closing price on the bars as it happens. Checked it on the chart.
 
progeon:

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

This is not the same closing price on the bars as it happens. Checked it against the chart.

Where is this happening? Maybe in the tester in open price mode?

 
Stanislav Korotky:

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.

 
The installation error for the purchased software has started to appear in the market:

1. When you first set the demo for the tester, it appears in the tester.
2. Then you rent it or buy it.
3. After that in the terminal you press install
4. And nothing happens. No errors are logged. Just nothing happens.


Solution: uninstall the demo version from the Navigator Market and install the rented version again.
It is very difficult for newcomers.
Reason: