Karputov Vladimir: Can we consider this approach correct: requesting n-ticks in the indicator each time we call OnCalculate()? How would the trade server "look" at it?
What is the problem? If n is less than locally available ticks.dat - it will request it from files. If more - address to the server, it will start loading. New ticks in ticks.dat are added automatically.
Karputov Vladimir: Can we consider this approach correct: requesting n-ticks in the indicator each time we call OnCalculate()? How will the trade server "look" at it?
There are no problems.
By the way, we have already fixed the request for ticks after a connection break. There will be a release today.
When viewing an array obtained with CopyTicks inCOPY_TICKS_INFO mode(Bid and Ask only), the Bid and Ask fields contain zeros. Is this normal?
EURUSD:
The price data is selective.
Someone from MQ wrote about it, like Renat (?) that it's the raw data which has come to the server. So, what has come is what we give. And there may be zeros on bid or ask, you see zeros on both quotations.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Can we consider this approach correct: requesting n-ticks in the indicator each time we call OnCalculate()? How would the trade server "look" at it?
Can we consider this approach correct: requesting n-ticks in the indicator each time we call OnCalculate()? How will the trade server "look" at it?
There are no problems.
By the way, we have already fixed the request for ticks after a connection break. There will be a release today.
No problem.
There are no problems.
By the way, the request for ticks after a break in communication has already been fixed. There will be a release today.
No problem.
By the way, the request for ticks after a connection break has been fixed. There will be a release today.
It's working!
Now after a break the ticks are resumed via CopyTicks!
It's working!
Now the ticks are resumed via CopyTicks after a break!
So, in build 1210 CopyTicks() function works correctly and supports all declared functionality?
No. At this stage you can:
- request ticks,
- request ticks from a certain date.
Only the MetaQuites-Demo trading server supports the new functionality so far.No. At this stage you can:
- request ticks,
- request ticks from a specific date.
Only the MetaQuites-Demo trading server supports the new functionality.When viewing the array obtained with CopyTicks inCOPY_TICKS_INFO mode(only Bid and Ask), the Bid and Ask fields contain zeros. Is this normal?
EURUSD:
The price data is selective.
When viewing an array obtained with CopyTicks inCOPY_TICKS_INFO mode(Bid and Ask only), the Bid and Ask fields contain zeros. Is this normal?
EURUSD:
The price data is selective.