ScriptInterface
What a caller needs to run the script and read its results. Derived from the code.
object
settingsmap of object · SettingDefShow value fields
typestringAn indicator's settings take their type, bounds and options from its settings dialog.
defaultanyminnumbermaxnumberstepnumberoptionsarray of anyChoices for a select. From an indicator's settings dialog each is {label, value}.
outputsarray of object · OutputDefIndicator only.
Show item fields
idstringnamestringkindstringThe output's declared kind (line, area, baseline, histogram, fill, markers, labels, hline, range, …).
panestringeventsarray of object · EventDefDefinition only. The events it can emit.
Show item fields
idstringintentstringpayload_keysarray of stringresultsarray of objectStudy only. The result blocks it produces.
Show item fields
timeframesarray of string · TimeframeExtra timeframes the script reads besides the run's own.
warmup_barsintegerUsed by#
- POSTCreate a script and its first version
- POSTLint and resolve a script without saving or running it
- GETGet a script (latest version, or slug@N)
- PUTSave a new version
- PATCHRename or describe a script
- GETSearch the scripts the caller can use. No source
- GETDescribe one library script, with its interface and dependencies. No source
