示例#1
0
        public static AdxrResult Adxr(int startIdx, int endIdx, double[] high, double[] low, double[] close, int timePeriod)
        {
            int outBegIdx    = default;
            int outNBElement = default;

            double[] outReal = new double[endIdx - startIdx + 1];

            RetCode retCode = TACore.Adxr(
                startIdx,
                endIdx,
                high,
                low,
                close,
                timePeriod,
                ref outBegIdx,
                ref outNBElement,
                ref outReal);

            return(new(retCode, outBegIdx, outNBElement, outReal));
        }