Vela, our next-generation charting platform, is live at vela.luxalgo.com.
LuxAlgo

Working the chart

Quant sets up the chart from a prompt, looks at it to check its work, reads exact prices, plots, and trades, measures how often a setup happened, and tries new script settings without new code.

View as Markdown

Quant, our coding agent, works on the chart as well as on code. Ask it to set the chart up and it changes it for you in Vela, our next-generation charting platform. Ask it what the chart shows and it looks before it answers. For an exact number, it reads the chart's data directly instead of estimating it from an image.

Quant works on the active chart unless you name another chart in the layout.

With workspace tabs, Quant's mark shows which chart tab its current run is working on. Switching tabs does not redirect that run's chart changes. Leave its tab open until the run finishes if you want the remaining changes to land.

Set up the chart from a prompt

Name the change in your own words:

  • "Switch this chart to AAPL on the daily."
  • "Show the last three months as a line chart."
  • "Put BTC and SOL side by side on the 4h."
  • "Show MSFT with extended hours."
  • "Log scale, please."
What Quant can changeOptions
SymbolAny market Vela charts: crypto, stocks, ETFs, forex, commodities, and CME futures. See Data.
TimeframeThe presets (1m to 1M) or any custom interval, such as 22m or 3h
Chart typeCandles, Bars, Line, Area, Baseline, Heikin Ashi, Footprint, and TPO. Footprint and TPO need a market with Orderflow.
SessionRegular or extended hours, where the market has a session split (US stocks and futures)
Price scaleRegular, Percent, or Indexed to 100, plus logarithmic and inverted
Visible rangeA preset (1D, 1W, 1M, 3M, 6M, 1Y, 5Y, YTD, All) or exact dates
LayoutSingle, 2 side by side, 2 stacked, the 4- and 8-chart grids, or a custom grid of up to 4 rows by 4 columns. See Layouts.

One request can change several charts at once, as in "BTC on the left, SOL on the right". What stays the same:

  • Your indicators and scripts. A chart change never adds or removes them; everything on the chart stays.
  • Your plan's access. Custom timeframes and CME futures need a paid plan. On Free, Quant explains why the change didn't happen and suggests a preset or an upgrade instead of switching anyway. See Plans.
  • Sync, unless it gets in the way. If you ask for different symbols or timeframes on charts that are synced, Quant turns that sync link off so the change can land, and tells you.

When a request needs both a chart change and code ("backtest this on 4h ETH"), Quant sets the chart up first, so the script runs on the market and timeframe you meant.

Quant looks at the chart

Quant can look at the chart to see what it actually shows: before answering a question about it, to confirm a change landed, and to review how a script it wrote looks.

Ask it anything about the chart in front of you: what a pattern means, where momentum is turning, what would confirm or invalidate a setup. Quant answers from what Vela has (price and volume on any symbol and timeframe, and Orderflow from real trades where the market has it) and searches the web for outside facts that change, such as a prop firm's current rules. Quant analyzes; it doesn't give personal financial advice or promise outcomes.

You can also hand Quant an image yourself:

  • Attach chart screenshot from the + beside the prompt attaches a chart image. With several charts visible, choose Entire layout or Active chart before capture.
  • Capture area for Quant on the left drawing toolbar sends a region you drag, with your message. See From a region on the chart.
  • Paste or upload any image, such as a chart from somewhere else. See From a screenshot.

Read exact chart data

Ask "What was the high of the 9:50 candle?" and the answer comes from the bar itself.

DataWhat Quant gets
Price barsOpen, high, low, close, and volume for recent bars or a window of time you name. A candle that hasn't closed yet is marked as forming.
Plot valuesA script's plotted values, bar by bar
Strategy tradesSide, quantity, entry and exit time and price, and P&L for a strategy's recent trades
Script inputsEvery input a script declares, with its current value
Visible rangeThe dates currently on screen

Times are on the chart's own clock, so "the 9:50 candle" means 9:50 in the time zone your chart shows. Quant reads what the chart has loaded; for an older stretch, name the dates or the session you mean.

  • "What was the high of the 9:50 candle?"
  • "How far did price travel from Monday's low to today's high?"
  • "What did the RSI read at yesterday's close?"
  • "Where did the strategy enter last week, and what did those trades make?"
  • "What are this indicator's settings?"

Ask how often

Ask how often something happened in a market's history, such as "How often does BTC close green after 3 red days?" or "What usually happens after SPY gaps up at the open?", and Quant measures it on that market's history instead of writing a script. Without a market in the question, it uses the chart's symbol.

The answer is a report card in the chat: how often the outcome followed, out of how many cases, with a 95% confidence range, a year-by-year breakdown, and how the first and second halves of the history compare. It says what happened, never the odds for the next session.

A Quant report card for How often does BTC close green after 3 red days: 57% of the time, 226 of 398 days, a 95% range of 52% to 62% against a 52% baseline, bars by year, a stability check, and Save, Turn into an indicator and Open in Reports
A report card in the chat. Save keeps it in Reports.
  • Price action is measured. Candles, gaps, opening ranges, prior highs and lows, streaks, the calendar and a simple moving-average trend, with up to four conditions at once.
  • Indicator setups become a script. A setup built on an indicator, such as an RSI level or a MACD cross, is built as an indicator instead: it marks every time the setup happened and shows how often the outcome followed, with its sample size.
  • Save what you want to keep. Save on the card keeps the report in Reports in the right-hand panel rail, and Open in Reports takes you there. Turn into an indicator puts a request in Quant's prompt to build the setup as a script that marks each occurrence on the chart. In Reports, Delete removes a report; one that ran while older history was still loading also offers Refresh. Reports need a signed-in account.

A report is history, not a forecast: a frequency from the past says nothing certain about the next bar.

The Reports panel with the saved BTCUSD report, its saved date, and Turn into an indicator and Delete
Saved reports in the Reports panel.

Change a script's settings without new code

Ask "Try length 21 on the RSI" or "Set the multiplier to 2.5 and turn the labels off", and Quant changes the script's inputs instead of rewriting its code. The script re-runs with the new values; a strategy's backtest updates with it.

  • It works on any script on the chart: one Quant wrote, your own, a LuxAlgo Library indicator, or a built-in like RSI.
  • Values are checked first against the script's own inputs, including type, options, and min/max. If a value doesn't fit, nothing changes and Quant tells you why.
  • Quant reports what it applied, so you can compare runs.

Use the chat to change a script's logic. Use inputs to change its numbers, from the chat or yourself in the settings gear on the chart legend. For a strategy's simulation settings, such as initial capital, order size, commission, and slippage, use Properties in the same dialog; see Script settings.

To compare settings, ask Quant to try one value, read the result, then try the next. One change per message keeps each result easy to read.

On this page