Text below or above main graph

Custom indicators, trading strategies, data export and recording and more...
mdtrader
Posts: 39
Joined: Sat Oct 27, 2018 4:05 pm
Location: germany
Has thanked: 12 times
Been thanked: 41 times

Text below or above main graph

Post by mdtrader » Tue Nov 20, 2018 3:01 pm

Is it possible to show text on low or top in the primary graph (and if yes, how)?
The idea is to show volume or something else at extrems

Thanks

Zack
Posts: 133
Joined: Mon Jun 11, 2018 12:41 pm
Been thanked: 23 times

Re: Text below or above main graph

Post by Zack » Tue Nov 20, 2018 5:25 pm

Currently it is not supported via the API
We considered adding an ability to show text data on the upper left part of the chart
you wish to have it updated in real time, right?
If you can provide a screenshot of how you wish it to look like it'll help

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

Re: Text below or above main graph

Post by Svyatoslav » Tue Nov 20, 2018 5:28 pm

Hi, closest to what you describe would be adding icons through core L1 API. It's more complex than simplified wrapper, but also more powerful. Using it you can place icons at specific points (using price+time as coordinates), and you can generate an icon containing necessary text.

mdtrader
Posts: 39
Joined: Sat Oct 27, 2018 4:05 pm
Location: germany
Has thanked: 12 times
Been thanked: 41 times

Re: Text below or above main graph

Post by mdtrader » Tue Nov 20, 2018 6:56 pm

I mean text like this at certain levels
Image

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

Re: Text below or above main graph

Post by Svyatoslav » Wed Nov 21, 2018 8:40 am

It looks similar to this demo https://github.com/BookmapAPI/DemoStrat ... sDemo.java - it draws X marks on trades (and some mark on order updates), note that it does not have to be single image so you can draw numbers as images.
But as I mentioned before, it isn't part of simplified API at this stage (we might want to add it to simplified API later, but no promises on that) so it requires significantly more effort to implement.

Post Reply