My advice is to implement as much of the 'new style' / MQL5 as you can get to work with MQL4.
That will be the future, and the quicker you can transition the better.
The documentation is not fully updated, so sometimes you will need to experiment.
In response to your first query, the MQL4 documentation of SetIndexBuffer mentions the use of the data type parameter so why not use it?
There is a new data structure - take a look here.
Note: I run everything in portable mode, which keeps the data structure as it was
To add comments, please log in or register