Hi again Joydeep. I have another question on these lines I'd appreciate some help. If you look at the attached chart you will see the green line DS2 in Panel2. I get this line as follows:
//Level 2 support
if (DrawObjects["DS2"] != null && DrawObjects["DS2"].DrawType == DrawType.Ray)
{
IRay alertLineDS2 = null;
IDrawObject drawAlertLineDS2 = DrawObjects["DS2"];
if (drawAlertLineDS2 != null && drawAlertLineDS2.DrawType == DrawType.Ray)
alertLineDS2 = (drawAlertLineDS2 as IRay);
lineTargetDS2 = showtargetoneDS2 ? Instrument.MasterInstrument.Round2TickSize(alertLineDS2.Anchor1Y) : targetoneDS2;
DrawOnPricePanel = false;DrawText("tag22", false,"DS2", -10,lineTargetDS2, -10,Color.White,new Font("Arial", 7, FontStyle.Bold),StringAlignment.Center, Color.Lime, Color.Black, 10);DrawOnPricePanel = true;
alertLineDS2.Pen.Color = Color.Lime;
alertLineDS2.Pen.Width = 2;
alertLineDS2.Pen.DashStyle = DashStyle.Dot;
}
Any ideas on this one?
Thanks in advance
DJ
Comment