MACD histogram

This commit is contained in:
Miha Kralj
2024-10-23 22:04:21 -07:00
parent 7748bdd101
commit 707d81ff72
7 changed files with 235 additions and 120 deletions
+2 -2
View File
@@ -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);
}
}