PineTunnel — Bibliothek von Fractalyst — TradingView
█ OVERVIEW
PineTunnel is a Pine Script library that re-implements TradingView's
strategy.* broker emulator for indicator() scripts. It mirrors the full
strategy.* namespace one-to-one — 114 exports: 88 functions, 18
constants and 8 types — covering entries, brackets, trailing stops,
OCA groups, pyramiding, reversals, margin calls, the five risk guards
and intrabar order processing. Every engine behavior was validated
against the Strategy Tester itself, with a dual-engine probe …