I have a custom indicator that is basically two separate indicators on the same panel that use the same data. One is a plot of the cumulative sum of the past 20 bars of data. The other is a series of bars each representing the data in the cumulative sum plot. Obviously the scales will be drastically different as one is the sum of 20 of the other. What I would like to do is have the bar feature use it's own scale on the left while the cumulative sum plot uses the scale on the right. How would I go about this? Since the underlying data for both indicators is tick based and resource hog, I'd like them to share the same panel or I would simply create two different indicators and then move one to overlay the other.
The bar indicator is just a line drawn with the drawing tool, programmatically. Am I going to need to code my own scaling logic or can I leave that function to NT somehow?

Comment