GUIDE / 01

[ TRADINGVIEW TARGET ]

PINE SCRIPT V6

FROM STRUCTURED THESIS TO AUDITED CODE. STATIC EVIDENCE FIRST; TRADINGVIEW COMPILATION STILL REQUIRED.
.PINE

EXECUTION NOTE // SPEC-DRIVEN

Tradesium targets TradingView Pine Script v6. Signal confirmation and market-order fill timing are separate choices in the normalized specification; the generator does not impose a blanket close-only execution model.

StepOperationEvidence
[01]

Structured input

Every generation starts from the wizard specification: indicators, direction, order type, signal timing, fill model, risk containment, sizing, sessions, and timeframe usage.

[02]

Deterministic audit

Generated code is checked against general Pine policy and the normalized strategy specification. This produces static evidence; it does not run TradingView's compiler.

[03]

TradingView workflow

Copy the Pine v6 code into the Pine Editor, compile it, add it to a chart, and inspect Strategy Tester behavior against the intended thesis.

[04]

Refinement

Use the existing refinement workflow to improve code while keeping changes versioned and reviewable. Compile every revised version again in TradingView.