I have found a supposedly working library here: https://www.mql5.com/en/forum/234164
Unfortunately it's giving 2 errors that I don't know how to fix:
'newKey' - object pointer expected
= - object required
If you can fix I would be very grateful :)