Servicedesk. Complaints, suggestions. - page 9

 
Vladimir Pastushak:

Application

Error in the storage

Open, Started: 2015.09.29 17:09, #1311805

Hanging unanswered ...

I've had it hanging since January. Renat immediately told me what to do, I wrote to the SD and that's it ... Here is a link to a post about the problemhttps://www.mql5.com/ru/forum/40226

sd

 
Slawa:

In quadruple, it's the same as before.

It is impossible to pump up the history without scrolling the chart, only by emulating the PgUp key - it was written about on the four's forum.

You can also pump up the history data by running the tester several times in "All ticks" mode. The timeframe being tested and the timeframes below up to M1 will be swapped to the maximum - several attempts will be made to download all data available on the server, without paying attention to the setting of the maximum number of bars on the chart.

It turns out that you can. Using ChartNavigate() function. Thanks toKarputov Vladimir!
 
Alexey Kozitsyn:
It turns out you can. Using ChartNavigate() function. Thanks toKarputov Vladimir!

Side effect. Use it only if absolutely necessary

When Expert Advisors are used in F4, much more memory is spent on the history than in F5, all other conditions being equal

 
Slawa:

Side effect. Use it only if absolutely necessary

When using Expert Advisors, much more memory is used on the history in Q4 than in F5, all other conditions being equal

Initially, you wanted a function that would reload the story and complete its work. This function is quite suitable. Everything is more convenient than having the user manually scroll through the history or pushing PgUp through winapi.

Yes, and at this stage, the history is needed for the indicator. Is more memory consumed with the indicator too?

And if it's not a secret, how many times more? By times or by an order (-s)?

 
Slawa:

Side effect. Use it only when absolutely necessary

In fours, using experts on history consumes much more memory than in fives, all other things being equal

Vyacheslav, please clarify the TradeTransaction event from the Errors, Bugs and Issues branch.
 
Alexey Kozitsyn:
Vyacheslav, please clarify the TradeTransaction event from the Errors, Bugs and Questions thread.

Why do you persist in calling me Vyacheslav? Where is it written that I am Vyacheslav? I have never been.

What steps did you take to investigate the problem? Share

 
Slawa:
Why do you persist in calling me Vyacheslav? Where is it written that I am Vyacheslav? Never have been.
I'm sorry, I thought Slawa was the name, stringo was the nickname. What should I call you?
 
Alexey Kozitsyn:
I apologize, I thought that Slawa is a name, stringo is a nickname. What do I call you?

"Just call me our Ilyich."

It's written Slawa, you can spell it Slava in Russian.

I'll repeat the question I wrote later.

What steps have you taken on your own to investigate the problem?

 
Slawa:

Why do you persist in calling me Vyacheslav? Where is it written that I am Vyacheslav? Never have been.

What steps have you yourself taken to investigate the problem? Share

So that's a problem after all. I share. Tester! Simulation - all ticks. MT5 1210 x64. Limit order is placed to sell. It is placed by an Expert Advisor with the smallest possible lot for a symbol. Here is the log:

ER      0       16:16:32.370    Trade   2015.10.01 13:20:00   sell limit 1.00 RTS-12.15 at 79210 (79200 / 79300 / 79200)
EF      0       16:16:32.370    Trade   2015.10.01 13:20:00   order [#8  sell limit 1.00 RTS-12.15 at 79210] triggered
NG      0       16:16:32.370    Trades  2015.10.01 13:20:00   deal #8  sell 1.00 RTS-12.15 at 79210 done (based on order #8)
 NK      0       16:16:32.370    Trade   2015.10.01 13:20:00   deal performed [#8  sell 1.00 RTS-12.15 at 79210]
EL      0       16:16:32.370    Trade   2015.10.01 13:20:00   order performed sell 1.00 at 79210 [#8  sell limit 1.00 RTS-12.15 at 79210]

Expert Advisor is not a scalper; transactions are not frequent. In this case there is only one order. The Expert Advisor analyzes the TradeTransaction event through the OnTradeTransaction function. Logically, a pair of stop orders is placed once the TRADE_TRANSACTION_DEAL_ADD transaction has been received (the order has been executed and a position has been formed). Correspondingly, for the sell they are BuyLimit and BuyStop.

The order is executed and the following is shown in the log:

FD      0       16:21:35.307    Trade   2015.10.01 13:20:00   sell limit 1.00 RTS-12.15 at 79210 (79200 / 79300 / 79200)
KP      0       16:21:35.307    Trade   2015.10.01 13:20:00   order [#15  sell limit 1.00 RTS-12.15 at 79210] triggered
OM      0       16:21:35.307    Trades  2015.10.01 13:20:00   deal #10  sell 1.00 RTS-12.15 at 79210 done (based on order #15)
 IP      0       16:21:35.307    Trade   2015.10.01 13:20:00   deal performed [#10  sell 1.00 RTS-12.15 at 79210]
LE      0       16:21:35.307    Trade   2015.10.01 13:20:00   order performed sell 1.00 at 79210 [#15  sell limit 1.00 RTS-12.15 at 79210]
KH      0       16:21:39.926    Expert_0311 (RTS-12.15,M5)      2015.10.01 13:20:00   OnTradeTransaction: TRADE_TRANSACTION_DEAL_ADD
KH      0       16:21:39.926    Trade   2015.10.01 13:20:00   buy limit 1.00 RTS-12.15 at 79010 (79200 / 79300 / 79200)
JJ      0       16:21:39.926    Trade   2015.10.01 13:20:00   buy stop 1.00 RTS-12.15 at 79410 (79200 / 79300 / 79200)
CP      0       16:21:39.926    Expert_0311 (RTS-12.15,M5)      2015.10.01 13:20:00   OnTradeTransaction: TRADE_TRANSACTION_DEAL_ADD
CO      0       16:21:39.926    Trade   2015.10.01 13:20:00   buy limit 1.00 RTS-12.15 at 79010 (79200 / 79300 / 79200)
QS      0       16:21:39.927    Trade   2015.10.01 13:20:00   buy stop 1.00 RTS-12.15 at 79410 (79200 / 79300 / 79200)

As you can see, twoTRADE_TRANSACTION_DEAL_ADD transactions are received for one trade. Because of this two pairs of orders are opened. But why does one transaction initiate two transactions ofTRADE_TRANSACTION_DEAL_ADD type?

 
Slawa:

"Just call me our Ilyich."

It's written Slawa, you can spell it Slava in Russian.

I'll repeat the question I posed later.

What steps have you taken on your own to investigate this problem?

Slawa, dak Slawa - not a question. It took a long time, as I was reproducing.