Skip to main content
ATK Pine Script®

Quick Start

Get oriented with ATK PyneScript V6 in under two minutes — the three core patterns for indicators, strategies, and visuals.

Quick Start#

Use this section to get oriented in under two minutes. The full runnable starter scripts live in the starter examples.

Indicators — Compute first, render second#

Define inputs, compute every derived series in build_indicator_frame, then render with static plot declarations or a render-only build_visuals.

Strategies — Keep trade mapping thin#

Put signal generation and canonical trade-frame fields in build_signal_frame. Keep build_trade_frame limited to normalization.

Visuals — Choose the right payload shape#

Use visual_* columns for row-aligned visuals and frame.attrs only for static object payloads like tables, zones, or profiles.