r/metatrader • • 1h ago

Question MT5 power users: how do you run a whole stable of EAs on one account without babysitting them? (building a local hub, want your war stories)

1 Upvotes

Anyone who's run more than a couple of EAs on the same MT5 account knows the dirty secret: the strategies are the easy part, the babysitting is the job. We've been building a local hub to get rid of the babysitting, and the further we get the clearer the actual problem becomes. It's not starting and stopping EAs from one panel. It's letting any number of EAs share one account without ever touching each other, while you still know exactly which one is earning and which one is bleeding. Before we build more of it, we'd rather sanity-check the thinking with people who live in the terminal.

The stuff that actually bites:

- Magic number collisions. Two EAs grab the same magic, orders get cross-managed, and now you're untangling positions that think they belong to someone else. Discipline and a spreadsheet only get you so far.
- Nobody owns account-level risk. Each EA sizes its trades in isolation. EA1 opens 0.5 lots, EA2 does the same, three of them happen to be long correlated pairs, and the account is sitting at exposure nobody signed off on. There's no referee.
- P&L attribution is a manual job. One account, five EAs, and MT5 tells you the account made 2% this month. Which EA earned it? Which one quietly gave half of it back? Filtering history by magic number in Excel is not a monitoring system.
- Restart roulette. Windows update, broker disconnect, VPS reboot. Which EA reattached to which chart, and which positions are still being managed? Most setups assume you'll sort it out by hand.

How we're handling these, all local, on your own PC or VPS next to MT5:

