Yes, all newer plugins use BrokerHistory2. The maximum number of ticks per call is 300, but it can be less dependent on the time period. This has no effect on speed.

- Zheka: Please read my response. I never say that there is no problem, only that I do not know your problem, and you should therefore contact Support. If you have an issue that the other users don't have, we must find out what's different - otherwise we cannot help. It's as simple as that. Your code produces no log, it just sets a variable and quits, so I do not see the problem with that. Downloading data from the broker is described in the manual. You can use the Download script or a simple function:

void main()
{
StartYear = 2017;
assetHistory("EUR/USD",1);
}

And if this does not work for you, just explain the problem to Support, and submit as many logs as you want. They can help only when they know the problem, and can reproduce it.