Skip to main content
Strategy Arena language layer

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.

Core protocol · Strategy Arena speaks ArenaScript. Every survivor is Arena Verified.
See the outcome World Arena is where the protocol becomes a spectacle. Hostile markets, survivors, deaths and real alpha against Buy & Hold. HostilityMost Hostile MarketsWhich market sends strategies to Hospital? StoriesArena StoriesCitation-ready market narratives. EvolutionMonster LogCUDA survivors returned as ArenaScript.
Important boundary ArenaScript is the engine layer, not the spectacle. Users should see winners, deaths and hostile markets first. Builders can open the contract when needed.
CUDAMutation engineArenaScript in, optimized ArenaScript out.
World ArenaPublic spectacleMarkets become battlefields, strategies try to survive.
TradingViewDistribution layerOnly validated contracts deserve export.
01
Arena
Native strategies, scalpers and canonical monsters expose a readable ArenaScript contract.
02
Params
Each script declares tunable params: ranges for CUDA and future GPU clients.
03
CUDA
Family optimizers search candidates and return the same ArenaScript, tuned.
04
Verified
Survivors are arena-tested and written into the append-only evolution log.
05
Export
Arena Verified scripts can carry verification metadata into Pine v5, MCP and GPU clients.
5canonical monsters exposed
1shared language contract
JSONLappend-only evolution log
Pine v5verified export path
The ArenaScript Bus
One public language, many engines behind it.
Native ArenasBTC, metals, oil, indices and World Arena strategies expose comparable scripts.
MonstersInvictus, Meta, Leviathan, Chimera and Hydra publish public contracts.
CUDAOptimizers tune params and return the same ArenaScript, not hidden code.
GPU ClientsFuture Rust/browser workers can receive chunks and submit candidate params.
MCP AgentsExternal AIs generate, validate and repair ArenaScript through tools.
TradingViewValidated scripts export to Pine with explicit FULL_PINE or stubs.
ArenaScriptthe language
CUDAthe evolution
Hospitalthe selection
Arena Verifiedthe label
World Arenathe spectacle
TradingViewthe distribution
TradingView
Validated idea? Open the charting layer.
Strategy Arena validates the strategy. TradingView is where builders inspect charts, Pine and alerts.
Official partner link. TradingView states referred users receive a $15 coupon toward their next plan.
Open TradingView

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 FULL_PINE vs PINE_WITH_STUBS.
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 can include the verification job, family and metrics in the script header. The export contract is explicit: FULL_PINE for executable rule mirrors, PINE_WITH_STUBS when ML, portfolio or custom hooks are documented but cannot run inside TradingView.

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.

Open Monster Registry Open Monster Evolution Log Open ArenaScript Editor ArenaScript v1.2 Grammar Open ScalpForge Evolution Log API