MQL5 Algo Trading community — forex forum for traders and developers
On XAUUSD I treat spread as a veto, not as a small cost. If the broker widens into a news candle, I skip the setup even when RSI and Stochastic agree. A correct direction with a bad fill is still a losing process. I wait until spread returns to normal, then I look at the H1 close again
I backtested same strategy on two different brokers giving different results, in one it is profitable and in other broker it is showing loss, why this difference? Are backtesting results on MT5 are reliable or is it just waste of time? Whether MT5 databases are reliable to be trusted being
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
Hello, Could someone clarify the numeric timestamp semantics returned by the official MetaTrader5 Python package on MetaQuotes-Demo, terminal build 6182? During a read-only export on 10 September 2026 at approximately 06:47:27 UTC (16:47 AEST), we recorded: • AUDJPY symbol_info_tick: time =
Hello, I am preparing a product for the Market and would like to confirm a rules question before I start the adaptation work. The Service Desk directed me to the forum. The product is an MT4 utility for discretionary traders. It does not generate signals and never opens positions by itself. The user
please i deposited on mql5 community thinking it would reflect in my trade account so i could trade with it but , its not working i still see a demo as broker even when i have a real account. please how do i transfer to my real account or back into my visa/ master card account
Hello, I need a clarification about the historical server time used by the MetaQuotes-Demo MT5 server. Could someone confirm the server timezone / UTC offset on these two dates? - 1 September 2026 - 3 September 2026 I also need to know: 1. whether MetaQuotes-Demo was using DST on those dates; 2
i am working on an adaptive EA and I’ve started wondering about something that is not easy to solve. With a normal EA, we can optimize it on historical data and then test it on data that the EA has never seen before. That part is quite clear. But an adaptive EA is different. The EA can change its
Has anyone tried the installation of mt5 in the latest Ubuntu version 26.04. If yes, let me know what you think and if it working right as I have been preparing to upgrade my system to latest version of Ubuntu
I recently had a ticket about withdrawing own funds (one time) which got approved and i successfulyl withdrew. At the same time I was also changing my Broker and VPS and even bought some new EAs. So my Card Issuer blocked my card as they were concerned yesterday. I reached out to them, they asked me
Hi friends . I opened a request on 2026.08.18 and there isn't any answer yet . Does anyone know what I must to do for this ? Are there another ways to get support from mql5
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
Ran a frozen first version of a system on BTCUSDT perpetual. Still a Development run, not Validation. The halt happened during the first development segment, 1 Oct to 16 Nov 2020 UTC — later periods haven't been touched yet. Before running it I'd set two rules: halt if cumulative P&L is negative
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
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
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
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, 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
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
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
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
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
This is with version 5.00 build 5998, I have reason to believe it has been existed for a long time before. After compiling, hovering mouse on log entries opens a pop-up which shows more details. That is especially useful for checking the exact location of include or source files, as sometime
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
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 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
Hi guys, I used to experience intermitent issues with the Tester Visualization hanging on "Waiting for Update" but usually if I forced close it and retried a few times or changed the symbol it would start working again. However, now I am completely stuck. No matter what symbol I try, how many times
Hey everyone, I’ve been working on a few high-frequency EAs lately, mostly geared towards passing prop firm challenges. Some of my systems are pushing out over 10,000 trades a month. I ran into a massive bottleneck with tracking live, real-tick drawdown. Standard MT4/MT5 mobile push notifications
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 I am an IT guy and just finished my first EA using breakout stragety and it is working on my prop firm account. I want to start another new EA, any strageties are good ? Hope some experienced traders can help this IT guy. Thanks Peter
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
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
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
Hi everyone, I have a problem. If I use the simplified version of OnCalculate, I receive the price series as an array of doubles in the OnCalculate parameters. This is the price series selected by the user in the "Parameters" tab of the dialog box displayed when the indicator is added to the chart
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
CodeBase indicator submission stuck at 20% - validation detects Expert Advisor instead of Indicator
(12 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
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
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"
ZetaBurst Scalper EA : Tick-driven scalper that only trades genuine statistical outlier price moves, sized and protected to survive real broker execution delay. Backtest results included below. Author: Ali Akbar
Check out the new article: The Mathematics of Volatility: Why the GRI Indicator Deserves to Return to Your Trading Terminal . The article focuses on the Gopalakrishnan Range Index (GRI/ROCI), which quantitatively assesses the market's "degree of chaos" using the logarithm of the closing price range
Support Resistance zig zag based : Support Resistance zig zag based is a Price Action indicator designed to automatically and dynamically map Support, Resistance, and transition areas (Flip Zones) on the chart. It focuses purely on clear price structure mapping and highlighting key bounce areas (SBR
Discussing the article: "Data Science and ML (Part 48): Are Transformers a Big Deal for Trading?"
(1)
Check out the new article: Data Science and ML (Part 48): Are Transformers a Big Deal for Trading? . From ChatGPT to Gemini and many model AI tools for text, image, and video generation. Transformers have rocked the AI-world. But, are they applicable in the financial (trading) space? Let's find out
EA AurumNeuro Vanguard : AurumNeuro Vanguard is an intelligent Expert Advisor (EA) specifically designed for XAUUSD / Gold trading, combining a hybrid Neural Risk Architecture with the Unified Market Dynamics Engine (UMDE). Author: Syamsurizal Dimjati
New article How to Subscribe to Trading Signals is published: "Signals" in MetaTrader 5 trading platform allow traders to connect to any signal issued by providers. Select and subscribe to any trading signals provider to copy all his or her deals on your account. How to become an investor and
GDS Renko Momentum Demo EA : This educational Expert Advisor demonstrates one simple way to trade momentum on Renko bricks in MetaTrader 5. Momentum is the difference between the latest completed Renko close and the close N bricks earlier, divided by the brick size. A crossing above the positive
Ichimoku Edge MT4 EA : Ichimoku Edge is based on the standard Ichimoku Kinko Hyo indicator with default settings. It generates Buy and Sell signals from the cross of the Chikou Span with the price, confirmed by the position of price and Chikou Span relative to the Kumo (cloud). Author: Ajinkya
Heikin Ashi MT4 EA : Designed to trade using Heikin Ashi candles. By smoothing price action and filtering out market noise, this EA creates a clear map of market direction, allowing traders to catch strong trends, avoid false reversals, and manage trades with confidence. Author: Ajinkya Pradip
RSI booster: Scalper for any timeframe, with the "roly-poly" principle. Author: Vladimir Baskakov
Simple 2MA I: "Simple 2MA I" naked trading price action EA draws 2 mini Trend Lines with "Fractals" on chart and trades with the trend,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ. Author: Aharon Tzadik
Using the Williams AO and AC Indicators: This EA uses modified Williams Awesome Oscillator (AO) and Accelerator Oscillator (AC) indicators for trade entry. Author: raposter
Check out the new article: Creating a Cairo-Inspired Graphics Library for MetaTrader 5 (Part 2): Points, Contours and the Path . This second part adds the geometry layer to a Cairo‑inspired graphics library for MetaTrader 5. It defines a path of double‑precision points grouped into contours, records
Check out the new article: Market Simulation: Position View (XIV) . Now we will implement this solution, since MQL5 is based on the same principles as event-driven programmingю Developers often use this model when creating DLLs. I know that at first, the event-driven model will seem confusing and
Check out the new article: From Basic to Intermediate: Classes (I) . In this article, we explain what a class is and why this concept came about. Although the topic is interesting, we will focus here on the principles underlying MQL5 programming. This article is just an introduction. As the title
I know I'm asking for a boot in the head, but it seems as thought the language has changed since I was coding last. Trying to do a simple loop from 1 to 50, where the code stops at 50. What I get is: 1 to 50 then continuously loops again from 1 to 50. I want to stop at 50. Would appreciate any
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
hi,
using MT4 b745 on wine 1.7.32 i386 ubuntu
for using an expert i need to add an url into /tools/options/Expert advisor/
there is already the builtin 'http://www.mql5.com' listed
when i right-click on '+' nothing happen for adding a new url, so i double click on the previous url's field:...
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
[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
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.