Hi there,
I am trying something simple: To draw on the 10:00 AM candle a rectangle spanning from the High of the first candle to the Low of the second (@ 11:00 AM).
I am using the below code, but not working, no rectangle is appearing - cod below:
If I take out the
It will draw a rectangle, but not using my constraints. I now that I should also give a ticket number to each rectangle in the future so the sytem will be able to draw several rectangle, but Im not into that yet, I just cant draw any rectangle using the current code. Can anyone help ?
Thx!
This might be of use. I wanted to draw rectangles on the chart to indicate the best times for me to trade my system which is around the Euro and US opens.

- 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 there,
I am trying something simple: To draw on the 10:00 AM candle a rectangle spanning from the High of the first candle to the Low of the second (@ 11:00 AM).
I am using the below code, but not working, no rectangle is appearing - cod below:
If I take out the
It will draw a rectangle, but not using my constraints. I now that I should also give a ticket number to each rectangle in the future so the sytem will be able to draw several rectangle, but Im not into that yet, I just cant draw any rectangle using the current code. Can anyone help ?
Thx!