public void CreateVirtualData(List <S_CandleItemData> sourceDatas) { if (!appendVirtualData) { return; } if (string.IsNullOrEmpty(appendVirtualDataType)) { return; } var virtualList = PPUtils.GetVirtualCandle(appendVirtualDataType, sourceDatas.GetRange(sourceDatas.Count - 5, 5)); foreach (var m in virtualList) { sourceDatas.Add(m); } }