Forum

ChartScreenShot() always saves the latest position of the chart

Hey guys, I have a problem with ChartScreenShot(). I want to save screenshots from a specific time. I use ChartNavigate() , it works fine, I can see visually in MetaTrader5 that the chart is shifting, the EA takes the screenshots as well, however, when I look at the pictures, they always show the

Custom indexing of an array / subscript operation overloading

Hey guys, I am getting acquainted with the mql language, but I have some knowledge of C++. I want a data structure where I can link a value to another. I was thinking of a map- (C++) or dictionary- (Python) like structure, but it is an overkill for my purposes. So I was thinking of a custom array