MQL5 Algo Trading community — forex forum for traders and developers

Hello guys, can you share your experice of arbitrage trading please. I am looking for a broker where I could try arbitrage trading. Can you recommend any broker
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 Python-MetaTrader 5 Strategy Tester
New MT5 Terminal Build [5440] Breaks Custom MQL Graphical Interfaces (GUI) Dear MetaQuotes Team, I am writing to report a major issue concerning the graphical display of my custom MQL applications (Expert Advisors and utilities) in the newest MetaTrader 5 terminal build. The problem is specifically
Hi all, after some software updates my strategy tester got really slow, way slower than it was. On a particular system I use, I tested around 8 passes per hour. When I use it after my software update, it takes more than 24 hours to hit 12 passes. Is there anyone having an idea what to do about this
The updated MetaTrader 5 platform will be released in beta mode on January 23, 2026. In this version, we have improved ONNX support in MQL5. Models now run significantly faster on GPUs with CUDA support. In addition, we introduced support for new flags and revised the library workflow: ONNX is now
On Friday , October 3, 2025, an updated version of the MetaTrader 5 desktop platform will be released. This release provides the following bug fixes: MQL5: Resolved an issue with the generation of implicit constructors and copy operators for structures and classes. In some cases, this could lead to
  EA getting Removed  (13   1 2)
Not able to add EA to my charts. Tried with three different accounts same issue
  mt5 ios partials  (1)
Is there a way to close partials on a position for the mt5 ios app or can you only close full
  GOLD, Gold and XAUUSD  (1157   1 2 3 4 5 ... 115 116)
Hi! Is it worth buying gold at 1130
Someone have the solution because my card is declined. Another solution. Because I was using before webmoney
Please, what is the correct way to detect a right mouse button click in MQL5? I am aware that, at the Windows level, the right mouse button is commonly represented by 0x02 . However, I am not sure whether relying on this value (for example by comparing lparam during CHARTEVENT_MOUSE_MOVE ) is
Hello everyone, This topic is aimed at those who, like me, are not professional programmers but still want to build effective trading bots. My programming background is minimal—I studied a bit of BASIC and COBOL back in 1985, when those languages were still widely used. Despite that, I’ve been
  Where Do I start from?  (186   1 2 3 4 5 ... 18 19)
Hi fam! Am a total newbie in the forex niche... Just signed up here on this platform... Please where do i start from? I need help... Anyone willing to put me through?
  How to start with MQL5  (468   1 2 3 4 5 ... 46 47)
This thread discusses MQL5 code examples. There will be examples of how to get data from indicators, how to program advisors ... in general, any questions from beginner to the MQL5 language. If you are just starting to get acquainted with the MetaTrader 5 terminal, then I can recommend the
Why is it that after purchasing your EA, we are unable to download the purchased EA on VPS or website? Recently, your website has been obstructing access within China, causing us to be unable to download the purchased EA. Do you have any solutions
hello dear traders if someone have any adaptable strategy or idea about a unique strategy that unlike %99 strategies out there can make consistent money in every market conditions (choppy and trending market) welcomes here
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
  All About Price Action  (56   1 2 3 4 5 6)
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...
Recently been backtesting different EA's and started to face a problem, how to know if I'm testing with the right data? For the moment I've only tested with every tick based in real data, but been on curious on where does this data comes from
HI,Which strategy is best for BTCUSD
Risk/money management, Handling market irregularities, Emotional control (trusting the EA), Finding a consistently profitable strategy, Backtesting accuracy
Hi everyone, We all know the "Golden Rule" of Grid systems: They print money in ranging markets, but one strong trend or "Black Swan" event can wipe out months of profits. I am currently developing a logic to solve the "Drawdown Death Spiral" on volatile pairs like XAUUSD, and I wanted to start a
  MetaEditor, Open AI and ChatGPT  (85   1 2 3 4 5 ... 8 9)
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
In this thread we will build our own Bollinger Band strategy by combining our heads together. Let's discuss: DISCUSS: - what do you think is the best way to recognize RANGED and BREAKOUT? - what other indicators complement the Bollinger Band? - what is in your experience the best timeframe for...
Hi! To be honest, I am a beginner trader and a complete novice when it comes to coding. But I like new challenges and I'm curious to discover new things. With the help of Gemini and Claude AI, I am trying to develop a trading robot that uses the HOLO strategy (“High Open, Low Open”). This is a
Quick question to traders : let me ask you ,has anyone here used funding rates as a standalone trading system, in crypto or forex ? i don't mean as an indicator, but as a real edge for entries, bias, or hedging. if yes i am curious to hear real results, not theory
  Something Interesting to Read  (138   1 2 3 4 5 ... 13 14)
