I have put together some thing that highlights the first 3 hours of Asia, London and New York sessions. So in between those designated times a rectangle is drawn using the highest price and lowest price.
As someone completely new to this I looked at the open range indicator provided by Ninja trader as a template and then used draw. Rectangle to shade the area to visually stand out. So after working out various problems regarding the tag name and getting this to work I am stumped by something I cant make sense of.
This problem seems to be with both the draw. Line and rectangle command. The main function itself works but for each session I have an extra rectangle above and below the main area that's highlighted with the price and for the New York session, there is an overlap. How can I get rid of the extras?
Anyone able to point me in the right direction?
Thanks in advance
Doug

Comment