Hi
I have bars M30. I want to draw a rectangle on each minute of this bar. As start I want to draw bid prices using rectangle.
My code:
The result is in attachment.
Which means I can't draw rectangle (or other object) with resolution 1 minute.
How to set possibility do draw an object each minute without changing candle length?
Hi
I have bars M30. I want to draw a rectangle on each minute of this bar. As start I want to draw bid prices using rectangle.
My code:
The result is in attachment.
Which means I can't draw rectangle (or other object) with resolution 1 minute.
How to set possibility do draw an object each minute without changing candle length?
1. There is nothing related to 1 minute in your code, it's executed each tick.
2. You need to set your terminal chart setting.
![]()
How is that? During M30 bid price can change dramatically. And bar (candle) has OHLC prices (4 prices).
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi
I have bars M30. I want to draw a rectangle on each minute of this bar. As start I want to draw bid prices using rectangle.
My code:
The result is in attachment.
Which means I can't draw rectangle (or other object) with resolution 1 minute.
How to set possibility do draw an object each minute without changing candle length?