public override BaseRobot MakeCopy() { var bot = new Mt4Robot { HostMt4 = HostMt4, //AccountMt4 = AccountMt4, PortMt4 = PortMt4, PortOwn = PortOwn, PercentScale = PercentScale, Mt4ToTradeSharpRate = Mt4ToTradeSharpRate, Mode = Mode, ControlOrdersDisregardMagic = ControlOrdersDisregardMagic, FixedVolume = FixedVolume, Mt4TickerSuffix = Mt4TickerSuffix, TradeSharpAccount = TradeSharpAccount }; CopyBaseSettings(bot); return(bot); }
public override BaseRobot MakeCopy() { var bot = new Mt4Robot { HostMt4 = HostMt4, //AccountMt4 = AccountMt4, PortMt4 = PortMt4, PortOwn = PortOwn, PercentScale = PercentScale, Mt4ToTradeSharpRate = Mt4ToTradeSharpRate, Mode = Mode, ControlOrdersDisregardMagic = ControlOrdersDisregardMagic, FixedVolume = FixedVolume, Mt4TickerSuffix = Mt4TickerSuffix, TradeSharpAccount = TradeSharpAccount }; CopyBaseSettings(bot); return bot; }