MQL Container

 

Hello MQL4/5 Community,

I have a C++ Python backround and I am working recently on an MQL4 EA. First thing I realised that there are basicly no containers. No Maps/Vector/Lists... (if I am wrong please correct me) 

So I was wondering since everybody will already have created custom containers: Why dont we share our containers, so nobody needs to do those trivial jobs in the future.

 I uploaded a vector-like container.
Again: I am not really an MQL experienced developer, so if someone can do it better, please correct me.

Would be good if others also share their containers.

For example a linked list.

https://github.com/ConKreter/MQL-Container/blob/master/Vector.mqh 

 Kind Regards

Adrian Kreter 

 

Please check this : https://www.mql5.com/en/docs/standardlibrary/datastructures

You can also check the Codebase.

Documentation on MQL5: Standard Library / Classes of data
Documentation on MQL5: Standard Library / Classes of data
  • www.mql5.com
Standard Library / Classes of data - Reference on algorithmic/automated trading language for MetaTrader 5
 
Thanks a lot!
Reason: