ok thank you, you helped me anyways : ) I will write that code sometime.
I leave the question open
- if someone has implementation in any language to post it, so we dont all make our custom implementations.
- Also are there any reasons to not use this approach?
(assuming that we prefer to write MQL instead of using the various query builders)