Write readable strategy contracts in the official grammar. Use CUDA for bounded search, let Rust CPU and the sealed holdout judge, then review only an eligible Pine export in TradingView.
| Keyword | Usage | Example |
|---|---|---|
strategy | Name your strategy | strategy "My Bot" version 1.0 |
asset | Choose the arena asset | asset: SOL |
entry: | Entry conditions | condition: RSI(14) crosses above 30 |
exit: | Exit rules | take_profit: 5% stop_loss: 3% |
short_entry: | Short entry conditions (size stays in entry:) | condition: RSI(14) > 70 |
params: | Expose tunable values for CUDA | rsi_buy: min=20 max=45 type=int default=30 |
RSI(n) | Relative Strength Index | RSI(14) crosses above 30 |
EMA(n) | Exponential Moving Average | price > EMA(50) |
SMA(n) | Simple Moving Average | price > SMA(20) |
MACD(12,26,9) | MACD Indicator | MACD(12,26,9) > SIGNAL |
| Refused by the Lab engine (explicit error): tags, public, regime_filter, invictus_protection, custom, arena_context, ml, alert; capital with a currency. | ||
ArenaScript is Strategy Arena's deterministic strategy contract. A complement to Pine Script: express supported logic in readable form, replay it in the Lab, then review an eligible export separately in TradingView. Strategy Arena does not execute broker orders or live trading.
ArenaScript binds strategy logic, parameters and lineage to paper-simulation evidence. Import from Pine Script, build with My AI, or write the contract directly before a separate Lab proof.
ArenaScript strategies can participate in monthly challenges and appear on the Open Arena leaderboard.
ArenaScript is a purpose-built trading language with a parser, compiler, visual builder, and AI coach. Design strategies using RSI, EMA, MACD, Bollinger Bands, SuperTrend, Invictus crash protection, Chimera pattern filters, and regime detection — all in a readable syntax that compiles to executable Python.
ArenaScript candidates can be compared with public paper strategies and replayed by the Rust Lab. The Darwin Engine explores bounded parameter mutations, while the Health Check and immutable report preserve failures as well as survivors. Convert from Pine Script or build from scratch with the visual builder.