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); }
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; }