"ndicator 'Amaterasu': Error on calling 'OnBarUpdate' method on bar 19: You are accessing an index with a value that is invalid since it is out-of-range.
code: Draw.Line(this, @"AmaterasuShort"+Bars.Count.ToString(), false, 0, High[1], Bars.Count + 100, High[1], "Susanoo_6_Short");
I can successfully draw other objects like text or up/down triangle with the current logic but trying to draw line causes the error. I am a bit confused on the parameter "endBarsAgo" maybe even "startBarsAgo"
Are there any examples you can point me to.

Comment