Using NT 8.0.16.2, 64 bit. Trying to create a histogram on the bottom of price panel on the chart. it consists of small rectangles hovering around Y = 0. Problem is that what I get is - squished bars at the top (around 2900 area) and squished rectangles at the bottom (around 0) as attached. So it looks like two horizontal lines: the chart and the rectangles.
How can I possibly have it so that nothing is squished (chart is intact and rectangles at the bottom are visible)? In other words how to hide the big chunk of empty space between current market prices and 0? I obviously don't want to use fixed Y=2900 for histogram, cause the price will change with time.
Currently I use this to draw rectangles:
Draw.Rectangle(this, "FrDim" + CurrentBar, true /* auto scale */, 0, 0, 1, RectSize, Color, FillColor, 100 /*non transparent */, true /* on price panel */);
It does not have to be rectangles hovering around Y=0, I just thought it will work, but it seem to not. What is the right way to put an indicator on the bottom of price chart in this case (and not in a separate panel from the chart)?
Thank you very much in advance!
Comment