What you can do
- Open Script Studio, compile a study, save it, and add it to a chart.
- Use built-in indicator families with
input.*values the terminal already understands. - Ask the TradaraScript assistant to draft source or translate Pine, then compile before you save.
- Check composed expressions, function signatures, types, and bounded history references against the compiler manifest.
- Run composed
ta.*studies on a chart when you save them astradarascript-v2. - Use indented
if/else, constant boundedfor, and chart-renderedplotshapeoutput in v2. - Create persistent labels and boxes with
label.newandbox.new. - Build v2 signal strategies with
strategy.signal_long,strategy.signal_short, andstrategy.signal_flat. Signals appear as chart markers and publish for downstream consumers. They never place orders.
What you cannot do yet
- Treat v1
ta.*as a callable library. On v1,ta.smaselects the SMA family. - Place orders from a script. Strategies emit signals; they do not call the broker.
- Use dynamic loops,
while,request.securityagainst another symbol, or strategy order APIs.
How a script reaches the chart
Studies and strategies
Choose Study for scripts that draw withplot() or plotshape(). A study
cannot call strategy.*.
Choose Strategy for v2 scripts that describe entry and exit conditions. A
strategy must emit at least one open signal with strategy.signal_long() or
strategy.signal_short(), plus a close signal with strategy.signal_flat().

