I am creating an indicator that draws triangles on a chart based on certain criteria and this works fine.
Howver, when I try to attach it to an indicator, such as CCI it does not behave as expected and I have vertical areas overlaying onto the actual chart. I have selected the Panel parameter to be the indicator and can see my Draw.Line object represented correctly.
In fact the line object draws correctly on both price and indicator, it is just the triangle that is behaving oddly.
I have attached 2 images showing the triangles on the chart - GOOD
and when attached to the indicator panel = BAD
It should be noted that the lines in the indicator panel are the same indicator and they are correct and I was hoping to just replace this line object with a triangle object.
Any thoughts appreciated.

Comment