Input Fields

Input

Creates a script input field. The type is depending on the default value. It can be a number, text or boolean (checkbox) field. Without default value, it will be a text field.

  • Input(label, [ defaultValue ], [ tooltip ], [ group ])

Returns the input value.

Return Type: Dynamic

InputAccount

Creates an account selection field.

  • InputAccount(label, [ tooltip ], [ group ])

Return the selected account guid.

Return Type: String

InputAccountMarket

Creates an account, market & leverage dropdown.

  • InputAccountMarket(label, [ tooltip ], [ group ])

Returns a combined string. For example 9c9aaf1f-469b-4eea-bca3-df61db37c549BITFINEX_BTC_USD.

Return Type: String

InputCdlTypes

Creates a dropdown with available Candlestick Pattern (CDL) types. Can be used in combination with CDL().

  • InputCdlTypes(label, defaultValue, [ tooltip ], [ group ])

Returns the selected CDL type as enum. For example ThreeCrowsType.

Return Type: Enum

InputConstant

Creates a dropdown with available constant in the category of the defaultValue. If for example SignalLong is set as default, all the signal constants will be available in the dropdown.

  • InputConstant(label, defaultValue, [ tooltip ], [ group ])

Returns the selected constant type as constant.

Return Type: Enum

InputGroupHeader

Creates a group header, separating input sets.

  • InputGroupHeader(label)

Return Type: Void

InputInterval

Creates an interval dropdown.

  • InputInterval(label, [ defaultValue ], [ tooltip ], [ group ])

Returns the selected interval in minutes.

Return Type: Number

InputLrTypes

Creates a dropdown with the available LR types.

  • InputLrTypes(label, [ defaultValue ], [ tooltip ], [ group ])

Returns the selected LR type as enum.

Return Type: Enum

InputMarket

Creates a market dropdown. The market options are related to the main account selection.

  • InputMarket(label, [ defaultValue ], [ tooltip ], [ group ])

Returns the selected market. For example BITMEX_XBT_USD_XBTUSD.

Return Type: String

InputMaTypes

Creates a dropdown with available MA types. Can be used in combination with a variety of technical indicators like BBANDS() or PPO().

  • InputMaTypes(label, defaultValue, [ tooltip ], [ group ])

Returns the selected ma type as constant.

Return Type: Enum

InputOptions

Creates a dropdown with custom options.

  • InputOptions(label, defaultValue, options, [ tooltip ], [ group ])

Returns the selected value as string.

Return Type: String

InputOrderType

Creates a dropdown with the default available order types.

  • InputOrderType(label, [ defaultValue ], [ tooltip ], [ group ])

Returns the selected order type as enum.

Return Type: Enum

InputPriceSource

Creates a price source dropdown.

  • InputPriceSource(label, [ defaultValue ], [ tooltip ], [ group ])

Returns the selected price source as string. For example BITSTAMP.

Return Type: String

InputPriceSourceMarket

Creates a price source & market dropdown.

  • InputPriceSourceMarket(label, [ defaultValue ], [ tooltip ], [ type ], [ group ])

Returns the selected market as string. For example BITSTAMPBTC_USD.

Return Type: String

InputSignalManagement

Creates multiple dropdown options for signal management and mapping.

  • InputSignalManagement(label, signal, [ tooltip ], [ group ])

Returns the baked signal based on settings.

Return Type: Enum

InputSignalTypes

Creates a dropdown with available Signal Types. Can be used in combination with GetSuperSignal().

  • InputSignalTypes(label, defaultValue, [ tooltip ], [ group ])

Returns the selected signal type enum.

Return Type: Enum

InputTable

Creates a dynamic input table.

  • InputTable(options, columns)

Returns the tables values per row. [[1,2,3,4], [5,6,7,8], [9,0,1,2]].

Return Type: Dynamic

InputTableColumn

Creates an table column options object for InputTable()

  • InputTableColumn(name, [ values[] ])

Returns the options objects.

Return Type: Dynamic

InputTableOptions

Creates an options object for InputTable().

  • InputTableOptions([ title ], [ rows ], [ maxRows ], [ group ])

Returns the options objects.

Return Type: Dynamic

Last updated