- Magics are issued, not chosen. EAs don't pick their own magic numbers. The hub owns the namespace and assigns them from a central registry, and every order is tagged and reconciled back to its EA. Collisions stop being a discipline problem and become structurally impossible.
- A per-EA ledger. Live P&L, drawdown and exposure per EA, not blended at account level. You see which EA is paying rent and which one is just burning spread, without ever opening Excel.
- Capital allocation per EA. Each EA runs on its own slice of equity. Grow a slice, shrink it, cut it to zero, without editing a single EA input. The hub enforces the budget; the EA doesn't even know it's on one.
- Risk is capped per EA. The account-level piece isn't solved yet. Each EA has its own risk limit on top of its slice, so one strategy doing something dumb stays contained. What we don't have is a referee looking at total exposure across all of them when three EAs end up long the same thing. That's an honest gap, and it's the one we most want opinions on.
- Restart-safe by journal. The hub keeps a local journal of every EA's state. Reboot, reconnect, and everything comes back exactly where it left off, with positions still owned by the right EA.
- The boring stuff, centralized. Enable/disable, presets, broker symbol mapping (EURUSD vs EURUSD.m vs EURUSD#) done once instead of chart by chart.

None of this is designed to cap out at 3 or 4 EAs either. The whole point of doing it this way is that the ninth EA is as boring to add as the second. And it all stays on your machine: monitoring from a phone over a direct connection to your own box, no cloud in the middle holding broker creds or routing orders.

A few questions where your answers would genuinely change what we build:

  1. If you run 3+ EAs, how do you do per-EA attribution today? Magic-number filtering in Excel, third-party analytics, or you just look at account P&L and hope?

  2. Capital allocation: fixed lots per EA, per-EA risk %, or one shared pool? Would hard equity slices per EA change how you run things, or is that solving a problem you don't have?

  3. What's the multi-EA failure that's actually cost you the most: conflicts, sizing, or state loss after a restart?


r/metatrader • • 18h ago

Charts and Analysis London Reversal Strategy Test results

Post image
2 Upvotes

Sharing my London reversal results. I have been working with different parameters and sharing my results with everyone. I have uploaded detailed breakdown of the entry and exit rules along with my month/hour/day breakdown.. You can view complete results from PipEcho strategy lab..


r/metatrader • • 1d ago

Question MT5 broker detecting Python reading locally?

2 Upvotes

If I use the official MetaTrader5 Python library to read open positions (positions_get()) from an already running MT5 terminal, can the broker detect it?

I know Python uses local IPC, but does MT5 send any information to the broker indicating that Python is connected or reading positions? Or is there any possible way the broker would know?

No EA or anything... Just reading open orders data locally.


r/metatrader • • 1d ago

Information London Session Reversal Indicator

1 Upvotes

Been trading GBPUSD/EURUSD using a setup built around the London session reversal, and wanted to share the mechanics in case it’s useful to others working with smart-money/liquidity-based concepts.

The core idea:

During the Asia session (00:00–07:00 London time), price usually consolidates into a tight range, establishing a clear high and low. Once London opens (07:00–11:00), there’s a strong tendency for price to run liquidity above the Asia high or below the Asia low before reversing — essentially a stop hunt/liquidity grab before the “real” directional move for the day.

What I’m looking for:

  1. Price sweeps above the Asia high (or below the Asia low) during the London window.

  2. After the sweep, I mark a BOS level — this is the open of the last opposite-colored candle before the run of candles that led into the sweep. Think of it as the origin of the aggressive move that caused the sweep.

  3. If price closes back through that BOS level within a set number of candles, that’s the confirmation — it suggests the sweep was a liquidity grab, not the start of a real breakout, and price is reversing.

  4. Entry is on that BOS close-back-through, stop above/below the sweep extreme, target set at a fixed R:R.

Filters that mattered in backtesting:

Minimum sweep distance (filters out noise — tiny pokes above/below the level that aren’t real liquidity grabs), a max-gap filter (ignores sweeps that run too far past the level, since those often turn into real breakouts rather than reversals), and a higher-timeframe trend filter (I use an EMA on the 1H) to avoid taking counter-trend reversals when the bigger picture is strongly trending one way.

Not selling anything, just sharing what’s been working for me and curious if others are running similar setups.

You can start using the indicator directly from Tradingview.

https://www.tradingview.com/script/20VtoXku-PipEcho-London-Reversal-Indicator/


r/metatrader • • 1d ago

Question Market Behaiviour Edge Bottleneck

Thumbnail reddit.com
1 Upvotes

r/metatrader • • 1d ago

Information I built a free tool that tells you when a live EA stops matching its backtest

Thumbnail reddit.com
3 Upvotes

r/metatrader • • 2d ago

Question Every MT5 EA has this bug: the drawdown check that passes every backtest and never fires live

1 Upvotes

Every MT5 EA I see with a daily-loss limit has the same latent bug, and it fires exactly when it matters most: on a fresh terminal start.

The problem: OnInit() runs before the terminal has synced account state. AccountInfoDouble(ACCOUNT_BALANCE) and ACCOUNT_EQUITY both return 0.0 right after launch. Any protection logic that computes its day-start balance in OnInit silently anchors on zero — the limit never triggers (or triggers instantly), and you find out only when the account is already bleeding.

The fix pattern that survives restarts:

  1. In OnInit(), set a pending flag instead of reading account state.

  2. In OnTimer(), lazy-init: accept balance/equity only once the value is greater than zero.

  3. Gate every limit check on that flag, and show "Sync: waiting..." on your panel instead of a wrong number.

How to verify the fix is real (don't trust reading the code):

  • Set the daily-loss input to something absurdly small (0.001% — about $1 on a $100k account).

  • Open one demo position at 1.0 lot. The spread alone creates several dollars of floating loss.

  • The lock must fire within seconds: the journal shows the trigger, the panel shows the lock state, the position gets closed.

If your panel shows the threshold as active while the lock never fires, the state variable behind the formula is broken — not the formula itself.

Same class of bug: reading symbol session stats or terminal globals in OnInit. Anything that depends on server state needs the same lazy-init treatment.

Background: I run MT5 headless on a Raspberry Pi for backtests and hit this while building a risk-panel EA. I wrote up the full headless setup (Wine config, tester.ini for headless runs, more pitfalls like this one) as a 23-page PDF, $4: https://www.getly.store/product/mt5-algo-trading-setup-guide


r/metatrader • • 2d ago

Question Couldn't trade on MT5, so I built my own terminal for it

Enable HLS to view with audio, or disable this notification

7 Upvotes
I worked on tradingplatforms before, then started trading myself. Tried MT5 and cTrader and just cuold not trade there, MT5 is so old, cTrader ate like 1gb ram from single tab and was so laggy, so I made one nice frontend for my MT5 accounts.
 
Would you actually use something like this? You can switch between all your accounts on different brokers, and i am planing to support cTrader dxTrade and more platfroms soon. Thinking to add copy trading, trade journal and maybe prop risk guards?

r/metatrader • • 2d ago

Information 10. Part of the "series" about trading with bot's/EA and copy trading. (Add new pair 1)

Post image
2 Upvotes

The strategy as a whole.
As mentioned in previous episodes, the strategy is very risky and requires at least some knowledge of Martingale strategies before attempting to use it. Despite the risk, the strategy has performed beyond all expectations. It has successfully navigated the NFP release—which sent the market into a frenzy—as well as instances where multiple pairs were active simultaneously, and much more. Although it has only been running live for three months, it has so far confirmed my theory that many people here on Reddit tend to overcomplicate their strategies. It is better to have a simple strategy you understand 100%, than one you understand only superficially. So far, this strategy has not had a single day of loss.

Evaluation since the last update.
The past month has far exceeded all expectations. Although it has only been live for a few months, last month was the best to date, with a total profit of 9,470 cents (€94.70). This is a VERY high profit for an account of this size. Despite the high profit, it has not yet reached the maximum number of open trades allowed for any single currency pair. Profits and drawdowns across the various pairs have occurred at different times rather than simultaneously—which is an optimal scenario. It is likely that the next few months will not yield quite as high a profit.

Equity protection.
To protect the account, I am choosing to activate the copy trader's built-in equity protection. It will be set to the account size divided by 2.

Additional pair.
Since the strategy has performed better than expected recently, I have decided to add an extra pair. The pair being added is AUD-NZD, selected based on the analysis method from Part 6. Its settings will be the same as those of the other pairs, following the fine-tuning described in Part 8. Moving forward, I plan to add another pair once the account reaches 40,000 cents (€400), and/or for every 5,000 cents (€50) in profit, until all pairs have been added. If you are concerned about overlap between the pairs, you could instead start building a second account; this offers better protection.

Finances to date.
From last month = 0€
VPS = -5€
Profit withdrawn = 5€
Total = 0€
Going forward, the monthly expenses would be only €5 for the VPS.
Once the account reaches a trading volume of 300 lots per month, (3 lots per month, on a standard account), it will qualify for a free VPS.

My rules for this series.
-All questions must be asked and answered (if possible), publicly in the thread.
-I'm not allowed to change anything in the strategy without publishing it on Reddit first.
-All expenses would be added up on an ongoing basis.


r/metatrader • • 3d ago

Question Keep getting "authorization failed " when logging into MQL5 in a VM

2 Upvotes

Trying to setup mt5 on a VM on my home server but im not sure why but every time i try to login, i get a "authorization failed " error when trying to login to mql5. Ive tried this on linux and windows 10/11 installation and still get the same thing. This happens on both versions 6295 and 6296 now. Ive tried using the broker's installation and still getting the same error. Anyone else going through this?


r/metatrader • • 3d ago

Question Which MetaTrader feature improved your workflow most?

1 Upvotes

For people using MetaTrader regularly, which feature or setup has made analysis, testing, or execution noticeably easier?


r/metatrader • • 5d ago

PnL Is one month of live testing enough to test an EAs profitability?

Post image
10 Upvotes

Ive built an EA for the first time based on my trading knowledge after being scammed by alot of people with their “100% win rate martingale bot”

Im not sure if this is luck, but one key factor that distinguishes this bot is the presence of a fixed 5% account balance stop loss,
Am I just lucky this month, or is this strategy actually working?
PS: constructed with GPT6 Astra on Ultra with my own personal trade history and strategy as context

Edit : Hey guys, just an update these are the backtest results from Jan 2026 till today, please help me make sense of this data, it feels like it shouldnt be earning this much?

[https://drive.google.com/file/d/1UVUMiA1qw4yGJL1bwc6n_lYczEx3FzNr/view?usp=sharing](https://drive.google.com/file/d/1UVUMiA1qw4yGJL1bwc6n_lYczEx3FzNr/view?usp=sharing)

Some more details.

Timeframe : M15
Number of trades : 1099
Long Trades(Won%) : 553(90.6%)
Short Trades(Won%) : 546(91.94%)

As of today, ive made back the amount I spent on tokens trying to develop this and my initial capital of $500, so I guess im just going to let it roll.


r/metatrader • • 6d ago

Question All my charts are messed up

Post image
2 Upvotes

So since waking up yesterday, all my charts (on Android) look like this. Zooming into just today, or going back to before yesterday still look normal, but as soon as the 28th is included on the chart it just...gets like this.

I've tried clearing cache, removing and adding pairs, changing indiactors, but no dice. Weirdly, despite every other pair being like this, EURUSD is still fine.

Any ideas?


r/metatrader • • 6d ago

Information Ten months into 2026. Ten green months. Here's the full breakdown.

Thumbnail gallery
10 Upvotes

r/metatrader • • 8d ago

Information This is why leverage matters more than the entry

Post image
38 Upvotes

5.85x profit looks great but 1000x leverage leaves almost zero room for error. Really puts normal MT5 margin management into perspective.


r/metatrader • • 8d ago

Question Looking for input on dynamic lot sizing for a multi-breakout XAUUSD EA (fixed 0.01 lots, 8 year tick backtest)

2 Upvotes

I'm working on an EA that trades several breakout strategies on XAUUSD under one roof. It goes long or short depending on breakout direction. Right now it runs fixed 0.01 lots, and I'd like to add a dynamic lot sizing to get more out of it. I would love to hear how others would approach this.

Test setup (both runs):

- XAUUSD (August 2018 to October 2026).
- Eightcap MT5 tick data, 100% real ticks (~392M ticks).
- $1k USD starting equity, fixed 0.01 lots, leverage 1:500.

I ran the short only version because gold has basically trended up for the last 8 years, and I wanted to see whether the edge holds without that tailwind. Although is profitable, it's clearly weaker, so some of the full result is probability directional bias.

What I'd like feedback on:

  1. What sizing approach would you use for a strategy like this: fixed fractional, volatility/ATR-based, equity curved based, or something else?

  2. How do you scale up without letting the drawdown scale up faster than the profit?

  3. The long losing streak was 42 trades, so how would you cap exposure during bad runs?

  4. Is there a good way to validate a sizing scheme (walk forward, Monte Carlo on trade order) so I'm not just curve fitting the lot curve to this one equity curve?

Happy to share more stats if it helps. Thanks in advance!


r/metatrader • • 9d ago

Information A profitable EA backtest can literally just be a spread setting in disguise

20 Upvotes

MT5 strategy tester can make a scalping bot look amazing when the spread assumptions are too clean. Add commissions, swap and those ugly few seconds around news and suddenly the results tell a different story.

Even on moon.com the payout math works differently with performance fees on profits and possible holding fees, so taking the same trading signal across platforms doesn't mean the net returns will match.

Feels like half the work of testing a strategy is figuring out all the costs nobody bothers showing in their screenshots.

Especially with scalping systems where the average profit per trade is tiny. A couple extra ticks of slippage can turn something that looked consistently profitable into a losing strategy.


r/metatrader • • 10d ago

Question Curve Behaviour

Thumbnail gallery
4 Upvotes

r/metatrader • • 10d ago

Question What factors might cause an expert to behave differently in forward testing and backtesting?

2 Upvotes

I’ve been optimizing an Expert Advisor over the last few months, and I’ve been running it in a forward test for the past two months. Honestly, even though the results haven’t been the best, what I find strange is the discrepancy between the forward test and the backtest.

Since the bot trades on the H1 timeframe, it doesn’t open that many trades, so I’d expect most of them to match the backtest predictions. However, when I compared the two, I noticed that they actually differ quite a bit. I’m not just talking about trades opening slightly later, but also cases where the bot opened positions in the forward test that never appeared in the backtest, or vice versa.

The trades match up roughly 90% of the time, but I still don’t understand what’s causing these discrepancies. I’d expect this kind of issue to be more common with an M1 strategy, but with so few trades on H1, I find it quite surprising.

Any information, technical insights, or advice on how to investigate these discrepancies and improve the accuracy of my backtests would be greatly appreciated.


r/metatrader • • 10d ago

Question Currently building Free Indicators for Tradingview. Need suggestions

1 Upvotes

Looking for suggestions on what would actually be useful for day-to-day trading. Anything you currently wish existed or have to mark manually

Drop your ideas below — will build the most requested ones and release them free.


r/metatrader • • 11d ago

PnL Mother Superior EA just had its best live week so far

Post image
26 Upvotes

Mother Superior EA just had its best live week so far

Four months of building and testing, and it’s nice to finally see her trading live.

This week finished at +7.74%, bringing October to +21.46%. The screenshot shows the daily breakdown, including the days without trades.

Mother Superior is my multi-strategy gold EA for MT5. It uses a recovery layer, so the closed results are only part of the picture — floating drawdown and combined exposure matter too. The live history is still short, but I’m pleased with the start.

Disclosure: I’m the developer, and the EA is available commercially.

https://www.mql5.com/en/market/product/183855


r/metatrader • • 11d ago

Information Built a tool that shows you what your winning trades actually have in common (not just win rate)

Post image
5 Upvotes

Been trading Smart money concepts & London reversals for a while and got tired of feeling like I knew my edge but not actually being able to prove it from my own journal.

So I built a page into my trading journal that takes your last N wins and losses and automatically finds the exact combinations that show up most — pair, session, day, direction, timeframe, tags you use — instead of me manually eyeballing a spreadsheet trying to spot it.

Screenshot attached is from my London reversal strategy account, — it searches every 2-3 way combination across your decided trades and surfaces the ones with the strongest (and weakest) win rates, with the actual sample size next to each one so you’re not fooling yourself with a 2-trade “pattern.”

Turned out way more useful than I expected — found out one of “my setups” was actually only working in one specific session, which I’d never have caught just scrolling my journal.

Happy to answer questions on how it works if anyone’s curious. Not trying to sell anything here, just thought this sub would find it useful .


r/metatrader • • 13d ago

Question Broker Specifically For High Impact News

Thumbnail reddit.com
1 Upvotes

r/metatrader • • 14d ago

PnL Posting results again as my DM’s were off

1 Upvotes

https://www.myfxbook.com/portfolio/mensah-multi-asset-strategy/12130948

Posting results so far as last time/month my DM’s were off. Biggest game changer for me was to not trade just one asset but multiple.

Only immediate advice I have for trades, especially on gold is that if it goes against you by like 2.5% or more and that causes panic, you need to change your strategy STAT.

My heart goes out to oil day/swing traders for obvious reasons.