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

[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.

## alertConditions {#alertconditions}

```ts
alertConditions: PineAlertConditionMeta[];
```

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

## descriptor {#descriptor}

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

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

## entityId {#entityid}

```ts
entityId: EntityId;
```

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

## error {#error}

```ts
error: string | null;
```

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

## inputs {#inputs}

```ts
inputs: Record<string, StudyInputValue>;
```

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

## migration {#migration}

```ts
migration: PineStudyMigrationReport | null;
```

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

## overrides {#overrides}

```ts
overrides: Record<string, StudyOverrideValueType>;
```

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

## paneIndex {#paneindex}

```ts
paneIndex: number;
```

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

## status {#status}

```ts
status: "Undefined" | "Loading" | "Completed" | "Error";
```

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

## Related types

- [PineAlertConditionMeta](https://docs.lumencharts.com/charting-library/api/PineAlertConditionMeta)
- [EntityId](https://docs.lumencharts.com/charting-library/api/EntityId)
- [StudyInputValue](https://docs.lumencharts.com/charting-library/api/StudyInputValue)
- [PineStudyMigrationReport](https://docs.lumencharts.com/charting-library/api/PineStudyMigrationReport)
- [StudyOverrideValueType](https://docs.lumencharts.com/charting-library/api/StudyOverrideValueType)

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