ChartnautDocs

Examples

Three complete study scripts, from a plain count to a stop and target scan split by direction. Each one runs over the events of a definition example, so run that definition over history first and pin its current version in flows.declare.

#

Example

Shows

1

Event count

flows.declare, scope returning {}, collect and publish, a prose answer, a small table

2

Forward return

A trader setting, ctx.candles.forward({ minutes }), a distribution

3

Stop / target first hit

A scope dimension returned by scope, a stop and target scan, a table indexed by direction

Each publishes every result it declares, with a description and a written answer. Examples 2 and 3 measure what happens after the event, so both can be attached to the chart as a Forward Insight.