mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-17 01:58:06 +00:00
[CodeFactor] Apply fixes
This commit is contained in:
@@ -103,7 +103,6 @@ public class MacdIndicator : Indicator, IWatchlistIndicator
|
||||
|
||||
public override void OnPaintChart(PaintChartEventArgs args)
|
||||
{
|
||||
|
||||
Graphics gr = args.Graphics;
|
||||
gr.SmoothingMode = SmoothingMode.AntiAlias;
|
||||
var mainWindow = this.CurrentChart.Windows[args.WindowIndex];
|
||||
@@ -138,7 +137,6 @@ public class MacdIndicator : Indicator, IWatchlistIndicator
|
||||
Brush col = HistSlopeSeries![i] < 0 ? highRed : lowRed;
|
||||
gr.FillRectangle(col, barX, barY0, HistBarWidth, Math.Abs(barY0 - barY));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
this.PaintSmoothCurve(args, MainSeries!, slow_ma!.WarmupPeriod, showColdValues: ShowColdValues, tension: 0.3);
|
||||
|
||||
Reference in New Issue
Block a user