r/metatrader • u/ajey_kori • 1d ago
PnL Metareader Dreams
Let's see 😉
r/metatrader • u/LethalInjection745 • 1d ago
I have been coding all my life so as soon as I got good I knew automating as much as possible was what I'd be doing for my own trading but I do remember having a lot of "but there's no way that can be automated" moments.
I know some people it's purely an irrational fear that they lose control over the most important decision - less interested in those as their participation in the conversation will be similar.
I'm more so asking the people who may have a "my strategy is too complex to automate / impractical / too much discretion". What is that part? Also the people who think their strategy may be too costly to transfer etc.
TLDR: if you were to consider your current setup right now what is the main thing you would want automated and if none why not?
r/metatrader • u/HobbyTraderDK • 1d ago
Evaluation since the last update.
Since hitting the equity protection level in Episode 11, things are now back on track. I have decided to increase the gearing to 0.45. At the same time, I have set a maximum daily loss of 15,000 x 0.45 = 6,750. This serves as an additional safety net designed to prevent future losses from spiraling out of control.
The copy trading tool.
If anyone would like to give it a try, it can be tested for free on demo accounts for up to 14 days. It is freely available on MQL5. I have no affiliation with the people behind it; it is simply a tool that I personally enjoy using.
Plans for the new year.
The plan for the new year is to keep this challenge running as it is. In the new year, a new EA—specializing in XAU/USD—will also be added on a new account. An EA that I helped develop and for which I devised the strategy. It will utilize copy trading and is based on the daily price action of XAU/USD, subsequently transitioning into a martingale strategy. This account/challenge will start with €100 in a cent account (10,000 cents).
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.
-I would ensure that the equity protector threshold does not exceed the equivalent of one month's profit.
-I would instruct the bot to close trades as soon as they reach a profit, provided the trade has been open for more than 12 hours.
r/metatrader • u/AlgoTraderTools • 1d ago
There are two symbol properties that decide whether your SL/TP survives the jump from the Strategy Tester to a live account, and almost nobody checks them before going live:
SYMBOL_TRADE_STOPS_LEVEL — minimum distance (in points) between the current price and any pending SL/TP/pending order price.SYMBOL_TRADE_FREEZE_LEVEL — a zone around existing orders/SL/TP where modifications and deletions are rejected.Why the tester hides them: most demo environments and many brokers report stops_level = 0 and freeze_level = 0, so every order goes through no matter how close it sits to the market. Your EA therefore builds a pattern — trailing stops 2 points behind price, TP hugging the fill price — that has never been validated against a real constraint. On the live broker those properties are often 20-100+ points, and that's when the classic errors appear:
retcode 10016 (invalid stops) on OrderSend — your SL/TP is inside the stops level.OrderModify is rejected while price is within the freeze level, and your EA treats that as "no change needed" instead of an error.Three things worth doing before any live deployment:
stops_level > 0, compute the actual minimum offset your strategy needs (stops level + spread + a small buffer) instead of assuming points.OrderSend/OrderModify rejections as data, not noise. Log retcode, stops level and freeze level together — after two weeks of logs you know the real per-symbol constraints, not the marketing numbers.The general pattern: backtests validate your logic against price data, but the execution envelope (stops level, freeze level, margin rate, deviation) only exists on the live side. If your edge is small enough that a 30-point stop level matters, that's not a broker problem — that's information about your strategy's margin of error.
r/metatrader • u/Inkfen-Sable3894 • 2d ago
Not every review needs a full spreadsheet. A cleaner summary inside MT5 would make checking completed positions a lot less tedious.
r/metatrader • u/RawEdge-io • 2d ago
r/metatrader • u/akila104 • 2d ago
r/metatrader • u/AlgoTraderTools • 3d ago
The optimizer is the most-used and least-read part of the Strategy Tester. The typical workflow stops at: pick a criterion, run, sort by the top number, take row one. That row is a description of your history, not a property of the strategy - and MT5 already ships the tool that separates the two, in the Forward field of the optimization settings.
What the forward split actually does
Set Forward to 1/3 (or a custom date) in the optimization settings. The optimizer now tunes on the first part of your date range and silently re-tests every candidate it tried on the last part - data the fitness function never optimized against. After the run each candidate has two scores: the in-sample score it was selected on, and a forward score on data it never saw.
How I read the table
Custom criterion, two lines
The criterion dropdown also offers "Custom max". Implement OnTester() and define the score yourself - for example profit factor penalized by drawdown, or anything that refuses to reward a single lucky streak. It changes which candidates the optimizer calls "best", and it stops flattering strategies that made all their money in one week.
Honest limits
How do you split your ranges - fixed calendar boundaries, or rolling windows? And is anyone actually using the custom criterion in a production workflow, or is it one of those checkboxes nobody touches?
r/metatrader • u/KaiDoesReddles • 3d ago
r/metatrader • u/WTAPS_ME • 4d ago
Hey everyone,
I have been skeptical about the backtest result from EA where most devs has optimized on exactly that same history and the only way is to forward test it on a live market with a demo account.
So I built this EA tool to
This EA is on MQL5 market and open source.
Feel free to check out the code or poke holes in the approach here.
MQL5 listing link is in README
r/metatrader • u/Aggressive_Listen849 • 4d ago
I almost fooled myself with this one so figured I'd share.
Wrote a simple Donchian breakout EA in MT5 for EURUSD H1. Tested it on 2023 first because that's the data I had handy, and it came back +$273 with about 3% drawdown. Honestly I was already thinking about putting it on a demo.
Then I ran the exact same file from 2021 to the start of 2024. Nothing changed except the dates. It lost $357 and the drawdown went to almost 14%.
The part that actually bugged me is how few trades there were. The good year was 18 trades. Eighteen. A profit factor of 1.24 on 18 trades doesn't tell you anything, it's basically a coin that landed heads a few more times. Over three years it took 54 trades and that's where the real picture showed up.
I only tested one pair and one timeframe, and the tester was on 1 minute OHLC, not real ticks, so I don't want to read too much into either number. Maybe 2023 was just the lucky year.
How long do you guys run a backtest before you trust it? I've been using 3 years as my default but for something that only trades 50-60 times a year I'm not sure that's enough either.
r/metatrader • u/AlgoTraderTools • 5d ago
The Strategy Tester makes you choose a tick generation mode, and switching between "Every tick", "1 minute OHLC", "Open prices only" and "Every tick based on real ticks" silently changes fill logic, SL/TP behavior and spread modeling. What actually differs, and cheap checks that tell you whether your strategy depends on it.
What the modes actually change
Cheap self-checks, no new tooling needed
Practical notes
Curious what others default to for FX majors vs. exotics - on thin symbols I find the mode choice matters more than most parameter tuning.
r/metatrader • u/LogPuzzleheaded4521 • 5d ago
Hi guys was wondering if when or how to decide if I should reenter a trade for edple I go short and hits my to, what if it keeps going down and continously closing below? How do you decide if it's a good risk to still go as it can go back up
r/metatrader • u/cryptogoldenwolf • 6d ago
r/metatrader • u/ForexTrendExpert • 8d ago
r/metatrader • u/Typical-Particular-6 • 7d ago
r/metatrader • u/AdFabulous401 • 7d ago
My setup for a while MT5 on a VPS runs a trailing stop EA on gold and GBPJPY on my PU Prime account, and I do my own entries from the desktop terminal. During the day I only have MT5 mobile on the phone.
Both see the same account, so I assumed whatever I do on the phone sticks. That is not always true.
Two things caught me:
What I changed:
Still not solved.
Global variables can't be set from MT5 mobile. Who run EAs on a VPS and manage from the phone, how do you tell the EA "hands off" without opening the terminal?
r/metatrader • u/AlgoTraderTools • 8d ago
An EA that prints clean equity curves on one broker can behave like a different strategy the same week you point it at another one. Most of the time that is not "the market changed" - it is the symbol specification, and MT5 will not warn you about any of it.
The checklist I run before trusting an EA on a second broker:
The diagnostic that ties it together: run the same EA over the identical date window on both brokers and diff the trade lists - entry/exit timestamps, direction, volume. Every systematic cluster of differences should map to one of the items above. A difference you cannot explain with a spec is real risk, not noise.
And one uncomfortable corollary: backtests from two brokers are never directly comparable anyway (different tick data, different spread history). "It made X on broker A" is a statement about broker A's tick history, not about the strategy.
How do you handle portability - one .set file per broker, or code that reads the specs at runtime and adapts?
r/metatrader • u/LogPuzzleheaded4521 • 9d ago
Today gold had what I think a liquidity sweep around 3550? Where the wick was close to nothing but buyers came out in top so I went for a 2 shorts 0.01 each but I only set a TP because I was sure sooner or later it will go back down, but it shot up to the point Mt5 kicked me out of said lots due to losing too much money or so to my understanding, would setting a SL stopped this? As I was right an hour and half later it shit back down to a low point like yesterday, balance was 53 and after getting kicked out I was at 27.9 so too little to buy another 0.01 lot so had to put in another 50
Or simply because I lost too marge margin to afford keeping both 0.01 lots open so I got closed
r/metatrader • u/MuncherOfPaintChips • 9d ago
Im trying to find an alternative to TV and was wondering how Mt5 is. Im looking for something that has a good user interface on both mobile and PC. Was thinking about downloading the app but wanted to make sure it's decent before giving them all my info. I've noticed that apps like Vela and ProRealTime have terrible auto-zoom features on mobile that you have to fight with constantly to view that part of the chart you want, and was hoping to find a charting site where you can turn that setting off, like TV.
r/metatrader • u/LeonardoCiaccio • 10d ago
r/metatrader • u/Parking_Lunch_3864 • 10d ago
r/metatrader • u/AlgoTraderTools • 11d ago
Every EA with a session filter is quietly betting that "8:00" means the same thing to your broker's server as it does to you. It usually doesn't, and MT5 will not warn you.
Three clocks are in play, and only one is visible in the terminal:
Most forex brokers run server time at GMT+2 or GMT+3 so the daily candle closes at 5pm New York. But that is a convention, not a rule, and the trap has three layers:
Two-minute broker check:
What I do instead of hardcoding:
The nasty part: the tester runs on the same server-time convention as live, so a wrong offset backtests "fine" - the equity curve cannot warn you, because you never tested the hours you thought you were testing.
How do you handle this - fixed offset input per broker, or auto-detection at runtime?
r/metatrader • u/Key-Plane-4940 • 11d ago
Hey guys, I've been trading for over 20 years, since the GFC, and I've been involved in building FXAthena, a web-based trading platform that connects directly to MT5.
Too many traders get into trading thinking it's easy, only to blow account after account. We wanted to build something that focuses on the trading process, not just finding trades.
That's the thinking behind FXAthena. It brings the entire workflow together: Analyse, Plan, Execute, Manage and Review. And at the centre of that process is risk management. Because staying in the game is just as important as finding the next trade.
Trading is a boring process that needs to be perfected. Consistency comes from getting the process right and repeating it.
Connect your MT5 terminal through our EA, and FXAthena pulls your account and market data into one workspace.
You get:
I'm also regularly in the chatroom covering the markets — FX, equities, bonds, macro and what's driving price action.