⚙️ Tools & automation

ELDRA × AI Agents for Beginners: From Chatting to Setup, Safety Guards, and Backtesting

Published: 9/26/2026

📢 Author / advertising disclosure: ELDRA is an EA built by this site's owner (Haruki Hosono), and the MCP used in this article is also provided by this site. This is not a neutral, third-party article. The Fintokei, The5ers, and Funded7 links in the body are affiliate links, and buying through them gets you unlimited ELDRA use on that account.

ELDRA has 438 configurable parameters. You don't need to memorize all of them to run it, but plenty of people get stuck simply not knowing where to start.

So we built a system that gives an AI agent access to ELDRA's parameter dictionary and diagnostic tools. This article walks through the steps in order, aimed at people who aren't especially technical, from the first connection all the way up to "right before you run it on a prop firm account."

The overall flow

StepWhat you doRough time
1Set up an AI agent (Claude Code)10 min
2Connect prop-memo's MCP2 min
3Get ELDRA and install it on MT55 min
4Ask the AI whether your strategy can be built in ELDRA5 min
5Add safety guards matched to your prop firm's rules5 min
6Build a .set file and load it into MT55 min
7Verify with a backtest (the AI can run this automatically too)30 min+
8Optimize (decide on the first half, verify on the second half)30 min+
9Confirm behavior on demo → go liveSeveral days

At every step, all you do is "ask in plain language" and "check the results." The AI handles the detailed operations for you.

Getting the terminology straight first

TermMeaning
AI agentAn AI you can talk to that will do research, create files, and even operate other services on your behalf. This article uses Claude Code
MCPA common way for an AI to use external services as "tools." Once you connect prop-memo's MCP, the AI can use ELDRA's parameter dictionary and pricing data
.set fileA file that stores an EA's configuration. It can be "loaded" or "saved" from MT5's EA settings screen
ini fileA set of instructions for launching an MT5 backtest by command, without touching the UI
BacktestRunning an EA against historical charts to see how much it would have won or lost

Step 1: Set up an AI agent

Claude Code is recommended. The reason is that it can run commands on your computer, not just chat. That's what lets you hand off Step 7 — "run the backtest, read the results, adjust the settings" — to the AI.

  • You'll need a paid Claude plan (Pro or above), or an API account
  • Follow the installation instructions on Anthropic's official Claude Code page (on Windows, it's just one line pasted into PowerShell)
  • Once installed, type claude in PowerShell to launch it

💡 A chat-only AI (a chat app that supports MCP) can still get you through Steps 4-6 — "discuss it and build a .set file." Only the automation in Step 7 requires an agent that can run commands.

Step 2: Connect prop-memo's MCP

Once Claude Code is running, just send this exact line:

TEXT
Read https://prop-memo.com/api-docs and connect prop-memo's MCP

The AI will read the connection instructions page and configure it itself. If you're doing it manually, this is the equivalent PowerShell command:

POWERSHELL
claude mcp add --transport http propmemo https://prop-memo.com/mcp

If it says "please restart," just close Claude Code and launch it again with claude.

ELDRA's tools require no sign-up and no API key. Only if you want to hand off your own challenge and payout records to the AI as well do you need to add an API key later (see "API Key" on the connection page).

To check that the connection worked, try asking:

TEXT
What kind of EA is ELDRA? Who is it a good fit for, and who isn't it for?

If you get back an overview of ELDRA along with the fact that the author is this site's owner, the connection is working.

Step 3: Get ELDRA and install it on MT5

Backtesting and demo accounts are free, unlimited use (live accounts get a 3-day trial).

  1. Download ELDRAf.ex5 (or .ex4 for MT4) from the ELDRA overview page
  2. In MT5, go to File → Open Data Folder
  3. Put ELDRAf.ex5 into MQL5\Experts inside the folder that opens
  4. Restart MT5, and ELDRAf will show up under "Expert Advisors" in the Navigator

⚠️ Prop firm accounts are not covered by the free tier, even demo accounts. To run it on a prop firm account, you need to authenticate via one of: purchasing through an affiliate link (Fintokei, The5ers, Funded7), the community, or a one-time purchase on Gogojungle. Backtesting is free in every case, so try working through Step 7 before you buy anything.

Step 4: Ask the AI whether your strategy can be built

ELDRA isn't "an EA that wins automatically once you install it." You decide where to enter; the EA handles exits, lot sizing, and stopping before you hit the disqualification line.

So the first thing to do is put your strategy into words and ask the AI.

TEXT
Can ELDRA build a rule like "buy when RSI drops below 30 and then comes back up"?
I want a 20-pip stop loss and a 40-pip take profit.

