<!-- Public documentation export; not library implementation source. -->
# PineScriptCompileResult

[Integration guide](https://docs.lumencharts.com/charting-library/reference/compatibility) · [Reference index](https://docs.lumencharts.com/charting-library/api/)

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}

```ts
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}

```ts
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}

```ts
diagnostics: PineScriptDiagnostic[];
```

Use the type signature above and the integration guide for the owning capability.

## executorVersion {#executorversion}

```ts
executorVersion: string;
```

Use the type signature above and the integration guide for the owning capability.

## inputs {#inputs}

```ts
inputs: Array<Record<string, unknown>>;
```

Use the type signature above and the integration guide for the owning capability.

## metaInfo {#metainfo}

```ts
metaInfo: Record<string, unknown>;
```

Use the type signature above and the integration guide for the owning capability.

## plots {#plots}

```ts
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}

```ts
requiredCapabilities: PineScriptCapability[];
```

Use the type signature above and the integration guide for the owning capability.

## sourceHash {#sourcehash}

```ts
sourceHash: string;
```

Use the type signature above and the integration guide for the owning capability.

## warnings {#warnings}

```ts
warnings: PineScriptDiagnostic[];
```

Use the type signature above and the integration guide for the owning capability.

## strategyConfig {#strategyconfig}

```ts
strategyConfig?: PineStrategyConfig;
```

Use the type signature above and the integration guide for the owning capability.

## Related types

- [PineAlertConditionMeta](https://docs.lumencharts.com/charting-library/api/PineAlertConditionMeta)
- [PineLibraryDependencyAnalysis](https://docs.lumencharts.com/charting-library/api/PineLibraryDependencyAnalysis)
- [PineLibraryRequest](https://docs.lumencharts.com/charting-library/api/PineLibraryRequest)
- [PineLibraryLockEntry](https://docs.lumencharts.com/charting-library/api/PineLibraryLockEntry)
- [PineScriptDiagnostic](https://docs.lumencharts.com/charting-library/api/PineScriptDiagnostic)
- [PineScriptCapability](https://docs.lumencharts.com/charting-library/api/PineScriptCapability)
- [PineStrategyConfig](https://docs.lumencharts.com/charting-library/api/PineStrategyConfig)

---
Documentation page: https://docs.lumencharts.com/charting-library/api/PineScriptCompileResult
