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]);
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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;