This is the thread about books related for stocks, forex, financial market and economics. Please make a post about books with possible cover image, short description and official link to buy (amazon for example). Posts without books' presentation, without official link to buy and with refferal links...
  Volatility Expansion system!  (162   1 2 3 4 5 ... 16 17)
There are so many systems out here based on indicators and it takes so much time to go through all of them to see which one deserves merit,I simply did not feel like adding one more. However most are indicator based and lagging indicators make it difficult to really simplify trading decisions and
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
  What strategy actually works?  (116   1 2 3 4 5 ... 11 12)
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
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
"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
  Simple trade automation?  (15   1 2)
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
  Who are the resistance?  (17   1 2)
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
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
  Indexes disabled  (4)
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
  DOM Ladder  (18   1 2)
Hi. How much would it cost to make this DOM?
Hello there, I'm trying to trade on, Micro E_mini Nasdaq-100 index futures, As far as I know their symbol is MNQU5, I just cant seem to get them to show on MT5
Hi I just Googled "mql5 depth of market volume", and got the following definition: In MQL5, "depth of market" (DOM) volume refers to the aggregated volumes of pending buy and sell orders at various price levels, visible in the order book
As the title says, MT5 supports options. I have been waiting for a long time, but I have not seen any use cases
I have created a public AI-based Telegram channel that generates trading signals by analyzing charts using GPT-5.2 and Grok.com . My goal is to have a MetaTrader EA read these signals directly from Telegram and execute trades automatically. I would like to know: Is it technically possible for an EA
Well, everytime i install an EA, the little chart/panel seems to be cut or disconfigurated. Y dont know how to solve this. Any tip will be great
I am having an issue where I go to my VPS where I have MT5 running around 50 EAs, each on their own chart, and find that 30 or so will have removed themselves from the charts. What could be causing this? Thanks
  Dumb benchmarks  (4)
I'm not sure I should have created this topic, but it's never too late to delete it😁
  MT5 Strategy Tester Error  (13   1 2)
Hello there. I am trying to use the MT5 strategy tester since last year but it does not work. I noticed this after MT5 update at the end of 2023/ early 2024. Since then I have tried different machines, diferrent OS (Win 11/ Win10), different broker. It just does not work. The Core 01 disconnected as
While attempting to test my EA, this message keeps popping up and my test doesn't run. Ive attached an image of the errors, and spent time trying many things to fix it, but nothing seems to work. Thanks for the help
Hello, using MT5 Strategy Tester with EA that is placing trades on multiple symbols the tester is not stable! It is suddenly stopping with the error: "disconnected. connection closed." Strategy tester is running on the local core. With this settings: Please fix this bug. Best Regards, Dmitry
Hi everyone 👋 I am looking for a profitable EA 📈 regardless of the strategy.Please make me some suggestions.Thanks in advance
Hi everyone, I am struggling with a persistent issue where local agents in the MT5 Strategy Tester are completely non-functional , despite several troubleshooting attempts. System Specs: CPU: Intel Core i9-13900H (20 threads) OS: Windows 11 The Problem: Service Failure: The Windows Event Viewer
  Multi instrument robot  (27   1 2 3)
Hi every body, I used to trade manually since many years. But today I want to automatise some of my algorithmics systems. Is it possible to create a robot who can manage 20 or 22 instruments on a single account, with the possibility to calculate the quantities according to previous results ? Thanks
  Multi Currency EA  (34   1 2 3 4)
Hello I'm trying to build a multi currency ea that works in the mt5 strategy tester. i'm not a professional programmer but i tried i've read the articles on this website about that and tried but with no luck i couldn't understand the method because they use about 3-5 include files linking to each
  Buying or Selling all 7 pairs  (40   1 2 3 4)
