public RoundTurnBinary(RoundTurnBinary other)
 {
     entryTime  = other.entryTime;
     exitTime   = other.exitTime;
     direction  = other.direction;
     entryPrice = other.entryPrice;
     exitPrice  = other.exitPrice;
     minPrice   = other.minPrice;
     maxPrice   = other.maxPrice;
     exitBar    = other.exitBar;
     entryBar   = other.entryBar;
     completed  = other.completed;
 }
        public override bool Equals(object obj)
        {
            if (obj.GetType() != typeof(RoundTurnBinary))
            {
                return(false);
            }
            RoundTurnBinary trade = (RoundTurnBinary)obj;

            return(this.direction == trade.direction &&
                   this.entryPrice == trade.entryPrice &&
                   this.EntryTime == trade.EntryTime &&
                   this.exitPrice == trade.exitPrice &&
                   this.ExitTime == trade.ExitTime);
        }