Could you please tell me how to draw the line in the second panel in the strategy where strategy indicator is?
I use the method below and see no line drawn.
Note, that a simple strategy method call like: DrawHorizontalLine("Trend Up", true, 100, Color.Green, DashStyle.Solid, 2);
draws the line on the strategy chart, but this is not what I need. I need to draw the line on other indicator panels.
Thanks!
protected override void Initialize()
{
Add(ROC(EMA(this.period2), this.period1));
}
protected override void OnBarUpdate()
{
ROC(EMA(this.period2), this.period1).DrawHorizontalLine("Trend Up", true, 100, Color.Green, DashStyle.Solid, 2);
}

Comment