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.
The only method that seems that could fit is this one.
MTChartBar[] ChartRequest(string symbol, long from, long to, out MTRetCode res);
By the way, I have noticed that this method does not have the period filter like MQL4 had:
PERIOD_M1=1, PERIOD_M5=5, PERIOD_M15=15, PERIOD_M30=30, PERIOD_H1=60, PERIOD_H4=240, PERIOD_D1=1440, PERIOD_W1=10080, PERIOD_MN1=43200
How can I do the period filter?