ChartnautDocs

Indicators inside definitions

A definition can read the values of any indicator on every bar. That is how the opening range definition knows whether a break happened above session VWAP, and how a study can measure a move in ATRs. The indicator can be a built-in one, one of your own, or one from the community library.

Let the agent add it

Describe the condition in the definition's own terms and the agent works out which indicator it needs: only mark breaks where the close is above session VWAP. Before it uses one, it asks with a card such as Add VWAP?, naming the indicator.

  1. Check it is the indicator you meant. If you built your own session VWAP, this is where to say so.

  2. Click Approve. The card reads Indicator added and the agent carries on.

To turn it down, click Reject, say what you want instead and click Send reason. The chat waits until you answer: Approve or reject the indicator above to continue.

Screenshot to capture · 4:3 · indicators-inside-definitions-approval
The Add VWAP? indicator approval card
Route/morpheus/flow-builder-v2/<BTC opening range definition id>
FocusThe Indicator proposal card titled Add VWAP? with its slug and the Reject and Approve buttons, in the builder chat
StateDefinition builder chat after asking to only mark breaks above session VWAP; card waiting
Sourceclient/src/components/shared/chat/IndicatorApprovalToolCallRenderer.tsx:57 IndicatorApprovalToolCallRenderer
The agent asking to add VWAP to a definition, with Approve and Reject.

When the indicator you want does not exist yet, build it first, then tell the agent its name.

See what a definition uses

  1. Open the definition from Tools → Definitions.

  2. On the Overview tab, find Script breakdown.

  3. Under Dependencies, each indicator is listed with the name the script calls it by and the version it uses, such as as vwap and v2. Click an indicator's name to open it.

Screenshot to capture · 16:9 · indicators-inside-definitions-dependencies
Script breakdown with Dependencies
Route/morpheus/research?flow_id=<BTC opening range definition id>
FocusThe Script breakdown card with the Dependencies row listing VWAP and ATR, each with its alias and version
StateDefinition that reads VWAP and ATR
Sourceclient/src/routes/authenticated/morpheus/flow-research/FlowDetail/FlowManifestOverviewCard.tsx:229 FlowManifestOverviewCard
A definition's Script breakdown listing VWAP and ATR under Dependencies.

Versions stay fixed

A definition names the exact version of each indicator it reads. Once a definition uses a version of your indicator, editing the indicator starts a new version and leaves that one as it was, so the definition's events do not change under you. To move the definition onto the new version, ask the agent to change the version it reads, then run the new version of the definition over history. See Versions and profiles.

On the chart

When you add a definition to a chart, the wizard's Requires step lists the indicators it brings with it. The indicators it brings count towards your plan's indicators per chart. See Definitions on the chart and Chart limits.

Opening one that uses indicators you do not have

When you open a definition, or anything else, that reads indicators missing from your library, Chartnaut asks first: Add to your library lists what it needs. Click Install and continue and the page opens once they are added. If one of them was not shared with you, the page cannot open; ask the person who shared it to share that indicator too.

To write the indicator calls into a script yourself, see Scripting.