MQL5 Algo Trading community — forex forum for traders and developers
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
Hello, since i have download the last version of MetaTester 5 build 5501 , the cloud connection have stopped working... Hopefully i have another older build who run good at the beginning, the version 5480 AVX2. But this version also start to not run good, it have disconnected all cloud connection
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
Please Help: MT5 Strategy Tester errors: "No History Data" after bars imported and Flat line on Graph results
(25 1 2 3)
Hello, I am having multiple issues with backtesting EAs (M1 timeframe) in the Strategy Tester . I believe I have followed all steps correctly to import bars (hist data) from Dukascopy (by creating a custom symbol, etc.), but when I try to run a test for any EA (including MT5 EAs), one of two error
Hello, I am experiencing a deterministic Strategy Tester failure in MT5 build 5506. The tester aborts immediately after failing to open its own history cache files ( .hcs ), even though history download, synchronization, and processing all complete successfully. Below are the exact failure points
MT5 Build 5505 – Optimization fails on Custom Symbols - ticks send error / history synchronization interrupted
(11 1 2)
Hello I am experiencing a problem in MT5 Build 5505 after the update on 16 Jan 2026. The issue occurs **only with optimization of EAs on custom symbols**. Here are the details: 1. **MT5 Build:** 5505 2. **Problem:** Optimization stops with errors: - "ticks send error" - "ticks
Good morning, Please, can someone shed some light on this for me? I'm at my wit's end. I'm trying to do backtesting and I keep getting the same error. Maybe it's something simple I'm missing, but I can't see it. It can't be that it doesn't work on any system. I must be missing something. The problem
Hi! I wanted to ask if someone could 'spot' me on my logic, and hopefully point out if I have maybe missed something and to help identitify potential 'blind spots'. Thank you! Buy signal: (Strong signal) Start of the uptrend Low[0] <= Low[1] && Close[0] >= Low[1] && VOL[0] >= VOL[1] // Bearish
Hello, I'm facing a problem importing a custom symbol. Basically the field "synthetic instrument formula" is not created after importing a custom symbol json file. This is a symbol created manually: This is a symbol created importing the JSON file exported by the MT5 (The JSON file contains the
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
Installation MT5 on opensuse 16/wine 11 fails: "a debugger has been found running in your system"
(13 1 2)
Hi, when installing the latest version of metatrader 5 the message "a debugger has been found running in your system" is shown and the installation aborts. steps to reproduce: wget https://download.mql5.com/cdn/web/metaquotes.ltd/mt5/mt5setup.exe rm -R .mt5 export WINEDEBUG=-all WINEDEBUG=-all
Hello everyone, Currently, any change in server resources —such as disk expansion, CPU or RAM upgrades, Windows recovery, or VPS migration—can result in a new activation being consumed . In many cases, this leads to unintentional license loss , even though the product has not been used on a second
I'm trying to update the programs I've purchased on MT5, but the purchased products aren't displaying correctly. The purchased Expert Advisors (EAs) are still showing the "Buy" button instead of the "Update" button, and the logs keep showing errors. MQL5 Market failed to get list of user products
I have purchased an EA on the market, but it is not listed under "my purchases". How do I reinstall it onto a new MT5 platform? Thanks in advance
Market Condition Evaluation based on standard indicators in Metatrader 5
(2433 1 2 3 4 5 ... 243 244)
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
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
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
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...
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
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
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
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
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
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
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'm not sure I should have created this topic, but it's never too late to delete it😁
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
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
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
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
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
[Deleted]
Hi guys, I was interested if anyone have some EA that is working stable on prop firms like FTMO and similar. All of them I was trying, free and paid were not good at all. I also tried freelance with job offer, here I was not successful as well with anything stable and performing for long term
I have a problem with the strategy tester in MT5. Why, with the same EA parameters and settings, does it show me great results once and then wipe my account in the next test? Let's say I test the EA on a 5-minute timeframe and I get great results, I change it to a 15-minute timeframe and I get great
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
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 Levels indicator. Fully forecasting.
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 //---
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...
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
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
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
Shved Supply and Demand : This is MQL5 version of Shved Supply and Demand written by Shved and upgraded by eevviill7. Author: Behzad Movaghar
Position Size Pro Lite: Interactive Risk Calculator Panel : A professional on-chart panel for instant lot size and risk calculation. Essential for manual traders using strict risk management. Author: Hezekiah Bukola Oyetunde
SuperTrend Quant Pro Elite: Adaptive Statistical Trend Engine : An advanced, institutional-grade trend-following engine using Z-Score adaptive volatility, smart money volume filters, and a real-time MTF dashboard. Author: mazen nafee
Check out the new article: Central Force Optimization (CFO) algorithm . The article presents the Central Force Optimization (CFO) algorithm inspired by the laws of gravity. It explores how principles of physical attraction can solve optimization problems where "heavier" solutions attract less
Discussion of article "New Article Publishing System at the MQL5.community"
(111 1 2 3 4 5 ... 11 12)
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: Introduction to MQL5 (Part 36): Mastering API and WebRequest Function in MQL5 (X) . This article introduces the basic concepts behind HMAC-SHA256 and API signatures in MQL5, explaining how messages and secret keys are combined to securely authenticate requests. It lays the
Check out the new article: MQL5 Trading Tools (Part 12): Enhancing the Correlation Matrix Dashboard with Interactivity . In this article, we enhance the correlation matrix dashboard in MQL5 with interactive features like panel dragging, minimizing/maximizing, hover effects on buttons and timeframes
Check out the new article: Larry Williams Market Secrets (Part 6): Measuring Volatility Breakouts Using Market Swings . This article demonstrates how to design and implement a Larry Williams volatility breakout Expert Advisor in MQL5, covering swing-range measurement, entry-level projection
Swap Informer : Search for positive swaps. Author: Evgeniy Chumakov
Check out the new article: MQL5 Trading Tools (Part 1): Building an Interactive Visual Pending Orders Trade Assistant Tool . In this article, we introduce the development of an interactive Trade Assistant Tool in MQL5, designed to simplify placing pending orders in Forex trading. We outline the
Check out the new article: Neural Networks in Trading: Memory Augmented Context-Aware Learning for Cryptocurrency Markets (Final Part) . The MacroHFT framework for high-frequency cryptocurrency trading uses context-aware reinforcement learning and memory to adapt to dynamic market conditions. At the
Expert Advisor required to fetch news data for the FFC Calendar indicator. : This is a utility Expert Advisor required to fetch news data for the FFC Calendar indicator. It uses native WebRequest to download data safely without DLLs. Install this in MQL4/Experts folder and run on a separate chart
Check out the new article: Feature Engineering With Python And MQL5 (Part III): Angle Of Price (2) Polar Coordinates . In this article, we take our second attempt to convert the changes in price levels on any market, into a corresponding change in angle. This time around, we selected a more
Trading strategy Heads or Tails : The classic version of the Heads or Tails trading strategy with the analysis of the signal block code. Author: Vladimir Pastushak
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 <
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...
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
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?
(13 1 2)
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
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
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
Hey traders !! uuhh… if you have an EA or indicator that’s not working right cause of some errors, bugs, wrong signals, MT4 or MT5 issues… , just post the code here and show us the error .... we can fix it for you , or at less just make it work like it should , don't try to work alone just share
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.