Reference

Examples

Find complete tested strategy and rule examples with explicit expected outcomes.

Choose a small example that matches the capability you want to investigate. Each guide explains prerequisites, source, expected behavior, and limitations.

ExamplePurpose
First SJS strategyStandalone crossover entry and exit
Registered indicator entryValidate a calculator before requesting an entry
Duplicate-order guardsTrace an explicit one-attempt policy
Session-aware strategyRestrict entry hours while retaining exits
Stateful exitTrack position identity and a close-based watermark
Pine to SJSConsume recent numeric signals on the correct frame
SQX examplesComplete non-transmitting time and average rules
L3 oversightDeterministic request quantity checks
Policy quickstartReusable L3 policy wiring

Older snippets here mixed unsupported SQX expressions, multiline rules, and unverified primitive behavior. Use the linked complete guides rather than treating those earlier recipes as executable strategies.

Start in a historical experiment with one instrument and one action owner. Then compare a change and review launch configuration.