The problem is the Sell Volume keeps plotting even when it's time for the BuyVolume to plot. The original code
BuySellDiff[1] = buys - sells;
if (BuySellDiff[1] > 0) { PlotBrushes[0][1] = Brushes.Green; //DGMOD BuyVol[1] = BuySellDiff[1] ; SellVol[1] = 0; } else { PlotBrushes[0][1] = Brushes.Red; //DGMOD BuyVol[1] = 0; SellVol[1] = BuySellDiff[1] ; }
Comment