MQL5 Algo Trading community — forex forum for traders and developers
I was inquiring how to test the validity of mql5 EA with AI Kindly help me 😭
Which is more profitable in the long run? Risk management differences between the two approaches. Jay used copy trading . He followed a successful trader, and every trade was copied to his account automatically. One week he made profit without doing any analysis, but the next week he lost money
Brokers make it impossible for scalping EAs to profit. My EA does very well on strategy tester ( with downloaded tick data from the respective brokers and the paid versions of quantum data managers ), but the Ea performs very poorly on real market ticks. I then decided to compare the bid and ask
The new MQL5 Community website at http://www.mql5.com keeps developing. We invite all of you to make your contribution to this development. The new MQL5 is the evolutionary continuation of MQL4. The new language is characterized by the support of object oriented programming, by a higher code
Hello i want to ask how much time takes to get money in mastercard
Hi, I tried to purchase an indicator. The payment was successful but the purchase did not complete. At the top of the page I have in red: Financial operations are limited. Please contact our technical support team I click on the link and fill in the form but it keeps saying Your request has not
I have set up virtual hosting VPS and migrated it successfully however it is not migrating any charts. I have very simple needs, just running one custom indicator that provides notifications. No signals and no experts. DLLs are off, MT5 build is 64 bit, I've re synchronised and tried with only 4
Feature Request: Toggle to disable flashing colors on One-Click Trading buttons (Desptop and Mobile)
(2)
Hello MetaQuotes Team, I would like to request a setting in the MT5 mobile application that allows users to make the BUY and SELL buttons static/stable colors. Currently, the buttons flash blue and red with every tick price movement. While this is helpful for some, it can be highly distracting and
Hello, does anyone know where i can get an invoice for my MQL5 VPS subscription? I need a detailed one, but can't seem to find anyone to contact
This is something I genuinely struggle with. Whenever I improve a strategy, I can usually find another parameter to tweak, another filter to add, or another optimization run to perform. At some point, though, it feels like I'm fitting the system to the past rather than building something robust for
I have 6 free tools on MQL5 market. Every time I update the description, it gets flagged as 'bad description' and my product rating lowers. I'm trying to write honest, helpful descriptions, but I'm not sure what I'm doing wrong. Can someone explain what MQL5 considers a 'bad description'? What
On Friday, December 13, 2024, the MetaTrader 5 platform update will be released. This update fixes an error in the calculation of triple swaps in the strategy tester , which occurred under certain combinations of testing conditions. Additionally, a number of minor enhancements and fixes have been
how to contact customer service? thank You
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
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
Market Condition Evaluation based on standard indicators in Metatrader 5
(2449 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
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
Hi Here is the code I use for my money management. - Actually it shouldn't be called MM, as it is only calculates how many lots can I buy so that when I hit my stop loss I only loss a certain percentage of my account. I think though that is one of the crucial aspects of forex- trading - as it leads...
Hey everyone, Long-time lurker, first time posting something like this. I've been building an EA based on BBMA methodology (Bollinger Bands + Multiple Moving Averages) applied on XAUUSD, and I've finally reached a point where the backtest numbers look... surprisingly good. Maybe too good, which is
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
i want to show you and suggest you this simple and proper way of trading that i have ever seen.i mean price pattern.ofcourse many of you have heard about it but i am trading with this system and it is very practical and profitable forthermore very simple.wihout any indicator just Fib
Hello Fellow Traders! I've been working on a grid trading approach and would love to discuss the methodology with experienced traders in this community. The Technical Challenge I was looking to solve some common issues in automated grid trading: * How to handle dynamic position sizing based on
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
[Deleted]
How to better filter false entries in trend-following strategies on XAUUSD during volatile periods?
(14 1 2)
Hello everyone in the Trading Systems section! I'm trying to improve a simple trend-following approach specifically for XAUUSD (Gold), and one big issue I'm facing is too many false signals/entries during high volatility (news events, sudden spikes, choppy ranges). What I've tried so far: Using a
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
Hello traders and developers, I would like to start a discussion about breakout trading strategies , especially from the perspective of trade validation, false breakout filtering, and EA development in MQL5 . Breakout trading is one of the most interesting approaches because it can capture strong
[Deleted]
I have recently become more interested in Renko for some obvious reasons. However, although the chart is said to be “less noisy”, and cleaner, the real question is, “Is it more profitable as a result?” If it is easier to identify a trend , to trail, and there is less reliance upon indicators, does
Hello, I am testing automation of the MetaTrader 5 Strategy Tester using: terminal64.exe /config:path_to_config.ini Single-symbol tests and standard optimizations can be launched this way, but I have not been able to clearly confirm the behavior of: Optimization=3 which corresponds to “All symbols
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
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
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
[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
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
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
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 (
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
Hi everyone 👋 I am looking for a profitable EA 📈 regardless of the strategy.Please make me some suggestions.Thanks in advance
I am developing an EA to trade breakout, the risk- reward is 1:1 (I have tried different RR ratio but they almost got the same result in the long term.) How to avoid false breakout ? It mainly work on XAUUSD , US500 on timeframe M5. Thanks Peter
Hello, I would like clarification on MQL5's market depth behavior. I am developing an expert advisor that reads market depth data using MarketBookAdd() and MarketBookGet(). The same diagnostic EA works correctly with other brokers, but it doesn't work on my IC Markets MT5 live account. environment
Hello, I found the following message on one of my products: "Product rating lowered for bad description" I have already read the guidelines regarding Bad Description , but I have not been able to identify the problematic part of my product description. If the issue is not obvious, is there any way
As I run optimization test ,get result and run single test result not match the result. Get huge deviation, not sure it's optimization get error or single run get error. It's so confuse me. I do lot of tests base on this version code,over one month. MT5 base on version 5, build 2981. Always skip the
Hi everybody, I downloaded the demo of an expert advisor. But when I do the backtesting, then changing leverage or candle-times has no effect at all. The results are always the same in the backtest. Is there a general advice, how this can be explained? How do I know, which leverage was simulated in
I’m developing a private MT5 Expert Advisor and I do not want to share the source code. I’m looking only for architectural feedback, not strategy optimization. The EA uses a hybrid approach: SARSA/QTable plus rule-based guards, position protection with BE / trailing / StepLock / GBP profit
Hi all, Working on a directional filter for a systematic XAUUSD strategy. Need feedback from devs who've built trend-filter logic, not on my system architecture. Setup of the filter : I want to refuse entries when the price is in a clearly opposite trend context — but not be so strict that I miss
Great! Now before you come after me because of the title, please hear me out first. I got into programming EAs and when I heard the words "magic number", I was intrigued and wanted to know what they represented. So I looked up some codes on codebase and the forum and my conclusion so far is that it
I set myself a task: to demonstrate the capabilities of custom graphics via CCanvas class in a short code. Here's what came out of it. This script works in both MQL5 and MQL4. But it is much faster on MT5. Each frame is unique and does not repeat, i.e. the script is not cyclic. #include
my code below just prints best/worst equity when these are breached. And when equity hits X then closes all trades. This worked fine for oever 3 months til my lateest update 5833. i dont know if this is a bug or is my amateur coding. Here's my coding below. If you see anything that is wrong or can
Hi, my understanding of logic regarding this event is, that it is sent when the chart changes. But it does not in many circumstances in MT5: 1. User changes the scale from normal to fixed scale 2. When bars are growing and exceed the current price scale 3. When the scaling (zoom) is changed These
Is there a way to find out how many open trades i am allowed on my brokers account without having to contact them
Hello everyone 😊 , I am developing my first EA, which is built for myself. My background is an architect, so I designed it using my experience as an architect + trader + my requirements to create this EA. However, I have no background as a developer and still have a lot to learn. I am here to
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
Hi, Can some share us the Supply and Demand zone indicators MQL5 file
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
I'm LOOKING for the BEST REVERSAL INDICATORS PLEASE
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...
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...
On which time frame is it the easiest to count Elliot Waves correctly
hi, a cool indicator Tick_on_Chart i all TimeFrames :cool: only Live Tick !!!
Hello, community! I am developing a project to integrate my trading environment in MetaTrader 5 with Python, aiming to train a Machine Learning model that can optimize my trading strategy. I already have my trade history and a custom indicator in MQL5. I would like to collect this data and prepare
Is there an indicator, script, or ea that monitors the price feed and alerts when the spread on a designated pair reaches x amount? If there isn't, can one be made?
been asked for this a couple of times by pm,so here it is
Is there an indicator or plot property to send the fill in the background ? thanks
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 =
Hi, I’d like to ask how you handle measuring price velocity. There are situations in the market where you can clearly see very fast and sharp moves, and I’m wondering what is the best way to analyze them. Do you think M1 candles are sufficient for this, or do you use more precise methods such as
Check out the new article: Interactive Supply and Demand Zone Manager in MQL5: From Manual to Automated Lifecycle . Replace static drawings with automated, stateful zones controlled by a CZone wrapper. The system synchronizes user rectangles, sizes zones by ATR, validates breakouts using consecutive
Check out the new article: Market Microstructure in MQL5 (Part 4): Volatility That Remembers . This article adds eight volatility functions to MicroStructure_Foundation.mqh, including realized volatility, duration-adjusted volatility, fractional volatility, a FIGARCH-inspired proxy, a volatility
XAUUSD Spread Alert Utility MT5 : Educational MT5 chart utility that monitors XAUUSD spread on the chart and alerts when spread rises above user-defined warning or danger levels. Author: Brijesh Jaiswal
Check out the new article: From Basic to Intermediate: Objects (II) . In today's article, we will look at how to control some object properties in a simple way using code. We will also see how a custom application can place more than one object on the same chart. In addition, we will begin to
Check out the new article: Market Simulation (Part 24): Getting Started with SQL (VII) . In the previous article, we completed the necessary introduction to SQL. And, in my opinion, we properly clarified what we wanted to show and explain about SQL. This was done so that anyone who comes to look at
Check out the new article: Analyzing Price Time Gaps in MQL5 (Part II): Creating a Heat Map of Liquidity Distribution Over Time . A detailed guide on how to create a heat map indicator for MetaTrader 5 that visualizes the price distribution over time. The article reveals the mathematical basis of
Check out the new article: From Basic to Intermediate: Function Pointers . You have probably already heard about pointers when it comes to programming. But did you know that we can use this kind of data here in MQL5? Of course, this must be done in a way that keeps us in control and avoids strange
Check out the new article: Market Simulation (Part 23): Getting Started with SQL (VI) . In this article, we will see how to visualize a database and, from that, understand how it is structured. This is done by analyzing the database’s internal structure. Although this may seem unnecessary at first
fair value gap/imbalance : Dynamic Fair Value Gap (FVG) is an MQL5 indicator for MetaTrader 5 that automatically detects market price imbalances. This indicator is perfectly suited for traders utilizing the Smart Money Concepts (SMC) strategy. Author: reza rahmad
MSNR v5.31Plus AEU EA : MSNR v5.31Plus AEU EA is an Expert Advisor for MetaTrader 5 based on Malaysian SNR body levels, Smart Money reaction logic, liquidity sweep, MISS, engulfing confirmation, trendline confluence, QML, CRT and DOL target projection. The EA is designed for XAUUSD and works best on
001 - Turnaround Tuesday : Expert Advisor for testing the Turnaround Tuesday hypothesis. If Monday closes bullish, a Sell position is opened on Tuesday. If Monday closes bearish, a Buy position is opened. The EA supports an ATR-based filter, ATR-based Stop Loss and Take Profit levels, as well as
Gold Spread ATR Trend Panel MT5 : Educational MT5 chart panel for XAUUSD showing live spread, ATR volatility, EMA trend bias, RSI condition, daily range and active trading session. Author: Brijesh Jaiswal
Check out the new article: Low-Frequency Quantitative Strategies in MetaTrader 5 (Part 3): A Regime-Adaptive Mean-Reversion Swing Trading System . The article describes and codes MR Swing in MQL5, a mean‑reversion swing approach that combines a 200‑day hysteresis channel with Value Charts, DVO, and
Check out the new article: MQL5 Trading Tools (Part 34): Replacing Native Chart Objects with an Interactive Canvas Drawing Layer . We replace native MetaTrader chart objects with a canvas-based drawing engine that renders tools pixel-by-pixel on a full-chart bitmap layer. The article implements
Check out the new article: MetaTrader 5 Machine Learning Blueprint (Part 17): CPCV Backtesting — From Python Model to Tick-Level Evidence . We bridge Python-native artifacts to MQL5 for tick-accurate CPCV backtesting. The export script converts the ONNX model, calibrator, feature spec, and path
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...
I looked all over the MQL4 manual and still can't find the right way to just grab these 2 chart values, as shown in the attached image. The values are highlighted in a red circle in the image. As you can see, we need the value of the bottom and top "little-squares-predrawn-by-mt4" chart values...
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
Dear all, I would like to start this new thread cause I have some indicators that I paid for them and I want to share for free with you, all of you that for years share tons of ideas with me in this beautiful forum. I hope to encourage many users to do the same thing Best regards doc EDIT now the...
Dear Metaquotes Team, I am writing to express the concerns of the MetaTrader 4 (MT4) community regarding the recent update from build 1415 to build 1420. While we understand that updates are necessary to improve the platform and ensure compatibility with new protocols, we are deeply concerned about
How activate the Depth of Market option in MT4
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
Hi, I will release another private EA, this is called Electra, we continue using Greek names. This EA is a Multi-pair medium/long term Swing Trader. This is a positive Equity System, it mean the the equity remain in the positive side most of the time.Don't be tempted of halt and close the trades in...
MetaEditor MT4 has a built-in clipboard tracking feature that monitors the clipboard in real-time to provide quick access to recently copied data (via Alt+V). This is a useful feature for coding, but it causes a significant problem when using third-party tools that rely on the Windows clipboard to
this script converts the chart's ticks into any Second(s)timeframes !!! the Script works only for XAUUSD, you can modify it to work with other pairs or other names of Gold pair. Example custom periods: S5 S10 S15 S20 S30 S45 S50 Once the Second(s) chart is generated, you can apply almost everything
Mt4 on my Samsung stopped displaying charts. No error message just a static image of three candles in monochrome appear. Screenshot attached. No indication that a chart is even trying to display. Everything else in the app works fine. App was updated, same result. Same if symbol is changed. Any
I started this thread to post all news/signals indicators and EAs we have now and will have in the future.
hi, i 'd like to start new thread about pyramiding strategies. i am searching solution from few months, and this is my result : i ' ve developed an EA based on keltner channel and macd. if you are interested to develop my project tell me. this is my back test (2008) and screen giapel
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 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.