当前位置: 首页>>代码示例>>Java>>正文


Java OptInputParameterType.TA_OptInput_IntegerRange方法代码示例

本文整理汇总了Java中com.tictactec.ta.lib.meta.annotation.OptInputParameterType.TA_OptInput_IntegerRange方法的典型用法代码示例。如果您正苦于以下问题:Java OptInputParameterType.TA_OptInput_IntegerRange方法的具体用法?Java OptInputParameterType.TA_OptInput_IntegerRange怎么用?Java OptInputParameterType.TA_OptInput_IntegerRange使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.tictactec.ta.lib.meta.annotation.OptInputParameterType的用法示例。


在下文中一共展示了OptInputParameterType.TA_OptInput_IntegerRange方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: willR

import com.tictactec.ta.lib.meta.annotation.OptInputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "WILLR",
        group = "Momentum Indicators",
        flags = 0,
        nbInput    = 1,
        nbOptInput = 1,
        nbOutput   = 1
)
public RetCode willR(
            int startIdx,
            int endIdx,
            @InputParameterInfo(
                paramName = "inPriceHLC",
                flags     = 14,
                type = InputParameterType.TA_Input_Price
            )
            double inHigh [],
            double inLow [],
            double inClose [],
            @OptInputParameterInfo(
                paramName    = "optInTimePeriod",
                displayName  = "Time Period",
                flags        = 0,
                type    = OptInputParameterType.TA_OptInput_IntegerRange,
                dataSet = com.tictactec.ta.lib.meta.annotation.IntegerRange.class
            )
            @IntegerRange(
                    paramName    = "optInTimePeriod",
                    defaultValue = 14,
                    min          = 2,
                    max          = 100000,
                    suggested_start     = 4,
                    suggested_end       = 200,
                    suggested_increment = 1
            )
            int optInTimePeriod,
            MInteger     outBegIdx,
            MInteger     outNBElement,
            @OutputParameterInfo(
                paramName = "outReal",
                flags     = 1,
                type = OutputParameterType.TA_Output_Real
            )
            double outReal[]
) {
    return super.willR (
        startIdx,
        endIdx,
        inHigh ,
        inLow ,
        inClose ,
        optInTimePeriod,
        outBegIdx,
        outNBElement,
        outReal
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:57,代码来源:CoreAnnotated.java

示例2: rocR

import com.tictactec.ta.lib.meta.annotation.OptInputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "ROCR",
        group = "Momentum Indicators",
        flags = 0,
        nbInput    = 1,
        nbOptInput = 1,
        nbOutput   = 1
)
public RetCode rocR(
            int startIdx,
            int endIdx,
            @InputParameterInfo(
                paramName = "inReal",
                flags     = 0,
                type = InputParameterType.TA_Input_Real
            )
            double inReal[],
            @OptInputParameterInfo(
                paramName    = "optInTimePeriod",
                displayName  = "Time Period",
                flags        = 0,
                type    = OptInputParameterType.TA_OptInput_IntegerRange,
                dataSet = com.tictactec.ta.lib.meta.annotation.IntegerRange.class
            )
            @IntegerRange(
                    paramName    = "optInTimePeriod",
                    defaultValue = 10,
                    min          = 1,
                    max          = 100000,
                    suggested_start     = 1,
                    suggested_end       = 200,
                    suggested_increment = 1
            )
            int optInTimePeriod,
            MInteger     outBegIdx,
            MInteger     outNBElement,
            @OutputParameterInfo(
                paramName = "outReal",
                flags     = 1,
                type = OutputParameterType.TA_Output_Real
            )
            double outReal[]
) {
    return super.rocR (
        startIdx,
        endIdx,
        inReal,
        optInTimePeriod,
        outBegIdx,
        outNBElement,
        outReal
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:53,代码来源:CoreAnnotated.java

示例3: adxr

import com.tictactec.ta.lib.meta.annotation.OptInputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "ADXR",
        group = "Momentum Indicators",
        flags = 134217728,
        nbInput    = 1,
        nbOptInput = 1,
        nbOutput   = 1
)
public RetCode adxr(
            int startIdx,
            int endIdx,
            @InputParameterInfo(
                paramName = "inPriceHLC",
                flags     = 14,
                type = InputParameterType.TA_Input_Price
            )
            double inHigh [],
            double inLow [],
            double inClose [],
            @OptInputParameterInfo(
                paramName    = "optInTimePeriod",
                displayName  = "Time Period",
                flags        = 0,
                type    = OptInputParameterType.TA_OptInput_IntegerRange,
                dataSet = com.tictactec.ta.lib.meta.annotation.IntegerRange.class
            )
            @IntegerRange(
                    paramName    = "optInTimePeriod",
                    defaultValue = 14,
                    min          = 2,
                    max          = 100000,
                    suggested_start     = 4,
                    suggested_end       = 200,
                    suggested_increment = 1
            )
            int optInTimePeriod,
            MInteger     outBegIdx,
            MInteger     outNBElement,
            @OutputParameterInfo(
                paramName = "outReal",
                flags     = 1,
                type = OutputParameterType.TA_Output_Real
            )
            double outReal[]
) {
    return super.adxr (
        startIdx,
        endIdx,
        inHigh ,
        inLow ,
        inClose ,
        optInTimePeriod,
        outBegIdx,
        outNBElement,
        outReal
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:57,代码来源:CoreAnnotated.java

示例4: plusDI

import com.tictactec.ta.lib.meta.annotation.OptInputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "PLUS_DI",
        group = "Momentum Indicators",
        flags = 134217728,
        nbInput    = 1,
        nbOptInput = 1,
        nbOutput   = 1
)
public RetCode plusDI(
            int startIdx,
            int endIdx,
            @InputParameterInfo(
                paramName = "inPriceHLC",
                flags     = 14,
                type = InputParameterType.TA_Input_Price
            )
            double inHigh [],
            double inLow [],
            double inClose [],
            @OptInputParameterInfo(
                paramName    = "optInTimePeriod",
                displayName  = "Time Period",
                flags        = 0,
                type    = OptInputParameterType.TA_OptInput_IntegerRange,
                dataSet = com.tictactec.ta.lib.meta.annotation.IntegerRange.class
            )
            @IntegerRange(
                    paramName    = "optInTimePeriod",
                    defaultValue = 14,
                    min          = 1,
                    max          = 100000,
                    suggested_start     = 1,
                    suggested_end       = 200,
                    suggested_increment = 1
            )
            int optInTimePeriod,
            MInteger     outBegIdx,
            MInteger     outNBElement,
            @OutputParameterInfo(
                paramName = "outReal",
                flags     = 1,
                type = OutputParameterType.TA_Output_Real
            )
            double outReal[]
) {
    return super.plusDI (
        startIdx,
        endIdx,
        inHigh ,
        inLow ,
        inClose ,
        optInTimePeriod,
        outBegIdx,
        outNBElement,
        outReal
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:57,代码来源:CoreAnnotated.java

示例5: aroonOsc

import com.tictactec.ta.lib.meta.annotation.OptInputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "AROONOSC",
        group = "Momentum Indicators",
        flags = 0,
        nbInput    = 1,
        nbOptInput = 1,
        nbOutput   = 1
)
public RetCode aroonOsc(
            int startIdx,
            int endIdx,
            @InputParameterInfo(
                paramName = "inPriceHL",
                flags     = 6,
                type = InputParameterType.TA_Input_Price
            )
            double inHigh [],
            double inLow [],
            @OptInputParameterInfo(
                paramName    = "optInTimePeriod",
                displayName  = "Time Period",
                flags        = 0,
                type    = OptInputParameterType.TA_OptInput_IntegerRange,
                dataSet = com.tictactec.ta.lib.meta.annotation.IntegerRange.class
            )
            @IntegerRange(
                    paramName    = "optInTimePeriod",
                    defaultValue = 14,
                    min          = 2,
                    max          = 100000,
                    suggested_start     = 4,
                    suggested_end       = 200,
                    suggested_increment = 1
            )
            int optInTimePeriod,
            MInteger     outBegIdx,
            MInteger     outNBElement,
            @OutputParameterInfo(
                paramName = "outReal",
                flags     = 1,
                type = OutputParameterType.TA_Output_Real
            )
            double outReal[]
) {
    return super.aroonOsc (
        startIdx,
        endIdx,
        inHigh ,
        inLow ,
        optInTimePeriod,
        outBegIdx,
        outNBElement,
        outReal
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:55,代码来源:CoreAnnotated.java

示例6: minusDI

import com.tictactec.ta.lib.meta.annotation.OptInputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "MINUS_DI",
        group = "Momentum Indicators",
        flags = 134217728,
        nbInput    = 1,
        nbOptInput = 1,
        nbOutput   = 1
)
public RetCode minusDI(
            int startIdx,
            int endIdx,
            @InputParameterInfo(
                paramName = "inPriceHLC",
                flags     = 14,
                type = InputParameterType.TA_Input_Price
            )
            double inHigh [],
            double inLow [],
            double inClose [],
            @OptInputParameterInfo(
                paramName    = "optInTimePeriod",
                displayName  = "Time Period",
                flags        = 0,
                type    = OptInputParameterType.TA_OptInput_IntegerRange,
                dataSet = com.tictactec.ta.lib.meta.annotation.IntegerRange.class
            )
            @IntegerRange(
                    paramName    = "optInTimePeriod",
                    defaultValue = 14,
                    min          = 1,
                    max          = 100000,
                    suggested_start     = 1,
                    suggested_end       = 200,
                    suggested_increment = 1
            )
            int optInTimePeriod,
            MInteger     outBegIdx,
            MInteger     outNBElement,
            @OutputParameterInfo(
                paramName = "outReal",
                flags     = 1,
                type = OutputParameterType.TA_Output_Real
            )
            double outReal[]
) {
    return super.minusDI (
        startIdx,
        endIdx,
        inHigh ,
        inLow ,
        inClose ,
        optInTimePeriod,
        outBegIdx,
        outNBElement,
        outReal
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:57,代码来源:CoreAnnotated.java

示例7: sma

import com.tictactec.ta.lib.meta.annotation.OptInputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "SMA",
        group = "Overlap Studies",
        flags = 16777216,
        nbInput    = 1,
        nbOptInput = 1,
        nbOutput   = 1
)
public RetCode sma(
            int startIdx,
            int endIdx,
            @InputParameterInfo(
                paramName = "inReal",
                flags     = 0,
                type = InputParameterType.TA_Input_Real
            )
            double inReal[],
            @OptInputParameterInfo(
                paramName    = "optInTimePeriod",
                displayName  = "Time Period",
                flags        = 0,
                type    = OptInputParameterType.TA_OptInput_IntegerRange,
                dataSet = com.tictactec.ta.lib.meta.annotation.IntegerRange.class
            )
            @IntegerRange(
                    paramName    = "optInTimePeriod",
                    defaultValue = 30,
                    min          = 2,
                    max          = 100000,
                    suggested_start     = 4,
                    suggested_end       = 200,
                    suggested_increment = 1
            )
            int optInTimePeriod,
            MInteger     outBegIdx,
            MInteger     outNBElement,
            @OutputParameterInfo(
                paramName = "outReal",
                flags     = 1,
                type = OutputParameterType.TA_Output_Real
            )
            double outReal[]
) {
    return super.sma (
        startIdx,
        endIdx,
        inReal,
        optInTimePeriod,
        outBegIdx,
        outNBElement,
        outReal
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:53,代码来源:CoreAnnotated.java

示例8: variance

import com.tictactec.ta.lib.meta.annotation.OptInputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "VAR",
        group = "Statistic Functions",
        flags = 0,
        nbInput    = 1,
        nbOptInput = 2,
        nbOutput   = 1
)
public RetCode variance(
            int startIdx,
            int endIdx,
            @InputParameterInfo(
                paramName = "inReal",
                flags     = 0,
                type = InputParameterType.TA_Input_Real
            )
            double inReal[],
            @OptInputParameterInfo(
                paramName    = "optInTimePeriod",
                displayName  = "Time Period",
                flags        = 0,
                type    = OptInputParameterType.TA_OptInput_IntegerRange,
                dataSet = com.tictactec.ta.lib.meta.annotation.IntegerRange.class
            )
            @IntegerRange(
                    paramName    = "optInTimePeriod",
                    defaultValue = 5,
                    min          = 1,
                    max          = 100000,
                    suggested_start     = 1,
                    suggested_end       = 200,
                    suggested_increment = 1
            )
            int optInTimePeriod,
            @OptInputParameterInfo(
                paramName    = "optInNbDev",
                displayName  = "Deviations",
                flags        = 0,
                type    = OptInputParameterType.TA_OptInput_RealRange,
                dataSet = com.tictactec.ta.lib.meta.annotation.RealRange.class
            )
            @RealRange(
                    paramName    = "optInNbDev",
                    defaultValue = 1.00000,
                    min          = -30000000000000002000000000000000000000.00000,
                    max          = 30000000000000002000000000000000000000.00000,
                    precision    = 2,
                    suggested_start     = -2.00000,
                    suggested_end       = 2.00000,
                    suggested_increment = 0.20000
            )
            double optInNbDev,
            MInteger     outBegIdx,
            MInteger     outNBElement,
            @OutputParameterInfo(
                paramName = "outReal",
                flags     = 1,
                type = OutputParameterType.TA_Output_Real
            )
            double outReal[]
) {
    return super.variance (
        startIdx,
        endIdx,
        inReal,
        optInTimePeriod,
        optInNbDev,
        outBegIdx,
        outNBElement,
        outReal
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:72,代码来源:CoreAnnotated.java

示例9: stdDev

import com.tictactec.ta.lib.meta.annotation.OptInputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "STDDEV",
        group = "Statistic Functions",
        flags = 0,
        nbInput    = 1,
        nbOptInput = 2,
        nbOutput   = 1
)
public RetCode stdDev(
            int startIdx,
            int endIdx,
            @InputParameterInfo(
                paramName = "inReal",
                flags     = 0,
                type = InputParameterType.TA_Input_Real
            )
            double inReal[],
            @OptInputParameterInfo(
                paramName    = "optInTimePeriod",
                displayName  = "Time Period",
                flags        = 0,
                type    = OptInputParameterType.TA_OptInput_IntegerRange,
                dataSet = com.tictactec.ta.lib.meta.annotation.IntegerRange.class
            )
            @IntegerRange(
                    paramName    = "optInTimePeriod",
                    defaultValue = 5,
                    min          = 2,
                    max          = 100000,
                    suggested_start     = 4,
                    suggested_end       = 200,
                    suggested_increment = 1
            )
            int optInTimePeriod,
            @OptInputParameterInfo(
                paramName    = "optInNbDev",
                displayName  = "Deviations",
                flags        = 0,
                type    = OptInputParameterType.TA_OptInput_RealRange,
                dataSet = com.tictactec.ta.lib.meta.annotation.RealRange.class
            )
            @RealRange(
                    paramName    = "optInNbDev",
                    defaultValue = 1.00000,
                    min          = -30000000000000002000000000000000000000.00000,
                    max          = 30000000000000002000000000000000000000.00000,
                    precision    = 2,
                    suggested_start     = -2.00000,
                    suggested_end       = 2.00000,
                    suggested_increment = 0.20000
            )
            double optInNbDev,
            MInteger     outBegIdx,
            MInteger     outNBElement,
            @OutputParameterInfo(
                paramName = "outReal",
                flags     = 1,
                type = OutputParameterType.TA_Output_Real
            )
            double outReal[]
) {
    return super.stdDev (
        startIdx,
        endIdx,
        inReal,
        optInTimePeriod,
        optInNbDev,
        outBegIdx,
        outNBElement,
        outReal
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:72,代码来源:CoreAnnotated.java

示例10: correl

import com.tictactec.ta.lib.meta.annotation.OptInputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "CORREL",
        group = "Statistic Functions",
        flags = 0,
        nbInput    = 2,
        nbOptInput = 1,
        nbOutput   = 1
)
public RetCode correl(
            int startIdx,
            int endIdx,
            @InputParameterInfo(
                paramName = "inReal0",
                flags     = 0,
                type = InputParameterType.TA_Input_Real
            )
            double inReal0[],
            @InputParameterInfo(
                paramName = "inReal1",
                flags     = 0,
                type = InputParameterType.TA_Input_Real
            )
            double inReal1[],
            @OptInputParameterInfo(
                paramName    = "optInTimePeriod",
                displayName  = "Time Period",
                flags        = 0,
                type    = OptInputParameterType.TA_OptInput_IntegerRange,
                dataSet = com.tictactec.ta.lib.meta.annotation.IntegerRange.class
            )
            @IntegerRange(
                    paramName    = "optInTimePeriod",
                    defaultValue = 30,
                    min          = 1,
                    max          = 100000,
                    suggested_start     = 1,
                    suggested_end       = 200,
                    suggested_increment = 1
            )
            int optInTimePeriod,
            MInteger     outBegIdx,
            MInteger     outNBElement,
            @OutputParameterInfo(
                paramName = "outReal",
                flags     = 1,
                type = OutputParameterType.TA_Output_Real
            )
            double outReal[]
) {
    return super.correl (
        startIdx,
        endIdx,
        inReal0,
        inReal1,
        optInTimePeriod,
        outBegIdx,
        outNBElement,
        outReal
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:60,代码来源:CoreAnnotated.java

示例11: tsf

import com.tictactec.ta.lib.meta.annotation.OptInputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "TSF",
        group = "Statistic Functions",
        flags = 16777216,
        nbInput    = 1,
        nbOptInput = 1,
        nbOutput   = 1
)
public RetCode tsf(
            int startIdx,
            int endIdx,
            @InputParameterInfo(
                paramName = "inReal",
                flags     = 0,
                type = InputParameterType.TA_Input_Real
            )
            double inReal[],
            @OptInputParameterInfo(
                paramName    = "optInTimePeriod",
                displayName  = "Time Period",
                flags        = 0,
                type    = OptInputParameterType.TA_OptInput_IntegerRange,
                dataSet = com.tictactec.ta.lib.meta.annotation.IntegerRange.class
            )
            @IntegerRange(
                    paramName    = "optInTimePeriod",
                    defaultValue = 14,
                    min          = 2,
                    max          = 100000,
                    suggested_start     = 4,
                    suggested_end       = 200,
                    suggested_increment = 1
            )
            int optInTimePeriod,
            MInteger     outBegIdx,
            MInteger     outNBElement,
            @OutputParameterInfo(
                paramName = "outReal",
                flags     = 1,
                type = OutputParameterType.TA_Output_Real
            )
            double outReal[]
) {
    return super.tsf (
        startIdx,
        endIdx,
        inReal,
        optInTimePeriod,
        outBegIdx,
        outNBElement,
        outReal
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:53,代码来源:CoreAnnotated.java

示例12: minIndex

import com.tictactec.ta.lib.meta.annotation.OptInputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "MININDEX",
        group = "Math Operators",
        flags = 0,
        nbInput    = 1,
        nbOptInput = 1,
        nbOutput   = 1
)
public RetCode minIndex(
            int startIdx,
            int endIdx,
            @InputParameterInfo(
                paramName = "inReal",
                flags     = 0,
                type = InputParameterType.TA_Input_Real
            )
            double inReal[],
            @OptInputParameterInfo(
                paramName    = "optInTimePeriod",
                displayName  = "Time Period",
                flags        = 0,
                type    = OptInputParameterType.TA_OptInput_IntegerRange,
                dataSet = com.tictactec.ta.lib.meta.annotation.IntegerRange.class
            )
            @IntegerRange(
                    paramName    = "optInTimePeriod",
                    defaultValue = 30,
                    min          = 2,
                    max          = 100000,
                    suggested_start     = 4,
                    suggested_end       = 200,
                    suggested_increment = 1
            )
            int optInTimePeriod,
            MInteger     outBegIdx,
            MInteger     outNBElement,
            @OutputParameterInfo(
                paramName = "outInteger",
                flags     = 1,
                type = OutputParameterType.TA_Output_Integer
            )
            int outInteger[]

) {
    return super.minIndex (
        startIdx,
        endIdx,
        inReal,
        optInTimePeriod,
        outBegIdx,
        outNBElement,
        outInteger
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:54,代码来源:CoreAnnotated.java

示例13: ema

import com.tictactec.ta.lib.meta.annotation.OptInputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "EMA",
        group = "Overlap Studies",
        flags = 150994944,
        nbInput    = 1,
        nbOptInput = 1,
        nbOutput   = 1
)
public RetCode ema(
            int startIdx,
            int endIdx,
            @InputParameterInfo(
                paramName = "inReal",
                flags     = 0,
                type = InputParameterType.TA_Input_Real
            )
            double inReal[],
            @OptInputParameterInfo(
                paramName    = "optInTimePeriod",
                displayName  = "Time Period",
                flags        = 0,
                type    = OptInputParameterType.TA_OptInput_IntegerRange,
                dataSet = com.tictactec.ta.lib.meta.annotation.IntegerRange.class
            )
            @IntegerRange(
                    paramName    = "optInTimePeriod",
                    defaultValue = 30,
                    min          = 2,
                    max          = 100000,
                    suggested_start     = 4,
                    suggested_end       = 200,
                    suggested_increment = 1
            )
            int optInTimePeriod,
            MInteger     outBegIdx,
            MInteger     outNBElement,
            @OutputParameterInfo(
                paramName = "outReal",
                flags     = 1,
                type = OutputParameterType.TA_Output_Real
            )
            double outReal[]
) {
    return super.ema (
        startIdx,
        endIdx,
        inReal,
        optInTimePeriod,
        outBegIdx,
        outNBElement,
        outReal
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:53,代码来源:CoreAnnotated.java

示例14: trima

import com.tictactec.ta.lib.meta.annotation.OptInputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "TRIMA",
        group = "Overlap Studies",
        flags = 16777216,
        nbInput    = 1,
        nbOptInput = 1,
        nbOutput   = 1
)
public RetCode trima(
            int startIdx,
            int endIdx,
            @InputParameterInfo(
                paramName = "inReal",
                flags     = 0,
                type = InputParameterType.TA_Input_Real
            )
            double inReal[],
            @OptInputParameterInfo(
                paramName    = "optInTimePeriod",
                displayName  = "Time Period",
                flags        = 0,
                type    = OptInputParameterType.TA_OptInput_IntegerRange,
                dataSet = com.tictactec.ta.lib.meta.annotation.IntegerRange.class
            )
            @IntegerRange(
                    paramName    = "optInTimePeriod",
                    defaultValue = 30,
                    min          = 2,
                    max          = 100000,
                    suggested_start     = 4,
                    suggested_end       = 200,
                    suggested_increment = 1
            )
            int optInTimePeriod,
            MInteger     outBegIdx,
            MInteger     outNBElement,
            @OutputParameterInfo(
                paramName = "outReal",
                flags     = 1,
                type = OutputParameterType.TA_Output_Real
            )
            double outReal[]
) {
    return super.trima (
        startIdx,
        endIdx,
        inReal,
        optInTimePeriod,
        outBegIdx,
        outNBElement,
        outReal
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:53,代码来源:CoreAnnotated.java

示例15: midPrice

import com.tictactec.ta.lib.meta.annotation.OptInputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "MIDPRICE",
        group = "Overlap Studies",
        flags = 16777216,
        nbInput    = 1,
        nbOptInput = 1,
        nbOutput   = 1
)
public RetCode midPrice(
            int startIdx,
            int endIdx,
            @InputParameterInfo(
                paramName = "inPriceHL",
                flags     = 6,
                type = InputParameterType.TA_Input_Price
            )
            double inHigh [],
            double inLow [],
            @OptInputParameterInfo(
                paramName    = "optInTimePeriod",
                displayName  = "Time Period",
                flags        = 0,
                type    = OptInputParameterType.TA_OptInput_IntegerRange,
                dataSet = com.tictactec.ta.lib.meta.annotation.IntegerRange.class
            )
            @IntegerRange(
                    paramName    = "optInTimePeriod",
                    defaultValue = 14,
                    min          = 2,
                    max          = 100000,
                    suggested_start     = 4,
                    suggested_end       = 200,
                    suggested_increment = 1
            )
            int optInTimePeriod,
            MInteger     outBegIdx,
            MInteger     outNBElement,
            @OutputParameterInfo(
                paramName = "outReal",
                flags     = 1,
                type = OutputParameterType.TA_Output_Real
            )
            double outReal[]
) {
    return super.midPrice (
        startIdx,
        endIdx,
        inHigh ,
        inLow ,
        optInTimePeriod,
        outBegIdx,
        outNBElement,
        outReal
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:55,代码来源:CoreAnnotated.java


注:本文中的com.tictactec.ta.lib.meta.annotation.OptInputParameterType.TA_OptInput_IntegerRange方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。