The AI searches ELDRA's parameter dictionary for the relevant settings. For this example, you'd get an answer like this:

ParameterSettingMeaning
50-1 RSI Strategy EnabledONUse the RSI condition
50-2 Buy Signal[Reversal] Exit from OversoldBuy when RSI moves back up from oversold territory
50-6 Oversold Level30The "oversold" threshold
50-5 Period14RSI period (left at default)

ELDRA's parameters have numbers like "50-2" attached, and the MT5 settings screen lists them with the same numbers. You can also ask the AI "what is 50-2?" using just the number.

💡 The AI is set up not to claim a feature exists if it's not in the dictionary. If it says "that condition doesn't exist in ELDRA, but here's the closest thing," that's an honest answer. Entering off a signal from an indicator you already have (37. Indicator Entry Settings) can often build the same thing, so it's worth asking about that too.

Step 5: Add safety guards matched to your prop firm's rules

The single most wasteful way to fail on a prop firm account, aside from whether your strategy is any good, is getting disqualified by hitting the max-loss or daily-loss rule. This is the part it makes the most sense to hand off to the AI.

TEXT
Give me a recommended ELDRA setup for Fintokei's ¥20M account (Sapphire).

The AI pulls that plan's max loss (10%) and daily loss (5%) from this site's pricing database and returns a setup like this:

ParameterValueWhy
32-1 Prop Firm TypeFintokeiAutomatically applies the minimum holding time, forced daily-loss close, and 3% risk pool
32-9 Block new entries at 80% of daily DDONStop opening new positions once 80% of the daily loss limit is used
30-1 Account balance targetONClose everything and stop before the disqualification line
30-3 Floor amount18,100,000Stops 0.5% short of the 10% max loss (balance floor at ¥18.1M)
30-4 Judge by equityONMost firms judge based on equity including floating losses
10-1 MartingaleOFFIncreasing lot size after a loss tends to draw scrutiny during review

You'll also get that firm's specific caveats along with it. For Fintokei, that means things like "total risk across all simultaneously open positions is capped at 3% of the initial balance" and "using someone else's EA without adjusting it is prohibited."

⚠️ This is not "a setup that wins." It's "a setup designed to avoid rule violations and disqualification." At firms where the max-loss line moves upward over time (trailing type), you'll need to update the floor amount yourself as it moves.

Step 6: Build a .set file and load it into MT5

Once you have Step 4 (the strategy) and Step 5 (the safety guards) sorted out, have the AI combine them into one file.

TEXT
Combine the RSI condition from before with the Fintokei safety guards
into a .set file, and save it to the desktop as fintokei_rsi.set

How to load it into MT5:

  1. Drag ELDRAf onto a chart to open the settings screen
  2. Click "Load" in the bottom right of the "Inputs" tab
  3. Select the saved .set file and click OK

If you already have a .set file you built yourself, hand it to the AI and ask it to "check this setting for mistakes." It will flag common errors — like "no exit method at all," "a condition set to ON that has no effect," or "martingale with no stop loss" — along with a suggested fix, and hand back a corrected .set file too.

Step 7: Verify with a backtest

Check how the setup you built performs against historical market data. There are two ways to do this.

A. Run it yourself (works with any AI)

In MT5, go to View → Strategy Tester, choose ELDRAf as the expert, pick the instrument, date range, and timeframe, load the .set file under the "Inputs" tab, and click "Start." That's it.

B. Have the AI run it (Claude Code)

TEXT
Run a backtest on XAUUSD M15 from January to December 2025 using
the .set file from before. Tell me the net profit, max drawdown,
and number of trades.

Claude Code handles the following automatically:

  1. Builds an ini file for the backtest
  2. Launches MT5 with that ini file — MT5 closes automatically once the test finishes
  3. Reads the resulting report and summarizes it in plain language
  4. If you ask "widen the stop loss a bit," it adjusts the settings and goes back to step 1

It will ask "is it OK to close MT5?" before running. This is because the tester won't run while MT5 is already open. If you have an MT5 instance actively trading, it's safer to do this on a separate installation (MT5 installed in a different folder).

The most common snag: instrument names

Even for the same gold, the instrument name differs by broker.

Example brokerGold's instrument name
ExnessXAUUSDm
FTMO / The5ersXAUUSD.h, etc.
BrightFundedXAU/USD

If you specify an instrument name that doesn't exist on the account MT5 is currently logged into, the tester ends without doing anything, and no report is produced. The AI looks for the actual instrument name from MT5's folder, but if it can't find one, it will ask you to "tell me the instrument name shown in Market Watch." When that happens, just give it the exact name shown in MT5's Market Watch window.