Dear All i was trying a trading strategy to buy or sell all the USD Currency pairs together, i only check the daily strength of the USD, then i take decision to buy or sell (open 7 positions), then i check after so many hours, sometimes waiting for days looking  for total positive profit after that...
Hello All, I am new to Forex and MT5. Yesterday I was doing backtesting without any problems, and this morning I was able to do one. But the rest of the day after I click 'Start', the test goes real fast and displays no data. I have tried the backtesting on different devices, tried different EA's
I'm having trouble with an EA I'm making, all works fine until at some point it stops working and the following text is outputted to the Journal tab (not to the Experts tab): "Open charts limit reached" No other error or warning is given whatsoever, and I have no idea what part of the code is...
THE CASE DESCRIPTION I am running a lot of MT5 instances on one PC in order to test all the EAs on demo accounts before they go live. Because I need more than one instance of MT5 terminal on one PC, I am running them in portable mode. I have noticed also, that the newer versions of MT5 are
I want to move an old indicator to MQL 5 and therefor need iRSIOnArray equivalent. Searched, but couldn't find anything so far. Would someone be so kind to point me to an implementation
  Everything about RSI  (1467   1 2 3 4 5 ... 146 147)
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
Most custom supertrend indicators available on the market or in the code base for free show the wrong color of the supertrend line under certain conditions. During an uptrend, a red line is shown (should be green); during a downtrend, a green line is shown (should be red). Only after the very last
Moving Averages (MA), Relative Strength Index (RSI), MACD, ATR (Average True Range), Other (specify)
  Fibo & Gann variations  (361   1 2 3 4 5 ... 36 37)
Fibo Levels indicator. Fully forecasting.
  Volatility Quality Index  (721   1 2 3 4 5 ... 72 73)
I am proud of myself with how far I have come with my coding knowledge without any experience and relying only on YouTube and Google for help. I have been trying to convert an indicator from Trading View Pine Script into a MT5 indicator and have learned so much along the way. I have learned how to
Dear Coders and Friends, i made a mt5 indicator ,its not showing buy sell arrows on the chart. Whereas with similar configuration it shows arrows on mt4 chart. i have been using this mt4 indicator since the last 4 years on mt4. What am i doing wrong. Kindly help and rectify. Thanks in advance //---
  Stochastic Oscillator, the beginning  (1294   1 2 3 4 5 ... 129 130)
