Hello,
Is it possible to draw 2 candles (beside one another) above the 10am bar?
For example:
If Opentime = 100000 then
DRAWCANDLE(Open1,High1,Low1,Close1) COLOURED(255,255,255) BORDERCOLOR(255,255,255)
DRAWCANDLE(Open2,High2,Low2,Close2) COLOURED(255,255,255) BORDERCOLOR(255,255,255)
Where candles are next to each other.
I cannot find a way to offset 2 DrawCandle commands and draw then next to each other.
Regards,
You can’t offset them, the second one will override the first one.
You can only offset them vertically by adding a number to each of OHLC:
Offset = 200*PipSize
DRAWCANDLE(Open1,High1,Low1,Close1) COLOURED(255,255,255) BORDERCOLOR(255,255,255)
DRAWCANDLE(Open2+Offser,High2+Offser,Low2+Offser,Close2+Offser) COLOURED(255,255,255) BORDERCOLOR(255,255,255)
200 can be right for a 4h or Daily chart, too big for a 1-minute TF.