Пример #1
0
        public static CombinedIndicator Group(this CombinedIndicator combinedIndicator, ICombinedSignalCreator combinedSignalCreator)
        {
            var newGroup = new CombinedIndicator(combinedSignalCreator);

            combinedIndicator.AddIndicator(newGroup);
            return(newGroup);
        }
Пример #2
0
        public static CombinedIndicator Group(this CombinedIndicator combinedIndicator)
        {
            var newGroup = new CombinedIndicator();

            combinedIndicator.AddIndicator(newGroup);
            return(newGroup);
        }
Пример #3
0
        public TradingSystem( string name )
        {
            Name = name;

            myIndicator = new CombinedIndicator();
            AdditionalReportGenerators = new List<IReportGenerator>();
            myChartGenerator = new ChartGenerator();
        }
Пример #4
0
 public CombinedIndicatorResult( CombinedIndicator indicator, StockHandle stock )
     : base(indicator.Name, stock)
 {
     myIndicator = indicator;
     myResults = new List<IndicatorResult>();
 }
Пример #5
0
 public static CombinedIndicator Add(this CombinedIndicator combinedIndicator, IIndicator indicator)
 {
     combinedIndicator.AddIndicator(indicator);
     return(combinedIndicator);
 }
Пример #6
0
 public CombinedIndicatorResult(CombinedIndicator indicator, StockHandle stock)
     : base(indicator.Name, stock)
 {
     myIndicator = indicator;
     myResults   = new List <IndicatorResult>();
 }