Download MetaTrader 5

Handles are pointers?

To add comments, please log in or register
attila.okcu
136
attila.okcu  

All the indicators return an int value, called handle.

Do they mean pointers?

Stanislav Korotky
22164
Stanislav Korotky  
attila.okcu:

All the indicators return an int value, called handle.

Do they mean pointers?

No. There is no pointers in MQL. This is exactly the handles.

Even those types that are defined using "poiner" notation existing in C++ -- (typename *) -- those are also handles, not pointers.

You can't get address memory of any variable/array in MQL. 

attila.okcu
136
attila.okcu  
Stanislav Korotky:

No. There is no pointers in MQL. This is exactly the handles.

Even those types that are defined using "poiner" notation existing in C++ -- (typename *) -- those are also handles, not pointers.

You can't get address memory of any variable/array in MQL. 

Thanks a lot Stanislav.

I've just noticed that those functions returns 10, 11, etc ... integers like so.

To add comments, please log in or register