I tryed to collect everything about one indicator: Stochastic Oscillator. "Technical Analysis from A to Z": OverviewSto.chas.tic (sto kas'tik) adj. 2. Math. designating a process having an infinite progression of jointly distributed random variables. --- Webster's New World Dictionary The Stochastic...
  Oscillators  (47   1 2 3 4 5)
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
I’m working on an MQL5 custom indicator and I’ve extracted this part of the code to test why the arrows aren’t showing up on the chart. The main logic of the indicator is working as expected, but the plotting is not. Note that this is just a part I extracted from my indicator and I’ve given random
Hi, i have a doubt about reliability of data obtained via CopyBuffer in EA. Considering this example. Let's assume we have a custom indicator where each tick in onCalculate sets 3 buffer: double A[]; double B[]; double C[]; ..... //set buffers in OnInit ..... int onCalculate(....){ //initialize
Please help if anyone has this indicator for mt4
  Currency Strength  (35   1 2 3 4)
hi, it is nice to be introuced to such nice forum which discusses different ideas of trading and systems .. I noticed when surfing the forum that no one is talking about different currencies strength relative to each other.. where I think is Important , When We trade - we some times say we are
Good morning, everyone! I hope you are all well. I am adapting an indicator ( CurrencySlopeStrength ) which, for those who are not familiar with it, behaves similarly to other oscillators, such as RSI, Stochastic , etc. However, I have noticed that the indicator becomes heavy when attached to
BinanceQuotesDownloader : Real-time display of Binance quotes Author: Yuriy Lyachshenko
Check out the new article: Python-MetaTrader 5 Strategy Tester (Part 04): Tester 101 . In this fascinating article, we build our very first trading robot in the simulator and run a strategy testing action that resembles how the MetaTrader 5 strategy tester works, then compare the outcome produced in
An Expert Advisor, based on Bollinger Bands : This Expert Advisor is based on Bollinger Bands. It uses trend-following strategy (DEMA) and Bollinger Bands indicator. It shows a stable profit in Strategy Tester during last 17 years (EURUSD M30). The Strategy: Open long position: DEМА is growing up
New article The checks a trading robot must pass before publication in the Market has been published: Before any product is published in the Market, it must undergo compulsory preliminary checks in order to ensure a uniform quality standard. This article considers the most frequent errors made by
Check out the new article: Neural Networks in Trading: Hybrid Graph Sequence Models (GSM++) . Hybrid graph sequence models (GSM++) combine the advantages of different architectures to provide high-fidelity data analysis and optimized computational costs. These models adapt effectively to dynamic
Check out the new article: Statistical Arbitrage Through Cointegrated Stocks (Part 10): Detecting Structural Breaks . This article presents the Chow test for detecting structural breaks in pair relationships and the application of the Cumulative Sum of Squares - CUSUM - for structural breaks
Check out the new article: Developing Market Memory Zones Indicator: Where Price Is Likely To Return . In this discussion, we will develop an indicator to identify price zones created by strong market activity, such as impulsive moves, structure shifts, and liquidity events. These zones represent
Sideways Martingale : Martingale trend detector use onnx AI Author: Taufiqurrachman Assauqi
Check out the new article: Forex Arbitrage Trading: Relationship Assessment Panel . Let's consider creating an arbitrage panel in MQl5. How to get fair exchange rates on Forex in different ways? Create an indicator to obtain deviations of market prices from fair exchange rates, as well as to assess
Market Structure Onnx : Market Structure Expert Advisor use LightGBM (Light Gradient Boosting Machine) Author: Taufiqurrachman Assauqi
RiskSizer Panel Lite MT4 - Risk Percent Lot Calculator With One Click Buy Sell : RiskSizer Panel Lite is a simple MT4 trading panel that calculates an estimated lot size based on your risk percent. Drag two chart lines to set SL/TP, then use one-click BUY/SELL for fast manual execution. Author: The
Larry Williams XGBoost Onnx : adoption of Larry William's method using AI Time-Series XGBoost Author: Taufiqurrachman Assauqi
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
TrendMomentumEA : Automated trend-following EA using EMA, RSI, and Stochastic signals to open trades on the last closed candle with Stop Loss and Take Profit. Author: mazen nafee
  Indicators: Shved Supply and Demand  (71   1 2 3 4 5 ... 7 8)
Shved Supply and Demand : This is MQL5 version of Shved Supply and Demand written by Shved and upgraded by eevviill7. Author: Behzad Movaghar
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
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
Introduction I was trying many methods to autostart my VPS. Autostart menu and autologon just didn't work for me. So I had to autostart my terminals under System account, which autologins each time Windows restarted. There is a lightweight utility anyserv.exe, I used it for a long time successfully,...
I hope I am posting in the right category. If not pls direct me. Hello, I am using Excel RTD from FX Blue Labs from  Pepperstone to connect my Excel 365 (Desktop) to MT4 to get real-time forex data and historical ones. I need to know how to use the fill handle to fill all the cells without typing...
Hi , I would like to know if there is a way to deactivate the "auto Styler" in the Metaeditor .. I just noticed that since the last version(I believe) if I have a source code like this: int start() { if ( Bars <= drawBegin) return ( 0 ); int countedBars=IndicatorCounted(); if (countedBars <
  Triangular moving average (TMA) ...  (775   1 2 3 4 5 ... 77 78)
The purpose of this thread is more personal ... At some stage (some 4 years ago, posted it at this post : https://www.mql5.com/en/forum/175938/page17I ) coded one variation of an indicator that I named TMA centered. After that somebody shortened it's name to TMA and ever since I am receiving emails...
  Hello  (3)
I am new, where do i star ? can anybody help out. Thanks
Just within the last few days I am now not able to login to MQL5 from my MT4 application or even access the website from my computer. The website works perfectly fine from my phone so it does not appear that I have any restrictions on my MQL5 account (nor should I) but trying to access it from my
Hi, Good day, Anytime I select a trading signal to follow through MQL5, I get an error message saying "Subscription Failed". Has anyone experienced this, can anyone help? Thanks
[Deleted]
Hi,  with the code // Start Tester start = ShellExecuteA(0, "Open", "terminal.exe", FileOptim, PathTester, 3);  I can call a second MT4 instance and start the tester with pre-defined optimization settings. This principle is described in this article. I tried it and it works fine. But! How can I...
I use MT4 on a new broker in a Demo account for some weeks. Yesterday I activated a Live Account but this one has limited data , as for exemple the m.a. 2584 stops on 251218 at 14:28 that is just one day for the 1min chart. What can I do to increase it
  Fibonacci Museum  (17   1 2)
The "Middle Ages" in our consciousness associate with the concept of inquisition orgy, campfires, on which witches and heretics are incinerated, and crusades for "the body of God". The science in those times obviously was not "in a center of society attention". In these conditions appearance of the...
How to Download free Indicator from the MT4 website list of indicators?? and How to instal it on Metrader MT4 platform? Please help, thank you
So i guys i was trying to install MT4 but it always install MT5 at the end, my broker use MT4 and i want to use MT4 for windows
  MQL5 VPS problem  (66   1 2 3 4 5 6 7)
Hi, is anyone facing the MQL5 VPS problem? it cause my MT4 unable to start up, and the Server become a unreadable name instead of "London LD-4" server name. There's no way to contact the MQL5 support