How to convert date / time to use the function CopyTicks?

 

Hi, good evening!

I want you to see ticks from a specific date / time, for example, "2016.10.03 10:00" in CopyTicks documentation: 


int  CopyTicks( 
   string           symbol_name,           // nome do símbolo 
   MqlTick&         ticks_array[],         // matriz para recebimento de ticks 
   uint             flags=COPY_TICKS_ALL,  // sinalizador que define o tipo de ticks obtidos 
   ulong            from=0,                // data a partir da qual são solicitados os ticks 
   uint             count=0                // número de ticks que é necessário obter 
   );

  

As the conversion of a specific date is made to be accepted in this research?

CopyTicks(_Symbol, tmp_negocios, COPY_TICKS_ALL,  date_time?)

 Thanks!

Daniel 

 
resolved
!

If anyone has the same difficulty, refer to the topic https://www.mql5.com/ru/forum/97540  (this in Russian).

Best regards,

Daniel 

Copyticks с помощью параметра "для" отлична от нуля
Copyticks с помощью параметра "для" отлична от нуля
  • www.mql5.com
Привет! Кто-то знает, как работать с функцией Copyticks с помощью параметра "из" отличен от нуля, то есть с определенной даты...