Problem With Rectangle's Description
I didn't know that you could show the rectangles' descriptions on the chart, so I am not sure.
You could try reversing the price parameters
ObjectCreate(name, OBJ_RECTANGLE, 0, start, Low[l], end, High[h]); //Try changing to ObjectCreate(name, OBJ_RECTANGLE, 0, start, High[h], end, Low[l]);
I made an indicator to draw rectangles with description. The problem is the description is shown inside the rectangles. But if I draw the rectangle manually, the description is shown above the rectangle. I would like to make the indicator to show description above the rectangles. See screenshot below:
Anybody know how to fix this?
Indicator settings are:
DrawAsBackground = true; ShowDescription = true;