예제 #1
0
        /// <summary>
        /// Define the available indicators and store them in a dictionary with the indicator name as the key.
        /// </summary>
        public ChartIndicatorsMain()
        {
            Indicators = new IndicatorMap();

            Indicators.Add(new KeltnerChannels("Keltner Channel"));
            Indicators.Add(new MovingAverage("Moving Average"));
            Indicators.Add(new ExponentialMovingAverage("Exponential Moving Average"));
            Indicators.Add(new TriangularMovingAverage("Triangular Moving Average"));
            Indicators.Add(new WeightedMovingAverage("Weighted Moving Average"));
            Indicators.Add(new TripleExponentialMovingAverage("Triple Exponential Moving Average"));
            Indicators.Add(new BollingerBands("Bollinger Bands"));
            Indicators.Add(new Envelopes("Envelopes"));
            Indicators.Add(new MedianPrice("Median Price"));
            Indicators.Add(new TypicalPrice("Typical Price"));
            Indicators.Add(new WeightedClose("Weighted Close"));
            //Indicators.Add(new Forecasting("Forecasting"));
        }
        public ChartIndicatorsBottom()
        {
            Indicators = new IndicatorMap();

            Indicators.Add(new ChaikinOscillator("Chaikin Oscillator"));
            Indicators.Add(new AccumulationDistribution("Accumulation Distribution"));
            Indicators.Add(new AverageTrueRange("Average True Range"));
            Indicators.Add(new CommodityChannelIndex("Commodity Channel Index"));
            Indicators.Add(new DetrendedPriceOscillator("Detrended Price Oscillator"));
            Indicators.Add(new EaseOfMovement("Ease Of Movement"));
            Indicators.Add(new MassIndex("Mass Index"));
            Indicators.Add(new MoneyFlow("Money Flow"));
            Indicators.Add(new MACD("MACD"));
            Indicators.Add(new NegativeVolumeIndex("Negative Volume Index"));
            Indicators.Add(new PositiveVolumeIndex("Positive Volume Index"));
            Indicators.Add(new OnBalanceVolume("On Balance Volume"));
            Indicators.Add(new Performance("Performance"));
            Indicators.Add(new PriceVolumeTrend("Price Volume Trend"));
            Indicators.Add(new RateOfChange("Rate of Change"));
            Indicators.Add(new VolumeRateOfChange("Volume Rate of Change"));
            Indicators.Add(new RelativeStrengthIndex("Relative Strength Index"));
            Indicators.Add(new StandardDeviation("Standard Deviation"));
            Indicators.Add(new StochasticIndicator("Stochastic Indicator"));
            Indicators.Add(new VolatilityChaikins("Volatility Chaikins"));
            Indicators.Add(new VolumeOscillator("Volume Oscillator"));
            Indicators.Add(new WilliamsR("Williams %R"));
            trendLine = new TrendLine("Trend Line");
            Indicators.Add(trendLine);
            trendLine.SlopeChanged += trendLine_SlopeChanged;
        }