PineScriptCompileResult
Integration guide · Reference index
Public contract reference. This declaration describes types and callback shapes; availability is constrained by the linked integration guide and the runtime capability. Legacy product-specific fields are not a promise of implementation.
analysis
analysis: {
alerts: { conditions: PineAlertConditionMeta[]; hasAlertCalls: boolean };
catalogVersion: string;
compatibility: { usedBuiltins: string[]; unsupportedBuiltins: string[] };
declaration: { kind: "indicator" | "library" | "strategy" | "unknown" };
libraries: {
dependencies: PineLibraryDependencyAnalysis[];
imports: Array<
PineLibraryRequest & {
alias: string;
line: number;
column: number;
endLine: number;
endColumn: number;
}
>;
lock: PineLibraryLockEntry[];
};
plotBudget: {
limit: 64;
used: number;
calls: Array<Record<string, unknown>>;
};
};Use the type signature above and the integration guide for the owning capability.
declaration
declaration: {
behindChart: boolean;
explicitPlotZOrder: boolean;
format: string;
overlay: boolean;
precision: number | null;
scale: string;
title: string;
type: "indicator" | "strategy";
usesViewport: boolean;
};Use the type signature above and the integration guide for the owning capability.
diagnostics
diagnostics: PineScriptDiagnostic[];Use the type signature above and the integration guide for the owning capability.
executorVersion
executorVersion: string;Use the type signature above and the integration guide for the owning capability.
inputs
inputs: Array<Record<string, unknown>>;Use the type signature above and the integration guide for the owning capability.
metaInfo
metaInfo: Record<string, unknown>;Use the type signature above and the integration guide for the owning capability.
plots
plots: Array<{
display: {
dataWindow: boolean;
pane: boolean;
priceScale: boolean;
statusLine: boolean;
};
editable: boolean;
id: string;
join: boolean;
kind: string;
showLast: number | null;
title: string;
zOrder: number;
}>;Use the type signature above and the integration guide for the owning capability.
requiredCapabilities
requiredCapabilities: PineScriptCapability[];Use the type signature above and the integration guide for the owning capability.
sourceHash
sourceHash: string;Use the type signature above and the integration guide for the owning capability.
warnings
warnings: PineScriptDiagnostic[];Use the type signature above and the integration guide for the owning capability.
strategyConfig
strategyConfig?: PineStrategyConfig;Use the type signature above and the integration guide for the owning capability.