Forum

How to get historical tick data from MT5?

I need to know the latest 10000 tick Quotes,How to get?Use Mqlrates to receive it All the functions in MT5 obtain the storage structure of K-line index What I need is tick data For example: MqlRates Tick[10000]; tick[0].open;//Latest opening price tick[0].close;//Latest closing price

How to call a file with CMD or BAT suffix name in MQL language

How to call the file with CMD or BAT suffix name in MQL language? There are system functions in C language. Does anyone know if MQL has such functions? For example, there is a "1. bat" in my d disk. What should I do when I call it in the script Onstrat