...
BlockOffset = 3;
SellBrush = Brushes.Red; // screenshot shows Magenta
BuyBrush = Brushes.Aqua; // screenshot shows Blue
protected override void OnBarUpdate()
...
PlotBrushes[0][0] = Brushes.Transparent;
// if sell signal
MYTarget[0] = High[0] + (BlockOffset * TickSize);
PlotBrushes[0][0] = SellBrush;
// or if buy signal
MYTarget[0] = Low[0] - (BlockOffset * TickSize);
PlotBrushes[0][0] = BuyBrush;
Can anyone tell me why the plot points are moving higher or lower when the screen is scrolled? I checked if Auto-Scale is the issue and that doesn't seem to be it. Thanks for your time.
Comment