예제 #1
0
        /*****************************************************************************
        *  FUNCTION:  ComputeTechnicalIndicators
        *  Description:
        *  Parameters:
        *****************************************************************************/
        private void ComputeTechnicalIndicators()
        {
            List <Double> out_macd_a, out_macd_b, out_macd_c;

            //*** Accumulation / Distribution Index ***//
            AccumDistrIndex = Helpers.AccumulationDistributionIndex(hist_price, hist_price_highs, hist_price_lows, hist_volumes);

            //*** MACD ***//
            Helpers.ComputeMACD(MACD_TIME_BASES, hist_price, out out_macd_a, out out_macd_b, out out_macd_c);
            MACD_A = out_macd_a;
            MACD_B = out_macd_b;
            MACD_C = out_macd_c;
        }