Minimal study that compiles
New scripts default to the v2 runtime:1
Open Script Studio
Click the code icon in the right utility rail. Script Studio opens as a
dock beside the rail.
2
Compile
Click Compile. The Compile panel should show Ready and a detected family such as
sma.3
Save
Enter a Name, then Save script. Saving stores the source even if compile failed; a failed version has no runnable bundle.
4
Add to chart
Click Add to chart on a saved script. The chart must be on a bar resolution (not tick/range-only). The study appears as an indicator subscription.
Compile statuses
Script Studio shows error strings from the service. It does not underline lines in the editor.
If compile fails
Start from the SMA template above. A bareplot(close) fails. See What compiles and the compile error script must reference a supported ta.* primitive or builtin_indicator("...").