One more thing: the tester sometimes won't launch on an MT5 instance that has never logged into the account. It's safer to open MT5, log into the account, and open a chart once before closing it, the first time.

Step 8: Optimize by "deciding on the first half, verifying on the second half"

You can also ask the AI to run optimization, automatically sweeping something like the stop-loss distance to find the best-performing value.

TEXT
Optimize the stop loss between 10 and 40 pips in 5-pip increments

But this is where beginners most commonly get tripped up. The value that fit the past best usually misses the future (overfitting). Always follow this procedure:

  1. Split the period into a first half and a second half (e.g. 2023-2024 and 2025)
  2. Optimize and pick a value using only the first half
  3. Keep that value fixed and backtest it on the second half, to check whether performance holds up

Just ask the AI directly: "optimize on 2023-2024 and verify on 2025," and it will run this exact procedure. Discard any value that falls apart in the second half.

Run the final check with the "Every tick" model, which has the highest tick accuracy (just ask "run the final check with every tick").

Step 9: Demo → live

  1. Once you're satisfied with the backtest, run it on a demo account for a few days first and check that entries and exits are happening as expected
  2. Before putting it on a live (prop firm) account, run the final .set file through "check this for mistakes" one more time
  3. Keep the lot size the same during evaluation and after funding (some firms treat trading aggressively during evaluation and then scaling back after funding as grounds for a rules violation or extra payout scrutiny)

Things not to do

Common mistakeWhy it's bad
Using a distributed .set file as-isIf a lot of people are running the same settings, it can look like copy trading. Fintokei prohibits "using someone else's EA without adjustment." Always adjust it yourself first
Asking the AI to "make me a setup that wins"The AI can only build "a setup that correctly implements your strategy" and "a setup that's less likely to get disqualified." If the strategy itself has no edge, no setup will win
Scaling up fast with martingale or a stop-loss-free averaging-down approachThe feature exists, but it tends to lead directly to disqualification or rule violations on prop firms, and even if you stay within the rules, it's a shape that loses over the long run
Taking optimization's best value straight to liveAlways run the "decide on the first half, verify on the second half" process above
Going live without backtestingThe AI's settings can be wrong too. Look at the results with your own eyes before running it

Example prompts you can use as-is

