Command Reference¶
The HaasScript reference is auto-generated from the HaasScript source code. It covers all available functions and enumerations organized into 6 domains.
| Domain | Description |
|---|---|
| Technical Analysis | Indicators, oscillators, and pattern recognition |
| Trading & Positions | Managed/unmanaged trading, orders, positions, safeties, insurances |
| Data & Prices | Price data, market information, wallets, time |
| Helpers & Utilities | Arrays, math, memory, strings, equations, flow control |
| Constants | Colors, order types, signals, MA types, etc. |
| Advanced Features | Input fields, charting, custom commands, settings |
See the Overview for a high-level guide including the type system, execution model, and common patterns.