REVDEN AI Desk · Setup
Your AI gets every symbol with its REVDEN state as the basis, and you talk the setup through right next to the chart. The AI Desk runs on your own API key. You connect your AI once: one key in MT5, two allowed addresses, one model. Your key stays in your terminal.
Which way fits you?
OpenRouterStandard wayFor most traders: one account, one place to manage it, models from Anthropic, OpenAI, Google and others.
Set up with OpenRouter › Anthropic directlyFor traders who already have a Claude Console account. If you want to try other models on purpose, take OpenRouter.
Set up with Anthropic ›Two views in one panel
The switch at the top of the panel takes you between both views, whenever you like. On its first start the desk opens on Market.
For every trader
Runs from the first start, before you connect anything. Four blocks show where the market stands right now:
With your own API key
Here you talk your symbols through with your own AI, right next to the chart. The AI Desk works only with an API key from your AI provider. Until your AI is connected, this view shows the invitation with the button Set up AI, and it leads to this page.
Connect your AI
Pick the way that fits you. Both end at the same green line in the panel.
One account for many models. You can switch models later in the panel and keep the same key.
For traders who already run a Claude Console account. The desk talks to Anthropic directly.
Sign up at openrouter.ai and open Credits. OpenRouter runs on prepaid credits: what you load is what your AI can spend. You top up by hand or set an automatic top-up.
Open Keys and create a key. Name it REVDEN AI Desk and set a credit limit, as OpenRouter recommends for every key. Then copy the key, it starts with sk-or-.
Press F7 on the chart with the desk. In the group AI connection, set AiProvider to OpenRouter and paste your key into AiApiKey with Ctrl+V. Confirm with OK.
AiBaseUrl stays empty. It is only for Azure OpenAI and a custom endpoint.
In MT5: Tools › Options › Expert Advisors › Allow WebRequest for listed URL
Tick the box and add both lines. The first carries your AI, the second the REVDEN data for your symbols.
The panel notices the change by itself within 30 s.
Open the desk's settings with the gear at the top right and go to AI. Under Model, pick one from the list, for example Anthropic: Claude Sonnet 5.5.
The desk checks the connection right after your choice. The dot turns green with Connected to OpenRouter.
Connected
The setup in the panel continues with your symbols. After that, the switch at the top takes you between Market and AI Desk.
Sign in at platform.claude.com or create an account. On the Billing page, click Buy credits. The Claude API runs on prepaid credits, and auto-reload is there if you want it.
platform.claude.com/settings/billing ↗
With a Claude Max or Team plan, Anthropic adds monthly API credits. You claim them on claude.ai under Settings › Billing by linking your Console organization. Anthropic help ↗
Open API keys, click Create key and name it REVDEN AI Desk. The Console shows the full key once, at creation. It starts with sk-ant-.
Press F7 on the chart with the desk. In the group AI connection, set AiProvider to Anthropic and paste your key into AiApiKey with Ctrl+V. Confirm with OK.
AiBaseUrl stays empty. It is only for Azure OpenAI and a custom endpoint.
In MT5: Tools › Options › Expert Advisors › Allow WebRequest for listed URL
Tick the box and add both lines. The first carries your AI, the second the REVDEN data for your symbols.
The panel notices the change by itself within 30 s.
Open the desk's settings with the gear at the top right and go to AI. The model list marks Claude Sonnet 5.5 as recommended. Thinking depth runs from Low to Very high, Medium is preset.
The desk checks the connection after each model change. The dot turns green with Connected to Anthropic.
Connected
The setup in the panel continues with your symbols. After that, the switch at the top takes you between Market and AI Desk.
Will this run up a bill?
You pay your AI provider directly, under your own account. Two ceilings sit between the desk and your balance, and you set both.
In the desk
Before each AI call the desk adds today's spend to the estimate for this call. Once the budget is reached, new AI calls wait until 00:00, and open positions keep their stops and targets. You change the amount under Settings › AI.
At your provider
At OpenRouter, the credit limit from step 2 caps what this one key can spend. At Anthropic, you can give the workspace of your key its own spend limit in the Console.
Where does my key go?
Three destinations, each with its own share. Your key travels only to your AI provider.
It lives in the EA inputs on your chart and goes with each call to your provider. The desk saves model and thinking depth in a file of its own, and your key stays out of it.
The request of each call: your rulebook, the REVDEN context, prices and your positions, an account summary without account number, the latest journal lines and your notes. It runs under your own contract with the provider.
Your build token, a random terminal ID and your symbol list. With that, revden.io sends the REVDEN data for exactly those symbols.
If something is off
Each line below appears like this in the desk. Next to it: what it means and what to do.
The key is missing. Press F7 on the chart and paste it into AiApiKey, as in step 3.
Your provider refuses the key. Copy it again in full and paste it into AiApiKey.
MT5 still holds the address back. Add it as in step 4. The panel notices the change within 30 s; if the line stays, restart the EA.
On OpenRouter you choose the model yourself. Pick one as in step 5.
Your provider has no model under this name. Choose another one under Settings › AI.
The panel tries again by itself every 30 s. If it stays like this, check this terminal's internet connection.
The text after the code comes from your provider. At OpenRouter and at Anthropic, 402 stands for credits or billing: top up your balance there.
Your own ceiling from the desk. Open positions keep their stops and targets. Raise the amount under Settings › AI, or the desk carries on at 00:00.