Skip to main content Crate pine_interpreter Copy item path Source impl_output_traits_delegate Macro to easily implement all output traits by delegating to a base field AlertCondition An alertcondition(...) declaration — a named alert with a message. Builtin A callable builtin together with the arguments it accepts, so semantic
analysis can reject a bad call without running it. Both come from the same
#[derive(BuiltinFunction)], so they cannot drift apart. BuiltinSignature The parameters a builtin accepts, in positional order. Color Represents a color with RGBA components DefaultPineOutput Default implementation of PineOutput that supports all features FillObject Represents a box drawable object
A fill(...) between two plots or hlines. FunctionCallArgs Container for function call arguments including type parameters GlobalContext Chart-wide settings written by global functions like bgcolor/barcolor. Indicator The indicator(...) declaration — a script’s identity and display settings. Input A declared script input (input.int(...), input.source(...), …). Interpreter The interpreter executes a program with a given bar Label Represents a label drawable object LineObject A trend line drawn between two points, (x1, y1)–(x2, y2). LogEntry A log entry with level and message Param One parameter of a builtin. PineBox Plot Represents a plot output Plotarrow Represents a plotarrow output Plotbar Represents a plotbar output Plotcandle Represents a plotcandle output Plotchar Represents a plotchar output Plotshape Represents a plotshape output Series Represents a time series with an identifier and current value SeriesBuffer A capped window of past values, newest first. Table A table overlay: a fixed grid of cells anchored to a chart position. TableCell One cell of a Table . EvaluatedArg Evaluated function argument InputValue The default value of a declared input, preserved with its type so a host can
render the right settings widget. LogLevel Log level Num A Pine number: either an int or a float. ParamType The kind of value a parameter accepts, taken from the builtin’s field type. RuntimeError Value Value types in the interpreter MAX_LOOKBACK The most values any single call site retains. Matches the lookback Pine
allows, and bounds memory when a script asks for an absurd length. AlertConditionOutput Extension trait for recording declared alert conditions. BoxOutput Extension trait for box output FillOutput Extension trait for recording fill(...) areas. GlobalOutput Extension trait for chart-wide globals (bgcolor, barcolor). IndicatorOutput Extension trait for the script’s indicator(...) declaration. InputOutput Extension trait for recording declared inputs LabelOutput Extension trait for label output LibraryLoader Trait for loading external libraries LineOutput Extension trait for line output LogOutput Extension trait for logging output PineOutput Base trait for all output implementations PlotOutput Extension trait for plot-related output TableOutput Extension trait for table output BuiltinFn Type signature for builtin functions (can be function pointers or closures)