How to access ticks data


I would like to access ticks data in the custom indicator, but I cannot find anything in the documentation. What I mainly want to figure out is how much above ask volume and below bid volume per bar

Thank you

putting this in the map function might tell you if what you’re after exists:


there are tick functions there (like it has for d.close() etc.) I do not remember what they are.