MQL5 Algo Trading community — forex forum for traders and developers
Hello fellow traders. I've been struggling on an issue with my GUI panel on my EA and I need help. When the panel is created the Minimize/Maximize button and the Close button are contained into the Caption block like on the following image: Here how it looks on my panel: But when I minimize it, the
I am experiencing a persistent issue with my Virtual Hosting service where I cannot retrieve expert logs from my VPS instance. My EAs appear to be running and trading normally, but the logging functionality is broken. Problem Summary: When attempting to retrieve expert logs from my VPS, I repeatedly
General rules, enforced by moderators : Rules Please be polite when communicating on this website. Refrain from statements that may offend or insult other users, Negative discussions of any banking, brokerage and other financial institutions are not allowed, Any discussions about personal relations
The Main Study MetaTrader module for integration with Python - documentation Python Releases for Windows - website MetaTrader5 : Python Package - website ---------------- The Article MetaTrader 5 and Python integration: receiving and sending data - the article CFTC Data Mining in Python and
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
I have configured the smtp of gmail smtp.gmail.com:587 in mt5 and the sending of emails was working and today it stopped working. Does anyone know something
I want to know how many people from Indonesia is joining this forum. If you're from Indonesia, please comment this topic..Thank you..
When i search in Marketplace, i see a nice looking ea, but then I go to reviews next, and all i see is reviews -- upon reviews -- that are obviously made in first couple days of the user buying the product . I want to see only reviews of users who have been using the product for X weeks and X
i tried to enroll my account as a seller , but it was rejected for some reason that i dont know why, now can i enroll again as seller with verifying my details again, the problem iam facing is that in the seller section now, it is showing as application is rejected and i cant find any new method to
I get an error when trying to pull from AlgoForge to IDE. Can anyone help me with this
I hope the platform will update its algorithm to evaluate longer windows—such as 60+ days—rather than such a short period. Some strategies are low frequency and it is illogical to dictate the number of trades to be made say in a week
Use detailed Nasdaq data to enhance your trading strategies through more accurate decision-making and efficient risk management. This is a unique opportunity for those looking to improve their results. Unlike traditional minute or hourly bars, the subscription offers access to tick data, providing
The rapidly growing audience of our English-language Telegram channel, MQL5 Algo Trading , has shown that delivering information via messenger is highly convenient and valued by our community. In response to this demand, we have expanded our reach by launching three more dedicated channels: Trading
Tens of thousands of traders use MetaTrader 5 VPS as a secure, reliable and fast hosting solution for automated trading. Recognizing the growing popularity of the service, brokerage companies approached us for the possibility to utilize VPSs to reward loyal users. This is how the Sponsored VPS
Has anyone created a successful automated trading system? What is your advice?
(448 1 2 3 4 5 ... 44 45)
" 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
[Deleted]
If you are looking for EA for trading, which you trust? the live signal of the EA that show real trading activity and performance? or the backtest
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
If account is going maximum drawdown then what is the best idea to short out this panic situation as well as what is next step to do for continue in market
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
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
Market Condition Evaluation based on standard indicators in Metatrader 5
(2446 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
[Deleted]
Is it possible? made my idea and backtest always give poor or negative results But on a real account it always challenge me with every loss I say "failed on backtest and now is time to break on real" but seems challenging me to not break, and after every loss it start making winnings again until
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
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
In my efforts to help another trader, I learned that she trades in Mobile MT5 only. This presents a challenge because I only use Mobile MT5 to receive notifications from Desktop MT5 without a trading account connected. I provided my modified "XARD" strategy along with Desktop MT5 chart setup
May I know if there is anyone who focus on triangle breakout and can make profit this year
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've released a new video demonstrating how to significantly speed up Expert Advisor optimization in MetaTrader 5 using the multi-threaded Strategy Tester and the MQL5 Cloud Network . The Strategy Tester lets you run multiple optimization passes in parallel by utilizing all available CPU cores
[Deleted]
What is the average someone can get from a gold xauusd scalping EA daily with low risk
[Deleted]
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 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
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
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
"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 (
Running 5 terminals of MT5 with EA, just for some reason some of the EA's do not work/stopped working
(11 1 2)
Hi guys, Hope that you are well. I have 5 MT5 terminals running, but for some odd reason in the last two weeks 2 of the terminals with similar EA's have stopped working. I am not getting any bad report or anything...I installed a new Terminal and reinstalled the EA's, it is still not working...all
It's possible to have a good entry system, but we have to think about the hard part which is knowing when a trade should close. - Fixed take profit is a random number of points. If it is large, the market might go up and go down again causing you to lose the profit. If it is small, you might miss a
Hi, I am working on Partial Closing Positions (MQL5). On A Netting account, I simply open an opposite order with the right volume,and can (of course) set the trade comment (Name of the EA) like with any other trade. On a hedging account I use PostionTradePartial to partially close a position
What is MQL5 Wizard : The MetaTrader 5 Trading Platform includes the MQL5 Wizard , which allows to quickly generate code of an Expert Advisor (Expert Advisor builder). With MQL5 Wizard, knowledge of programming languages is no longer a prerequisite for creating trading robots . In the past, it
Hi, Is it possible to add more than one EA to a single chart ? When I try, MT5 always remove the already installed EA... why this limitation ? Thanks! Erwann
Hi everyone, beginner question here. I’ve just purchased a new EA, but I already have another EA running on MetaTrader 5 using the built-in MetaTrader VPS. I’d like to keep each EA fully separate (ideally one EA per account and VPS), and I’m unsure about the best way to structure this. What would
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
void OnTick () { auto.s5 = 0; for ( int k = total0 - 1 ; k >= 0 ; k--) { if (position.SelectByIndex(k)) { tk = position.Ticket(); if (tk <= 0 || tk != position.Ticket()) break ; int otyp = position.Type(); if (otyp != POSITION_TYPE_SELL
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
Hi! I'm looking for a very simple, free control panel. I just want the Second Life to automatically populate with given points. One click buy/sell. That's all. Does anyone know of a utility like that? Thanks
Hello, Please help me figure out what the issue is — both I and my client, for whom I am developing a trading robot, are experiencing a notification sending error: send request failed (raw - read failed, 0 wsa error, 1 bytes needed). Sometimes this error occurs, and sometimes it does not, and the
Hello, How can I set fixed spreads in MT5 backtesting ? It's always floating? Thank you.
Hi! I'm trying to open a .txt file using CFileTxt class while executing backtesting. The idea is that it gets a list of datetime values which the EA is supposed to skip. When trying to open the file, I allways get error 5004, so apparently the FileOpen function is not finding my .txt file. The
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
Analysis of test results and optimisation in the MetaTrader 5 strategy tester
(218 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
Hi All, Do you have an indicator in mind that you think would make your life easier or more productive, what would it be? I might be able to write it for you. Let me know it's details and if it's needed for mt4 or mt5 and if I can write it, I will give it to you for free
sisi: Hi,Mr. Guru could you please help me to constantly refresh an ea after each tick movement. I have tried everything, But I just can't make it refresh constantly. What lines of code must I insert to keep an ea and indicator refresh after every tick? Tnx I hope you could attach your EA so...
Hi! I want an alert system for technical indicators. It's been rather difficult to implement that into the existing source code of the indicator. I have searched online and found no reliable or latest results for this. Basically, I want a read, yellow and green box whenever the indicator reach a
Hi, the code "while(!IsStopped())" is not working on my Indicator. I have a code like this: while (! IsStopped ()){ copied = CopyTicks ( _Symbol , ticks, COPY_TICKS_ALL , LAST_TICK_TIME, 1000000 ); Print("COPIED: "+copied); if (copied> 0 ){ LAST_TICK_TIME =
Apologies for a really stupid question! Recently started using MT5 and I have been looking for a tool on the platform which draws out SL boxes in red and TP boxes in green, expandable. It's probably really easy to find, but I can't find it. Any help would be appreciated Cheers
[Deleted]
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
Hello All, I am still struggling to port what I perceive as useful mq4 indicators to mq5. I had help on my last attempt but chose quite a complicated indicator and 'am saving it for later'. This indicator is far simpler and I can tell from the debug I have included it is locating signals and
Does anyone know the source code for this metric? I would be very grateful for any help
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
I'm LOOKING for the BEST REVERSAL INDICATORS PLEASE
While converting my MT4 indicator code to MT5, I came across a strange issue where the arrows disappeared when a new tick came in. Could anyone help with this? When I hit [z] key to activate indicator display, peak high and low arrows appear on chart, but soon after when a new tick comes in, they
Is it possible to work with txt, csv or other files in the testing strategy? If so, how
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
Hi, I'm using a gold market expert with an exceptional opinion of mine, whose name I won't reveal for the sake of fairness. He has only one serious weakness: he's unable to react correctly when the market experiences sharp price drops like those seen in March. I'd like to know if you know of an
HTF_Reversal_Divergences : A multi_timeframe indicator which features RSI divergence. + Buy/Sell signals Inspired from trading view. Author: Hammad Dilber
Chart Water Mark : Chart Water Mark Transform your MetaTrader 5 charts to look as elegant and professional as TradingView. Author: Robby Suhendrawan
Check out the new article: Python + MetaTrader 5: Fast Research Framework for Data, Features, and Prototypes . The article demonstrates how Python and MetaTrader 5 integration combines research flexibility and trade execution into a single workflow. Python is used for data analysis, feature
Discussion of article "New Article Publishing System at the MQL5.community"
(165 1 2 3 4 5 ... 16 17)
New article New Article Publishing System at the MQL5.community is published: We present you a new article publishing system at the MQL5.community. In the new system, we have tried to make the whole process of article writing clear and comfortable by breaking it into several steps. At each step we
Check out the new article: Stress Testing Trade Sequences with Monte Carlo in MQL5 . A backtest shows only one path among many possible outcomes. This MQL5 script performs 1000 bootstrap Monte Carlo resamples of a trade P&L series, draws a percentile fan chart on the chart via CCanvas, and reports
Correlation Matrix Heatmap with Interactive Dashboard : Interactive Correlation Heatmap using high-performance MQL5 matrix functions. > Features a draggable, minimizable dashboard with instant multi-timeframe switching and a vivid 5-band color scale for real-time currency relationship analysis
Check out the new article: Integrating Hidden Markov Models in MetaTrader 5 . In this article we demonstrate how Hidden Markov Models trained using Python can be integrated into MetaTrader 5 applications. Hidden Markov Models are a powerful statistical tool used for modeling time series data, where
Weekend Gap Statistics and Distribution Analyzer : The Weekend Gap Statistics & Distribution Analyzer is a purely analytical MQL5 indicator designed to evaluate the historical behavior of weekend price gaps. It scans chart data to calculate gap closure rates and measures the adverse excursion
Check out the new article: Building Volatility Models in MQL5 (Part II): Implementing GJR-GARCH and TARCH in MQL5 . The article implements GJR-GARCH and TARCH in an MQL5 volatility library and explains why asymmetry improves on standard ARCH/GARCH. It covers model formulation, parameterization, and
Check out the new article: CFTC Data Mining in Python and Building an AI Model . Let's try mining CFTC data, downloading COT and TFF reports via Python, connecting all this with MetaTrader 5 quotes and an AI model, and get forecasts. What are COT reports in the Forex market? How to use COT and TFF
Check out the new article: Building a Liquidity Spectrum Volume Profile Indicator in MQL5 . Build a Liquidity Spectrum Volume Profile in MQL5 that allocates volume to equal price bins over a chosen lookback using candle close prices. The guide covers data retrieval with copy functions, binning and
MTF Confluence Board : A multi-timeframe analysis panel that evaluates four classic signal engines — Stochastic, fast vs slow RSI, fast CCI and slow CCI — across nine timeframes from M1 to MN1. Each engine returns BUY, SELL or WAIT, and the panel sums them into a per-timeframe verdict. Optional
Swap Fee Monitor Panel : Real-time swap & rollover monitor panel for all MarketWatch symbols. Displays long/short swap rates, daily and weekly costs per lot with color-coded values. Author: Kayode Michael Oyetunde
Indicators: Price prediction by Nearest Neighbor found by a weighted correlation coefficient
(33 1 2 3 4)
Price prediction by Nearest Neighbor found by a weighted correlation coefficient : The main disadvantage of the classical Nearest Neighbor algorithm (see an examplary implementation in https://www.mql5.com/en/code/133 ) is that all prices within a pattern are treated equally. In other words, it
Self-Aware Trend System : Self-Aware Trend System (SATS) is an advanced MQL5 indicator that combines an adaptive SuperTrend engine with a Trend Quality Index (TQI) dashboard, offering dynamic signal detection, risk management levels, and self-learning calibration for smarter, more reliable trade
The MetaTrader 4 update will be released on Friday , May 24, 2024. This version provides important security improvements, error fixes, and platform stability enhancements. The update will be available through the Live Update system
Hi, I'm using Ubuntu 22.04 Linux with the latest version of Wine on my VPS I can run MT5 normally. However, i am successfuly installed it, when I run the installed MT4, I always get the message "Debugger has been found running in your system. Please unload it from memory and restart your program"
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,I would like to convert point from currency pair to currency account. For example assuming my account is in USD what will be the value in USD of 200 points on the currency pair EURJPY. I heard about MarketInfo(EURJPY, MODE_TICKVALUE)) which return value in USD for one tick...
FOREX - Trends, Forecasts and Implications (Episode 19: September 2012)
(3320 1 2 3 4 5 ... 331 332)
September 1st is Knowledge Day
There is a serious problem in the latest versions of MetaTrader 4: The OK button is missing from the configuration window of several robots. I am currently using MetaTrader 4 build 1470, and the OK buttons for several Expert Advisors (EAs) are not appearing in the configuration panel. This is a
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
Members of the forum, don't forget to follow the rules
I’ve been having a problem for the past few days with installing MT4/MT5. During the installation, a proxy window pops up, which has never happened before. When I click Cancel, the installation stops. I also can’t download a newer version from the broker — I get some kind of proxy page error. It
They say that an average trader can work for about twothree years. Then he has enough money to buy Ferrari and spend the rest of the money on psychoanalyst and antidepressants. Well, drive your Ferrari and save the rest of the money by reading our next column. Making money is one of the funniest...
Hello I'm looking for the proper way to call a .ex4 indicator with no source code in my Expert advisor. I'm having issues with the inputs and line index
I have an EA that I want to sell, but verification always fails
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
Discussing the use of artificial intelligence in trading strategies in general and my Expert Advisor in particular which code can be downloaded HERE . The backtest results are on the screenshot below. It takes a long time to optimise the Expert Advisor and only with the use of genetic algorithms
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...
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.