AI connector
You can connect an app such as Claude, ChatGPT, or Grok to the chart you have open. You ask it in the app. It reads the chart, and it can change the chart, only while you have a session running.
The chart page itself stays signed in. Connecting an app is a separate step.
What you can ask it to do#
- Open a market and read the prices and the indicators already on the chart.
- Add, remove, or change an indicator, including a BullScript™ script.
- Save a script, and choose who can see it.
- Create, edit, and delete alerts.
- Add markets to Watching, and change the order.
- Draw on the chart, and remove a drawing.
- Run a backtest on a strategy you saved.
- Look up a Money Line flip on the markets the scanner covers.
For an alert, create_alert and update_alert can turn a webhook on or off, set its link, and choose email and how often the alert fires. An edit that leaves those out keeps what is saved. get_alert_webhook reads whether a security key exists and how that alert's deliveries are doing. rotate_alert_webhook_key returns the key only when it is created or replaced, and only once. The rules are the same as Alert webhooks. A webhook that turned off after three failed deliveries stays off until Turn back on in the alert dialog succeeds.
A call that names no layout uses the layout open on your chart. If none is open, it uses Default. It does not create a layout unless you ask it to. A layout you named AI is just a layout. Default cannot be deleted.
Undo what it changed#
Everything the app changes on your open chart can be undone with Undo and done again with Redo, the same buttons and keys as your own edits (Ctrl or Cmd+Z, and Ctrl or Cmd+Shift+Z, or Ctrl or Cmd+Y). That covers drawings it adds, edits or deletes, indicators and scripts it adds, removes or changes the settings of, and a market or timeframe it opens on the layout on screen.
- One request to the app can make several changes. Each action it takes is one step, so one Undo takes back that whole action, for example every drawing it placed in one go.
- Your own edits and the app's are on one list, newest first. Undo takes back whichever came last.
- An undo saves like your own, so a reload shows the chart as you left it.
- Switching to another layout, an alert, a script it saved and your watchlist are not undo steps, the same as when you do them yourself. Delete an alert or a script the usual way.
This works on a computer and on a phone, and also after the chart reconnects: changes the app made while the connection was down come back as one step.
What it does not do#
- It does not change your membership, your email, or your sign-in.
- It does not read a private script that is not yours.
- It does not delete a script. You delete a script yourself, from the editor.
- It does not send a webhook. Webhooks are a separate setting on an alert. See Alert webhooks.
Start here#
- Connect Claude, or Connect another app.
- Sessions. The app has to start one before it can change anything.
- Limits.
- The tools list in the sidebar, when you want the exact inputs for one action.
Keys is for an app that asks you to paste a key instead of signing in.