Пример #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="StochasticFastIndicator" /> class.
        /// </summary>
        public StochasticFastIndicator()
        {
            this.DefaultStyleKey = typeof(StochasticFastIndicator);

            this.signalModel = new CategoricalStrokedSeriesModel();

            this.signalRenderer       = this.CreateRenderer();
            this.signalRenderer.model = this.signalModel;
        }
Пример #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="BollingerBandsIndicator" /> class.
        /// </summary>
        public BollingerBandsIndicator()
        {
            this.DefaultStyleKey = typeof(BollingerBandsIndicator);

            this.lowerBandModel = new CategoricalStrokedSeriesModel();

            this.lowerBandRenderer       = this.CreateRenderer();
            this.lowerBandRenderer.model = this.lowerBandModel;
        }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IndicatorBase" /> class.
 /// </summary>
 internal IndicatorBase()
 {
     this.model = new CategoricalStrokedSeriesModel();
 }