TEXT
Can ELDRA build "buy when price breaks above the London session high"?
TEXT
Give me a safety setup for The5ers' High Stakes $100K. Don't use averaging down.
TEXT
Check this .set (I'll hand you the file) for whether it's set up in a way
that's likely to hit the daily loss limit.
TEXT
Optimize on USDJPY H1 for 2022-2024, verify on 2025.
Try take-profit candidates from 20 to 60 pips in steps of 10. Put the results in a table.
TEXT
Take the current setup, change just the take-profit to 30 pips, and save it as a new .set file.

FAQ

Q. Do I need programming knowledge?

No. All you do is ask in plain language and check the results the AI produces (tables of settings, backtest numbers). The AI handles the commands and file operations.

Q. Does this cost money?

ELDRA's backtesting and demo accounts are free, and prop-memo's MCP is also free with no sign-up required. Using an AI agent (Claude Code) requires either a paid Claude plan or API usage fees. Running ELDRA on a prop firm account requires authentication via an affiliate-link purchase, the community, or a one-time Gogojungle purchase.

Q. Should I just trust the settings the AI builds?

Don't. The AI builds settings based on ELDRA's dictionary and prop firm rules, but it can't judge whether the strategy itself is any good. Always verify with your own eyes via backtesting and a demo account before using it.

Q. Does this work with MT4 too?

The parts where you discuss and build a .set file (Steps 4-6) work the same way with the MT4 version. The feature that has the AI run backtests automatically (Step 7B) is for MT5.

Q. I'm worried the AI will close my MT5 while I'm trading

The AI checks whether it's OK to close MT5 before running a backtest. If you have an MT5 instance actively trading, it's safer to install a separate copy of MT5 dedicated to backtesting.

Q. What if asking the AI doesn't solve my problem?

There's a community of ELDRA users, including a LINE open chat and the CAMPFIRE community "Hosono P's FX Base." Links to both are on the ELDRA overview page.

Summary

  • Connecting an AI agent (Claude Code) to prop-memo's MCP gives you access to ELDRA's dictionary of 438 parameters, setting diagnostics, prop-firm-matched safety guards, and automated backtesting
  • The flow is: connect → install ELDRA → ask whether your strategy can be built → safety guards → .set file → backtest → optimize by checking first half / second half → demo → live
  • The AI can build "a setup that correctly implements your strategy" and "a setup that's less likely to get disqualified." Whether it actually wins comes down to the strategy and the backtest
  • Backtesting is free, so you can go this far before ever buying a challenge

For detailed connection steps, see prop-memo API / MCP. For ELDRA's track record and how to get it, see the ELDRA overview page. For EA rules by prop firm, see Prop firm EA rules compared.

Written by

Hosono P | the prop firm strategist

I buy challenges with my own money and record everything through to the payout. Recorded payouts: ¥6.1M in total from Fintokei, Fundora and Funded7, plus $4,776 from The5ers (as of September 2026). Author of the semi-discretionary EA "ELDRA".

Profile and payout recordX @hosono_p

📚Related articles

⚙️

Can You Use an EA at a Prop Firm? A Deep Dive Into Automated-Trading Rules at All 19 Firms + How to Use ELDRA

A quick-reference table of 19 prop firms' rules on off-the-shelf EAs, self-built EAs, source-code requirements, and tick-scalping restrictions. Covers MT4/MT5 support, a TradeLocker-API Python bot case study, and how to use prop-memo.com's EA Tracker together with the semi-discretionary EA ELDRA.

Tools & automation4/22/2026
⚙️

How to connect multiple prop firm accounts at once in NinjaTrader: running FTMO Futures and FundedNext Futures on a single NinjaTrader [September 2026]

Tradovate-based futures props like FTMO Futures and FundedNext Futures each issue a separate NinjaTrader login per firm. This walks through the exact steps used to connect accounts from multiple firms at once on a single NinjaTrader 8 (turning on Multi-provider in Settings and adding a 'NinjaTrader' connection for each firm).

Tools & automation9/27/2026
⚙️

Running a Python Trading Bot on SuperFunded × TradeLocker in Live Production: The Full MQL-Free Tech Stack

Automated trading is possible even on TradeLocker-based prop firms that don't support MT4/MT5. Using the official Python API (the tradelocker package) plus a serverless Cloud Run Job setup, we're running a bot in live production on a SuperFunded account. Full disclosure of the tech stack, including idempotent design, double-order protection, and running on GCP's free tier.

Tools & automation7/9/2026
🧪

[September 2026] We Calculated BluSky's Expected Value: The 3-Stage Model Favors Propel (30OFF), +$2,988/Year at Zero Edge

We compared the three plans (Launch, Propel, Orbit) at futures prop BluSky Trading using a Monte Carlo simulation run for one year, from evaluation through payout. Verified pricing, reset fees, the Buffer Zone, and payout terms on the official help center and pricing page on September 25, 2026. It's a 3-stage model — Evaluation → Buffer Zone → Sim Funded — and failing the Buffer Zone doesn't send you back to redo the evaluation. At 0.30 lots and zero edge, Propel $50K (code 30OFF brings it to $112/month) is best at +$2,988/year. Orbit's 30-day deadline is a heavy burden, and it comes out negative at zero edge.

Research9/25/2026
🧪

[September 2026] Calculating Bulenox's Expected Value: Every Plan Is Now One-Time Payment. At Zero Edge, End-of-Day Momentum Wins; With an Edge, Qualification Wins

A Monte Carlo comparing futures prop firm Bulenox's $50K plans (Qualification and Momentum, each available in trailing and end-of-day variants) over a full year from evaluation through payouts. Confirmed on the official pricing page, help center, and fee schedule on September 25, 2026. The monthly subscription model is gone — every plan is now a one-time payment. At 0.30 lots and zero edge, Momentum (end-of-day) comes out best at +$2,047/year; with 'medium' edge, Qualification leads at +$25,529. Automated trading is allowed only for self-built tools — commercial or shared tools are banned.

Research9/25/2026
🧪

[September 2026] We Calculated Funded Futures Network (FFN)'s Expected Value: Both Plans Negative at Zero Edge, STEADY Wins With Edge Thanks to Faster Payouts

We compared futures prop firm Funded Futures Network (FFN)'s two plans (Standard MAX and STEADY) with a 1-year Monte Carlo simulation running from evaluation through payout. Pricing, reset fees, buffer requirements, and payout conditions confirmed on the official help center and pricing page on September 25, 2026. At 0.30 lots and zero edge, both are negative: Standard MAX at −$312/year, STEADY at −$516/year. The requirement to build a $2,000 + $500 buffer on the funded account before any payout is the biggest drag. With edge, STEADY pulls ahead since it drops the consistency rule after passing and allows daily payouts.

Research9/25/2026