public BarStats Clone() { BarStats barStats = new BarStats(); barStats.barTime = barTime; barStats.posDir = posDir; barStats.posPrice = posPrice; barStats.posLots = posLots; barStats.posFlag = posFlag; barStats.operation = operation.GetRange(0, operation.Count); return(barStats); }
public BarStats Clone() { var barStats = new BarStats { BarTime = BarTime, _posDir = _posDir, PositionPrice = PositionPrice, PositionLots = PositionLots, _posFlag = _posFlag, Operations = Operations.GetRange(0, Operations.Count) }; return(barStats); }
public BarStats Clone() { var barStats = new BarStats { BarTime = BarTime, _posDir = _posDir, PositionPrice = PositionPrice, PositionLots = PositionLots, _posFlag = _posFlag, Operations = Operations.GetRange(0, Operations.Count) }; return barStats; }
public BarStats Clone() { BarStats barStats = new BarStats(); barStats.barTime = barTime; barStats.posDir = posDir; barStats.posPrice = posPrice; barStats.posLots = posLots; barStats.posFlag = posFlag; barStats.operation = operation.GetRange(0, operation.Count); return barStats; }