Get Bookmap zoom level through Bookmap API

Custom indicators, trading strategies, data export and recording and more...
DanyloL
Posts: 20
Joined: Mon Oct 19, 2020 12:44 pm
Has thanked: 6 times
Been thanked: 1 time

Get Bookmap zoom level through Bookmap API

Post by DanyloL » Tue Dec 22, 2020 9:08 am

Hi. Is it possible to get a zoom level of the current Bookmap view (screenshots attached) through Bookmap API, while developing an indicator? If not, is there a way to get a similar information to implement a feature like the Bookmap Volume Dots aggregation, which are combined if you zoom out and differentiated if you zoom in? I want to combine my indicator's icon information if you zoom out, so that it doesn't overlap.
Thank you
Attachments
scr32.png
scr32.png (150.99 KiB) Viewed 1348 times
scr31.png
scr31.png (168.67 KiB) Viewed 1350 times

Svyatoslav
Site Admin
Posts: 278
Joined: Mon Jun 11, 2018 11:44 am
Has thanked: 2 times
Been thanked: 31 times

Re: Get Bookmap zoom level through Bookmap API

Post by Svyatoslav » Tue Dec 22, 2020 12:43 pm

Yes. Via indicators and screen space painter extension you do get that info. You don't get it via simplified API, but you always get it if using core api.

Post Reply