17constexpr static const uint32_t DISPLAY_ALL = 65535;
22constexpr static const uint32_t DISPLAY_NONE = 0;
27constexpr static const uint32_t DISPLAY_DATA_WINDOW = 1;
32constexpr static const uint32_t DISPLAY_PANE = 2;
37constexpr static const uint32_t DISPLAY_PINE_SCREENER = 4;
42constexpr static const uint32_t DISPLAY_PRICE_SCALE = 8;
47constexpr static const uint32_t DISPLAY_STATUS_LINE = 16;
54enum class OutputMode {
102enum class ScriptTypeKind {
111enum class Format : int32_t {
122enum class ScaleType : int32_t {
131enum class QuantityType : int32_t {
140enum class CommissionType : int32_t {
149enum class CloseEntriesRule : int32_t {
169enum class SourceType : int64_t {
185enum class TradeSession {
207enum class GraphType {
222enum class HlineStyle {
231enum class XLocation {
249enum class LineStyle {
261enum class HorizontalAlign {
270enum class VerticalAlign {
287enum class FontFamily {
295enum class TextFormatting {
307enum class TablePosition {
322enum class YLocation {
331enum class LabelStyle {
358enum class SeriesGraphType {
396enum class FillAnchorType {
410enum class FillColorType {
461enum class PlotStyle {
480enum class PlotLineStyle {
507struct BackgroundColors;
529struct CandlestickStream;
551struct FilledOrdersIterator;
565struct CGraphIterator;
672struct CSeriesGraphIterator;
688template<
typename T =
void>
708 uint32_t byte_offset;
733struct PineStringRef {
764struct PartialSymbolInfo {
770 const char *currency;
804 const char *(*symbol_info_fn)(
void *context,
805 const uint8_t *symbol,
806 uintptr_t symbol_len,
807 PartialSymbolInfo *out);
820 const uint8_t *symbol,
821 uintptr_t symbol_len,
822 const uint8_t *timeframe,
823 uintptr_t timeframe_len,
830struct CreateInstanceOptions {
834 PineStringRef source;
838 const PineStringRef *path;
842 PineStringRef timeframe;
846 PineStringRef symbol;
850 const uint32_t *background_color;
854 const LastInfo *last_info;
860 const DataProvider *data_provider;
864 OutputMode output_mode;
870struct BarStartEvent {
889struct DrawUpdatePlot {
919 const uint8_t *title;
940 BarStartEvent bar_start;
944 DrawUpdatePlot draw_update_plot;
948 DrawAddPlot draw_add_plot;
958using InstanceEventCallback = void(*)(
const Event *event,
void *user_data);
968using InstanceRunCallback = void(*)(
const Result *result,
void *user_data);
972 bool has_short_title;
973 PineStringRef short_title;
979 bool has_max_bars_back;
980 uintptr_t max_bars_back;
982 PineStringRef timeframe;
984 bool explicit_plot_zorder;
985 uintptr_t max_lines_count;
986 uintptr_t max_labels_count;
987 uintptr_t max_boxes_count;
988 bool has_calc_bars_count;
989 uintptr_t calc_bars_count;
990 uintptr_t max_polylines_count;
991 bool dynamic_requests;
998 bool dynamic_requests;
1002 PineStringRef title;
1003 bool has_short_title;
1004 PineStringRef short_title;
1010 uint32_t pyramiding;
1011 bool calc_on_order_fills;
1012 bool calc_on_every_tick;
1013 bool has_max_bars_back;
1014 uintptr_t max_bars_back;
1015 uint32_t backtest_fill_limits_assumption;
1016 QuantityType default_qty_type;
1017 double default_qty_value;
1018 double initial_capital;
1019 PineStringRef currency_code;
1021 CommissionType commission_type;
1022 double commission_value;
1023 bool process_orders_on_close;
1024 CloseEntriesRule close_entries_rule;
1026 double margin_short;
1027 bool explicit_plot_zorder;
1028 uintptr_t max_lines_count;
1029 uintptr_t max_labels_count;
1030 uintptr_t max_boxes_count;
1031 bool has_calc_bars_count;
1032 uintptr_t calc_bars_count;
1033 double risk_free_rate;
1034 bool use_bar_magnifier;
1035 bool fill_orders_on_standard_ohlc;
1036 uintptr_t max_polylines_count;
1037 bool dynamic_requests;
1043 int64_t default_value;
1045 PineStringRef title;
1047 PineStringRef tooltip;
1049 PineStringRef inline_;
1051 PineStringRef group;
1054 uintptr_t options_length;
1066 double default_value;
1068 PineStringRef title;
1070 PineStringRef tooltip;
1072 PineStringRef inline_;
1074 PineStringRef group;
1078 uintptr_t options_length;
1092 PineStringRef title;
1094 PineStringRef tooltip;
1096 PineStringRef inline_;
1098 PineStringRef group;
1106 uint32_t default_value;
1108 PineStringRef title;
1110 PineStringRef tooltip;
1112 PineStringRef inline_;
1114 PineStringRef group;
1122 PineStringRef default_value;
1124 PineStringRef title;
1126 PineStringRef tooltip;
1128 PineStringRef inline_;
1130 PineStringRef group;
1133 uintptr_t options_length;
1139 double default_value;
1141 PineStringRef title;
1143 PineStringRef tooltip;
1145 PineStringRef inline_;
1147 PineStringRef group;
1155 PineStringRef default_value;
1157 PineStringRef title;
1159 PineStringRef tooltip;
1161 PineStringRef inline_;
1163 PineStringRef group;
1177struct InputTimeFrame {
1179 bool is_chart_default;
1180 TimeFrame default_value;
1182 PineStringRef title;
1184 PineStringRef tooltip;
1186 PineStringRef inline_;
1188 PineStringRef group;
1191 uintptr_t options_length;
1199 PineStringRef title;
1201 PineStringRef tooltip;
1203 PineStringRef inline_;
1205 PineStringRef group;
1213 uintptr_t enum_typeid;
1214 int64_t default_value;
1216 PineStringRef title;
1218 PineStringRef tooltip;
1220 PineStringRef inline_;
1222 PineStringRef group;
1225 uintptr_t options_length;
1229struct InputSession {
1231 PineStringRef default_value;
1233 PineStringRef title;
1235 PineStringRef tooltip;
1237 PineStringRef inline_;
1239 PineStringRef group;
1242 uintptr_t options_length;
1248 int64_t default_value;
1250 PineStringRef title;
1252 PineStringRef tooltip;
1254 PineStringRef inline_;
1256 PineStringRef group;
1262struct InputTextArea {
1264 PineStringRef default_value;
1266 PineStringRef title;
1268 PineStringRef tooltip;
1270 PineStringRef group;
1276struct InputEnumOption {
1278 PineStringRef title;
1318 TradeSession trade_session;
1327struct CandlestickItem {
1331 Candlestick candlestick;
1348 PineStringRef order_id;
1362struct PolylinePoint {
1370struct FillGradient {
1372 double bottom_value;
1394bool resultIsSuccess(
const Result *result);
1399const char *resultErrorMessage(
const Result *result);
1404const Span *resultErrorSpan(
const Result *result);
1411void resultDelete(Result *result);
1433Result *instanceRun(
Instance *instance,
1434 const uint8_t *symbol,
1435 uintptr_t symbol_len,
1436 const uint8_t *timeframe,
1437 uintptr_t timeframe_len,
1439 Option<InstanceEventCallback> event_callback,
1440 InstanceRunCallback callback,
1446void instanceDelete(
Instance *instance);
1450bool scriptInfoOverlay(
const ScriptInfo *script_info);
1452ScriptTypeKind scriptInfoScriptType(
const ScriptInfo *script_info);
1454bool scriptInfoTitle(
const ScriptInfo *script_info, PineStringRef *value);
1456bool scriptInfoIndicator(
const ScriptInfo *script_info, Indicator *out);
1458bool scriptInfoLibrary(
const ScriptInfo *script_info, Library *out);
1460bool scriptInfoStrategy(
const ScriptInfo *script_info, Strategy *out);
1462uintptr_t scriptInfoInputsLength(
const ScriptInfo *script_info);
1464const Input *scriptInfoInput(
const ScriptInfo *script_info, uintptr_t index);
1466bool inputFillInt(
const Input *input, InputInt *out);
1468bool inputFillFloat(
const Input *input, InputFloat *out);
1470bool inputFillBool(
const Input *input, InputBool *out);
1472bool inputFillColor(
const Input *input, InputColor *out);
1474bool inputFillString(
const Input *input, InputString *out);
1476bool inputFillPrice(
const Input *input, InputPrice *out);
1478bool inputFillSymbol(
const Input *input, InputSymbol *out);
1480bool inputFillTimeFrame(
const Input *input, InputTimeFrame *out);
1482bool inputFillSource(
const Input *input, InputSource *out);
1484bool inputFillEnum(
const Input *input, InputEnum *out);
1486bool inputFillSession(
const Input *input, InputSession *out);
1488bool inputFillTime(
const Input *input, InputTime *out);
1490bool inputFillTextArea(
const Input *input, InputTextArea *out);
1492bool inputIntOptionAt(
const Input *input, uintptr_t index, int64_t *out);
1494bool inputFloatOptionAt(
const Input *input, uintptr_t index,
double *out);
1496bool inputStringOptionAt(
const Input *input, uintptr_t index, PineStringRef *value);
1498bool inputTimeFrameOptionAt(
const Input *input, uintptr_t index, PineStringRef *value);
1500bool inputEnumOptionAt(
const Input *input, uintptr_t index, InputEnumOption *out);
1502bool inputSessionOptionAt(
const Input *input, uintptr_t index, PineStringRef *value);
1504uintptr_t scriptInfoAlertConditionsLength(
const ScriptInfo *script_info);
1506bool scriptInfoAlertConditionTitle(
const ScriptInfo *script_info,
1508 PineStringRef *value);
1510bool scriptInfoAlertConditionMessage(
const ScriptInfo *script_info,
1512 PineStringRef *value);
1527 uintptr_t _symbol_len,
1528 const uint8_t *_timeframe,
1529 uintptr_t _timeframe_len,
1530 int64_t _from_time);
1538Result *candlestickStreamPush(
CandlestickStream *stream,
const CandlestickItem *item);
1561uintptr_t chartSeriesLength(
const Chart *chart);
1588CGraphIterator *chartGraphIterator(
const Chart *chart);
1595bool graphIteratorNext(CGraphIterator *iter, int64_t *
id,
const Graph **
graph);
1600void graphIteratorDelete(CGraphIterator *iter);
1605GraphType graphType(
const Graph *g);
1610const Hline *graphHline(
const Graph *g);
1615const Label *graphLabel(
const Graph *g);
1620const Line *graphLine(
const Graph *g);
1625const LineFill *graphLineFill(
const Graph *g);
1630const Polyline *graphPolyline(
const Graph *g);
1635const Table *graphTable(
const Graph *g);
1640const Box *graphBox(
const Graph *g);
1645double hlineValue(
const Hline *h);
1652bool hlineColor(
const Hline *h, uint32_t *color);
1657bool hlineTitle(
const Hline *h, PineStringRef *value);
1662HlineStyle hlineLineStyle(
const Hline *h);
1667int32_t hlineLineWidth(
const Hline *h);
1672bool hlineEditable(
const Hline *h);
1677uint32_t hlineDisplay(
const Hline *h);
1682int64_t lineX1(
const Line *l);
1687double lineY1(
const Line *l);
1692int64_t lineX2(
const Line *l);
1697double lineY2(
const Line *l);
1702XLocation lineXloc(
const Line *l);
1707Extend lineExtend(
const Line *l);
1714bool lineColor(
const Line *l, uint32_t *color);
1719LineStyle lineStyle(
const Line *l);
1724int32_t lineWidth(
const Line *l);
1729bool lineForceOverlay(
const Line *l);
1734int64_t lineFillLine1Id(
const LineFill *lf);
1739int64_t lineFillLine2Id(
const LineFill *lf);
1746bool lineFillColor(
const LineFill *lf, uint32_t *color);
1751uintptr_t polylinePointsLength(
const Polyline *p);
1758bool polylinePoint(
const Polyline *p, uintptr_t idx, PolylinePoint *out);
1763bool polylineCurved(
const Polyline *p);
1768bool polylineClosed(
const Polyline *p);
1775bool polylineLineColor(
const Polyline *p, uint32_t *color);
1782bool polylineFillColor(
const Polyline *p, uint32_t *color);
1787LineStyle polylineLineStyle(
const Polyline *p);
1792int32_t polylineLineWidth(
const Polyline *p);
1797bool polylineForceOverlay(
const Polyline *p);
1802int64_t boxLeft(
const Box *b);
1807double boxTop(
const Box *b);
1812int64_t boxRight(
const Box *b);
1817double boxBottom(
const Box *b);
1824bool boxBorderColor(
const Box *b, uint32_t *color);
1829int32_t boxBorderWidth(
const Box *b);
1834LineStyle boxBorderStyle(
const Box *b);
1839Extend boxExtend(
const Box *b);
1844XLocation boxXloc(
const Box *b);
1851bool boxBackgroundColor(
const Box *b, uint32_t *color);
1856void boxText(
const Box *b, PineStringRef *value);
1861uint32_t boxTextSize(
const Box *b);
1868bool boxTextColor(
const Box *b, uint32_t *color);
1873HorizontalAlign boxTextHalign(
const Box *b);
1878VerticalAlign boxTextValign(
const Box *b);
1883TextWrap boxTextWrap(
const Box *b);
1888FontFamily boxTextFontFamily(
const Box *b);
1893TextFormatting boxTextFormatting(
const Box *b);
1898bool boxForceOverlay(
const Box *b);
1903TablePosition tablePosition(
const Table *t);
1908uintptr_t tableNumColumns(
const Table *t);
1913uintptr_t tableNumRows(
const Table *t);
1920bool tableBackgroundColor(
const Table *t, uint32_t *color);
1927bool tableFrameColor(
const Table *t, uint32_t *color);
1932int32_t tableFrameWidth(
const Table *t);
1939bool tableBorderColor(
const Table *t, uint32_t *color);
1944int32_t tableBorderWidth(
const Table *t);
1949bool tableForceOverlay(
const Table *t);
1954const TableCell *tableCell(
const Table *t, uintptr_t row, uintptr_t col);
1959void tableCellText(
const TableCell *c, PineStringRef *value);
1964float tableCellWidth(
const TableCell *c);
1969float tableCellHeight(
const TableCell *c);
1974bool tableCellTextColor(
const TableCell *c, uint32_t *color);
1979HorizontalAlign tableCellTextHalign(
const TableCell *c);
1984VerticalAlign tableCellTextValign(
const TableCell *c);
1989uint32_t tableCellTextSize(
const TableCell *c);
1994bool tableCellBackgroundColor(
const TableCell *c, uint32_t *color);
1999bool tableCellTooltip(
const TableCell *c, PineStringRef *value);
2004FontFamily tableCellTextFontFamily(
const TableCell *c);
2009TextFormatting tableCellTextFormatting(
const TableCell *c);
2014uintptr_t tableCellColspan(
const TableCell *c);
2019uintptr_t tableCellRowspan(
const TableCell *c);
2024int64_t labelX(
const Label *label);
2029double labelY(
const Label *label);
2034void labelText(
const Label *label, PineStringRef *value);
2039XLocation labelXloc(
const Label *label);
2044YLocation labelYloc(
const Label *label);
2051bool labelColor(
const Label *label, uint32_t *color);
2056LabelStyle labelStyle(
const Label *label);
2063bool labelTextColor(
const Label *label, uint32_t *color);
2068uint32_t labelSize(
const Label *label);
2073HorizontalAlign labelTextAlign(
const Label *label);
2078bool labelTooltip(
const Label *label, PineStringRef *value);
2083FontFamily labelTextFontFamily(
const Label *label);
2088bool labelForceOverlay(
const Label *label);
2093TextFormatting labelTextFormatting(
const Label *label);
2098CSeriesGraphIterator *chartSeriesGraphIterator(
const Chart *chart);
2105bool seriesGraphIteratorNext(CSeriesGraphIterator *iter,
2112void seriesGraphIteratorDelete(CSeriesGraphIterator *iter);
2117SeriesGraphType seriesGraphType(
const SeriesGraph *sg);
2122const Plot *seriesGraphPlot(
const SeriesGraph *sg);
2127const BackgroundColors *seriesGraphBackgroundColors(
const SeriesGraph *sg);
2132int32_t bgcolorsOffset(
const BackgroundColors *bgcolors);
2137bool bgcolorsEditable(
const BackgroundColors *bgcolors);
2144bool bgcolorsShowLast(
const BackgroundColors *bgcolors, uintptr_t *value);
2150bool bgcolorsTitle(
const BackgroundColors *bgcolors, PineStringRef *value);
2155uint32_t bgcolorsDisplay(
const BackgroundColors *bgcolors);
2160bool bgcolorsForceOverlay(
const BackgroundColors *bgcolors);
2167bool bgcolorsColor(
const BackgroundColors *bgcolors, uintptr_t idx, uint32_t *color);
2172const Fill *seriesGraphFill(
const SeriesGraph *sg);
2177FillAnchorType fillFromType(
const Fill *fill);
2184bool fillFromPlotId(
const Fill *fill, int64_t *value);
2191bool fillFromHlineId(
const Fill *fill, int64_t *value);
2196FillAnchorType fillToType(
const Fill *fill);
2203bool fillToPlotId(
const Fill *fill, int64_t *value);
2210bool fillToHlineId(
const Fill *fill, int64_t *value);
2215bool fillTitle(
const Fill *fill, PineStringRef *value);
2220bool fillEditable(
const Fill *fill);
2227bool fillShowLast(
const Fill *fill, uintptr_t *value);
2232bool fillFillGaps(
const Fill *fill);
2237uint32_t fillDisplay(
const Fill *fill);
2244bool fillColorType(
const Fill *fill, uintptr_t idx, FillColorType *value);
2251bool fillColorSolid(
const Fill *fill, uintptr_t idx, uint32_t *value);
2258bool fillColorGradient(
const Fill *fill, uintptr_t idx, FillGradient *value);
2263const PlotArrow *seriesGraphPlotArrow(
const SeriesGraph *sg);
2268bool plotArrowTitle(
const PlotArrow *plot, PineStringRef *value);
2275bool plotArrowValue(
const PlotArrow *plot, uintptr_t idx,
double *value);
2282bool plotArrowUpColor(
const PlotArrow *plot, uintptr_t idx, uint32_t *color);
2289bool plotArrowDownColor(
const PlotArrow *plot, uintptr_t idx, uint32_t *color);
2294int32_t plotArrowOffset(
const PlotArrow *plot);
2299uintptr_t plotArrowMinHeight(
const PlotArrow *plot);
2304uintptr_t plotArrowMaxHeight(
const PlotArrow *plot);
2309bool plotArrowEditable(
const PlotArrow *plot);
2316bool plotArrowShowLast(
const PlotArrow *plot, uintptr_t *value);
2321uint32_t plotArrowDisplay(
const PlotArrow *plot);
2327bool plotArrowFormat(
const PlotArrow *plot, PineStringRef *value);
2334bool plotArrowPrecision(
const PlotArrow *plot, int32_t *value);
2339bool plotArrowForceOverlay(
const PlotArrow *plot);
2344const PlotBar *seriesGraphPlotBar(
const SeriesGraph *sg);
2349bool plotBarTitle(
const PlotBar *plot, PineStringRef *value);
2356bool plotBarValue(
const PlotBar *plot, uintptr_t idx, Bar *value);
2363bool plotBarColor(
const PlotBar *plot, uintptr_t idx, uint32_t *color);
2368bool plotBarEditable(
const PlotBar *plot);
2375bool plotBarShowLast(
const PlotBar *plot, uintptr_t *value);
2380uint32_t plotBarDisplay(
const PlotBar *plot);
2386bool plotBarFormat(
const PlotBar *plot, PineStringRef *value);
2393bool plotBarPrecision(
const PlotBar *plot, int32_t *value);
2398bool plotBarForceOverlay(
const PlotBar *plot);
2403const PlotCandle *seriesGraphPlotCandle(
const SeriesGraph *sg);
2408bool plotCandleTitle(
const PlotCandle *plot, PineStringRef *value);
2415bool plotCandleValue(
const PlotCandle *plot, uintptr_t idx, Bar *value);
2422bool plotCandleColor(
const PlotCandle *plot, uintptr_t idx, uint32_t *color);
2429bool plotCandleWickColor(
const PlotCandle *plot, uintptr_t idx, uint32_t *color);
2436bool plotCandleBorderColor(
const PlotCandle *plot, uintptr_t idx, uint32_t *color);
2441bool plotCandleEditable(
const PlotCandle *plot);
2448bool plotCandleShowLast(
const PlotCandle *plot, uintptr_t *value);
2453uint32_t plotCandleDisplay(
const PlotCandle *plot);
2459bool plotCandleFormat(
const PlotCandle *plot, PineStringRef *value);
2466bool plotCandlePrecision(
const PlotCandle *plot, int32_t *value);
2471bool plotCandleForceOverlay(
const PlotCandle *plot);
2476const PlotChar *seriesGraphPlotChar(
const SeriesGraph *sg);
2481bool plotCharTitle(
const PlotChar *plot, PineStringRef *value);
2488bool plotCharValue(
const PlotChar *plot, uintptr_t idx,
double *value);
2495bool plotCharBoolValue(
const PlotChar *plot, uintptr_t idx,
bool *value);
2500uint32_t plotCharChar(
const PlotChar *plot);
2505Location plotCharLocation(
const PlotChar *plot);
2510bool plotCharColor(
const PlotChar *plot, uintptr_t idx, uint32_t *color);
2515int32_t plotCharOffset(
const PlotChar *plot);
2520bool plotCharText(
const PlotChar *plot, PineStringRef *value);
2525bool plotCharTextColor(
const PlotChar *plot, uintptr_t idx, uint32_t *color);
2530bool plotCharEditable(
const PlotChar *plot);
2535Size plotCharSize(
const PlotChar *plot);
2540bool plotCharShowLast(
const PlotChar *plot, uintptr_t *value);
2545uint32_t plotCharDisplay(
const PlotChar *plot);
2551bool plotCharFormat(
const PlotChar *plot, PineStringRef *value);
2556bool plotCharPrecision(
const PlotChar *plot, int32_t *value);
2561bool plotCharForceOverlay(
const PlotChar *plot);
2566const PlotShape *seriesGraphPlotShape(
const SeriesGraph *sg);
2571bool plotShapeTitle(
const PlotShape *plot, PineStringRef *value);
2578bool plotShapeValue(
const PlotShape *plot, uintptr_t idx,
double *value);
2585bool plotShapeBoolValue(
const PlotShape *plot, uintptr_t idx,
bool *value);
2590Shape plotShapeStyle(
const PlotShape *plot);
2595Location plotShapeLocation(
const PlotShape *plot);
2600bool plotShapeColor(
const PlotShape *plot, uintptr_t idx, uint32_t *color);
2605int32_t plotShapeOffset(
const PlotShape *plot);
2610bool plotShapeText(
const PlotShape *plot, PineStringRef *value);
2615bool plotShapeTextColor(
const PlotShape *plot, uintptr_t idx, uint32_t *color);
2620bool plotShapeEditable(
const PlotShape *plot);
2625Size plotShapeSize(
const PlotShape *plot);
2630bool plotShapeShowLast(
const PlotShape *plot, uintptr_t *value);
2635uint32_t plotShapeDisplay(
const PlotShape *plot);
2641bool plotShapeFormat(
const PlotShape *plot, PineStringRef *value);
2646bool plotShapePrecision(
const PlotShape *plot, int32_t *value);
2651bool plotShapeForceOverlay(
const PlotShape *plot);
2656bool plotTitle(
const Plot *plot, PineStringRef *value);
2663bool plotValue(
const Plot *plot, uintptr_t idx,
double *value);
2670bool plotColor(
const Plot *plot, uintptr_t idx, uint32_t *color);
2675int32_t plotLineWidth(
const Plot *plot);
2680PlotStyle plotStyle(
const Plot *plot);
2685bool plotTrackPrice(
const Plot *plot);
2690double plotHistBase(
const Plot *plot);
2695int32_t plotOffset(
const Plot *plot);
2700bool plotJoin(
const Plot *plot);
2705bool plotEditable(
const Plot *plot);
2712bool plotShowLast(
const Plot *plot, uintptr_t *value);
2717uint32_t plotDisplay(
const Plot *plot);
2722bool plotFormat(
const Plot *plot, PineStringRef *value);
2729bool plotPrecision(
const Plot *plot, int32_t *value);
2734bool plotForceOverlay(
const Plot *plot);
2739PlotLineStyle plotLineStyle(
const Plot *plot);
2749int32_t barcolorsOffset(
const BarColors *barcolors);
2754bool barcolorsEditable(
const BarColors *barcolors);
2761bool barcolorsShowLast(
const BarColors *barcolors, uintptr_t *value);
2766bool barcolorsTitle(
const BarColors *barcolors, PineStringRef *value);
2771uint32_t barcolorsDisplay(
const BarColors *barcolors);
2778bool barcolorsColor(
const BarColors *barcolors, uintptr_t idx, uint32_t *color);
Represents bar-colors settings in a chart.
RAII wrapper around a ffi::CandlestickStream.
Chart data produced by the VM.
Options for creating an Instance.
A single filled order (signal name, price, signed quantity).
Iterator over filled orders (strategy order fills) on a single bar.
Represents a non-series graph in a chart.
Represents a compiled, executable Pine Script instance.
Script metadata (type, overlay, title, inputs, alerts) produced by the VM.
Represents a series graph in a chart.