MQL5 Algo Trading community — forex forum for traders and developers
Is there a way to save the entire settings so I can simply reload without reconfiguring everything
During my MT5 optimizations, I sometimes encounter a situation where the agents stop working even though they still have a few tasks assigned to them (I am using a local farm). When this happens, I try disabling and then enabling the agents again. The status changes from “Finished” to “Ready”, but
Ok, so none of my charts are updating or moving at all. Everything was working fine yesterday, but when i opened mt5 today... nothing. I'm connected, so it's not connection issues. I tried uninstalling and reinstalling.. nothing. I'm using a demo account. Any help would be greatly appreciated
I want to add a feature for my EA, but I would like this only in test mode
History filter Yesterday **[Suggestion] Add quick date filter options to the History tab right-click context menu** Hello, This is a very small change with a big daily impact for traders outside European timezones. **Problem:** For traders in Asia-Pacific regions (e.g., Japan, GMT+9), the MT5 server
Hi guys, I'm about to buy a new PC to speed up both trading and strategy testing, since mine currently takes several hours to complete a year's worth of tests. Do you think it's better to prioritize the graphics or the processor, which should be the latest generation? Do you also recommend a laptop
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
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
Here is my situation: I activate the visualization in the Settings tab. I run MT5 optimization with back and forward split (3 years + 1 year). I get the results and go to the Optimization Results table. I double-click a line to simulate that set. I get the optimization result in the MT5 terminal
Dear support team, I tried many time to register as a seller in website but when i put my mobile number i dont receive any sms.what should i do
I'm trying to put an stochastic oscilator on my EA. For what I have investigated it's not possible. Any recommendations on this topic
Hello, how are you? I have some copy trading bots running. Currently, I have 5 instances of MT5 running: one main account and 4 receiving accounts. I have noticed that when I try to display the MT5 window, it appears to be frozen. However, it is still working and executing everything normally. The
Hi, i know that terminal could set prev_caclulated=0 when " If the price data have been changed since the last call of the OnCalculate() function (a deeper history has been loaded or gaps in the history have been filled), the value of the prev_calculated input parameter is set to zero by the
Hello everyone During genetic optimization (Every tick based on real ticks), some passes show extremely high profits (e.g. 2,000,000+), which is clearly unrealistic. However, when I run a single backtest using the exact same parameters: The result is normal No huge profit Sometimes even losing Lot
Hello. Please kindly assist. I fail to switch my mt5 demo to real account . I've managed to link it with my <broker-name-redacted> real account and funded it now the problem is i can't switch mt5 from demo to real so i can start trading. It keeps saying authorisation failed. <broker-name-redacted>
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
Forum on trading, automated trading systems and testing trading strategies Test version of MQL5 Copilot in beta 3647 Renat Fatkhullin , 2023.03.23 23:11 In today's beta version 3647, we've included the first version of Copilot, a feature to enhance the editor's ability to write code. The settings
Risk/money management, Handling market irregularities, Emotional control (trusting the EA), Finding a consistently profitable strategy, Backtesting accuracy
Has anyone created a successful automated trading system? What is your advice?
(424 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
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
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
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
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 everyone, I am testing a range-based Expert Advisor on a few instruments. The EA avoids overtrading and stays inactive during low-volatility conditions. During holiday periods or very quiet sessions, I prefer to keep the EA attached and let it follow its internal rules rather than interfere
In Forex market, it is important to know the return of your investment even you are a scalper to be able not to be discourage to the result of your trade
HI,Which strategy is best for BTCUSD
I’d like to discuss the difference between what we often call a “strong breakout” and a “false breakout”. What criteria do you personally use (candlestick body size, volume, retest behavior, multi-timeframe confirmation)? My observation: sometimes a breakout above recent highs comes with strong
Dear friends/Brothers/Sisters,
I want to start this post regarding Price Action. I want people to help about what I know. Please Respond this post, Share the way you know and learn the way I know. I am not a master but a trader like others and also like to know how others doing. Reply and Keep in...
How can be the best professional developer
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
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...
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
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
"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 (
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
Want to trade gold and silver on spot not futures .. i tried futures algo trading on ninja.. too much loss on slippage. Any ideas what are others doing
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
i been using amp for future trading from last two years in usa but from last three days i been noticing disconnection of data feed in live trading for almost 30 seconds to 1 minute, is anyone else have this issue
Hey everyone, Making the jump from static, rule-based MT5 EAs to adaptive machine learning usually requires a deep background in Python and data science. I wanted to share an interesting case study on a setup I’ve been running—the CorAiLabs AI Strategy Engine—which bridges this gap specifically for
#define func(arg1, arg2) Print (arg1); arg2; func( "Hello" , ExpertRemove ()) // fine func( "Hello" ,) // Warning Makes no sense for me. There are many cases, when I explicitly do not want to have the second argument, but I also dont wanna mess up my code with even more macros with different names
My mother language is Arabic, I will try to make this article as simple as possible, away from technical jargons. This article is about using two Python scripts (master_client001.py and slave_server.py) to copy trades locally (at the same PC or Laptop) between two MT5 platforms (Master and Slave
I'm looking for Expert Advisor for MT5 that can help me: 1. to set tp, sl automatically (which my tp and sl are always fixed, like when I set limit, tp & sl will always be 100pips) 2. change my sl to entry point (breakeven) when some conditions triggered (when order running between utc 1400 to 1600
Hi guys i want read my ini file created inside of File folder of metatrader5 , is possible to do that exist a ini command for doing
Hello my name is Bruce , I'm trying to build a portfolio EA that trades one order at a time, open to close, in SQX 141. I used Market pos. count = 0 and ended up with two open trades , hoping someone has the answer, I'm using MT5 hedging. Thank You
Hi everyone, I have a strange problem with an Expert Advisor in MetaTrader 5. The EA is a purchased EA from the MQL5 Market . On PC 1 , everything works normally and the EA places pending orders immediately . On PC 2 , the EA loads and initializes successfully , but it never places any pending
I have an EA which makes decisions based on several diferent symbols. The primary symbol the EA is attached to is EURUSD, but it uses tick data from EURCHF. USDJPY, XAUUSD,... I use CopyTicksRange() to get data from other symbols. And this works fine when trading live. However when I attempt to use
I think, since after I have imported Dukacopy tick and bar to severals custom symbols, my local network farm agents became "not used". Is there a way to use the remote agents for non customised symbols? I have tried to use local symbols, ochl in local terminal and yet connect to agents are still
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
I've recently seen quite a few updates to Integration with Python, including various functions. Does it can be used in back testing? According MQL5 Reference, I found that there is no such function. At the same time, Socket functions can not be used from the Strategy Tester. Is there a way to
I just discovered an error when decoding base64 code after updating the terminal (in previous versions this error was not encountered) string Base64Encode( string text) { uchar src[], dst[], key[] = {}; StringToCharArray (text, src, 0 , - 1 , CP_UTF8 ); ArrayResize (src, ArraySize (src) - 1 );
Hi all. I am migrating my EAs from MT4 to MT5. Yesterday I ran some back testing and worked fine. Today I get this error. and MT5 won't let me run optimizations. Says: - debug version of "Advisors\EA.ex5" detected - optimization cannot be started Thank you in advance for your time
Subject: Gold BOT on MT5 Hi everyone in the MQL5 community, I’m currently developing an Expert Advisor (EA) called ConvexCap GoldBot for MetaTrader 5 (MT5), specifically tailored for trading XAUUSD (gold). The goal is to create an automated scalping strategy that capitalizes on gold’s high
Hi I am new to MT4/MT5 and I'm trying to backtest some EAs. There are a couple EAs I've tested that will place trades like the <Deleted> bot but I tried 4-5 others and they all fail to place any trades. I noticed in the journal that the bots do not initiate any buy trades but has many sell trades
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
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
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
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
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...
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
Hi, Can some share us the Supply and Demand zone indicators MQL5 file
Hi, I read that using ArrayCopy on the same array could cause data corruption when the initial source index is lower than the target index, due to the left-to-right copy. I tried, but no data corruption was detected. Can I be sure this won't happen under any circumstances? Here a simple script
Please find some indicators which are forecasting something. First is i-DRProjections_v.0.1. This indicator shows the support and resistance of current day forecasting on the base of previous day. All the calculation is based on Thomas R. DeMark book "New Science of Technical Analysis".
On which time frame is it the easiest to count Elliot Waves correctly
Does anybody know if this indicator exists for mql5? My guess is that it does not. All I found with that name was some old one from 2012. I know maybe 30 % of mql5. How hard will it be to convert from pinescript to mql5? 186 lines of code is a bit worrying. Edit. My link from tradingview
Check out the new article: Graph Theory: Traversal Depth-First Search (DFS) Applied in Trading . This article applies Depth-First Search to market structure by modeling swing highs and lows as graph nodes and tracking one structural path as deeply as conditions remain valid. When a key swing is
ExMachina Prop Dashboard : Real-time prop firm rule tracker: daily drawdown, max drawdown, profit target progress, trading days count, and challenge status with visual progress bars. Presets for FTMO, MyFundedFX, E8, TFT, and Bulenox. Pure indicator — no trade interference. Author: William Jefferson
Check out the new article: Low-Frequency Quantitative Strategies in Metatrader 5: (Part 1) Setting Up An OLAP-Friendly Data Store . The article outlines a practical data pipeline for quantitative analysis based on Parquet storage, Hive-style partitions, and DuckDB. It details migrating selected
Mikahekin : Mikahekin can be called a complete analytical block rather than just an indicator. The color of bars shows a trend direction and their height indicates a trend power. Blue and magenta dots show trailing-stop levels for long and short positions, respectively. Author: Nikolay Kositsin
Volume Profile : This is an indicator for showing volume profile on the chart, using simple calculations and very fast execution. Author: Mohammad Baset
Check out the new article: From Novice to Expert: Developing a Liquidity Strategy . Liquidity zones are commonly traded by waiting for the price to return and retest the zone of interest, often through the placement of pending orders within these areas. In this article, we leverage MQL5 to bring
Check out the new article: Unified Validation Pipeline Against Backtest Overfitting . This article explains why standard walkforward and k-fold CV inflate results on financial data, then shows how to fix it. V-in-V enforces strict data partitions and anchored walkforward across windows, CPCV purges
New article MetaTrader 5 on Linux is published: In this article, we demonstrate an easy way to install MetaTrader 5 on popular Linux versions — Ubuntu and Debian. These systems are widely used on server hardware as well as on traders’ personal computers. Author: MetaQuotes
ExMachina TradePilot : Professional trade management panel: one-click Buy/Sell with auto lot sizing, smart trailing stop (ATR/Fixed/Candle), automatic breakeven, multi-TP partial close system (TP1/TP2/TP3), and one-click pending orders. All-in-one order management for serious traders. Author
Auto Fibonacci Retracement Levels MT4 : Automatically draws Fibonacci retracement and extension levels based on the most recent ZigZag swing high and low. Updates dynamically as new swing points form. Author: Kestutis Balciunas
Limit channels : ATR based limit channels - metatrader 4 version Author: Mladen Rakic
Session Range Boxes MT4 - Asian London New York : Draws colored rectangular boxes for the Asian, London, and New York trading sessions with high/low range extension lines. Author: Kestutis Balciunas
Check out the new article: Engineering Trading Discipline into Code (Part 3): Enforcing Symbol-Level Trading Boundaries with a Whitelist System in MQL5 . This article details an MQL5 framework that restricts trading to an approved set of symbols. The solution combines a shared library, a
Check out the new article: Overcoming The Limitation of Machine Learning (Part 4): Overcoming Irreducible Error Using Multiple Forecast Horizons . Machine learning is often viewed through statistical or linear algebraic lenses, but this article emphasizes a geometric perspective of model
Discussion of article "Using Self-Organizing Feature Maps (Kohonen Maps) in MetaTrader 5"
(53 1 2 3 4 5 6)
New article Using Self-Organizing Feature Maps (Kohonen Maps) in MetaTrader 5 is published: One of the most interesting aspects of Self-Organizing Feature Maps (Kohonen maps) is that they learn to classify data without supervision. In its basic form it produces a similarity map of input data
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
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
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
All lessons of Codersguru: https://www.mql5.com/en/forum/175653 Mql - Metatrader Development Course | www.metatrader.info https://www.mql5.com/en/forum/172885 All Codersguru lessons + questions/replies and so on are on this section Metatrader 4 mql 4 - Development course - Forex-TSD Book: https...
I have an EA on MT4 that sometimes opens more than 100 trades on SP500. when EA closes all trades , they do not close at the same time. They close one by one and it takes about 1 to 3 seconds for all trade to close and because of this delay the closing price are different. what should i do to make
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
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
When I run my backtest I get the following errors. I am connected to the correct data source
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
I cant find a reliable copy of MT4 to download. I try the copy form Oanda and it my computer says error , I'm running windows 11
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?"
Greeting , Can anyone help me please with programe lines (code base) to add to my EA -mq4 file simply , I only want the EA to open trades only if RSI value between 65 and 35 for example or 70-30... etc , it would be really appreciated sorry I don't have experience in programming
How can I program triggering a key press/event? For the following use case: Normally one can zoom with the "+" and "-" keys, but I would like to zoom with "q" and "r" and my idea is when "q" is pressed to trigger pressing the "+" key. Or are there better ideas how to create this use case?
I send messages with "SendNotification" to push Alerts from mql4 to the Android Mobile APP. It's working correctly from years. Frome about 1 month i'm experiencing the following behaviour: 1) i send from my mql4 EA push notifications with SendNotification command to my Metatrader 4 Mobile APP
Hello, as in tittle, What code should I add into EA in MT4 to avoid hyperacivity alert in FTMO prop firm? Did you happen to have 200 orders open simultaneously or 2,000 trades/order modifications that day? That's as much as the FTMO servers can handle and will temporarily lock your account for
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.