public override BaseRobot MakeCopy()
        {
            var robo = new OscillatorBasedRobot
            {
                indexFormula          = indexFormula,
                IndexMarginUp         = IndexMarginUp,
                IndexMarginDn         = IndexMarginDn,
                CandlesInIndexHistory = CandlesInIndexHistory,
                Volume           = Volume,
                StopLossPoints   = StopLossPoints,
                TakeProfitPoints = TakeProfitPoints
            };

            CopyBaseSettings(robo);
            return(robo);
        }
Пример #2
0
 public override BaseRobot MakeCopy()
 {
     var robo = new OscillatorBasedRobot
                    {
                        indexFormula = indexFormula,
                        IndexMarginUp = IndexMarginUp,
                        IndexMarginDn = IndexMarginDn,
                        CandlesInIndexHistory = CandlesInIndexHistory,
                        Volume = Volume,
                        StopLossPoints = StopLossPoints,
                        TakeProfitPoints = TakeProfitPoints
                    };
     CopyBaseSettings(robo);
     return robo;
 }