Esempio n. 1
0
        private protected override void Rendering()
        {
            Dispatcher.Invoke(() =>
            {
                using var dc = IndicatorVisualBase.RenderOpen();

                foreach (var rect in Rects)
                {
                    dc.DrawRectangle(MACDbr, null, rect);
                }
            });
        }
Esempio n. 2
0
        private protected override void Rendering()
        {
            Dispatcher.Invoke(() =>
            {
                using var dc = IndicatorVisualBase.RenderOpen();

                foreach (var rect in VolumesUp)
                {
                    dc.DrawRectangle(VolumesBrUp, null, rect);
                }
                foreach (var rect in VolumesDown)
                {
                    dc.DrawRectangle(VolumesBrDown, null, rect);
                }
            });
        }