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