The brush was printing 90% of the time until I added "Open[0] < VWMA1[0]" and now here are 0 brushes.
Here is some code
protected override void OnStateChange()
{
if (State == State.SetDefaults)
{
Description = @"Enter the description for your new custom Indicator here.";
Name = "DailyBuyZone";
Calculate = Calculate.OnBarClose;
IsOverlay = true;
DisplayInDataBox = true;
DrawOnPricePanel = true;
DrawHorizontalGridLines = true;
DrawVerticalGridLines = true;
PaintPriceMarkers = true;
ScaleJustification = NinjaTrader.Gui.Chart.ScaleJustification.Right;
//Disable this property if your indicator requires custom values that cumulate with each new market data event.
//See Help Guide for additional information.
IsSuspendedWhileInactive = true;
AddPlot(Brushes.Lime, "BZ1");
AddPlot(Brushes.MediumSeaGreen, "BZ2");
AddPlot(Brushes.Red, "BZ3");
}
else if (State == State.Configure)
{
AddDataSeries(BarsPeriodType.Day, 1);
}
protected override void OnBarUpdate()
{
if (CurrentBars[1]>0)
{
_BZ1 = 0;
_BZ2 = 0;
_BZ3 = 0;
if (Close[0] > VWMA1[0] && Open[1] < VWMA1[1] && Open[0] < VWMA1[0] )
continues with more code
Thanks

Comment