---
title: "Script Studio widget"
description: "Create and run supported custom studies."
url: https://help.tradara.com/en/articles/118-script-studio-widget
collection: "Widgets"
updated: 2026-09-14
language: en
---

# Script Studio widget

Create and run supported custom studies.

Script Studio is the terminal's editor for TradaraScript: you write a study or strategy, compile it, read the compiler's feedback, save it, and hand the saved script to a chart. It exists for calculations the built-in indicator library does not cover. On wide layouts the widget shows a properties bar, a line-numbered source editor, compile status with error details, and a **Your scripts** list. Only one instance can appear in a workspace.

### Script properties

**New script** resets the editor to the starter study. Each script takes a **Name**, an optional **Short name** of up to eight characters, a **Language** — source must be supported by \`tradarascript-v1\` — and a kind of either **Study** or **Strategy**.

### Compiling and reading feedback

**Compile** runs the source and updates the compile rail to **Ready**, **Errors**, or **Idle**. When the compiler recognizes an indicator family, **Detected as** names it. A failed compile lists its errors, so the loop is to fix the source and compile again.

### Saving and reopening

**Save script** becomes available once the script has both a name and non-empty source. **Your scripts** reopens a saved script, loading its latest source and compile result; wait for the editor's loading spinner to clear before editing a script you just selected.

The panel has no delete, import, sharing, version restore, or backtesting controls.

### Add a script to a chart

Select a saved script under **Your scripts**, then **Add to chart** — the widget queues that script for a Chart widget. You can also reach saved scripts from the chart side: open **Indicators** on a Chart widget and choose the script under **My scripts**. Either way the script must be saved; unsaved editor text cannot be added.

### Add it to a workspace

1.  Select **\\+ Add** in an editable workspace.
    
2.  Choose **Script Studio** under **Account & tools**. Its catalog description is **Build & run custom studies**.
    
3.  Add a Chart widget too if you intend to use **Add to chart**.
    

Below the widget's large-screen breakpoint the side rail is hidden, which can conceal **New script**, compile details, and **Your scripts** until you widen the widget.

### Video walkthrough

An instructional video will be added here to illustrate how to properly utilize the Script Studio widget.

### If a control is disabled

-   **Compile** disabled, or **Source code is empty**: the editor needs non-empty source.
    
-   **Save script** disabled: enter both **Name** and source.
    
-   **Add to chart** disabled, or **Save or select a script first**: save the script, or select one under **Your scripts**.
    
-   If scripts or source fail to load, read the displayed error, restore connectivity, and select the script again.
    

### Related topics

-   [Create and add a TradaraScript](https://help.tradara.com/en/articles/202.md)
    
-   [TradaraScript overview and limits](https://help.tradara.com/en/articles/194.md)
    
-   [TradaraScript language and syntax](https://help.tradara.com/en/articles/203.md)
    
-   [Diagnose TradaraScript errors](https://help.tradara.com/en/articles/143.md)
