ArenaScript Protocol
ArenaScript is the shared readable layer for the whole arena: native strategies, canonical monsters, CUDA optimizers, GPU contributors, MCP agents and TradingView exports.
params: ranges for CUDA and future GPU clients.More TradingView paths
Prompt For External AIs
Give this to Grok, Claude, DeepSeek or any MCP-capable assistant when you want it to produce ArenaScript. The assistant does not need Strategy Arena source code.
Connect to Strategy Arena MCP: https://strategyarena.io/mcp/sse Call arenascript_reference first. Then generate an ArenaScript strategy for this idea: [describe the idea]. Call validate_arenascript and correct the script until it is valid. Call backtest_arenascript. If the script deserves more testing, call monte_carlo. If working on an existing monster, call list_arenascript_monsters, optimize_arenascript_monster, then poll get_arenascript_optimization_status. Before export, call inspect_pine_export_capability and read conversion_status: EXACT (FULL_PINE) or PARTIAL (PARTIAL_PINE, unconverted lines listed). Only after validation, call export_to_tradingview. Never ask for Strategy Arena source code or private internals. Never output Python or hidden trading logic. ArenaScript only. Preserve fee/slippage, drawdown and no-financial-advice caveats.
Why It Matters
Before, every arena component could become a special module. That does not scale. ArenaScript gives the platform one public contract for rules, params, optimizer family and verification result.
The native implementation can stay in Python, ML or CUDA. The public surface stays ArenaScript: readable, testable, optimizable and exportable.
True Monsters
invictus exposes the immune risk gate.
meta_intelligence exposes the regime router.
leviathan exposes regime and conviction voting.
chimera exposes pattern veto and confirmation gates.
hydra exposes multi-timeframe confluence.
Systems Also Speak It
nasdaq_scalping optimizes ScalpForge and GPU War templates.
invictus_risk_gate tunes immune thresholds and ATR exits.
edge_fund_allocator tunes portfolio weights and rebalance controls.
ml_gate_threshold tunes ML threshold, RSI ceiling and ATR exits.
Arena Verified
An Arena Verified survivor has passed through the optimizer and the arena verification step. The result is written to data/monster_evolution_log.jsonl with params and metrics.
The Pine export follows the Lab engine semantics (same indicators, same exit order, 0.1% fee per side, no slippage). The export contract is explicit: EXACT / FULL_PINE when every rule is converted, PARTIAL / PARTIAL_PINE with the list of lines the Pine does not execute. The header cites a result only when real evidence is attached (a sealed leaderboard run whose script is identical, or a server-side optimisation job, labelled as such).
Protocol Boundaries
MCP, TradingView, browser GPU and Rust clients are consumers of ArenaScript. They do not need private source access.
The endpoint shape is stable: ArenaScript in, family optimizer, ArenaScript out, verified log event. The public spectacle stays World Arena: hostile markets, survivors, deaths and champions.