How to know number of ticks passed for 100 symbols

 

CustomTicksAdd documentation specifies 

"If more than 256 ticks are passed, data is divided into two parts."

How can i check the number of ticks passed using MQLTick structure's array

Documentation on MQL5: Constants, Enumerations and Structures / Data Structures / Price Data Structure
Documentation on MQL5: Constants, Enumerations and Structures / Data Structures / Price Data Structure
  • www.mql5.com
Price Data Structure - Data Structures - Constants, Enumerations and Structures - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
 
Arpit T: How can i check the number of ticks passed using MQLTick structure's array

Check what? You are passing an array. You must already know the number of elements you filled in the array.

 
William Roeder #:

Check what? You are passing an array. You must already know the number of elements you filled in the array.

I am talking about structure MQLTick,

MqlTick tick[1];

tick[0].bid = Bid;

I know arraysize is 1

but how many ticks are passed from broker, how do i know?

How many ticks are coming from Bid from broker server?

this is my question, as documentation says when ticks are 256 or more it should be divided, its definitely not about arrays I am passing

 
Arpit T #: I am talking about structure MQLTick, I know arraysize is 1 but how many ticks are passed from broker, how do i know? How many ticks are coming from Bid from broker server? this is my question, as documentation says when ticks are 256 or more it should be divided, its definitely not about arrays I am passing.
Each element of a MQLTick array is just one tick. It is as simple as that.
Reason: