MQL5 Algo Trading community — forex forum for traders and developers

Dear Admins and Community Members, Could you please guide me? Unfortunately, I have been unable to complete my payment. I contacted my bank regarding the issue. They confirmed that my credit card is active, has sufficient available funds, and that all of my card details are correct. However, they
This thread will discuss undocumented methods of working with the mql5 language , examples of solving certain problems. It would be desirable, that this branch on the maintenance was closer to FAQ, than to discussion. I suggest that all experienced programmers share their solutions and programming
Hi everyone, I recently received the "Author debarred from selling products" status on my products. I'm trying to understand what usually causes this and how long it typically takes to be resolved. For those who have experienced this before: What was the reason in your case? Did MQL5 Support explain
when i click on my Market (as i wish to update the latest version of the EA) in MT5, it does not seem to be able to load in the MLQ5 market or just went black.. do you know how to fix this
  MQL5 VPS problem  (14   1 2)
My MQL5 VPS is showing 'signal disabled' in the logs, which prevents my EA from trading. I have already synchronized and migrated my account with 'Migrate All' settings, and my MQL5 community account is connected. Why is the VPS still disabling the signal service despite full synchronization?"
  GOLD, Gold and XAUUSD  (1289   1 2 3 4 5 ... 128 129)
Hi! Is it worth buying gold at 1130
I need a trade copier to copy trade from my MT4 to MT5 platform but my MT5 platform is a future one so   the symbol is completely different (EUR/USD to M6EU7).Does anyone know if any trade copier in the market here can    do that with different symbol ? I don't mind paying but it...
For me, is the moon strategy: it uses lunar phases (especially new moons and full moons) to predict market movements and make buy/sell decisions
EURUSD, GBPUSD, USDJPY, USDCHF, AUDUSD, USDCAD, NZDUSD, EURGBP, EURJPY, GBPJPY, AUDJPY, EURAUD, GBPAUD, Other
  star reviews  (18   1 2)
I had two 5-star ratings for completed jobs on Freelancer, as well as a 4-star review for an indicator. These reviews were showing on my profile overview for mnths, but they've suddenly disappeared. Can you explain why this has happened
Hi everyone, I'm experiencing a strange issue with the MQL5 VPS service. Every time I open the VPS window, I get the following errors: Error processing data. Module: 6. Please try again later. JSON parsing, code: 6 Invalid or unexpected token And in the MT5 Journal I repeatedly see: Virtual Hosting
how to contact customer service? thank You
We're introducing a new beta version of MetaTrader 5 with built-in support for the Model Context Protocol (MCP) and agentic AI. These new capabilities are now available in both the client terminal and MetaEditor, and we invite all users to participate in the public beta. How to Get the New Version
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
invalid license (538), please reinstall from MQL5 Market one of my experts doesnt work i uninstall and re install mt5 i test it on 2 devices and 4 account but it doesnt work whats the problem please help to fix it
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
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
I've been developing trading EAs for about a year now, and one thing I keep running into is the same issue over and over: lagging indicators. Take a simple trend-following strategy using an EMA Golden Cross and Death Cross. It can perform really well in certain market conditions, but over time it
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
  MetaEditor, Open AI and ChatGPT  (114   1 2 3 4 5 ... 11 12)
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
[Deleted]
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
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
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
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
The strategy that I am currently developing performs very well in the strategy tester, but when I do forward testing it fails. How can I shorteh the gap between strategy tester data and forward testing
What are the best risk management tools you have used in trading and why
  Free demo  (5)
anyone please tell me free demo is available for how many days
  What strategy actually works?  (159   1 2 3 4 5 ... 15 16)
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
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
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
  Indexes disabled  (6)
SP500 and NASDAQ Indexes are not up to date and have been disabled for some time now. Is anyone else experiencing this
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
  BTC  (9)
Does anyone here trade BTC
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
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
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
  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
[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
  Nasdaq  (1)
Does anyone here trade Nasdaq? What leverage do you get from your broker
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
  We use Bitcoin ;)  (493   1 2 3 4 5 ... 49 50)
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...
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
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 (
Hello everyone, I've been trying for a year now to develop an automatic trading algo using a neural network as a model and level 1 data (open, close, high, low candlestick prices) and several technical indicators (14). I retrieved this data in a 1-minute timeframe using mql5 scripts that I devised
Hello wondering if there is a profitable EA on the MQL market or have they all got a alternative motive. I mean lets face it, if someone had a EA that was profitable, why would they sell it. Very basic discussion but funny enough it may raise some concerns. I have had many EA's from over a period of
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
Hello All, I am working with a friend on an EA; I design & write the code (what could go wrong? 😂) and he investigates trading scenarios. Our two minds are very different and up to a point it works. However we have recently encountered a problem which I had handled badly in the code 😳 - and I am
Dear Members, Microsoft recently launched its own Linux distribution (Azure Linux) after recognizing that Linux has become the dominant operating system on its Azure platform, far surpassing Windows itself. This suggests the beginning of a long-term strategic shift toward Linux. Some may argue that
Hi MQL5 Community, I'm working on an EA specifically for XAUUSD and running into some interesting challenges that I'd like to discuss with fellow developers. The Technical Challenge: Gold's behavior differs significantly from major currency pairs. While EUR/USD responds predictably to technical
  Starting a new EA  (16   1 2)
So my name is Christoper. I am from Scotland. I have recently started trying to design an EA to get off a building site. I am an engineer so trying to adapt that and to a different part of life get me off this building site I have recently created a EA that has 1.79 profit factor a drawdown of 0.40%
Hi everyone, I'm currently working on a trend-following EA, and like many of you, I'm struggling with false breakouts during market consolidation (flat markets). To solve this, I coded a simple filter that checks the dynamic spread between two Moving Averages and ensures the current candle body size
Hey everyone, quick note first: This is not an ad. I’m genuinely curious how you use AI (Claude, Gemini, ChatGPT) in your MQL5 workflow to speed things up and reduce errors. I’d love to start a standing “Chatbots & Workflow” topic here—sharing real prompts, practices, and pitfalls. I’ve been coding
hew when optimizing and ea in mql5 what doe the section "result mean" optimization show good profit and good drawdown but results tab show all red.. looking to the below optimization wha the part i circled mean since the orther are showing profit
Hello Everyone. I have created this Renko chart generator for MT5 because I have searched for a good Renko chart generator for a long time and I did not find one , so I decided to build my own and share it with the mql community for FREE. You can find it attached. If you want any improvements let me
Hello everyone! I am developing a trend-following strategy. The working principle is quite simple: there is a base moving average (indicating the trend direction) and additional filters - moving averages on several timeframes - the price closes above the filters on the working timeframe - it opens
Let's assume I have one class defined as follows: class Test { public: string CheckValue Test () {}; }; Ontick { Test MyObject; } How can I have following Print Out (I want to create a function, that returns the member of the class/object) List of MyObject Members: string Checkvalue I don't have any
Hello, i have question :-) so the question is if we change buy stop to buy stop limit, will we avoid slippage and we dont have to pay for GSL (guaranteed stop loss- which is very expensive to this strategy ) ? I read in google that Limit stop works almost the same as Stop loss guaranteed ( that we
I purchased an indicator and has 5 activations. In my tests I used the 5 activations in demo accounts. Now I need to remove one or 2 of these activations since the demo accounts have been closed and put it in a real account. How can I do this
Object Transformation in MT5 Dear MetaQuotes Development Team, I am writing to report a technical inconsistency observed in the MT5 terminal regarding the behavior of graphical objects, specifically the Rectangle object, during manual manipulation. Description of the Issue: There is a noticeable
  Moving Average  (1551   1 2 3 4 5 ... 155 156)
Post all MA indicators here
Hi, I'm new to MQL5 and would like to make an indicator that identify the swing & internal points of the chart. I read that in order for you to find the swing/internal points then you need to identify the HH/HL/LL/LH of the chart. I want to collect some algorithm ideas on how to do this. Thanks
I have been testing a few market structure indicators lately and noticed something . At first it feels useful when the chart shows every swing BOS and CHoCH but after scrolling around it starts to look noisy . Maybe it is just me but I feel the harder part is not finding structure . It is deciding
Hi, Can some share us the Supply and Demand zone indicators MQL5 file
Dozens of articles about indicators are available on this site. You'll find here examples of indicators and articles about how to create indicators. However, a beginner may have some difficulties choosing where to start when learning how to create indicators. So here are a few tips to help you find...
Other account are fine, Other pair are fine, BTCUSDm other timeframe are fine Except the 1H I remove the account and log in again, nothing changes Pic 1 isn't like Pic 2
I for selling my bot I cannot do phone verification can you help me about it the code for verifying the phone does not reach to my text place did everything what is the reason
I'm LOOKING for the BEST REVERSAL INDICATORS PLEASE
  Point & Figure Charts  (11   1 2)
Hi, I am new to the forum and havejust bought a Windows machine and converted my broker account to using MT4 on it. Could anyone tell me where I can find Point and figure for MT4? Cheers, gram.
  Kalman Filter  (4)
I'm looking for someone that feels the have developed a good working Kalman Filter Model to use in the fx market
  Divergence Indicators  (331   1 2 3 4 5 ... 33 34)
Hi all, I am looking for an Indicator with show Divergence on the macd version i attach below , with a sound alert signal. Can any one programer help out please. Thank you
I currently have an indicator I am coding which works in two stages. Stage 1: To detect signal Stage 2: confirm the detected signal When I try to use flag to confirm signal in stage 2, it doesn't work. But same flaging method works well for EA. Please anyone with help on how I can flag and achieve
My intention of the code below is to display 3 periods of moving average lines for the range of bars specified by chart window width. Although first period of line is drawn properly, succeeding 2 period lines fail to draw due to CopyBuffer error (4806 : Requested data not found). I cannot figure out
Multi-Dimensional Fractals (up to 4 Dimension) give us market structure with different kinds of supports and resistances. Just some words about market structure from Larry Williams "LONG-TERM SECRETS TO SHORT-TERM TRADING": "Why This Is Important Once you have this basic understanding of market...
Market Structure SMC: Swings, BOS/CHoCH, Order Blocks, FVG, QML : SMC/ICT market-structure indicator for MT5: swing highs/lows, BOS (continuation) and CHoCH (reversal) confirmed on close, Order Blocks, Fair Value Gaps, and QML (Quasimodo) levels. Every feature is toggle-able, with adjustable swing
New article MQL5.community - User Memo is published: In this article we have prepared some hands-on tips that will help you to get accustomed in MQL5.community and to take full advantage of it's available features. Author: MetaQuotes Software Corp
Binary DOT Signal 60 second expired : Binary Option Signal Author: Denis Adha
Check out the new article: Dream Optimization Algorithm (DOA) . A population-based optimization algorithm inspired by a controversial and little-studied phenomenon - the mechanism of human dreams. Agent groups with different "memory", cosine-wave modulation of motion, and an unusual 99/1 phase
EA KCI Embeded Sniper : The KCI Embedded Sniper is an algorithmic trading solution designed for high-precision reversal entries. Unlike conventional Expert Advisors that rely on external indicator dependencies (which often suffer from thread desynchronization and latency), this EA features a fully
Check out the new article: Building an Internal and External Market Structure Indicator . The article presents a structured approach to external and internal market structure in MQL5, from swing identification to CHoCH/BoS validation within an established trend. It explains refining true highs/lows
Check out the new article: Creating an EMA Crossover Forward Simulation (Culmination): Interactive Synthetic Candles . This article finalizes the Forward Simulation Engine for MetaTrader 5 by calibrating synthetic candles to recent market volatility instead of using slope-only sizing. It samples
Check out the new article: MQL5 Wizard Techniques you should know (Part 100): Sliding Window Median and Bidirectional LSTM for a Custom Trailing Stop . CTrailingSlidingMedianBiLSTM is a custom MQL5 Wizard trailing module that combines robust median/MAD outlier filtering with a BiLSTM context score
Check out the new article: Automatic Session Volume Profile Builder in MQL5: Rendering POC and Value Area Without Third-Party Tools . Implement a session-focused volume profile in MQL5: acquire ticks with CopyTicksRange(), bin prices, and compute POC, VAH, and VAL by the 70% approach. The indicator
KCI Standard: A Pure Kinematic Computing Engine for Market Singularity Detection : The Kinetic Compression Index (KCI) Standard is a high-performance, purely mathematical oscillator designed to detect extreme market exhaustion and volumetric compression points known as "Singularities." By abandoning
Trade Journal Exporter - closed positions to CSV : Exports your closed positions for a configurable period to a CSV file for journal analysis in Excel or Google Sheets: entry and exit time and price (volume-weighted over partial fills), volume, result in points, commission, swap, net profit and
Position Size Calculator - risk-based lot sizing script : Calculates the correct lot size for a planned trade from your risk (percent of equity or a fixed money amount) and stop-loss distance (points or a price level). Respects the symbol's contract specification - tick size and value, volume
Spread Monitor Panel - live spread with spike alerts : On-chart panel with the live spread of the chart symbol - current, minimum, average and maximum since attach - color-coded against your warning and danger thresholds, plus an optional alert when the spread stays at the danger level for N
Check out the new article: Duelist Algorithm . What if your trading strategies could learn from each other, like real fighters? Duelist Algorithm is a new optimization method where trading system parameters literally duel for the right to be called the best. Think of the trading floor as an arena
Check out the new article: Position Management: Safe Pyramiding with a Unified Stop in MQL5 . This article presents CPyramidEngine, a reusable MQL5 class that adds disciplined pyramiding to any Expert Advisor with about six lines of integration. The engine enforces three constraints: strictly
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
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
Hello everyone, Please I need somebody's help concerning this, I have tried everything i know but to no avail. After completing my EA and compiling, it displayed "Event handling function not found!" on line 1 and column 1, I checked everything about line 1 and column 1 but there is nothing to...
Good morning everyone ... I would like to ask the experts in general if they have news on some utility for mt4 that changes time frames by entering intervals different from those pre-ordained thanks
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...
  Supply and Demand Expert Advisor  (33   1 2 3 4)
Hello Supply and Demand Traders, I have a custom expert advisor which trades off supply and demand zones.  The zones it trades off are from this source - https://www.mql5.com/en/code/14545 (indicator attached below).  Here are the rules of the EA: - When price reaches the proximal level of an...
PC specifications for MT4
-
  Kalman filter  (14   1 2)
Hello; I have completed a preliminary version of a Kalman filter and it is available fordownloading from http://www.gammarat.com/Forex/BlackBoxes/Kalman/ . You will need the three files: 1) GRFKalmanFilter.mq4 - put this in the indicators directory 2) GRFMatrixMath.mq4 - put this in the libraries...
  Pattern  (26   1 2 3)
Pattern indicators.
Hello, I have a question. Is it possible to create an offline version of MetaTrader for backtesting multi-timeframe dashboards? Specifically, I would like the dashboard to receive historical data from multiple timeframes (such as M1, M5, M15, H1, and H4) during a backtest and operate exactly as it
My current broker is VT Markets, and they use the symbol XAUUSD -ECN instead of XAUUSD+. 2026.06.04 12:47:22.049 '26612571': Signal - #84143680 sell 0.01 XAUUSD+ at 4460.69 skipped as no symbol found how can i solve this problem
  there are no trading operations  (73   1 2 3 4 5 ... 7 8)
I test me EA on my own broker it works okay. But when I send in for validation I get the following : test on EURUSD,H1 there are no trading operations test on NZDUSD,H1 there are no trading operations test on GBPUSDcheck,M30 there are no trading operations test on XAUUSDcheck,Daily there are no...
I tried updating the MT4 version of the EA that was listed on MQL5, but it kept failing validation with a "no trading operations" message. I tested it by: 1. Re-uploading the old EA that had passed validation and was already listed. 2. Creating a simple EA that ensured "trading operations" for
  Coppock Indicator  (41   1 2 3 4 5)
Hello all, Does anyone know where I can find "Coppock Indicator" for Metatrader 4.0. Thanks nick