A simple SMA crossover strategy is backtested with PineTS over offline bars, then Vela charts the same strategy and paints its order fills as trade markers.
PineTS runs the strategy() script in-process and returns the full broker ledger.
strategy()
← Back to examples