I want to create at initialization of my strategy 10 zones with different colors.
And then have possibility to then colors of this zones and opacity.
I find to methods for creation of zones
DrawRectangle("My rectangle" + CurrentBar, 10, 1, 0, 1.4, Color.Blue); - I test it on 6E
but did not see any rectangle.
Then I try DrawRegion("RegZ1", regStartBar, 0, Zone1High, Zone1Low, Color.Empty, Zone1Color, zone1Opacity);
It works but I want to establish values of Zone1High at program code in a live mode on each bar and not only once before staring strategy.
What you can recommend for me?

. I shall check all you say.
Comment