📄 ta_def_ui.c
字号:
30, /* defaultValue */ "Number of period", /* hint */ NULL /* helpFile */};const TA_OptInputParameterInfo TA_DEF_UI_TimePeriod_21_MINIMUM2 ={ TA_OptInput_IntegerRange, /* type */ "optInTimePeriod", /* paramName */ 0, /* flags */ "Time Period", /* displayName */ (const void *)&TA_DEF_TimePeriod_Positive_Minimum2, /* dataSet */ 21, /* defaultValue */ "Number of period", /* hint */ NULL /* helpFile */};const TA_OptInputParameterInfo TA_DEF_UI_TimePeriod_14_MINIMUM2 ={ TA_OptInput_IntegerRange, /* type */ "optInTimePeriod", /* paramName */ 0, /* flags */ "Time Period", /* displayName */ (const void *)&TA_DEF_TimePeriod_Positive_Minimum2, /* dataSet */ 14, /* defaultValue */ "Number of period", /* hint */ NULL /* helpFile */};const TA_OptInputParameterInfo TA_DEF_UI_TimePeriod_14_MINIMUM5 ={ TA_OptInput_IntegerRange, /* type */ "optInTimePeriod", /* paramName */ 0, /* flags */ "Time Period", /* displayName */ (const void *)&TA_DEF_TimePeriod_Positive_Minimum5, /* dataSet */ 14, /* defaultValue */ "Number of period", /* hint */ NULL /* helpFile */};const TA_OptInputParameterInfo TA_DEF_UI_TimePeriod_10_MINIMUM2 ={ TA_OptInput_IntegerRange, /* type */ "optInTimePeriod", /* paramName */ 0, /* flags */ "Time Period", /* displayName */ (const void *)&TA_DEF_TimePeriod_Positive_Minimum2, /* dataSet */ 10, /* defaultValue */ "Number of period", /* hint */ NULL /* helpFile */};const TA_OptInputParameterInfo TA_DEF_UI_TimePeriod_5_MINIMUM2 ={ TA_OptInput_IntegerRange, /* type */ "optInTimePeriod", /* paramName */ 0, /* flags */ "Time Period", /* displayName */ (const void *)&TA_DEF_TimePeriod_Positive_Minimum2, /* dataSet */ 5, /* defaultValue */ "Number of period", /* hint */ NULL /* helpFile */};const TA_OptInputParameterInfo TA_DEF_UI_TimePeriod_30 ={ TA_OptInput_IntegerRange, /* type */ "optInTimePeriod", /* paramName */ 0, /* flags */ "Time Period", /* displayName */ (const void *)&TA_DEF_TimePeriod_Positive, /* dataSet */ 30, /* defaultValue */ "Number of period", /* hint */ NULL /* helpFile */};const TA_OptInputParameterInfo TA_DEF_UI_TimePeriod_14 ={ TA_OptInput_IntegerRange, /* type */ "optInTimePeriod", /* paramName */ 0, /* flags */ "Time Period", /* displayName */ (const void *)&TA_DEF_TimePeriod_Positive, /* dataSet */ 14, /* defaultValue */ "Number of period", /* hint */ NULL /* helpFile */};const TA_OptInputParameterInfo TA_DEF_UI_TimePeriod_10 ={ TA_OptInput_IntegerRange, /* type */ "optInTimePeriod", /* paramName */ 0, /* flags */ "Time Period", /* displayName */ (const void *)&TA_DEF_TimePeriod_Positive, /* dataSet */ 10, /* defaultValue */ "Number of period", /* hint */ NULL /* helpFile */};const TA_OptInputParameterInfo TA_DEF_UI_TimePeriod_5 ={ TA_OptInput_IntegerRange, /* type */ "optInTimePeriod", /* paramName */ 0, /* flags */ "Time Period", /* displayName */ (const void *)&TA_DEF_TimePeriod_Positive, /* dataSet */ 5, /* defaultValue */ "Number of period", /* hint */ NULL /* helpFile */};/* Use for the multiplier of standard deviations. */const TA_OptInputParameterInfo TA_DEF_UI_NbDeviation ={ TA_OptInput_RealRange, /* type */ "optInNbDev", /* paramName */ 0, /* flags */ "Deviations", /* displayName */ (const void *)&TA_DEF_NbDeviation, /* dataSet */ 1.0, /* defaultValue */ "Nb of deviations", /* hint */ NULL /* helpFile */};const TA_OptInputParameterInfo TA_DEF_UI_Penetration_30 ={ TA_OptInput_RealRange, /* type */ "optInPenetration", /* paramName */ 0, /* flags */ "Penetration", /* displayName */ (const void *)&TA_DEF_RealPositive, /* dataSet */ 0.3, /* defaultValue */ "Percentage of penetration of a candle within another candle", /* hint */ NULL /* helpFile */};const TA_OptInputParameterInfo TA_DEF_UI_Penetration_50 ={ TA_OptInput_RealRange, /* type */ "optInPenetration", /* paramName */ 0, /* flags */ "Penetration", /* displayName */ (const void *)&TA_DEF_RealPositive, /* dataSet */ 0.5, /* defaultValue */ "Percentage of penetration of a candle within another candle", /* hint */ NULL /* helpFile */};const TA_OptInputParameterInfo TA_DEF_UI_VerticalShift ={ TA_OptInput_RealRange, /* type */ "optInVertShift", /* paramName */ TA_OPTIN_IS_PERCENT, /* flags */ "Vertical Shift", /* displayName */ (const void *)&TA_DEF_VerticalShiftPercent, /* dataSet */ 0, /* defaultValue */ "Positive number shift upwards, negative downwards", /* hint */ NULL /* helpFile */};const TA_OptInputParameterInfo TA_DEF_UI_HorizontalShift ={ TA_OptInput_IntegerRange, /* type */ "optInHorizShift", /* paramName */ 0, /* flags */ "Horizontal Shift", /* displayName */ (const void *)&TA_DEF_HorizontalShiftPeriod, /* dataSet */ 0, /* defaultValue */ "Positive number shift 'n' period to the right, negative shift to the left", /* hint */ NULL /* helpFile */};/* Define the values available for the MA function. * * Many TA function using the MA internally may wish to * re-use this parameter as one of their own. That way a * new MA will provide automatically a new way of calculating * to a multitude of other TA functions. */static const TA_IntegerDataPair TA_MA_TypeDataPair[] ={ {0,"SMA"}, {1,"EMA"}, {2,"WMA"}, {3,"DEMA" }, {4,"TEMA" }, {5,"TRIMA"}, {6,"KAMA" }, {7,"MAMA" }, {8,"T3"} /*{...,"Linear Regression"}*/};const TA_IntegerList TA_MA_TypeList ={ &TA_MA_TypeDataPair[0], sizeof(TA_MA_TypeDataPair)/sizeof(TA_IntegerDataPair)};const TA_OptInputParameterInfo TA_DEF_UI_MA_Method ={ TA_OptInput_IntegerList, /* type */ "optInMAType", /* paramName */ 0, /* flags */ "MA Type", /* displayName */ (const void *)&TA_MA_TypeList, /* dataSet */ 0, /* defaultValue = simple average */ "Type of Moving Average", /* hint */ NULL /* helpFile */};/* When a TA function needs two period (often called * a fast and slow period). */const TA_OptInputParameterInfo TA_DEF_UI_Fast_Period ={ TA_OptInput_IntegerRange, /* type */ "optInFastPeriod", /* paramName */ 0, /* flags */ "Fast Period", /* displayName */ (const void *)&TA_DEF_TimePeriod_Positive_Minimum2, /* dataSet */ 12, /* defaultValue */ "Number of period for the fast MA", /* hint */ NULL /* helpFile */};const TA_OptInputParameterInfo TA_DEF_UI_Slow_Period ={ TA_OptInput_IntegerRange, /* type */ "optInSlowPeriod", /* paramName */ 0, /* flags */ "Slow Period", /* displayName */ (const void *)&TA_DEF_TimePeriod_Positive_Minimum2, /* dataSet */ 26, /* defaultValue */ "Number of period for the slow MA", /* hint */ NULL /* helpFile */};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -