2–3 consecutive losses, 4–5 consecutive losses, 6 or more consecutive losses, The number does not matter. I stop when my drawdown limit is reached, I keep trading as long as the signals meet my system’s rules, I have no fixed rule. I decide based on the situation
Title: MQL5.community authorization failed (401) on fresh MT5 installation – same account works on VPS Hello everyone, I'm experiencing a problem logging into my MQL5.community account through MetaTrader 5 on my Windows 10 laptop. The problem: Whenever I open MT5, I receive the following errors in
I recently canceled a VPS subscription and the refund was credited to my MQL5 account balance, not back to my credit card. My current account balance is not enough to purchase the new EA that I want. I also cannot withdraw the balance because it is below the minimum withdrawal amount. My question
Hello. I created a demo account directly through MT5. My account number is 5058044466. It keeps showing "No connection" and when I try logging in, it says "Authorization failed". I have recovered my password but still cannot access the original account. Could you please help me recover access
I subscribed to the signal via MQL5 today, but this message is appearing in my Infinox MetaTrader. Signal '87958161': signal copying for 'XAUUSD+' is prohibited by your broker I subscribed to your Vantage signal, which uses the same symbol as Infinox: XAUUSD+
Please route this question to the MetaQuotes-Demo market-history/time-semantics owner. We need a provider-confirmed mapping for EURUSD, UTC calendar year 2026, using MetaTrader 5 terminal build 6286, Python MetaTrader5 5.0.6231, Windows cpython-314, and the native Python terminal connection. The
MetaQuotes has launched new MQL5.community information channels on Facebook, X.com (Twitter), and Telegram. These channels provide daily publications of relevant technical materials from the MQL5.com Articles and CodeBase sections. They are designed to promptly update developers on algorithmic
Hello everyone, I am working on automating a short-term XAUUSD system on M3/M1, and the problem I am dealing with is not really “how to find a signal”, but rather how to classify and manage the trade after the signal appears. The signal itself often catches a real move. In tick/backtest analysis
Build 6294: WebRequest() and TLS sockets fail on every HTTPS host that requires SNI (1009 / 5203, 5272) Since build 6294, WebRequest() fails for every HTTPS host that requires SNI (Server Name Indication), while hosts that serve their certificate without SNI still work. The same EA and the same
So the developers of MetaQuotes Software Corp. are getting ready to prepare Metatrader 6 to replace the 5-th version that will be 5 years old on June 1 of this year . The developers need ideas what the new version should contain that would be really useful for speculators and traders. Accordingly
Hello, I have a free MT4 utility currently published as "MNFM Manual Entry" (product ID 206492). I want the platform-specific titles to be "MNFM Manual Entry MT4" and "MNFM Manual Entry MT5". I understand that a published product title cannot be edited. I created an MT5 draft with the requested
Hello, Please confirm the historical timestamp and trading-session rules for EURUSD and USDJPY on MetaQuotes-Demo from September 1 through November 4, 2026. Our Python export uses MetaTrader5 package 5.0.6231 and terminal build 6296. For both pairs, we found one-tick, flat M15 and H1 bars at raw
Could MetaQuotes clarify the rounding/normalization stages used by the MT5 Python order_calc_profit function, or identify the appropriate official technical-reporting channel? Environment observed: terminal build 6300, MetaTrader5 Python 5.0.6231; DEMO, USD account with 2 currency decimals; XAUUSDm
Shinigami ask me to put my latest indicators and templates.. so if you are new for reading this thread, please use this indy and template because this is what i use now after download this zip file, just go to page number....... (i forgot, sorry ) the rule is using h1 1. if 2 SMMA WEIGHTED CLOSE...
Good day dear forum members. After reading the forum a bit, I came across several threads on arbitrage and pair trading . Judging by the threads, some are interested and some are trying it. I used to dabble in this topic a long time ago, but my knowledge was not enough. Now I am a complete mess in
We run a small MT5 stack with a 1 % daily loss cap. It had been in place for months and we trusted it. Replaying our own history, a day where every stop gaps at its instrument’s 99th percentile reaches 13.84 % of equity . Not 1 %. The cause is simple once you see it: the limit counts the stop, not
Hello traders, I have been working on algorithmic strategies for XAUUSD (M15 timeframe), and one of the biggest challenges I face is controlling drawdown while maintaining solid profitability. In your experience: - What risk management techniques work best for gold? - Do you prefer fixed lot or
Modifying A Good Trading Strategy Prematurely. Strategies will often go through a losing period but the issue comes down to knowing when a change has occurred. Many traders will try to tweak indicators, add filters or change entry rules after a few losing trades. This can cause overfitting of your
How do you measure the real impact of economic news on an EA? I've been researching how automated trading systems behave around economic releases, and I've noticed that simply classifying events as Low, Medium or High impact doesn't tell the whole story. Two High-impact events can produce completely
Over the years, I’ve tested and observed many Expert Advisors, especially on XAUUSD. And there’s something that keeps repeating itself again and again. Most EAs that show amazing backtests on gold rely on some form of martingale or grid logic. At first glance, everything looks perfect: high win
I was testing a daily loss lock in the Strategy Tester (100,000 account, 5% daily limit = 5,000, lock set at 90% of the limit). With "1 minute OHLC" the lock fired late: the day closed at 105% of the limit. With "Every tick based on real ticks" it locked at 90.0% (−4,501), exactly as designed. The
Hi everyone, I’m working on an automated interpretation of a trendline trading approach in MQL5 and would appreciate technical feedback on how to validate its behavior in the MT5 Strategy Tester . The strategy inspiration comes from Tori Trades’ video, “Once you master this strategy, trading becomes
Has anyone actually used an EA for passing their prop firm challenge and maintaining their prop firm accounts over a long period of time? If so, do you have proof? Trade history on myfxbook, for example? Thanks
Hi all, Recently i tried to optimize a strategy, i choose the fast genetic optimization since the number of passes where high. I used the system resources and also the MQL5 cloud network at the same time. Local optimization is working fine, but the cloud optimization is failing. In the Journal the
Hello everyone, I wanted to share some lessons learned about parameter optimization, hoping to get your feedback and maybe some ideas to improve. 1. Walk- forward optimization beats simple single-period optimization. A strategy that looks great on one year of history often breaks on the next six
Please somebody help me with this. I know that this is a simple and basic ,maybe even stupid question to ask ,but it still give me a headache. Anyway , here it is: What is a tipical(average,expected whatever you want to call it) spread on XAUUSD preferably on ECN type accounts. Of course ,i know it
I'm trying to figure out if I can have a list of all my trades for the same utensils separate rather than one bulk position in the tool box/terminal box. Is this even possible? Thanks
Hi, I have recently started learning MQL5 language and all the tutorials are only focused on Forex market. I have been trading Futures contracts(manually) with <Deleted>. So, my question is If i keep learning Mql5 language, will I be able to develop EA for Futures market(with <Deleted>)? Thank you
What is your Preffered Syle of trading? Swing Day Or Scalping? What EA would you prefer for developers to make you assuming All of the work and are profitable
Inspired by comments and reviews received from MQL5.community members, we have added a new forum section called "Trading stocks, futures, options and other exchange instruments". Share your ideas and trading experience with the website visitors. Reach out to MetaTrader 5 developers if you have...
I used to use metatrader4 when I was messing with Forex, but I have funds that I'd like to use out of my stock porfolio to trade one particuarl stock which goes up and down $1-2/day pretty much all the time. I'd like to set metatrader up to say, sell at a certain price, then buy at $2.00 lower, then
Dear all, I am trying to import historical data (M1) to MT5 from my Tradestation account. I have export the data in csv format and below there are some rows as example: "Date","Time","Open","High","Low","Close","TotalVolume" 1/2/2008,03:01:00,3841.00,3842.25,3840.25,3841.75,184
If BTC/USD has support at $68,000 and resistance at $70,000, what type of group or person would keep dumping at $70,000 when they make very little profit from a buy at $69,000
For the past weeks I've been developing an EA based on SMC, multitimeframe liqquidity-sweep: Stats are good IMO, DD < 10%, good sharpe ratio, etc... But I question myself about this being more stable? Such as diversifying. My main problem is choosing a variety of pairs, i.e: EUR/USD GPB/USD USD/JPY
I want to demo Options board on MT5 but cant find ANY one who offers it? Where can i try the MT5 options board? Who is currently demo/ real trading with MT5 options platform? its ridiculous i cant find ANY information on how to actually do it/ who offers it. Its almost as if it doesnt exist/ noone
After a lot of bought EAs, prop challenges and backtests that looked great, I ended up with a short checklist I now go through before I pay for anything. Backtests weren't the problem. They just never told the whole story. Here's my list. Curious what you'd add or disagree with. 1. Deposits dressed
Hi everyone, there were a few threads here lately about backtest vs live. Most ask why the two differ. I'd like to ask something a bit different: how do you notice it early enough? What I do with my EAs is pretty simple. I run the backtest over the same weeks as the live trades, on my broker's
Hello. i have gold ai made via Ai finally got it working, now i need help tweaking settings so we become rich. Its expert advisor for gold that follows stop limits and follows price until a thresh hold is met for trade. So far back testing ends in account wipe. please help
If this topic is not allowed please delete it. I am only asking purely for educational reasons. Not for intent. It was the case that since 2016 there was not solid proof that MT5 ex5 cannot be converted to MQL5 . In fact there were so many scam services offering that. This is what I would also say
Hello. An MT5 EA returns only "there are no trading operations" in automatic Market validation: EURUSD H1, XAUUSD D1, GBPUSD M30 and EURUSD M1 (hedging). There is no detailed Expert journal in the report. The exact submitted EX5 trades locally on MetaQuotes-Demo, XAUUSD D1, with factory Inputs, real
I've recently noticed an issue where now my EA is not able to execute any orders. Every time it tries to place an order it says that "unsupported filling mode" and then when looking closer into it, it will say give an error saying "Ordersend error 4756". I am not sure at all why this is happening
Good Afternoon ! I Always use M1 and 1 minute OHLC in tester configuration windows for optimization an its ok until 2026 june, I update Metatrader to version 5 build 6140 now 2026 august and now I have to set timeframe to same as I set in tester parameter window. Example "Mean Reversion.Ex5" example
I do most of my development runs on M1 OHLC because it's fast. Before I release anything I rerun the finished EA on real ticks. On EAs that wait for a setup and give the trade room, the two modes usually land close together. On anything with a tight target they can be far apart. In 1 minute OHLC
A pattern I see in many EAs: read SymbolInfoSessionTrade for today, take from % 86400 and to % 86400, and compare them with the current time of day. It breaks when a session crosses midnight. The returned 'to' can be later than 24:00 (a session from 21:00 to 08:00 the next day), so to % 86400
Any EA that works with fixed session times (Tokyo fixing, London open, New York close) needs the broker's GMT offset, the difference between server time and UTC. Live, TimeTradeServer() - TimeGMT() gives it. In the Strategy Tester it does not: the documentation says that during testing TimeGMT() is
Please help me understand: I am running the tester strategy with an expert of the MT5 market on gold with four different brokers Dukascopy, Swissquote, FP-Market and Ava-Trade and I get completely different results. In particular with Swissquote and Dukascopy the result from 01.01.24 to today is
Hi all My EA is different in teser and prop firm account. Please help On 7 Sep, 2026, the no. of lot increase by 1 in tester , but not in prop firm account Prop firm account The function is as follows: int LastLotCnt() { int re; long l_timecurrent = TimeTradeServer (); double
Hello, We run MetaTrader 5 build 6182 (distributed by our broker). The build 6230 update has been downloaded by Live Update but not yet applied. We need written, documented answers to the following. Please cite official documentation where it exists. 1. Installer behaviour The installation help
Everything about pivot indicators you may find in this thread. Besides there are some usefull links as well: - how to trade with pivot (manuals) is here . - some trading system based on pivot https://www.forex-tsd.com/forum/trading-systems/1158-pivot-system - pivots, camarilla, high/low etc.... is
I am continuing posting information about indicators. So, we have information about Stochastic indicator https://www.mql5.com/en/forum/177239 We have the thread about Momentum indicator https://www.mql5.com/en/forum/176430 Now something about Parabolic SAR. OverviewThe Parabolic Time/Price System,...
Why the version of MT5 backtest speed such slow, I pend it over night(~8 Hours), only 1 pass finished but I have brought a new cpu, the usage of CPU keep only 11%
RSI indicator We are continuing discussion about the indicators. We have the following thread: Parabolic SAR indicator Momentum indicator Stochastic Oscillator Divergence Indicator Now we are talking about RSI. "Technical Analysis from A to Z": Overview The Relative Strength Index ("RSI") is a
My intention of the code below is to display 3 periods of moving average lines for the range of bars specified by chart window width. Although first period of line is drawn properly, succeeding 2 period lines fail to draw due to CopyBuffer error (4806 : Requested data not found). I cannot figure out
Repainting indicators look perfect in history and useless in live trading. Here is a check anyone can run without any tools. 1. Screenshot the last 20 signals today. 2. Wait for 3 new bars - do not reload the chart. 3. Screenshot again and compare. If an arrow moved, disappeared, or appeared late
Hi! I'ld like to be able to draw some rectangles that are gonna mark support and resistances zones that may take lots of bars to be crossed, thus being relevant for a lot of time. In my tool, I do that by extending the final points of the rectangle to a whole new year in the future: The problem is
Does anyone have a large collection of oscillators (works best in a trading range) that he/she put together? Maybe we could start a thread where all oscillators are gathered. And let's go a little beyound RSI and Stochastic
Why is it that MT5 has a white flicker when you change timeframes while MT4 operates smoothly? Is it because the charts in MT5 are not preserved and are rebuilt every timeframe switch? How does this affect the objects in the charts? Is there a way, or can you make a way to make the chart engine the
Most of the repainting complaints I see in this section come down to one assumption, not to the detection logic or the buffer handling. MetaTrader hands OnCalculate its price arrays oldest to newest. Not series, not reversed, not newest first. Index 0 is the oldest bar currently loaded, and index
Hi, i'm trying to create an indicator with claude ai help, and it's almost works well, this code is intended to draw a plot arrow into the particular candle as a signal based on stochastic level the only issue i face is the signal only appear on previous candle that already formed, meanwhile for the
Hi everyone, I am looking in vain for the code of this MESA projective indicator to be placed on the price that draws in the future the length of the cycle; Has anybody worked on that or know where to find it? I am looking for this indicator able to: take advantage of the adaptative cycles from J
My breakout EA work on different currency pairs need an indicator to help to avoid false breakout. May be consider the volume or anything else is OK. Please advise. Thanks Peter
We are continuing discussion about the indicators. We have the following thread: https://www.mql5.com/en/forum/175886 https://www.mql5.com/en/forum/177239 https://www.mql5.com/en/forum/177358 https://www.forex-tsd.com/forum/debates-discussions/9785-rsi-indicator https://www.mql5.com/en/forum https...
Risk and Stop-Loss Calculator : When I first started scalping, I had a problem: during periods of high volatility, it sometimes took too long to calculate exactly 1%, and I’d end up setting an incorrect stop-loss or using a position size that was too low or too high. But with this calculator, I can
Check out the new article: Which Economic Releases Actually Move Your Symbol, and by How Much? . A calendar release is not a category but a number against a consensus. In MQL5 we build a robust, standardized surprise (actual minus forecast scaled by each indicator's own dispersion), recover the
Moving Average Crossover EA Gold : Moving average crossover EA for Gold (XAUUSD), forex and any symbol: one position per cross of two moving averages on the closed bar, exit on the opposite cross, stop loss, take profit and breakeven in points. Open source code. Author: Cristhian Alexander Gaibor
JAFX Advanced SMC (Smart Money Concepts) : An all-in-one Smart Money Concepts (SMC) indicator that automatically identifies Swing & Internal Market Structure (BOS/CHoCH), Order Blocks, Premium/Discount zones, and Equal Highs/Lows. It features a real-time multi-timeframe bias dashboard to help
Check out the new article: Building AI-Powered Trading Systems in MQL5 (Part 13): Letting the Assistant Execute Trades Behind an Approval Card . We extend an MQL5 AI assistant from read-only tools to safe trade execution with a human-in-the-loop gate. The article defines action tools for placing
Check out the new article: Local Outlier Factor: Density-Based Anomaly Detection in Native MQL5 . This article builds a native MQL5 LOF engine without DLLs, ALGLIB or ONNX. Bars are mapped to five standardized features; k‑NN reachability and density produce a scale‑free LOF score, and the alarm
Check out the new article: Weak Supervision for Traders: Combining Several Noisy Labeling Heuristics into One Probabilistic Label (Snorkel-Style) . The article builds an MQL5‑native weak‑labeling engine that infers per‑indicator trust from vote agreement, then fuses five noisy signals into P(Buy)
Check out the new article: Building a High-Volume Pivot Indicator in MQL5 . This article presents a high-volume pivot indicator in MQL5 that identifies confirmed pivot highs and lows using surrounding price bars and normalized volume strength. It calculates rolling volume sums, determines a
Auto Fibonacci Retracement Swing Levels : Auto Fibonacci retracement for Gold (XAUUSD), forex and any symbol: draws the levels on the last completed swing leg by itself, with the 61.8 in its own colour, prices on each level and an optional alert. Open source code. Author: Cristhian Alexander Gaibor
Check out the new article: Neural Networks in Practice: The Birth of C_Neuron . This article demonstrates how to encapsulate a neuron in MQL5 using the C_Neuron class, with weights, a bias, and a parameter specifying the number of inputs. We will take a detailed look at how to compute the loss
Broker Time - server, UTC, New York, London, Sydney, Tokyo with the right summer time (class + session lines) : CBrokerTime converts server time, UTC, New York, London, Sydney and Tokyo with the real summer time of every year and finds your broker's clock from the history (also in the tester). The
Forex Session Boxes London New York Asia : Forex session boxes for Gold (XAUUSD), forex and any symbol: draws the Asian, London and New York sessions with their high and low extended to the right and the range in points, in your broker server time. Open source code. Author: Cristhian Alexander
HybridMicrostructure EA : The Hybrid Microstructure EA is an advanced, high-frequency scalping Expert Advisor designed specifically for XAUUSD (Gold) on the M1 timeframe. Unlike traditional indicators that rely on lagging OHLC mathematics, this EA operates on Tick-Level Microstructure
Trend Regime Indicator : Trending up, trending down or ranging: a verdict for every bar, and how long it has held. Each stretch of one regime is boxed on the price chart, ADX columns below show how strong it is, and a one-line panel gives the regime, its age and the ADX. Values for Expert Advisors
New article How to Buy a Trading Robot on MQL5 Market? is published: Now you also can use trading robots and any technical indicators with MetaTrader 5. All you need to do is to launch MetaTrader 5 trading terminal and open Market tab of Toolbox window. Author: MetaQuotes
Hi everyone i have a problem i bought a new vps and i cant login my mql5 account on the mt5 i have logged in my trading account but mql5 account login is giving error login failed and in journal it says mql5.community authorization failed i have tried everything Microsoft WebView 2 reinstalled mt 5
Hi All, I am trying to set up an outlook email under TOOLS>OPTIONS>EMAIL but am having issues I keep getting the error " Mail: login to smtp-mail.outlook.com:587 failed", I have also tried using smtp.office365.com:587 instead of smtp-mail.outlook.com:587 but it still comes back with the same error
I have 4 MT4 terminals, with 15 charts per terminal. I've been updating my trading system lately. One of the measures I took was to reduce the number of indicators on each chart, thinking that this would make my system snappier. To this end, I coded one indicator to have multiple buffers and display
Programmatically placed arrow objects work but interfere in readying the chart. The common function below, in hopes to disabled it, can't handle dismissing it. ObjectSetString ( 0 ,sName, OBJPROP_TOOLTIP , "" ); In the object you drawn manually for example, this is what you see,. I have indeed seen
Hello, I need help retrieving missing EURUSD M1 history for an MT4 Strategy Tester backtest. My setup: Broker: OANDA U.S. Platform: MT4 running in Windows 11 through Parallels on a Mac. Required history: September 1–October 23, 2026, including September for indicator initialization. In my October
Hello, Do you listen any music while you trade? I have tried with many different kinds, but I think classical music is the most appropriate to remain discipline focus and calm . Any replies are appreciated. Let's start
Hello, I am preparing my first MetaTrader 4 Expert Advisor for the Market (draft product ID 201415) and the automatic validation fails. I would like to understand how the validator tests MT4 Expert Advisors. Version 1.30: the report shows 22 errors on NZDUSD,H1: "not enough money for buy 0.20
Platform: MT4, desktop and iPhone Server: MetaQuotes-Demo Symbol/timeframe: XAUUSD, M15 Candle: October 27, 2026, 22:00 server time Open: 2.04 , High: 4061.68 , Low: 2.04 , Close: 4061.43 The same spike appears on both devices and a newly opened demo account
I am writing mql script to look for any change in the file and if it detectes any change in the file then it performs some trading function But after the mql "FileOpen "call desired file becomes unusable by other application even with "FILE_SHARE_READ" flag. What I am doing wrong or this is how Mql...
Hello, I am looking for an official MetaEditor distribution for MetaTrader 4 to compile and investigate my own MQL4 program in an isolated Windows environment. I would appreciate clarification on the following questions: Is there an official, fully offline MT4 installation package that includes
On Friday, October 2, 2026, an update to MetaTrader 4 will be released. The new version includes several important security enhancements, bug fixes, and changes designed to improve the platform's overall stability. Improved management of Stop Loss and Take Profit levels for positions on the same
Hi bros, yesterday I had an idea, pick all the best trend following default indicators on TradingView and made a super TS with the conjunction. Claude from Anthropic did the excellent job. Here is the .mq4 file and a example image
Hi, I'm using a custom moving average indicator. After updating to build 1491 Metatrader 4, the indicator goes missing from the chart whenever I start MetaTrader. When I reapply the template, it sometimes shows all the indicators I saved, but other times it only shows one . 1. All indicators are