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.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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