Script Editor is a code editor for your own indicators and strategies in TypeScript or Pine Script. Scripts run in your browser on the linked security's daily bars; you can backtest strategies, browse the public script library and publish your own to the Roxom script store.

**Aliases:** `SCRIPT`, `PINE`, `IDE`

  <video autoPlay muted loop playsInline className="w-full" poster="/images/help-center/roxom-pro/clips/edit.jpg" src="/images/help-center/roxom-pro/clips/edit.mp4" aria-label="EDIT walkthrough: typing EDIT to open Script Editor, then using its main controls">

## How to use EDIT

| You type | Result |
|---|---|
| `EDIT` <kbd>ENTER | Opens the script editor. |
| `PINE` <kbd>ENTER | Same (alias). |

**Watch: Writing and backtesting a script**

  <video controls className="w-full aspect-video" src="/images/help-center/roxom-pro/videos/19-scripts.mp4">

## Learn more

See [How to write scripts](/help-center/roxom-pro/tools/scripts).

## Related functions

**GP: Chart**
Price graph

**HP: Historical Prices**
Daily · weekly · monthly OHLCV table · CSV

## FAQ

**What does EDIT do?**

    Write TypeScript indicators & strategies, backtest, library.

**How do I open EDIT?**

    Type `EDIT` on the command line and press ENTER. To open it in a new window, type `+EDIT` or press ⇧ENTER.
