Получается, что если я закачаю с биржевого сайта историю тиков и с пятерки, то будет полное совпадение с точностью до мс?
Да, при условии, что счет реальный.
На демо-ФОРТС в тестере тики с реала или с демо?
На биржевых инструментах в демо-серверах нет никакой гарантии, что котировки вообще правильные.
Даже наоборот, гарантия, что будут заведомо неправильные котировки, так как никто не имеет права распространять платные котировки в режиме реального времени на демо-серверах.
The Structure for Returning Current Prices (MqlTick)
This is a structure for storing the latest prices of the symbol. It is designed for fast retrieval of the most requested information about current prices.
struct MqlTick { datetime time; // Time of the last prices update doublebid; // Current Bid price doubleask; // Current Ask price doublelast; // Price of the last deal (Last) ulongvolume; // Volume for the current Last price longtime_msc; // Time of a price last update in milliseconds uint flag// Tick flags };
The variable of the MqlTick type allows obtaining values of Ask, Bid, Last and Volume within a single call of the SymbolInfoTick() function.
The parameters of each tick are filled in regardless of whether there are changes compared to the previous tick. Thus, it is possible to find out a correct price for any moment in the past without the need to search for previous values at the tick history. For example, even if only a Bid price changes during a tick arrival, the structure still contains other parameters as well, including the previous Ask price, volume, etc.
You can analyze the tick flags to find out what data have been changed exactly:
TICK_FLAG_BID – tick has changed a Bid price
TICK_FLAG_ASK – a tick has changed an Ask price
TICK_FLAG_LAST – a tick has changed the last deal price
TICK_FLAG_VOLUME – a tick has changed a volume
TICK_FLAG_BUY – a tick is a result of a buy deal
TICK_FLAG_SELL – a tick is a result of a sell deal
The Structure for Returning Current Prices (MqlTick)
This is a structure for storing the latest prices of the symbol. It is designed for fast retrieval of the most requested information about current prices.
struct MqlTick { datetime time; // Time of the last prices update doublebid; // Current Bid price doubleask; // Current Ask price doublelast; // Price of the last deal (Last) ulongvolume; // Volume for the current Last price longtime_msc; // Time of a price last update in milliseconds uint flag// Tick flags };
The variable of the MqlTick type allows obtaining values of Ask, Bid, Last and Volume within a single call of the SymbolInfoTick() function.
The parameters of each tick are filled in regardless of whether there are changes compared to the previous tick. Thus, it is possible to find out a correct price for any moment in the past without the need to search for previous values at the tick history. For example, even if only a Bid price changes during a tick arrival, the structure still contains other parameters as well, including the previous Ask price, volume, etc.
You can analyze the tick flags to find out what data have been changed exactly:
TICK_FLAG_BID – tick has changed a Bid price
TICK_FLAG_ASK – a tick has changed an Ask price
TICK_FLAG_LAST – a tick has changed the last deal price
TICK_FLAG_VOLUME – a tick has changed a volume
TICK_FLAG_BUY – a tick is a result of a buy deal
TICK_FLAG_SELL – a tick is a result of a sell deal
MetaQuotes Software Corp.: Да, при условии, что счет реальный.
На биржевых инструментах в демо-серверах нет никакой гарантии, что котировки вообще правильные.
Даже наоборот, гарантия, что будут заведомо неправильные котировки, так как никто не имеет права распространять платные котировки в режиме реального времени на демо-серверах.
Зашел на демо-счет, открыл тестер по реальным тикам. Тестер будет по какой истории тиков гнать советник, по той, что была на демо-серверах, или той, которая была реально на бирже?
Вопрос про тиковую историю именно тестера, который используется при логине не на реальный счет. Давать же в тестере историю - это не режим реального времени. Нарушений быть не должно.
Получается, что если я закачаю с биржевого сайта историю тиков и с пятерки, то будет полное совпадение с точностью до мс?
На демо-ФОРТС в тестере тики с реала или с демо?
Никогда даже не пытайтесь сравнивать демо и реал, особенно биржевые цены. Это две разные вселенные. Ничего общего.
Я про тестер only.
Получается, что если я закачаю с биржевого сайта историю тиков и с пятерки, то будет полное совпадение с точностью до мс?
На демо-ФОРТС в тестере тики с реала или с демо?
На биржевых инструментах в демо-серверах нет никакой гарантии, что котировки вообще правильные.
Даже наоборот, гарантия, что будут заведомо неправильные котировки, так как никто не имеет права распространять платные котировки в режиме реального времени на демо-серверах.
Детально тема раскрыта была тут: почему биржевые платные и почему их нет в бесплатном доступе?
Все тики абсолютно точные, без пропусков и других ошибок.
Тиковая база единая для всех процессов в MetaTrader 5: серверов, терминалов, тестеров и тд.
Направление сделки когда примерно появится?
Это есть: описание структуры ценовых тиков в MQL5
The Structure for Returning Current Prices (MqlTick)
This is a structure for storing the latest prices of the symbol. It is designed for fast retrieval of the most requested information about current prices.
struct MqlTick
{
datetime time; // Time of the last prices update
double bid; // Current Bid price
double ask; // Current Ask price
double last; // Price of the last deal (Last)
ulong volume; // Volume for the current Last price
long time_msc; // Time of a price last update in milliseconds
uint flag // Tick flags
};
The variable of the MqlTick type allows obtaining values of Ask, Bid, Last and Volume within a single call of the SymbolInfoTick() function.
The parameters of each tick are filled in regardless of whether there are changes compared to the previous tick. Thus, it is possible to find out a correct price for any moment in the past without the need to search for previous values at the tick history. For example, even if only a Bid price changes during a tick arrival, the structure still contains other parameters as well, including the previous Ask price, volume, etc.
You can analyze the tick flags to find out what data have been changed exactly:
Это есть: описание структуры ценовых тиков в MQL5
The Structure for Returning Current Prices (MqlTick)
This is a structure for storing the latest prices of the symbol. It is designed for fast retrieval of the most requested information about current prices.
struct MqlTick
{
datetime time; // Time of the last prices update
double bid; // Current Bid price
double ask; // Current Ask price
double last; // Price of the last deal (Last)
ulong volume; // Volume for the current Last price
long time_msc; // Time of a price last update in milliseconds
uint flag // Tick flags
};
The variable of the MqlTick type allows obtaining values of Ask, Bid, Last and Volume within a single call of the SymbolInfoTick() function.
The parameters of each tick are filled in regardless of whether there are changes compared to the previous tick. Thus, it is possible to find out a correct price for any moment in the past without the need to search for previous values at the tick history. For example, even if only a Bid price changes during a tick arrival, the structure still contains other parameters as well, including the previous Ask price, volume, etc.
You can analyze the tick flags to find out what data have been changed exactly:
Это есть: описание структуры ценовых тиков в MQL5
Описание есть - направления реального нет. А миллисекунды?
Или я отстал от жизни?
Да, при условии, что счет реальный.
На биржевых инструментах в демо-серверах нет никакой гарантии, что котировки вообще правильные.
Даже наоборот, гарантия, что будут заведомо неправильные котировки, так как никто не имеет права распространять платные котировки в режиме реального времени на демо-серверах.
Детально тема раскрыта была тут: почему биржевые платные и почему их нет в бесплатном доступе?
Зашел на демо-счет, открыл тестер по реальным тикам. Тестер будет по какой истории тиков гнать советник, по той, что была на демо-серверах, или той, которая была реально на бирже?
Вопрос про тиковую историю именно тестера, который используется при логине не на реальный счет. Давать же в тестере историю - это не режим реального времени. Нарушений быть не должно.
Описание есть - направления реального нет. А миллисекунды?
Или я отстал от жизни?
Вы уверены, что правильно понимаете битовые значения в поле flags и точно проверяете на биржевых инструментах, а не на форексе?
Миллисекунды тоже есть в поле time_msc.