Exemplo n.º 1
0
        public IWave AddChild(IWave childWave)
        {
            childWave.ParentWaveId = WaveId;

            ChildWaves.Add(childWave);

            return(this);
        }
Exemplo n.º 2
0
        private IBarDatum GetRetraceBar()
        {
            IBarDatum barDatum = ChildWaves.Where(w => w.Trend != Trend && w.EndBar != null)
                                 .Select(w => w.EndBar)
                                 .FirstOrDefault();

            return(barDatum);
        }