Table of all trades. Accessed via MQL5 - page 6

 

That's funny.

Mt5 does not save all ticks to a CSV file, therefore this data is not in the table of all trades. (source files in ZIP)

data from Quik

The ticks are in the terminal (I got them in my indicator), but they are not written to the table.

Files:
 

Well, this is it.

Release. Enjoy it.

Files:
dealslent.zip  27 kb
 

It occurred to me that the graph by the extruder might have already added a glass,

so I made a change and corrected the buffer shift error

Files:
DealsLent.mq5  20 kb
 
Can we stop bringing up the subject five times a day? Or will humanity not survive without it?
 
Andrey Khatimlianskii:
Would you stop bringing up the subject five times a day? Or can't humanity survive without it?
Just making changes, what's the problem?
 
prostotrader:
Just making changes, what's the problem?

The problem is that the topic is unread all the time, but there are no changes to it.

If you edit something, specify - what it is, please.

 
Andrey Khatimlianskii:

The problem is that the topic is unread all the time, but there are no changes to it.

If you edit something, specify - what it is, please.

OK, I just didn't think of that (it's my first indicator)
 

There was an error on line 385

if(on_call)

became

if(begin==on_call)
Files:
DealsLent.mq5  20 kb
 
prostotrader:
It doesn't draw anything. Because with this logic, there is no subscription to the glass
int OnInit()
  {
   mem_time=0;
   start_time=0;
   event_cnt =0;
   MqlBookInfo book[];
   if(!MarketBookGet(Symbol(),book)) //Автоматическое добавление стакана цен, если на графике стакан не добавлен
     {
      if(!MarketBookAdd(Symbol()))
        {
         Print(__FUNCTION__,": Стакан символа "+Symbol()+" не добавден!");
         return( INIT_FAILED );
        }
      else
        {
         use_book=true;
        }
     }
   else
//..........
 
fxsaber:
It doesn't draw anything. Because with this logic, there is no subscription to the glass

It should be.

If the glass is not being used on this part, we add it.

How else can we check that the glass is already in use, exceptMarketBookGet

Reason: