Beispiel #1
0
        public override BaseRobot MakeCopy()
        {
            var bot = new FibonacciRobot
            {
                zigZagPeriodPercent    = zigZagPeriodPercent,
                FiboLevels             = FiboLevels,
                FiboBars               = FiboBars,
                FiboBarsLifetime       = FiboBarsLifetime,
                CandlesInIndexHistory  = CandlesInIndexHistory,
                FiboReachDistancePoint = FiboReachDistancePoint,
                ShowFiboTurnBars       = ShowFiboTurnBars,
                StopLossPoints         = StopLossPoints,
                TakeProfitPoints       = TakeProfitPoints,
                ZigZagSourceType       = ZigZagSourceType,
                FixedVolume            = FixedVolume,
                Leverage               = Leverage,
                RoundType              = RoundType,
                NewsChannels           = NewsChannels,
                RoundMinVolume         = RoundMinVolume,
                RoundVolumeStep        = RoundVolumeStep
            };

            CopyBaseSettings(bot);
            return(bot);
        }
 public override BaseRobot MakeCopy()
 {
     var bot = new FibonacciRobot
                   {
                       zigZagPeriodPercent = zigZagPeriodPercent,
                       FiboLevels = FiboLevels,
                       FiboBars = FiboBars,
                       FiboBarsLifetime = FiboBarsLifetime,
                       CandlesInIndexHistory = CandlesInIndexHistory,
                       FiboReachDistancePoint = FiboReachDistancePoint,
                       ShowFiboTurnBars = ShowFiboTurnBars,
                       StopLossPoints = StopLossPoints,
                       TakeProfitPoints = TakeProfitPoints,
                       ZigZagSourceType = ZigZagSourceType,
                       FixedVolume = FixedVolume,
                       Leverage = Leverage,
                       RoundType = RoundType,
                       NewsChannels = NewsChannels,
                       RoundMinVolume = RoundMinVolume,
                       RoundVolumeStep = RoundVolumeStep
                   };
     CopyBaseSettings(bot);
     return bot;
 }