I am struggling with getting my indicator to plot in a sub panel a small dot when the code doesn't meet the criteria and then if either of the two conditional statements is true, I would like it to enlarge only the dot that meets either of the two criteria. The dots color correctly, however, they all either go small or large in all previous bars.
Please consider the following script:
Plots[0].Width = 1;
PlotBrushes[0][0] = Brushes.DimGray;
if (Value[0] > .92 && Trend1 > (Trend2 - 6*TickSize))
{
Plots[0].Width = 3;
PlotBrushes[0][0] = Brushes.LimeGreen;
}
if (Value[0] < .08 && Trend1 < (Trend2 + 6*TickSize))
{
Plots[0].Width = 3;
PlotBrushes[0][0] = Brushes.Fuchsia;
}
Thanks in advance for your help.

Comment