Pointers to basic data types
MQL doesn't have pointers in the traditional sense (even though they are called such). MQL "pointers" are actually 8 byte object descriptors.
You can create a class containing your basic data types, and use those in conjunction with MQL "pointers".
Perhaps you should read the manual. GetPointer
Note
Only class objects have pointers.
Is possible to use pointers to basic data types like int, long, double, etc.?
There are many excellent libraries of C functions and it is very frustrating and disappointing to get a default C code and try to convert it to MQL, in addition to being very tiring.
Examples of pointers in standard C:
Thanks for some advice