MQL5 Algo Trading community — forex forum for traders and developers
Hello, I installed Windows Server 2012 R2 and am running MT5 on it. However, I noticed a warning in the MT5 log recommending Windows 10 or later. Can I still continue using MT5 and my EA on Windows Server 2012 R2? Will there be any problems in the future? I prefer to use this VPS because it has
Hello, So, i was looking for a nice VPS setup that would be performant for testing and optimizing EAs (and running them on the live charts/accounts after a nice setup is found). I have some other good VPS options and I also read about the MetaTrader's own VPS for 15$/mo/1mo // 10$/mo/12mo. The
Comments that do not relate to the " Ask for help ", have been moved into this topic
We continue the development of MQL5.community, with an emphasis on social networking. And today we are pleased to announce the launch of the new website feature - the Wall.
The Wall is a digest encompassing all that is currently happening in the community and displays a variety of MQL5.com...
Hello! I'm having a reproducible problem with the Strategy Tester on MetaTrader 5, after the automatic update to build 6180 (was build 6140 before). The problem: Any backtest (single pass or optimization) that uses a custom Expert Parameters (.set) file fails instantly, with the result "some error
Subject: MT5 5.00 Build 6180 Command-Line Backtesting Error: "The procedure entry point WorldTransform could not be located in the dynamic link library" How to fix this bug???? Issue Summary: When attempting to backtest via command line, terminal64.exe crashes immediately upon startup with exit
Hello, On build 6180, when compiling through command line with /include flag, the following error is observed "Invalid resource path". This is probably the same issue as mentioned here (the thread mentioned it was fixed in 6140). https://www.mql5.com/en/forum/513579/page9#comment_60243060 This issue
Machine learning in trading: theory, models, practice and algo-trading
(37445 1 2 3 4 5 ... 3744 3745)
Good afternoon, everyone, I know that there are machine learning and statistics enthusiasts on the forum. I propose to discuss in this topic (without holivars), share and enrich our own knowledge bank in this interesting field. For beginners and not only there is a good theoretical resource in
Feature Request: Persistent and Independently Configurable AI Assistant Sessions I would like to suggest an important improvement to the MetaTrader 5 AI Assistant. 1. Independent AI Assistant Sessions The AI Assistant should support multiple independent sessions, similar to separate workspaces or
I closed my account with using it for days now i want to reopn is but it says invalid please help?
(9)
I closed my account with using it for days now i want to reopn is but it says invalid please help? i had no time before so i though i will close it and later when i start creating i will reopen the account but now it says invalid login and i cant reopen it can some one tell how i can start as i need
MetaQuotes has launched new MQL5.community information channels on Facebook, X.com (Twitter), and Telegram. These channels provide daily publications of relevant technical materials from the MQL5.com Articles and CodeBase sections. They are designed to promptly update developers on algorithmic
Title: Add the ability to export .set files during an ongoing optimization and add a “Minimum Guaranteed Profit” optimization criterion Hello MetaTrader 5 development team, I would like to suggest two improvements to the Strategy Tester / Optimization system. 1. Export .set files while a mass
On Friday, September 4, 2026, an updated version of the MetaTrader 5 platform will be released. We have significantly expanded the capabilities of the AI Assistant for working with the trading platform and Strategy Tester. The assistant can now retrieve and analyze tester reports and logs, check its
A forum mate asks me about my experience with EAs and if I've found one that produces consistent profits, I'd like to share my reply to you all and hope everyone here find or create a truly profitable EA and make decent money using it! ------ Hi, Thank you for your msg. My experience told me it's...
Hi everyone, Moved my EA from a demo to OANDA live account and it stopped opening trades completely. No errors in the journal, just silence. Figured out the problem. It was my EA had "EURUSD" hardcoded but on OANDA the symbol is "EUR_USD" with an underscore. Is there a universal way to handle this
I've been thinking about market regimes lately and I'm starting to question how we normally build EAs. Most strategies are basically built around the assumption that the market behaviour we see in the backtest will continue to exist in the future. But we all know that isn't always the case. A trend
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
I would like to start a technical discussion about Expert Advisors for algorithmic trading. I believe that identifying the market trend is certainly important, regardless of the approach used (price action, technical indicators, neural networks, etc.). However, I have the impression that the real
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 am developing a general-purpose analysis EA for MT5. Before a Strategy Tester run, the user selects an already installed custom indicator and supplies its path/inputs to the EA. The EA then uses documented MQL5 APIs such as iCustom/IndicatorCreate, BarsCalculated and CopyBuffer to analyze the
Market Condition Evaluation based on standard indicators in Metatrader 5
(2455 1 2 3 4 5 ... 245 246)
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
Hi everyone, I've been trading RSI divergences for a while, and there's still one situation that confuses me. Curious how more experienced guys handle it. On my screenshot (H1 gold), at the same moment I have: M5 -> sell divergence, 13 bars old M15 -> buy divergence M30 -> fresh buy divergence, 2
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
Hello everyone, I wanted to share some lessons learned about parameter optimization, hoping to get your feedback and maybe some ideas to improve. 1. Walk- forward optimization beats simple single-period optimization. A strategy that looks great on one year of history often breaks on the next six
This topic is created in order to have a guide and discussion about multi strategy EAs. I have seen this topic appeared in some topics but the discussion tends to die after some comments. So the intention is to have the topic in here and don't let it die
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...
Hi everyone, I created an MT5 Expert Advisor (EA) that uses 2% risk management and two indicators (Moving Average and MACD) . I ran an optimization using 3 months of backtest data and 3 months of forward test data on XAUUSDc (M5 timeframe) . Results: Backtest Profit: 15,714 USD Forward Test
Hello, I need FREE EA. FINAL LOGIC is in attached images. Please follow strictly - 100% as per images. GOLD M1 Rejection Scalper FINAL LOGIC - NO DELAY SCALPING BUY: Running RED Candle Low Rejection Wick -> Next Running BLUE Candle Body 30 Points = Instant BUY (No Candle Close Wait) SELL: Running
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
Inspired by comments and reviews received from MQL5.community members, we have added a new forum section called "Trading stocks, futures, options and other exchange instruments". Share your ideas and trading experience with the website visitors. Reach out to MetaTrader 5 developers if you have...
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
Dear all, I am trying to import historical data (M1) to MT5 from my Tradestation account. I have export the data in csv format and below there are some rows as example: "Date","Time","Open","High","Low","Close","TotalVolume" 1/2/2008,03:01:00,3841.00,3842.25,3840.25,3841.75,184
Hi, Can someone please let me know how to use Metatrader5 to trade in stocks in NSE and/or BSE stock markets in India? Thanks, Amitabh
Hi All How do I add the NSE Indian Market- Stocks and Futures into the MT5 market watch. Thanks a ton for your help. Regards Praveen
what is the procedure to add symbol from NSE to MT5 marketwatch and start trading NSE option trading and back test
Hello, Can any one please suggest me the best indicator for binary options trading? Thanks...
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
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 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
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
I need an authoritative clarification for technical validation of MetaQuotes-Demo XAUUSD. Environment: Company: MetaQuotes Ltd. Server: MetaQuotes-Demo Account: USD-denominated DEMO Symbol: XAUUSD MT5 build: 6151 Our captured XAUUSD specification confirms: Swap mode: points Swap long: -12.6 Swap
I need an authoritative clarification for technical validation. Environment: Company: MetaQuotes Ltd. Server: MetaQuotes-Demo Account: USD-denominated DEMO Symbol: XAUUSD MT5 build: 6151 On 2026-09-03 at 10:21:51 UTC, SymbolInfoCommissions("XAUUSD", rules) returned 0 , meaning no symbol commission
Do you think there is an EA that combines multiple MT5 strategies and manages them automatically based on drawdown, equity, or market conditions? Would that be useful or just overkill
For me, EA validation should be a multi-stage process rather than relying on a single backtest. I would normally look at: Backtesting over different market conditions, not only the period where the strategy performs best. Out-of-sample and forward testing to check whether the logic remains stable
HI all, a general question on the python API and more specifically propfirms. I was wondering if the brokerside is able to see that a Python API is being used to place trades - I'm currently in the process of passing propfirms which do not allow the use of EA's/ require their mql5 source code to be
Trying to find others that trade with EA's so we can try to prevent each other from making mistakes that one of us has already made.. please comment below and lets get this group started
Hi everyone, I’m new to MT5 and need some help with an Expert Advisor on an Equiti MT5 Demo account. Manual Demo trades work, and these settings are enabled: MT5 toolbar: Algo Trading ON , Tools → Options → Expert Advisors → Allow algorithmic trading ON , EA attached and allowed to trade , Terminal
the Copied trades.mq5 is generate by Ai assistant, which wrongly non-stop open order. Why??? It's real Money
Hello everyone, I am currently having fun, programming and developing EAs with different strategies. And here comes a question: I would like to make some sort of "validation manual" for EA. What methods of testing do you use while programming your Experts? What does your validation process look
Good Afternoon ! I Always use M1 and 1 minute OHLC in tester configuration windows for optimization an its ok until 2026 june, I update Metatrader to version 5 build 6140 now 2026 august and now I have to set timeframe to same as I set in tester parameter window. Example "Mean Reversion.Ex5" example
I bought mini VPS ...it worked perfectly fine for some days and gave me 1.3ms latency rather 0.38ms but it worked well for me ...but from 2-3 days latency dropped and yesterday it was 3.8 and today it is 4.9ms...and in journal i saw an order took 18.1ms to take place...this is causing my EA to miss
I need a help how to lock my EA/Script based on my login account number and one broker only such as "FXDD" ? example: my login number in my broker "FXDD" is 12345 , and I want my EA/Script can run only in that login number and FXDD broker. please help NOTE: better if you can give me an example of
Hi, I'm using MT5 terminal build 1730 64-bit. I'm running EA in strategy tester (visual mode). This EA has panel with buttons BUY and SELL for manual trading. Why buttons aren't changing state (pressed or not) when I'm clicking it during testing as it works in MT4?
I'm a bit confused of this documentation found here: https://www.mql5.com/en/docs/basis/function/events#oncalculate I quote it here: " OnCalculate The OnCalculate() function is called only in custom indicators when it's necessary to calculate the indicator values by the Calculate event. This
Attached is a coloured Hull MA. It's a fast moving average and gives quick signals for trend changes, excelent to use with a long term trend indicator! What I'd ask a programer is to program it so that once the line changes an arrow appears, bullish or bearish and an alert is signaled. Actually the
All the indicators which are helping the detection the trend please post here. The first indicator is sinTrend. The value of about zero is the float, the trend is started if the value of indicator is equal or above 0.0015 or minus 0.0015, the value of above 0 is uptrend, below 0 - downtrend
Why the version of MT5 backtest speed such slow, I pend it over night(~8 Hours), only 1 pass finished but I have brought a new cpu, the usage of CPU keep only 11%
I feel stupid. The Copy Buffer is the wrong way around.. But why? In Copy Buffer.png Attachment , you can see the Moving Average for the second last candle , should be [2]. In the top left corner , you see the comment. The first, which is the same value, is the array position [0]. Code: int OnInit
[Deleted]
I've developed a new SuperTrend indicator. It works the same as the ProRealTime version where you can set the 'Nbr Periods' and 'Multiplier' values. Bear in mind that because of differences between brokers that in places it may change direction earlier or later than the ProRealTime version if you...
Hi everyone: I have absolutely no coding experience in mq4 indicators, and am asking for help in creating an indicator. The volatility trailing stop that uses a multiple of ATR has been of great use to me in Metastock when I used to trade equities, and I've been looking for an equivalent in
Can some help in getting Supply and demand Zone indicators for MT5 ...Please share the link
(11 1 2)
Hi, Can some share us the Supply and Demand zone indicators MQL5 file
[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 everyone. I have been experimenting with marking the opening hours of the main liquidity sessions (London and New York) directly on MT5 charts as shaded zones, and using their high and low as levels for scalping entries. The idea is that a breakout of the session range in the first hour of
CodeBase indicator submission stuck at 20% - validation detects Expert Advisor instead of Indicator
(11 1 2)
Hello, I am trying to publish an Indicator to the CodeBase, but the submission is stuck and I cannot complete it. The problem: - Step 4 (Code): the progress bar stays at 20% and never advances, so I cannot reach the final submit. - Step 5 (Test): "Validation state: Not started", and the Type is
I am using the following EMA set up. emaFastCloseHandle = iMA ( _Symbol , _Period , emaFastPeriod, 0 , MODE_EMA , PRICE_CLOSE ); emaSlowCloseHandle = iMA ( _Symbol , _Period , emaSlowPeriod, 0 , MODE_EMA , PRICE_CLOSE ); My initial thoughts were doing the following double fastEma[ 2 ];
Hi Friends. I'm trying to create an indicator that shows green fill when price is above a certain level and a red fill when price is below a certain level. But the indicator keeps returning only the red fill. Code is attached below. Please help me have a look. Thanks #property
Hi, why in my script ,the high[] not return a good high ? //+------------------------------------------------------------------+ //| supertrend.mq5 | //+------------------------------------------------------------------+ #property version "1.02"
My breakout EA work on different currency pairs need an indicator to help to avoid false breakout. May be consider the volume or anything else is OK. Please advise. Thanks Peter
Tick Audit - check real tick history and backtest quality month by month : Reports, month by month, whether your symbol really has ticks or only bars - so you know which part of your backtest ran on generated ticks before you trust the curve. The Strategy Tester gives you one History Quality figure
SMC Entry Using structure : Market Structure & Smart Trade Tracker (MT5) An advanced all-in-one Smart Money Concepts (SMC) indicator that combines automated market structure mapping, momentum heatmap candles, and institutional trade execution tracking. Author: Asma Batool
SuperTrend TV : A SuperTrend that returns the same values as TradingView's ta.supertrend, shipped with the tool that proves it bar for bar against the Pine reference Author: Mykyta Samoiliuk
Change in State of Delivery : Concept: Identifies market microstructure turning points based on ICT/SMC principles. Author: Asma Batool
New article Payments and payment methods is published: MQL5.community built-in services offer great opportunities both to MQL5 developers and ordinary traders with no programming skills. But all these features can't be implemented without in-house secure payment system, that provides a convenient
New article MetaTrader 5 on Linux is published: In this article, we demonstrate an easy way to install MetaTrader 5 on popular Linux versions — Ubuntu and Debian. These systems are widely used on server hardware as well as on traders’ personal computers. Author: MetaQuotes
Pending Order Inspector MT5 : Read-only panel that checks a BUY STOP or SELL STOP against the symbol contract before you send it: price tick grid, volume minimum/step/maximum, stop distances and order permissions. It never sends, changes or suggests anything. Author: Erdem Mumin Kaynak
Order Block Detector : Detects order blocks — the last opposing candle before an impulsive move that breaks market structure — and draws them as zones that extend live until price returns and mitigates them. Structure breaks and mitigation are both evaluated only on closed bars, so nothing repaints
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
Completed Bar Trend Regime Dashboard MT5 : An MT5 dashboard that classifies completed-bar trend regimes using EMA structure, ADX/DI, higher-timeframe confirmation, ATR, breakout position and spread context. Author: Guad Bibar
Check out the new article: Mathematical Models in Grid Strategies . In this article, we will examine the application of mathematics to grid strategies. We will consider the basic principles of the strategy, as well as its advantages and disadvantages. You will learn how to build a trading grid, set
Smart S/R Zones MT4 Swing-Pivot Support and Resistance : Swing-pivot support and resistance zones clustered by touch count with adaptive zone thickness and higher-timeframe context. Author: Antonios Kokkalis
Gold Session Boxes: Sydney, Tokyo, London, New York and the overlap : Draws Sydney, Tokyo, London and New York as high/low boxes with the London-New York overlap outlined and the rollover hour shaded. Session times in GMT, broker offset detected automatically, average range of the last N sessions on
MT5 Memory Meter Panel : A lightweight memory meter dashboard that reveals current MT5 memory usage and key resource statistics directly on the chart. Author: Chukwubuikem Okeke
AI Prompt Writer - Simple AI Assistant Customization : Customize your MetaTrader 5 AI Assistant with selectable language, personality, menu and behavior using a simple prompt file. Author: Sajiro Yoshizaki
Hello, I want to be able to draw Trendlines, Channels, Fibs, essentially any object on a chart for a specific symbol e.g a horizontal line level 1.1 on EURUSD and restrict it to only the chosen symbol. However, when I drag in another symbol on the same chart window, e.g. AUDNZD, I see the same...
Hello, I have a problem loading an Expert Advisor in MetaTrader 4. My terminal version is: MetaTrader 4 Build 1478 Date: 22 August 2026 The EA is named GOLD_MT4.ex4 . When I try to load it, MT4 gives these messages: GOLD_MT4: has newer unsupported version, please update your client terminal cannot
Hi guys, Anyone got any idea on how to call this indicator to work in EA? From the forum i found several method as the following: val1=iCustom(NULL,0,"SilverTrend",3,350,2,0,0); val2=iCustom(NULL,0,"SilverTrend",3,350,2,1,0); or BuyST=iCustom(NULL, 0, "SilverTrend", 0, 0); SellST=iCustom(NULL, 0,...
Greeting , Can anyone help me please with programe lines (code base) to add to my EA -mq4 file simply , I only want the EA to open trades only if RSI value between 65 and 35 for example or 70-30... etc , it would be really appreciated sorry I don't have experience in programming
In order to construct a killer ea. I would like an opinion of what is the best indicator all of you "ELITE'S" are using for ALL TIME FRAMES. My View Daily,60min,30min - I give high marks to Squeeze_2006 combined with hist_step_stoch 15Min,10 - I give high marks to Fisher Yurik/combined With Squeeze
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...
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
Hi all, question as per subject line. I'm sure an easy fix. Anyone? thanks in advance
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
[Deleted]
Hi I wrote a very simple EA and it works in tester properly but it doesn't work as i attach that to a chart . EA is successfully loaded but the first line of start function (a comment line) is never executed. Is there any specific Error or mistake in programing that cause such a condition ? I would...
Dear Community, I've read all Doc about CButton and it seems to me, there is non built in method to perform following task 1) create CButton 2) CButton should be visible but not clickable at the beginning. Any idea, how to perform this
Hello, I want to know can MT4 send WebRequest to a server or website directly like MT5 or I need to build a .dll file to do that
I want to start a YT channel about the MQL5 language, and write a book about the language. I've read the "Trademark and Graphics/Screenshots Usage Guidelines" in the MetaQuotes site, but I still have a few questions to ask. In the website there is a "contact us" section, but no email to be found
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...
EDIT:Whilst it seems to me that this Normalization used to be a problem, theexperimental test indicators and scripts below have convinced me that this isnot (or is no longer) a problem (at least with the latest MT4 and with mybroker). The thread remains primarily for the indicator/EA below, which...
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.