How to show custom indicator value in Data Window when indicator is plotted on VolumePane?
Author: kelvinyip
Creation Date: 8/29/2018 10:08 AM
profile picture

kelvinyip

#1
So, I have some custom indicator using code... Let's say it is just SMA of 50 day volume.

In my code, if I plot it using the PricePane, I can open the data window and as I move my mouse, I see the 50 days SMA volume value changes....

If I plot the same thing in the VolumePane, I don't see the value in the data window when I move my mouse.

What can I do to make the value shows on the data window when I move my mouse?
profile picture

Eugene

#2
QUOTE:
If I plot the same thing in the VolumePane, I don't see the value in the data window when I move my mouse.

That's right. Looks like a cosmetic issue.

QUOTE:
What can I do to make the value shows on the data window when I move my mouse?

Workaround is simple: create a ChartPane, plot your DataSeries in it, and then the values will show up in the Data Window.
profile picture

kelvinyip

#3
oh I can have 2 chartpane.. I see... thx
profile picture

Eugene

#4
Sure, just minimize the helper ChartPane or simply pass a minimum height (like 0) when creating it to not crowd the chart.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).