[ TRADINGVIEW TARGET ]
PINE SCRIPT V6
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.
Structured input
Every generation starts from the wizard specification: indicators, direction, order type, signal timing, fill model, risk containment, sizing, sessions, and timeframe usage.
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.
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.
Refinement
Use the existing refinement workflow to improve code while keeping changes versioned and reviewable. Compile every revised version again in TradingView.