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


Java InputParameterType.TA_Input_Real方法代码示例

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


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

示例1: htTrendMode

import com.tictactec.ta.lib.meta.annotation.InputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "HT_TRENDMODE",
        group = "Cycle Indicators",
        flags = 134217728,
        nbInput    = 1,
        nbOptInput = 0,
        nbOutput   = 1
)
public RetCode htTrendMode(
            int startIdx,
            int endIdx,
            @InputParameterInfo(
                paramName = "inReal",
                flags     = 0,
                type = InputParameterType.TA_Input_Real
            )
            double inReal[],
            MInteger     outBegIdx,
            MInteger     outNBElement,
            @OutputParameterInfo(
                paramName = "outInteger",
                flags     = 1,
                type = OutputParameterType.TA_Output_Integer
            )
            int outInteger[]

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

示例2: tanh

import com.tictactec.ta.lib.meta.annotation.InputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "TANH",
        group = "Math Transform",
        flags = 0,
        nbInput    = 1,
        nbOptInput = 0,
        nbOutput   = 1
)
public RetCode tanh(
            int startIdx,
            int endIdx,
            @InputParameterInfo(
                paramName = "inReal",
                flags     = 0,
                type = InputParameterType.TA_Input_Real
            )
            double inReal[],
            MInteger     outBegIdx,
            MInteger     outNBElement,
            @OutputParameterInfo(
                paramName = "outReal",
                flags     = 1,
                type = OutputParameterType.TA_Output_Real
            )
            double outReal[]
) {
    return super.tanh (
        startIdx,
        endIdx,
        inReal,
        outBegIdx,
        outNBElement,
        outReal
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:35,代码来源:CoreAnnotated.java

示例3: atan

import com.tictactec.ta.lib.meta.annotation.InputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "ATAN",
        group = "Math Transform",
        flags = 0,
        nbInput    = 1,
        nbOptInput = 0,
        nbOutput   = 1
)
public RetCode atan(
            int startIdx,
            int endIdx,
            @InputParameterInfo(
                paramName = "inReal",
                flags     = 0,
                type = InputParameterType.TA_Input_Real
            )
            double inReal[],
            MInteger     outBegIdx,
            MInteger     outNBElement,
            @OutputParameterInfo(
                paramName = "outReal",
                flags     = 1,
                type = OutputParameterType.TA_Output_Real
            )
            double outReal[]
) {
    return super.atan (
        startIdx,
        endIdx,
        inReal,
        outBegIdx,
        outNBElement,
        outReal
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:35,代码来源:CoreAnnotated.java

示例4: ceil

import com.tictactec.ta.lib.meta.annotation.InputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "CEIL",
        group = "Math Transform",
        flags = 0,
        nbInput    = 1,
        nbOptInput = 0,
        nbOutput   = 1
)
public RetCode ceil(
            int startIdx,
            int endIdx,
            @InputParameterInfo(
                paramName = "inReal",
                flags     = 0,
                type = InputParameterType.TA_Input_Real
            )
            double inReal[],
            MInteger     outBegIdx,
            MInteger     outNBElement,
            @OutputParameterInfo(
                paramName = "outReal",
                flags     = 1,
                type = OutputParameterType.TA_Output_Real
            )
            double outReal[]
) {
    return super.ceil (
        startIdx,
        endIdx,
        inReal,
        outBegIdx,
        outNBElement,
        outReal
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:35,代码来源:CoreAnnotated.java

示例5: cosh

import com.tictactec.ta.lib.meta.annotation.InputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "COSH",
        group = "Math Transform",
        flags = 0,
        nbInput    = 1,
        nbOptInput = 0,
        nbOutput   = 1
)
public RetCode cosh(
            int startIdx,
            int endIdx,
            @InputParameterInfo(
                paramName = "inReal",
                flags     = 0,
                type = InputParameterType.TA_Input_Real
            )
            double inReal[],
            MInteger     outBegIdx,
            MInteger     outNBElement,
            @OutputParameterInfo(
                paramName = "outReal",
                flags     = 1,
                type = OutputParameterType.TA_Output_Real
            )
            double outReal[]
) {
    return super.cosh (
        startIdx,
        endIdx,
        inReal,
        outBegIdx,
        outNBElement,
        outReal
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:35,代码来源:CoreAnnotated.java

示例6: sqrt

import com.tictactec.ta.lib.meta.annotation.InputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "SQRT",
        group = "Math Transform",
        flags = 0,
        nbInput    = 1,
        nbOptInput = 0,
        nbOutput   = 1
)
public RetCode sqrt(
            int startIdx,
            int endIdx,
            @InputParameterInfo(
                paramName = "inReal",
                flags     = 0,
                type = InputParameterType.TA_Input_Real
            )
            double inReal[],
            MInteger     outBegIdx,
            MInteger     outNBElement,
            @OutputParameterInfo(
                paramName = "outReal",
                flags     = 1,
                type = OutputParameterType.TA_Output_Real
            )
            double outReal[]
) {
    return super.sqrt (
        startIdx,
        endIdx,
        inReal,
        outBegIdx,
        outNBElement,
        outReal
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:35,代码来源:CoreAnnotated.java

示例7: sinh

import com.tictactec.ta.lib.meta.annotation.InputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "SINH",
        group = "Math Transform",
        flags = 0,
        nbInput    = 1,
        nbOptInput = 0,
        nbOutput   = 1
)
public RetCode sinh(
            int startIdx,
            int endIdx,
            @InputParameterInfo(
                paramName = "inReal",
                flags     = 0,
                type = InputParameterType.TA_Input_Real
            )
            double inReal[],
            MInteger     outBegIdx,
            MInteger     outNBElement,
            @OutputParameterInfo(
                paramName = "outReal",
                flags     = 1,
                type = OutputParameterType.TA_Output_Real
            )
            double outReal[]
) {
    return super.sinh (
        startIdx,
        endIdx,
        inReal,
        outBegIdx,
        outNBElement,
        outReal
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:35,代码来源:CoreAnnotated.java

示例8: log10

import com.tictactec.ta.lib.meta.annotation.InputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "LOG10",
        group = "Math Transform",
        flags = 0,
        nbInput    = 1,
        nbOptInput = 0,
        nbOutput   = 1
)
public RetCode log10(
            int startIdx,
            int endIdx,
            @InputParameterInfo(
                paramName = "inReal",
                flags     = 0,
                type = InputParameterType.TA_Input_Real
            )
            double inReal[],
            MInteger     outBegIdx,
            MInteger     outNBElement,
            @OutputParameterInfo(
                paramName = "outReal",
                flags     = 1,
                type = OutputParameterType.TA_Output_Real
            )
            double outReal[]
) {
    return super.log10 (
        startIdx,
        endIdx,
        inReal,
        outBegIdx,
        outNBElement,
        outReal
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:35,代码来源:CoreAnnotated.java

示例9: sum

import com.tictactec.ta.lib.meta.annotation.InputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "SUM",
        group = "Math Operators",
        flags = 0,
        nbInput    = 1,
        nbOptInput = 1,
        nbOutput   = 1
)
public RetCode sum(
            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.sum (
        startIdx,
        endIdx,
        inReal,
        optInTimePeriod,
        outBegIdx,
        outNBElement,
        outReal
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:53,代码来源:CoreAnnotated.java

示例10: sma

import com.tictactec.ta.lib.meta.annotation.InputParameterType; //导入方法依赖的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

示例11: minIndex

import com.tictactec.ta.lib.meta.annotation.InputParameterType; //导入方法依赖的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

示例12: movingAverage

import com.tictactec.ta.lib.meta.annotation.InputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "MA",
        group = "Overlap Studies",
        flags = 16777216,
        nbInput    = 1,
        nbOptInput = 2,
        nbOutput   = 1
)
public RetCode movingAverage(
            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          = 1,
                    max          = 100000,
                    suggested_start     = 1,
                    suggested_end       = 200,
                    suggested_increment = 1
            )
            int optInTimePeriod,
            @OptInputParameterInfo(
                paramName    = "optInMAType",
                displayName  = "MA Type",
                flags        = 0,
                type    = OptInputParameterType.TA_OptInput_IntegerList,
                dataSet = com.tictactec.ta.lib.meta.annotation.IntegerList.class
            )
            @IntegerList(
                    paramName    = "optInMAType",
                    defaultValue = 0,
                    value  = { 0, 1, 2, 3, 4, 5, 6, 7, 8 },
                    string = { "SMA", "EMA", "WMA", "DEMA", "TEMA", "TRIMA", "KAMA", "MAMA", "T3" }
            )
            MAType optInMAType,
            MInteger     outBegIdx,
            MInteger     outNBElement,
            @OutputParameterInfo(
                paramName = "outReal",
                flags     = 1,
                type = OutputParameterType.TA_Output_Real
            )
            double outReal[]
) {
    return super.movingAverage (
        startIdx,
        endIdx,
        inReal,
        optInTimePeriod,
        optInMAType,
        outBegIdx,
        outNBElement,
        outReal
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:68,代码来源:CoreAnnotated.java

示例13: mama

import com.tictactec.ta.lib.meta.annotation.InputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "MAMA",
        group = "Overlap Studies",
        flags = 150994944,
        nbInput    = 1,
        nbOptInput = 2,
        nbOutput   = 2
)
public RetCode mama(
            int startIdx,
            int endIdx,
            @InputParameterInfo(
                paramName = "inReal",
                flags     = 0,
                type = InputParameterType.TA_Input_Real
            )
            double inReal[],
            @OptInputParameterInfo(
                paramName    = "optInFastLimit",
                displayName  = "Fast Limit",
                flags        = 0,
                type    = OptInputParameterType.TA_OptInput_RealRange,
                dataSet = com.tictactec.ta.lib.meta.annotation.RealRange.class
            )
            @RealRange(
                    paramName    = "optInFastLimit",
                    defaultValue = 0.50000,
                    min          = 0.01000,
                    max          = 0.99000,
                    precision    = 2,
                    suggested_start     = 0.21000,
                    suggested_end       = 0.80000,
                    suggested_increment = 0.01000
            )
            double optInFastLimit,
            @OptInputParameterInfo(
                paramName    = "optInSlowLimit",
                displayName  = "Slow Limit",
                flags        = 0,
                type    = OptInputParameterType.TA_OptInput_RealRange,
                dataSet = com.tictactec.ta.lib.meta.annotation.RealRange.class
            )
            @RealRange(
                    paramName    = "optInSlowLimit",
                    defaultValue = 0.05000,
                    min          = 0.01000,
                    max          = 0.99000,
                    precision    = 2,
                    suggested_start     = 0.01000,
                    suggested_end       = 0.60000,
                    suggested_increment = 0.01000
            )
            double optInSlowLimit,
            MInteger     outBegIdx,
            MInteger     outNBElement,
            @OutputParameterInfo(
                paramName = "outMAMA",
                flags     = 1,
                type = OutputParameterType.TA_Output_Real
            )
            double outMAMA[],
            @OutputParameterInfo(
                paramName = "outFAMA",
                flags     = 4,
                type = OutputParameterType.TA_Output_Real
            )
            double outFAMA[]
) {
    return super.mama (
        startIdx,
        endIdx,
        inReal,
        optInFastLimit,
        optInSlowLimit,
        outBegIdx,
        outNBElement,
        outMAMA,
        outFAMA
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:80,代码来源:CoreAnnotated.java

示例14: t3

import com.tictactec.ta.lib.meta.annotation.InputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "T3",
        group = "Overlap Studies",
        flags = 150994944,
        nbInput    = 1,
        nbOptInput = 2,
        nbOutput   = 1
)
public RetCode t3(
            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    = "optInVFactor",
                displayName  = "Volume Factor",
                flags        = 0,
                type    = OptInputParameterType.TA_OptInput_RealRange,
                dataSet = com.tictactec.ta.lib.meta.annotation.RealRange.class
            )
            @RealRange(
                    paramName    = "optInVFactor",
                    defaultValue = 0.70000,
                    min          = 0.00000,
                    max          = 1.00000,
                    precision    = 2,
                    suggested_start     = 0.01000,
                    suggested_end       = 1.00000,
                    suggested_increment = 0.05000
            )
            double optInVFactor,
            MInteger     outBegIdx,
            MInteger     outNBElement,
            @OutputParameterInfo(
                paramName = "outReal",
                flags     = 1,
                type = OutputParameterType.TA_Output_Real
            )
            double outReal[]
) {
    return super.t3 (
        startIdx,
        endIdx,
        inReal,
        optInTimePeriod,
        optInVFactor,
        outBegIdx,
        outNBElement,
        outReal
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:72,代码来源:CoreAnnotated.java

示例15: roc

import com.tictactec.ta.lib.meta.annotation.InputParameterType; //导入方法依赖的package包/类
@FuncInfo(
        name  = "ROC",
        group = "Momentum Indicators",
        flags = 0,
        nbInput    = 1,
        nbOptInput = 1,
        nbOutput   = 1
)
public RetCode roc(
            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.roc (
        startIdx,
        endIdx,
        inReal,
        optInTimePeriod,
        outBegIdx,
        outNBElement,
        outReal
); }
 
开发者ID:BYVoid,项目名称:TA-Lib,代码行数:53,代码来源:CoreAnnotated.java


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