MQL5 Algo Trading community — forex forum for traders and developers
How do I contact mt5 customer service I have sent couple emails over 2 weeks ago still no response im having issues with metatrader5 app
I’ve been around MQL5 for quite a while, coding EAs, and I keep coming back to the same question: What really separates one product from another in this marketplace when almost anyone can present a curve-fitted backtest? What seems to be happening in practice is that presentation is rewarded more
i have Vps with MQL5 and my broker move server this week end from NY to london i would like to know if MQl5 will adjust automatically or i need to done on section Vps monday
I was trying the free trial period and wanted to host an EA which needed DLL import. I got the message that such EAs cannot function in MT4 VPS server . Is there a way to resolve this? Cheers
Hello, pls does anyone know why the 'submit' button for review doesn't show up for articles and what to do about it? Thanks
Recently published some code on code base (past week). Usually how much time do each code takes to be published
On Friday, February 27, 2026, an updated version of the MetaTrader 5 platform will be released. This version improves operations with proxy servers . We have enhanced HTTP and SOCKS5 protocol support to reduce connection errors. The outdated SOCKS4 protocol is no longer supported. We have also
Lately I've been thinking: a trader's journey often starts by trying to fit their strategies into the market. When the market doesn't follow their expectations, frustration follows. I suspect there's something larger—something we don't fully grasp—that is always there ruling. That's where the
Only backtesting on historical data, Backtesting + forward testing on demo, Testing on a small live account, Statistical metrics (Sharpe ratio, profit factor, max drawdown) as primary filter, I don't validate beyond simple backtesting
Can a demo account produce the same results as a real account ? I tried a demo account and made substantial profits. But when I switched to a real account, I saw loss after loss. It turns out that the real account often experiences spread widening (yes, it does in demo accounts, but the spread
How to get in touch to Service Desk about incorrect data on Economic Calendar ? Please, don't send me to Service Desk , there is no sense to speak with MQL5 Helper . Incorrect time of events on mql5.com: 1. Bank of Canada (BoC) Interest Rate Decision - correct time of release is at 13:45 GMT, not
Can someone advise how to check the issue why my EA is not working after synching in the VPS? do i need to disable the Algo Trading from my Local Terminal? Will the orders (if EA is executed) in the VPS can be viewed in my local terminal too
This thread will discuss undocumented methods of working with the mql5 language , examples of solving certain problems. It would be desirable, that this branch on the maintenance was closer to FAQ, than to discussion. I suggest that all experienced programmers share their solutions and programming
I was seeing some open source projects made on top of the TradingView Lightweight Charts library and this sparked some ideas in my head. What if we can make MT5 charts as modern looking as other Web trading platforms (TV being one among many). I know that I am not the only one to think about this
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
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
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
What is the average someone can get from a gold xauusd scalping EA daily with low risk
For me was very hard, it took like 2-3 months, the thing that helped me the mos wast replicating a pattern that I watched in the market: High of the day + M15 sweep / Low of the day + M15 sweep Firstly backtesting it a lot and then taking screenshots of the pattern, then started coding and learning
In my case a tried a trading equal highs with an EA and it didn't go well
Has anyone created a successful automated trading system? What is your advice?
(428 1 2 3 4 5 ... 42 43)
" automated trading " means different things to different people, here I mean a system that detects good trading situations and then places an order and closes later after some conditions are met. It seems to be possible to create a profitable system, but so far I haven't had much luck. some big
Why do many EAs fail while the same strategy works perfectly in manual trading? Manual trading lets us adapt, filter trades, and read the market in real time. EAs, on the other hand, follow strict rules — they can’t “think” like a human. Automation often reveals the gaps in a strategy rather than
Market Condition Evaluation based on standard indicators in Metatrader 5
(2444 1 2 3 4 5 ... 244 245)
I just started this thread as a continuation of the talking made on this topic (we can read it). Or ...to make it shorter: it was some discussion about forecasting/predicting of the next candle or direction of the movement or market condition evaluation. And it was around standard indiocators in
Hello, Is it 100% sure that we can set the TP 7 pips, ZOne like 4 pips and SL 3 pips in hedging strategy ???? Or TP an SL MUST be the same
Is it defined by the number of trades per day, or by how quickly each trade is opened and closed? Some say "many trades," others say "short holding time." What's your take
[Deleted]
How to better filter false entries in trend-following strategies on XAUUSD during volatile periods?
(14 1 2)
Hello everyone in the Trading Systems section! I'm trying to improve a simple trend-following approach specifically for XAUUSD (Gold), and one big issue I'm facing is too many false signals/entries during high volatility (news events, sudden spikes, choppy ranges). What I've tried so far: Using a
Guys, I have been trading since 2011, I have tried nearly 2000 strategies, I have build almost 2000 Eas and indicators, on this olatform and on other platform, but I have not really found what works, what actually works? and does such a thing exists
Risk/money management, Handling market irregularities, Emotional control (trusting the EA), Finding a consistently profitable strategy, Backtesting accuracy
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
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
Seems we need a Bitcoin thread to discuss about due the growing popularity of this virtual money. Forex-TSD is studying the idea of take Bitcoins as payment method and having our thread to discuss about pros and cons sounds as good approach. You will find more information on the official Bitcoin...
If you invest in stock portfolio or asset management firm, and you have 2 options 1- Long only : go long with bullish market only ( lower return ) 2- Long-Short : go long when bullish and short when bearish market ( extra return from shorting ) When strategy short stocks it expose your portfolio to
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
"Hello, I am interested in publishing an article on MQL5.com, but I am facing some challenges in getting it through the initial review process. Could someone please guide me on the specific technical standards or formatting rules I should follow? I want to make sure my code examples and explanations
I was doing trading and leave the screen for some minute and I want to back check the history. Is there any tick data or tick data based back check method
i wanted to ask this to the website admin but there's no way to contact them other than the chat bot. does anybody know if as a signal provider i can sell stock signals or is it only for forex
Hi @ all, i´m new with MT 5 and wanted to know if its possible to trade on sim/demo account other markets than forex? For instance, NQ, SP500, etc. For now i only see forex markets to choose from. Any ideas? Thanks
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
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
SP500 and NASDAQ Indexes are not up to date and have been disabled for some time now. Is anyone else experiencing this
After the last MQL update on MT5 (5273 12 Sep 2025) //--- Show all the information available from the function AccountInfoDouble() printf ( "ACCOUNT_BALANCE = %G" , AccountInfoDouble ( ACCOUNT_BALANCE )); printf ( "ACCOUNT_CREDIT = %G" , AccountInfoDouble ( ACCOUNT_CREDIT )); printf (
Can someone tell me which ea is the best in MQL5 market ? There are so many EAs in MQL5. It is difficult to find good EA
Analysis of test results and optimisation in the MetaTrader 5 strategy tester
(216 1 2 3 4 5 ... 21 22)
Let's look at the results of the tests on one and a few characters. The tests will be conducted in All ticks mode. You can use your own multisymbol EA schemes to reproduce the problem and share your results. Let us denote the problem. For example, if you test one symbol, the test time takes 1
Hello everyone, I have an MQL5 Expert Advisor (.mq5 file) that I need compiled into a .ex5 file. I am on Android only and do not have access to a PC or MetaEditor. The EA is based on the ICT "One Setup For Life" strategy using: - Macro time window filters - Stop Hunt detection - Inversion FVG and
Hello, I'm working on a multi‑symbol Expert Advisor that monitors trade events across several instruments. I know that OnTradeTransaction is triggered when a trade transaction occurs on the account, but I'm not entirely sure about its scope when used in an EA. If I have a single EA running on a
Hello, i have easy trend indicator. ( attached picture ) It only write sell/buy signal does not make auto trading. Is there a way to make it auto ?Best
So my name is Christoper. I am from Scotland. I have recently started trying to design an EA to get off a building site. I am an engineer so trying to adapt that and to a different part of life get me off this building site I have recently created a EA that has 1.79 profit factor a drawdown of 0.40%
Hello Everyone. I have created this Renko chart generator for MT5 because I have searched for a good Renko chart generator for a long time and I did not find one , so I decided to build my own and share it with the mql community for FREE. You can find it attached. If you want any improvements let me
Newbie query:
Can anyone help me with my understanding of the EA OnTick Function?
I have developed a simple custom indicator and I access this indicator from within a custom EA I have also developed. I am using the OnTick function to process each tick and assess aganist the indicator values to...
Is matching the EA time with the broker’s time one of the biggest challenges
Greetings everyone, I have recently started testing mt5 for algorithmic trading , however I have noticed that all of the codes I wrote had the same issue in the Strategy Tester - floating arrows; Arrows displaying buy/sell signals appear to be at an offset from the actual chart regardless of the
I already turned off Algo Trading and ensured the EA is disabled on every timeframe, but it continued opening trades and significantly affected my deposit. Could you explain the correct way to fully stop or uninstall an EA so it cannot place any further trades
I am developng EA, I want to set max slippage in mql5, do anyone know how to set max slippage
[Deleted]
Buy Signal: Entry Condition : The first candle is below the EMA-5, with its high point not touching the EMA line. This candle becomes the alert candle. The second candle breaks the alert candle, signaling the buy entry. Sell Signal: Entry Condition : The first candle is above the EMA-5, with its
I am experiencing a critical issue where AutoTrading turns OFF immediately after enabling it. Environment: - MetaTrader 5 on Windows 10 - Also reproduced on Mac (Wine environment) - Broker: XM (TradeFin Limited) Issue: - When I click "Algo Trading", it turns ON briefly and then immediately turns OFF
Hi, I am running MT5 on Ubuntu/Wine. I have 28 charts open with a EA attached (on a demo account). I noticed that my EA was missing good entry points, and I found that starting a single chart with EA on my Windows box would open the trade as expected. Further investigation seems to indicate that the...
Hello guys, I am wanting to join two indicators in order to make a backtest, there is this possibility? Or will I need to hire a programmer to join the two in an EA, to then be able to make my backtest? I await help! Thank you, Danrop
Here's what I see when I start the MT5 terminal, also when its running but my internet connection is interrupted. The indicator plot shows briefly (subsecond) and then disappears: All I need to do is switch the timeframe of the chart to anything and then back and the window shows up like it should
Some of you might remember this one : originally it was a part of an expensive system. Than it was coded as dots because of the repainting problems in metatrader. Here is a version for metatrader 5 : slightly changed the look of it (Bollinger bands is drawn as the "shadow" in the background) Also...
Is it possible to work with txt, csv or other files in the testing strategy? If so, how
Hey guys. I need some help. I need an indicator that will set a horizontal line on a chart and essentially alert me when price hits it. I've scoured the internet and tried most of the line alerts available but they're not fit for purpose. Issues i've found with other line price alert indicators is...
Hey guys, I have the following problem and it seem I am not the only one. I cannot change the colors of indicators. I can change text in a text field , but if I double click the color fields, nothing changes. No menu appears. It is with all indicators. What is the solution? Thanks
RSI is a very good signal specially when use 70-30, but sometimes it can be early signal and enty at that time would lead to some drawdowns before the right direction start Am looking into any indicator that can help to avoid this situation I tried most famous indicators and no one helped Any
[Deleted]
Hi all, I've been wanting to have the ability to plot indicators from different timeframes on my chart, but MT doesn't have this capability built in. (Does anyone know of any charting programs that do this natively?) As an example, if you're following the IWCR system, it'd be nice to be able to plot
Hi! I was developing an indicator of DRAW_COLOR_ARROW type and I noticed the arrows I was using looked misaligned. Thinking it could be something of those arrows especifically, I decided to change them to another set, and they still looked misaligned. So I took a print screen, put in Paint, added
Hi! I'm developing an indicator of the "separate window" kind that has an input variable where the user can choose between different visualization algorithms. In one of those, I need the maximum and minimum value to be set fixed (3.0 and -3.0 specifically), while in any other algorithm it's not
I have an indicator that combines the drawing of colored arrows and colored lines. The logic for determining colors and the colors themselves are exactly the same for both arrows and lines. Does each colored plot need to have its own color buffer? Or is it possible to use one color buffer for all
Hi i am an absolute beginner i create a small routine that provide once you press sell or buy to put one order and assign a Stop loss automaticatelly at 70 pips distante and a Tp on 140 pips according to 1:2 RR. Another step is to put TP at BE once arrived at 1:1 All this tested on the strategy
Title Market validation false failure : " not synchronized with trade server " on minimal indicator v1 .06 Hello MetaQuotes team, I need help with what appears to be a validator -side issue during Market automatic validation . Product Name : Market Exhaustion Indicator Product ID
Hey guys hope everyone is doing well. I got a piece of code here trying to create rectangles to cover FVG zones drawiing from the zone itself to the last closed price. As price is moving printing new candles the box is left behind where it loaded. Can anyone assist draw the box to follow price on
Hey Guyz
Thanks in advance for the help and advice on where or what I might be able to do to make the RSI+MA overlay!!!
I seen an earlier post that sayd to copy one CODE and PASTE the code on to the other CODE.
However I tried this and complied the instrument, came back ok however when...
Check out the new article: From Basic to Intermediate: Inheritance . No doubt, this article will require a significant amount of your time to understand how and why the materials described here work. This is because everything that will be shown here is initially oriented toward object-oriented
Check out the new article: Market Simulation (Part 18): First Steps in SQL (I) . It doesn't matter which SQL program we use: MySQL, SQL Server, SQLite, OpenSQL, or another. They all have something in common, and that common element is the SQL language. Even if we do not intend to use WorkBench, we
Stoch_Cross : Stoch_Cross monitors the %K and %D lines of the Stochastic Oscillator and provides instant confirmation when a bullish or bearish crossover occurs in the zone. Author: Lubexbill Semi
Discussion of interview "Johnpaul77 Signal Providers: "Our Strategy Remains Profitable for More Than Three Years Now. So Why Would We Change It?""
(50 1 2 3 4 5)
New interview Johnpaul77 Signal Providers: "Our Strategy Remains Profitable for More Than Three Years Now. So Why Would We Change It?" has been published: Let us reveal a little secret: MQL5.com website visitors spend most of their time on Johnpaul77 signal's page. It is a leader of our signal
Institutional Nadaraya-Watson Kernel Regression : A quantitative machine learning envelope that utilizes Nadaraya-Watson kernel regression math to dynamically project statistically significant mean-reversion zones without relying on traditional standard deviation. Author: Amanda Vitoria De Paula
New article Introduction to the Empirical Mode Decomposition Method is published: This article serves to familiarize the reader with the empirical mode decomposition (EMD) method. It is the fundamental part of the Hilbert–Huang transform and is intended for analyzing data from nonstationary and
Multi-Symbol Alert Panel : An indicator to watch highs/lows of all markets simultaneously. Author: Hammad Dilber
Institutional Gaussian Signal Filter (Zero-Lag ALMA) : A quantitative Gaussian filter designed to replace lagging retail moving averages by applying advanced digital signal processing to eliminate market noise without sacrificing responsiveness. Author: Amanda Vitoria De Paula Pereira
Check out the new article: Pair Trading: Algorithmic Trading with Auto Optimization Based on Z-Score Differences . In this article, we will explore what pair trading is and how correlation trading works. We will also create an EA for automating pair trading and add the ability to automatically
Uniformity Factor Indicator : This is a simple analytical (non-signal, one-time calculated) indicator that allows you to test the hypothesis that price timeseries represent a "random walk", specifically Gaussian "random walk". This can help to construct a parametric transformation of price
Libraries: Сode that records balance and equity charts and calculates additional optimization criteria
(13 1 2)
Сode that records balance and equity charts and calculates additional optimization criteria : If you have access to the Expert Advisor code, you can save balance and equity charts and calculate additional optimization criteria by adding additional code from this library. Author: Aleksei Kuznetsov
ASQ Trading Journal Export : One-click CSV export of trade history with P&L, duration & stats Author: Muharrem Rogova
ASQ Spread Logger : Real-time spread monitor with statistics panel, CSV logging & alerts Author: Muharrem Rogova
Portfolio Scorer — Multi-EA Correlation and Coverage Analyzer : Portfolio Scorer is a standalone MQL5 script that evaluates the quality of a multi-EA portfolio across three critical dimensions that most algo traders overlook. The script reads daily profit and loss data from CSV files (one per Expert
Candle Body Ratio : An original indicator designed to analyze price action and provide buy/sell signals. Author: Hammad Dilber
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
Greetings dear Coder, Please help with a way to diplay emojis on MT4 Chart using an EA. In MT5, this is possible using the following code: ObjectCreate ( 0 , "Lips" , OBJ_LABEL , 0 , 0 , 0 ); ObjectSetInteger ( 0 , "Lips" , OBJPROP_CORNER , CORNER_LEFT_LOWER ); ObjectSetInteger ( 0 , "Lips"
I have a strange problem with MT4. I received a hyperactivity warning today in my live account and don't understand where that is coming from. I contacted the broker(ICMarkets) and they told me server messages are due to open/close of market and pending orders and stop modifications. Alright, BUT
The MetaTrader 4 update will be released on Friday , February 21, 2025. This version provides important security improvements, error fixes, and platform stability enhancements. The update will be available through the Live Update system
I have been using up to 1441 without much issue and those instances of MT4 are still working. Yesterday, I installed MT4 1470 and 1471 on Windows 10.0.19041.6456 pro from easy forex and IC Markets, both open normally on a fresh install in a new folder, when I add the broker creds and click login the
On the Metatrader 4 app I installed from my Xbtfx broker, I have 2 accounts. I wanted to run 1 EA on one account and another EA on another account. I attached the EA to a chart on one account, but when I switched account, the Journal tab immediately showed a log that the EA was removed. Is it not
You may have already noticed that the most interesting things now happen mainly on the MQL5.community . MQL4.com is about to be switched to the data archive mode. Only Book and Documentation sections will remain on MQL4.com by November. Besides, the entire MQL4.com Forum content is to be transferred
I am trying to send trades to telegram. I have everything setup in telegram but can’t find telegram.mqh fir mt4. Is it something I need to create myself
An updated version of the MetaTrader 4 platform will be released on Friday, March 13, 2026. This build includes improved interface translations, bug fixes, and enhanced platform stability. The update will be distributed via Live Update
Just recently around February 25, 2024 I began getting the above message and now I no longer have access to my EAs; as they won't work without being logged into my MQL5 Community account (they won't load up on the chart) . I have no problem going to my Browser and being able to Login to my MQL5
Warning to anyone. If you encounter the error "event handling function not found", it could be because your hard drive is full. Even after freeing 10GB of space, I was still getting the same error when trying to compile my indicator. So I restarted MetaEditor and now the source file is completely
On Friday , March 6, 2026, a new version of MetaTrader 4 will be released. The update includes several important security improvements, bug fixes, and platform stability enhancements. The update will be distributed via Live Update
At the bottom of the MT4 terminal when the Trade Tab is selected MT4 shows the following parameters: ---> Balance: Equity: Margin: Free Margin: Margin level: <--- My question is "What is the equation used to calculate Margin?"
Hi, Market tab of my mt4 platform is giving me problems. When ever I tried to select it, it freezes every time. I removed it completely from my computer and reinstalled it but still the same problem. Actually now it has become worse because now I can't access my purchases. Also at mql5.com whenever
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.