public override BaseRobot MakeCopy() { var bot = new RoundPriceRobot { CloseOpposite = CloseOpposite, RoundDigits = RoundDigits, StopLossPoints = StopLossPoints, TakeProfitPoints = TakeProfitPoints, FixedVolume = FixedVolume, Leverage = Leverage, RoundType = RoundType, NewsChannels = NewsChannels, RoundMinVolume = RoundMinVolume, RoundVolumeStep = RoundVolumeStep }; CopyBaseSettings(bot); return(bot); }
public override BaseRobot MakeCopy() { var bot = new RoundPriceRobot { CloseOpposite = CloseOpposite, RoundDigits = RoundDigits, StopLossPoints = StopLossPoints, TakeProfitPoints = TakeProfitPoints, FixedVolume = FixedVolume, Leverage = Leverage, RoundType = RoundType, NewsChannels = NewsChannels, RoundMinVolume = RoundMinVolume, RoundVolumeStep = RoundVolumeStep }; CopyBaseSettings(bot); return bot; }