OrrnnScript

OrrnnScript (//@orrnn=1) Language Reference

Script Directives

Every script begins with `//@orrnn=1` followed by `indicator(...)`, `strategy(...)`, or `algo(...)`.

Built-in Namespaces

  • `ta.*` (`ema`, `sma`, `rsi`, `atr`, `highest`, `lowest`, `crossover`, `crossunder`)
  • `strategy.*` (`entry`, `exit`, `close`)
  • `order.*` (`place`, `modify_sl`, `cancel`)
  • `account.*` (`balance`, `equity`, `margin_free`)