What is built
A list of the script editor's features and how each one has been checked, so you know what to trust and what to test.
IN THE APP used in the desktop app and working.
ON SCREEN drawn in a browser test page and looked at, not yet in the app window.
TESTED covered by automated tests (838 pass), not yet looked at on a chart.
| Area | State | Notes |
|---|---|---|
| Editor, run, update on chart, save to library | IN THE APP | Autocomplete (Ctrl Space), error lines, examples. |
| plot, hline, fill, bgcolor, shapes | IN THE APP | All plot styles and per-bar colours. |
| Inputs and the settings gear | IN THE APP | Including the timeframe dropdown. |
Higher timeframes (request.security) | IN THE APP | Closed bars only, no repainting. |
| Labels, lines, boxes | ON SCREEN | Extend, styles, bar-time positions. |
| Tables, merged cells | ON SCREEN | All eight positions, alignment, percent sizes. |
| Hover tooltips on labels and cells | ON SCREEN | |
| Arrays, maps, matrices | TESTED | Output goes through plots and labels, which are covered above. |
| Types and methods | TESTED | Stepping a session equals a full run. |
Enums, input.enum | TESTED | The dropdown shows titles; the saved value is the name. |
Libraries and import | TESTED | Including nested imports, private helpers and charts re-running after a save. |
polyline, chart.point | TESTED | Geometry is tested; not yet seen in the app window. |
ta.* skipped on some bars | TESTED | Matches the unconditional value. |
barcolor | TESTED | Not yet seen in the app window. |
plotcandle, plotbar, plotarrow | TESTED | Not yet seen in the app window. |
linefill | TESTED | Not yet seen in the app window. |
| Indicators kept across restarts | TESTED | Store and file tests pass. Restart the app once to confirm it on your machine. |
Not built
request.security_lower_tf and other symbols. Both need data the script engine is not given (finer bars, or a second symbol aligned to the replay), so they stop with a message that says so. strategy() is refused on purpose. See What it will not do.
Checking it yourself
If a script behaves oddly, copy it and its error line. It becomes a test, and the fix keeps working.