I am using the (non-working) construct:
if(SmoothMidBandPlot[0]>SmoothMidBandPlot[1])
{
DrawRegion("tag1", 1, 0, OuterUpperPlot, SmoothMidBandPlot, Color.Empty, Color.RoyalBlue, 2);
}
else
{
DrawRegion("tag1", 1, 0, OuterUpperPlot, SmoothMidBandPlot, Color.Empty, Color.Salmon, 2);
}
I also tried drawing from CurrentBar to 1. How can I get the desired result?
Comment