Skip to main content

IndicatorParamSpec

Parameter specification for a UI Builder indicator. Describes a single configurable parameter: its name, data type, default value, and UI metadata.

type IndicatorParamSpec {
name: String!
valueType: String!
defaultValue: String!
label: String!
minValue: Float
maxValue: Float
options: [String!]
}

Fields

IndicatorParamSpec.name ● String! non-null scalar

Parameter key used in the params map (e.g. "period", "fast", "std_dev")

IndicatorParamSpec.valueType ● String! non-null scalar

Value type: "int", "float", "string", or "select"

IndicatorParamSpec.defaultValue ● String! non-null scalar

JSON-encoded default value (e.g. "14", "2.0", ""close"")

IndicatorParamSpec.label ● String! non-null scalar

Short UI label shown next to the input (e.g. "Period", "Fast Period")

IndicatorParamSpec.minValue ● Float scalar

Minimum allowed value for numeric params (int/float); null if not applicable

IndicatorParamSpec.maxValue ● Float scalar

Maximum allowed value for numeric params (int/float); null if not applicable

IndicatorParamSpec.options ● [String!] list scalar

Allowed string values for select-type params (e.g. ["open","high","low","close"]); null if not a select

Member Of

IndicatorSpec object