Getting started
Sign in, describe your first indicator, and follow the build from your request to the chart.
The Indicator Lab turns a plain-English description into a TradingView indicator. It writes the Pine Script, checks it on real market data, and draws it on a chart you can keep changing.
Signing in
Open the Lab and use Continue with Discord. The Lab comes with every account, with a monthly number of builds. If it won't let you in, the message says why; see Signing in and access.
The launch deck
- Your indicators (the Yours tab): every saved build, with its number of versions, whether it's Own code or Protected, and when you last edited it. Click a name to open it.
- The composer: type your idea and press the send button beside it, or Enter. That starts a fresh conversation and sends your idea to the Assistant straight away. With the box empty, the button just opens a fresh conversation. While the composer is empty, it types ideas for you to try, one after another. Click or tap it to put the one showing in the box, unsent, or press the Right Arrow key when the box has focus. Once you start typing, the ideas stop. The mic beside the send button lets you speak your idea instead (see the message box under The workspace).
- Continue conversation shows up when you have a conversation going, and takes you back to it.
- Show me around replays a three-step tour. It runs by itself on your first visit.
- Start from Pine brings in a script you already have. See Starting from your own Pine.
Describing an indicator
Say what it should mark, on which market, and when. “Mark the first fair value gap that forms after the 9:30 New York open each day, and shade the RTH session lightly” gets a better build than “FVG indicator”. A new conversation offers four starters: First FVG after the open, Prior day high/low sweeps, NQ / ES SMT divergence and Killzone highs & lows. Click one to send it as-is.
If the Lab needs something from you, it asks one question with a few options. One is marked Recommended. Pick an option, or use Other… to type your own answer. It asks at most two questions in a conversation, then goes with its best assumptions. A first message that doesn't say what to build yet, such as a greeting, “help”, “test” or “I need an indicator”, gets the question “What should the indicator focus on showing?” instead of a build.
Watching the build
A build card tracks four stages: Queued, Draft, Verify and Finish.
| The card says | What it means |
|---|---|
| Waiting for a builder | Your build is queued and starts shortly. |
| Writing the Pine indicator | The code is being drafted. |
| Verifying on market data | The script is compiled and checked on real bars. |
| Repairing the indicator | A check found a problem and the Lab is fixing it. |
| Saving the checked indicator | Last checks, then it's saved to your library. |
| Build complete | It's on the chart and saved to Your indicators. |
| Build stopped | You pressed Stop. The card adds “Your previous version is unchanged.” |
| That build didn't finish | It hit a problem you can retry. Press Try again, or describe the change differently. |
| I couldn't finish this build | It can't be retried as-is. Describe it differently, or simplify the request, and send it again. |
Under the title the card is one quiet line: a label, a thin four-stage bar and the elapsed time. The steps the Lab takes fold behind a Show N steps button. A long build shouldn't look stuck, so the card also talks to you as time passes. If a step goes 45 seconds with nothing new, it adds “Still working on this step. Checking an indicator on market data can take a minute or two.” After 5 minutes it says “This one is taking longer than most, but it is still running. You can keep waiting, continue in the background, or stop it.” None of these notes show while a build is waiting for a builder.
Once the build is accepted you can close the tab or press Continue in background and the build keeps running on our side; the Lab reconnects when you come back. If the build's record is gone by then, the card says “That build record expired or could not be found.” Press Try again.
When it's done
The result lands in the chat and on the chart. The reply can include a short note on how the Lab read your request. It begins “I read this as” and says what the indicator will show and whether it goes on the price chart or in its own pane below. Then “It answers:” gives the question it answers, and Assumptions I made lists what it assumed. If an assumption is wrong, say so in your next message. Below it, the result is a slim card with the version and a Revise button. The verification record folds under Details, but anything short of a clean pass, like “Partially checked”, stays in view. The Lab's own explanation of a result is a short first-person reply, a few sentences without headings or lists.
Starting from the home screen
On the home screen, type your idea under What do you want to build? and press Send or Enter. The build screen opens, your idea is sent as the first message and the build starts, so you don't send it a second time.
The workspace
- Assistant: the conversation. Ask for changes or ask questions here. While a build runs, the chat follows new output only while you're at the bottom. Scroll up to read and it stays put; a round button (animated dots during a build, an arrow after) takes you back down. A message you send always goes to the bottom. The model picker in the message box moves to its own row when the chat pane is narrow, and its menu opens whole inside the window. Beside it, a chip says what you're building, Indicator or Strategy: open it to switch. Switching starts a new conversation, with Undo, and the chip is hidden while a build runs. The mic beside the send button (Dictate) records what you say: tap it again to stop, and the words land in the box for you to edit. Nothing sends on its own, Esc throws the recording away, and a recording stops by itself at two minutes. If your browser blocks the microphone, the Lab says so: allow it in your browser settings and try again. An arrow at the panel's edge collapses the Assistant, and a slim arrow tab opens it again.
- How it works: the indicator's rules in plain language. See Changing a build.
- Chart: your indicator on market data. A new session opens on NQ. While the indicator's settings are open, the mouse wheel scrolls the settings; everywhere else it zooms the chart. Volume bars sit along the bottom behind the candles, with V in the legend for the bar you're hovering. Hide volume in the chart menu, or the Volume switch in its chart settings, turns them off, and the choice is shared with the Backtester. Right-click the chart for the same menu as the Backtester's, on every Lab chart, Replay included: Reset chart view, Copy price and Horizontal line here at the price you clicked, the log or linear price scale, Auto-fit price to bars, Hide volume or Show volume, Clear all drawings (it asks first) and Chart settings…. In chart settings, the chart previews your changes; OK saves them, and Cancel, ✕ or Esc throws them away. A click outside the sheet keeps it open with your changes. The templates include Paper, True black and High contrast. What you save, and the right-click scale and volume choices, are shared with the Backtester, and each picks up the other's changes when you come back to its tab.
On a phone, the tabs switch between them. Above the chart: the indicator's name (click it for settings), an eye to hide it, the market picker and timeframes, with more behind ⋯. The bar at the top adds Replay, Backtest and Finish (Code, Publish) once you have an indicator. The header holds Community, Saved, New indicator, notifications and your usage meter. The left menu (Your indicators, Community, Taking Prophets, Partnered and Docs) is open unless you hide it. On a computer, the square button at the right of the Indicator Lab's name, at the top of the menu, hides it (Hide menu). While it's hidden, the same button sits in the rail just under the logo (Show menu), in the same place in every TP1 tool, and [ does the same. The menu remembers if you hide it.
[TP1]