I have written an indicator that will use a chart data series as it's input. (I load two data series on the chart. The chart uses one and the indicator uses the other.) I want to draw a ray on the chart and a text box with information in the corner the user determines.
When I first wrote this, using the following overload, it printed the ray in panel 2. I wanted it to print in panel 1.
Draw.Ray(this, string.Format("HVN"), bar.BarTime, hvnPrice, Time[0], hvnPrice, deltaColor, EvolvingHVNLineStyle, EvolvingHVNWidth);
Draw.Ray(this, string.Format("HVN"), bar.BarTime, hvnPrice, Time[0], hvnPrice, deltaColor, EvolvingHVNLineStyle, EvolvingHVNWidth, false);
Then I thought I would print some text and again I had trouble with this overload:
Draw.TextFixed( this, "msg", bar.getDelta.ToString(), DeltaPosition, textColor, textFont, outlineColor, outlineColor, DeltaBoxOpacity );
Draw.TextFixed( this, "msg", bar.getDelta.ToString(), DeltaPosition, textColor, textFont, outlineColor, outlineColor, DeltaBoxOpacity, DashStyleHelper.Solid, 2, false, "" );
So How do I get that text box in Panel 2 to print in Panel 1?
Comment