---
title: "Create and add a TradaraScript"
description: "Open Script Studio, create and compile a study, save it, and add it to a chart."
url: https://help.tradara.com/en/articles/202-create-and-add-a-tradarascript
collection: "TradaraScript"
updated: 2026-11-07
language: en
---

# Create and add a TradaraScript

Open Script Studio, create and compile a study, save it, and add it to a chart.

Create a supported TradaraScript study, check it, save it privately, and add it to a chart.

![Script Studio with a saved RSI Example script, its source code, and a Ready compile status](https://staticfiles.gleap.io/p69f0f67ceb14bff06e87a707/WOkm6SV0EGna34mlOp0yPZi0eNeSpsMpCdpK7HV7318ptdW0RGKws3MxA1qMn5NqC61RpcskIC2.jpg)

### Before you start

Sign in to the Tradara Terminal and open an editable workspace with a Chart widget. TradaraScript studies require a time-based chart.

### Video walkthrough

### Open Script Studio

Select **\\+ Add** > **Add to workspace**, find **Script Studio** under **Account & tools**, and place the widget. Widen it if the compile rail or **Your scripts** list is hidden.

### Create your first study

1.  Select **New script**.
    
2.  Enter a **Name** and optional eight-character **Short name**.
    
3.  Keep **Language** set to \`tradarascript-v1\` and **Type** set to **Study**.
    
4.  Use the starter source or a supported marker such as \`ta.sma\`.
    

### Compile and test

Select **Compile**, wait for **Ready**, and confirm **Detected as** shows the intended family. **Errors** means the request failed or no supported family was detected.

### Save the script

Select **Save script**. Each save creates a new script record in the current UI. Selecting a saved item under **Your scripts** loads its latest source.

### Add the script to a chart

Select the saved script and choose **Add to chart**, or open **Indicators** > **My scripts** on a Chart widget, review its settings, and choose **Add to chart**.

The saved script appears under **Your scripts** and **Indicators** > **My scripts**. A supported chart instance uses the active instrument, mapped time resolution, and predefined family metadata.

### Current script limits

Scripts do not place orders, and **Strategy** does not enable backtesting. Unsaved text cannot be added to a chart. Saving does not update a selected record in place, and the customer UI has no delete, import, sharing, or version-restore control.

### If compile, save, or chart display fails

-   Add source if **Compile** is disabled; add a name if **Save script** is disabled.
    
-   If the wrong family is detected, compile a minimal source with only the intended marker.
    
-   If nothing appears, confirm the script saved successfully, an instrument is selected, and the chart is not in tick or range mode.
    

### Related topics

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