Custom Indicator - Different Ranges of values in the same Window

 

Hi.


I have a custom indicator with two arrays with values I would like to display. One will be a line, the other a histogram.


Array #1: 10, 15, 12, 18

Array #2: 1.0012, 1.0025, 1.0022


If I place them in two separate indicator windows they are displayed fine, however I would like them to be placed in the same window. If I do it now, the whole chart adjusts to bigger values of Array #1.


Is it possible to adjust the chart so it uses separate ranges for different lines/histograms?


(I know I could multiply values in Array #2 by certain factor, but I would like to keep the original values)


Thanks !!!

 
if you solve this problem, a 2-dimensional chart with 3 axes, you would get the nobel prize ....
Reason: