mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-09 06:27:45 +00:00
MACD histogram
This commit is contained in:
@@ -65,8 +65,8 @@ public class CmoIndicator : Indicator, IWatchlistIndicator
|
||||
{
|
||||
base.OnPaintChart(args);
|
||||
this.PaintHLine(args, 0, new Pen(Color.DarkGray, width: 1));
|
||||
this.PaintHLine(args, 50, new Pen(Color.DarkRed, width: 1));
|
||||
this.PaintHLine(args, -50, new Pen(Color.DarkGreen, width: 1));
|
||||
this.PaintHLine(args, 50, new Pen(Color.Blue, width: 1));
|
||||
this.PaintHLine(args, -50, new Pen(Color.Blue, width: 1));
|
||||
this.PaintSmoothCurve(args, CmoSeries!, cmo!.WarmupPeriod, showColdValues: ShowColdValues, tension: 0.2);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user