I have solved the following problem with DrawRegion Method:
The Indicators functionality is draw region inside the price chart ....
1. draw three region (OK) /see screen1.jpg/
2. draw six region (OK)
3. draw three region and six region inside one price chart within one trading day (Problem)
I want to use this indicator subsequently in this case:
From 15:30 till 17:20 (CET) = draw three region
From 17:20 till 22:00 (CET) = draw six region
/see modified screen2.jpg/
The problem come on at 17:20 when the indicator change three region to six.
The six region doesn't start at 17:20, it starts at 15:30 and REPAINT the first part (15:30 - 17:20)!
/see screen_problem.jpg/
My question is: How to prohibit repainting of the first part (15:30 - 17:20)?
Thank you in advanced!
Comment