I am trying to create a rectangle at the bottom of the chart (it's part of a an indicator) but I don't see the rectangle on the chart although the script is compiled without errors:
protected override void OnBarUpdate()
{
Draw.Rectangle(this, "Rectangle1", 10, Low[10] - TickSize, 5, High[5] + TickSize, Brushes.Blue);
}
What is wrong with this script?
Thanks in advance!

Comment