MQL5 Algo Trading community — forex forum for traders and developers
Comments that do not relate to the " Ask for help ", have been moved into this topic
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
Hi administrators of MQL5 website, I find that credibility of mql5.com acting as intermediary on EA marketplaces could be tightened for the scope of not letting many sellers screwing up continuously others... and you as admins, helping for transparency, sincerity, etc... Sorry in advance for my
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
I want to know how many people from Indonesia is joining this forum. If you're from Indonesia, please comment this topic..Thank you..
I have meet an issue of MT5 after newest update. After auto update of MT5, the number of cores in Strategy Tester is reduced from 16 to 8 for optimization. I have try to remove MT5 completely and reinstall it. But the issues is still there, what should I do? I am using newest updated Windows 11 home
Hello fellas, please help me to solve my problem with my newly made signal on mql5, there is stated that " Connection state: authorization failed. Please check your trading account login and password." anyone thanks for the help
Hi my name is Simone I have tested 2 signal but they don't work please make a refound in my account of this two signal I attach screenshot. [personal data removed] My username is DevelopMxM. Kindest Regards Simone
New MetaTrader 5 Platform Build 5200: Extended OpenBLAS support and enhanced control in MQL5
(27 1 2 3)
On Friday, August 1, 2025, an updated version of the MetaTrader 5 platform will be released. In this version, we have significantly expanded support for the OpenBLAS linear algebra library in MQL5, adding nearly thirty new functions. These enhancements provide more capabilities for developing Expert
What's wrong? I can't download any indicators or EAs. I can't get any action information for any options, and there's no help available. What's going on
Hello, It seems that adding comments to some products in the Market section has stopped working. For example, product ID 2892 — when a user submits a comment, I receive a notification about the new comment, but it does not appear on the product page. This issue affects only some products — not
Any new software inevitably contains bugs that are not alwayspossible to detect even under the most rigorous in-house testing. Wetherefore attach great importance to all user reports about issues inour programs and try to answer each one of them.
In order to improve feedback from MetaTrader 5 end...
The latest versions of the MetaTrader 5 mobile app for iOS introduce a range of new features designed to help traders stay abreast of financial markets wherever they are. Added the report representing trading results in a convenient visual format. It assists in evaluating trading performance
Tens of thousands of traders use MetaTrader 5 VPS as a secure, reliable and fast hosting solution for automated trading. Recognizing the growing popularity of the service, brokerage companies approached us for the possibility to utilize VPSs to reward loyal users. This is how the Sponsored VPS
Hello, I have "forex trade manager on MT5 for Mac. Unfortunately buy and sale buttons do not function. Of course, confirming the order does not work either. Does anyone have an idea how I can fix this? Jan
You are using EA, Indicator, method, all the things that can help you make money from Forex. But when you look back at that process. How many times have you deposited money into your account, how many times have you sat in front of the screen watching your account gradually disappear. Maybe you earn
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
Hi, Is it possible to create your own private signals and have your trading accounts follow one trading account. How can you subscribe accounts to a private signal
Hello everyone, I’ve been reviewing my signal on MQL5 and I’m puzzled by the behavior of the “Growth since…” indicator: Initial deposit: USD 500, I lost that initial capital, the account dropped to almost zero → chart showed –95%, Since then I’ve made additional deposits totaling USD 15,210 and
This is the thread about books related for stocks, forex, financial market and economics. Please make a post about books with possible cover image, short description and official link to buy (amazon for example). Posts without books' presentation, without official link to buy and with refferal links...
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
Today on EurUsd, in on hour, the famous ADP Non Farm (12:15 gmt) The peak of today (point of control aka peak time of price PTP) is in the vacuum of yesterday. We stay out of market, too dangerous. I prefer trade another day. I wait & see. The good trade was the counter trend near the yesterday PTP...
Considering the potential delay in investor accounts, the stop loss set at 100-200 pips on the provider’s account could be hit faster on the investor’s end. This happens due to execution differences caused by delays, even if the provider's analysis has accurately identified the market’s power
How i can increasing gap trading for 1 minute trading for Binary Market. In live market there have lots of gap in 1 min chart. I want to trade in Binary option live market for 1 minute candle. What will be the strategy for it
Hi all, I'm new to this forum and have been trading for a long time, I thought i might as well share with you my strategy that i use and makes me consistent money. If anyone can make it into a EA that would be cool, Rules--- Any pairs, best with less than 5 pip spread. Need to take into account the
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
hello im just wanna help, can you teach me how to make a copy trading or miiror trading to my affiliate that im the one to execute and automatically copy to my affiliate
This thread won't be about a question or problem, but rather about the anouncement of the presentation and documentation of an exciting trading concept. I plan to do a series of postings here in order to keep you guys updated. Anybody who has an opinion on the topic, please don't hesitate to comment...
Market Condition Evaluation based on standard indicators in Metatrader 5
(2411 1 2 3 4 5 ... 241 242)
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
Hello, I am sharing my strategy, which I am using for manual trading, and I am planning to build an EA based on this strategy soon. This strategy works for all currency pairs and timeframes, but the recommended timeframes are M1, M5, M15, and M30. This strategy is currently giving me an 80% win
can anyone help me with a broker that will allow me to trade stocks and crypto on Meta Trader 5
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
I am searching for an Exchange applying MT5 account to trade Cryptos via MT5 Bybit was having this , but they stopped trading cryptos in MT5 account as was the best exchange and broker for trading all , but unfortunately they stopped it share me your knowledge please about any Cryptos exchange with
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
Hello there, I'm trying to trade on, Micro E_mini Nasdaq-100 index futures, As far as I know their symbol is MNQU5, I just cant seem to get them to show on MT5
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
Hi, I have data export from NT8 and need to import it in MT5 but the formats compatible with the two platforms are clearly different. Is there a process/tool to automate 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
[Deleted]
MetaQuotes Software and oneZero Financial Systems announce a new connectivity gateway for integration with Interactive Brokers Group, Inc., available through the oneZero Hub product. The gateway provides the possibility to trade stocks, futures and other exchange traded instruments on the largest...
good day. I'm new here, and I can't find an answer. Please advise: I downloaded a couple of "free" EAs to MT5 and I need to backtest them via "test". But I have a problem that it is counting my profit as a few dollars. I have something set up wrong. I need to set it up for back-testing on stocks and
Hello all, I am new to the MT5 platform & my background is in trading E-Mini S&P500 futures. Of course, I am interested in algorithmic trading but I have not been able to find any source code for this particular instrument. I would appreciate any guidance or assistance in finding some expert
Hey guys, dumb questions from a noob I just created a demo account on ****** to try their MT5 and I'm trying to find the emini futures in there (S&P 500) but I simply can't. Their website says they support it, but I just can't find it. I wonder if I'm doing something wrong here
SP500 and NASDAQ Indexes are not up to date and have been disabled for some time now. Is anyone else experiencing this
I know this is possible on demo accounts, but on real accounts? Anyone who operates with this strategy on a real account
Hello all, Long time lurker, first time poster, as I always find my answer by searching the forum. Not this time though, and I have been scratching my head for a while. After calling ChartSetSymbolPeriod (either to change Symbol or Period), my EA deinitializes (as it should), my chart is updated
Hello, I am building an Expert Advisor and need help with one function. I need a function called DeletePendingOrders that loops through all pending orders and deletes any that match my EA's magic number. Can you please show me the correct code for this function and where to put it in my EA? Here is
Hello, i search any solutions for close one or more order opened manualy with my EA manager following the instruction "CLOSE ALL ORDER WITH COMMENT...". Example: I have a very good and profitable manual strategy with one or more position on markets... In a manual trading is not possible specifi a ID
Hello Developers, While attempting to upload my EA to the Market, I encountered a confusing error. If anyone has experienced this before, I’d really appreciate your insight on what it means and how to resolve it. Any assistance is highly appreciated test on EURUSD,H1 (netting) strategy tester report
I have probably misunderstood the documention for the ArraySort() function in MQL5. https://www.mql5.com/en/docs/array/arraysort states "Sorts the values in the first dimension of a multidimensional numeric array in the ascending order". When I use this function, my arrays are sorted with Array[0]...
I am a newbie, programming a Chandelier Exit with EMA entry and exit strategy. When I backtest it, it’s only active sell order , but buy order useing the same logic code, so I am confusing why is no any active buy order and also liquidating when the liquidation conditions are not met. Is my program
Hi, after switching from Win7 to Win10 or since b.3180 the function PlaySound() no longer plays any .wav files. I constantly get the error 5019 = File does not exist. Can someone check where the Sounds (Path) folder is located? Thanks a lot! Calli
Hi! I wanted to ask if someone could help me understand my logic better. Is it incorrect to interpret: Volume[1] > Volume[2] && Open[0] > Pivot Point // Sell orders have been absorbed and now the market is in a bullish direction Volume[1] < Volume[2] && Open[0] > Pivot Point // buy orders have been
I am trying to use an old file i used before without any issue. but now i get "wrong parameters count, 6 passed, but 0 requires Label.mqh 122 9" error!! also this happens to other include files in my mt5 too. never had this issue before! both zero parameters and 6 parameter's format of function
Any broker which offers micro lot demo account? I want to back test my strategy for micro lots. To do that I need a micro lot demo account. Most brokers offer real micro lot account. But I know of none that offers a micro lot demo account. I know I can use 0.01 of a regular account to simulate micro
Dear MQL5.community, I am experiencing extremely frustrating and persistent compilation errors with my Expert Advisor (EA) in MetaEditor, and I've exhausted all standard troubleshooting steps. I'm hoping someone can provide insight into what might be a deeper issue with my MetaTrader 5 installation
I have an indicator that uses iMA along with iATR to generate a new indicator; I am able to attach this to a chart without any error. Handle = iMA(_Symbol, _Period,...). There is no error in handle generation. I try to use this indicator in my EA with the iCustom function with proper
Can anyone help? Im getting this error but tell me if im wrong. This means im not allowed a hedging function. My ea doesnt hedge byt it does open to orders either side of the market how can i fix this
Hi, i downloaded tick data from dukascopy, to get 100% quality, but it doesnt match real trades, while the mt5 symbold does. So i assume dukascopy doesnt match my brokers quotes or something? How can i know what source my broker uses so that i can download it? Thanks
Hello there, I am following the instructions for WebRequest in the documentation of MQL5. I am using the example implementation for testing, but I get the "error 4014". According to my understanding, it means that you are not allowed to make the web request. However, I have maintained the web
I’ve noticed that MetaTrader 5 has been very sluggish—it’s taking too long to open charts, and whenever a custom indicator is added to the chart, it almost never loads, even though it appears as added. Is something similar happening to you as well
Does anyone have a large collection of oscillators (works best in a trading range) that he/she put together? Maybe we could start a thread where all oscillators are gathered. And let's go a little beyound RSI and Stochastic
Hello friends I designed an indicator for MetaTrader 5 that when you click on a button it randomly selects a price on the chart Now I want this candle to be displayed in the middle of the chart after this point is found and I don't know what function I should use to identify the middle of the chart
Hello, I'm trying to send a message to my Telegram bot using WebRequest() in MetaTrader 5, but it consistently fails with error code 4006 . Here's what I've already done: Allowed WebRequest in MT5 under Tools > Options > Expert Advisors Added the URL: https://api.telegram.org/ Restarted MT5 after
Hi, I want my indicator to play a series of sounds, not just one. For that, I initially tested calling 3 PlaySound() one after the other hoping that the second would only start playing after the first was finished and the same for the third. Unfortunately I was wrong: in such conditions, even though
Dear MT5 community, I have been using the attached indicator to add empty space on the top and bottom of each chart as per pics attached. I find the indicator useful and well conceived but it might be using too much ressources and I experience some lags. My question was with other users and MT5
Dear trader Is there any theory for market statistics histogram. I don't know what is it Sincerely,
Does any one know if it is possible to add/download a favourite inticator to any smart phone version of Meter Trader 4 of 5? Thanks in view of your kind reply and assistance.
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
Is it possible for someone (ShadowWZ perhaps?) to code a WolfeWave indicator? I've just come across this method and it seems interesting. Fukinagashi at MoneyTec has put one together but it got panned at a Russian forum because it was using the ZigZag indicator and missing some elements. I noticed
when I am trying my custom indicator, I receive this message, " CO 2 08:01:24.193 lanlee_TB_Midline_with_Signals_V6.4 (GBPUSD,H1) indicator is too slow, 7547 ms. rewrite the indicator, please". who send me this message. I what should I do to improve my indicator. Or should I use faster laptop
My indicator does not place any trade, so here is the issue I don't understand when I tried to upload an indication on MQL5, but the validation report give me this below: test on EURUSD,H1 (netting) -EURUSD: no history data from 2023.05.01 00:00 to 2023.06.01 00:00 If anyone can give advise what the
Hello everyone. Do you have any information or documentation on how to implement a code in an MT5 indicator to send alerts to Telegram? Thank you very much
Require any coding expert help to allow for new price source (O+H+L+C)/4 or (O+H+L+C)*0.25 to the RSI.mq5. Thanks in advance
//+------------------------------------------------------------------+ //| SpikeDetection.mq5 | //| Advanced Spike Detection System | //+------------------------------------------------------------------+ #property indicator_chart_window
Check out the new article: Statistical Arbitrage Through Cointegrated Stocks (Part 2): Expert Advisor, Backtests, and Optimization . This article presents a sample Expert Advisor implementation for trading a basket of four Nasdaq stocks. The stocks were initially filtered based on Pearson
BBMA ZoneZeroLoss (ZZL) Grandma Ally : BBMA ZoneZeroLoss Histogram shows trading zones e.g. for "Reentry" setup for risk minimisation Author: Alexander Piechotta
Ascending Sort A Struct Array By A Field Example : This is an example of ascending sort a struct list by a field. You can find out and customize the above algorithm depending on the purpose of use, this is the most basic example is also a direction to resolve the arrangement in an array of
Bollinger Bands Crossover Signals : Indicator Description – Bollinger Bands Crossover Signals Name: Bollinger Bands Crossover Signals Version: 1.0 Author: BENALI Link: https://www.mql5.com/en/users/dahmi_benali Author: Abderrahmane Benali
Check out the new article: Mastering Market Dynamics: Creating a Support and Resistance Strategy Expert Advisor (EA) . A comprehensive guide to developing an automated trading algorithm based on the Support and Resistance strategy. Detailed information on all aspects of creating an expert advisor in
Candle Range MT5 : Candle Range MetaTrader indicator — is a very simple and lightweight indicator that displays the candle's range in pips on mouseover. In addition, to the High/Low range, it can optionally display the body size (Open/Close) for candles. Multiple display parameters are available to
Value Area Retracement Volume Indicator : The Value Area Retracement indicator, is a powerful volume profile-based tool designed to identify key trading levels—Point of Control (POC), Value Area High (VAH), Value Area Low (VAL), and Profile High/Low—across different timeframes. It helps traders spot
Check out the new article: Example of new Indicator and Conditional LSTM . This article explores the development of an Expert Advisor (EA) for automated trading that combines technical analysis with deep learning predictions. Technical indicators have long been used by the financial industry to spot
Check out the new article: Price Action Analysis Toolkit Development (Part 29): Boom and Crash Interceptor EA . Discover how the Boom & Crash Interceptor EA transforms your charts into a proactive alert system-spotting explosive moves with lightning-fast velocity scans, volatility surge checks
Check out the new article: Expert Advisor based on the universal MLP approximator . The article presents a simple and accessible way to use a neural network in a trading EA that does not require deep knowledge of machine learning. The method eliminates the target function normalization, as well as
EasyAndFastGUI library for creating graphical interfaces : The EasyAndFastGUI library allows creating graphical interfaces for custom MQL programs. Author: Anatoli Kazharski
New article Reversal patterns: Testing the Double top/bottom pattern has been published: Traders often look for trend reversal points since the price has the greatest potential for movement at the very beginning of a newly formed trend. Consequently, various reversal patterns are considered in the
ATR Percent : ATR %, ATR percentage, ATR percentage, ATR percentage, ATR percentage Author: Aleksandr Slavskii
New article How to Buy a Trading Robot on MQL5 Market? is published: Now you also can use trading robots and any technical indicators with MetaTrader 5. All you need to do is to launch MetaTrader 5 trading terminal and open Market tab of Toolbox window. Author: MetaQuotes
Swing trading 3 EMA Crossover : Hassane Zibara Author: Hassane Zibara
Hello there i just bought this EA but it doesnt work despite uploading it to my MT4 (smiley emoji icon is on) and start to use it since day 1 its like dummy stairing at you no movement no trade. I have VPS etc all works normal but this EA is dormant,,,please help. I dont know if i should enrol with
If you have questions about MQL4, MT4, MetaTrader 4, please post in this thread. Especially when your questions are related to trading functions
I started this thread to post all news/signals indicators and EAs we have now and will have in the future.
Greetings, I want to add some scripting to an existing MQL4 indicator placed in a separate function and now strugling to get an char[] variable defined. However, the compiler does not seem to agree. char [] response_post; char [] response_data; 'response_post' - undeclared identifier NYSE.mq4
An EA is master pieces of the author and copyrighted, must be great if MQ4 Vendor can make automatically generated some code to make all compiled EA is can not decompile by hacker or by everyone except MQ4 vendor. if anybody agree please reply this thread, or if do not like reply with reason too. So
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...
Dear Guys, is any MQL function, how i know what is the date of the first friday every months. Example : in February 2016 first Friday of the month, date is : 05-Feb-2016 how i know by MQL function or coding. Please help me Thanks
In this thread I will post excel files or links to them for almost all EAs tested. We will need it during the portfolio creation and it will be easy for all the member to take any decision about it. Please find excel file for Scalp_net and Scalp_net_v1.2 . It is not final version because it will be
Hi there, Can somebody help me how to detect fractal s and if the fractal corresponds with a long/short trend in a graph? Thx a million
Hi Forum, I think most of you know that problem: You see a very big and choppy range in the chart window and after a successful breakout this terribly looking range becomes tiny and tradeable. Usually I compress the y-axis a little bit. That makes a choppy chart appearing less "dangerous". Is there...
As bitcoin was climbing yesterday I had 2 ages of orders. One type from back in May when I was buying the May 23rd high. 12 orders were left open with swap fees totalling almost $40 each. The other type were bought just yesterday as the price was climbing. All the order lines were indicated in green
ex4 files seem to be getting decompiled and unlocked. Someone sent me an ex4 and then the mql4 file decompiled, the ex4 being recent. Market place EAs are also available via this service. Does MT4 change it's encryption or is every ex4 now decompilable
On Mac Ventura 13.1 Out of nowhere mt4 stopped working on Mac for no reason, ive tried reinstalling and making sure its the most updated version, nothing is working. Every time I open it it shows the dot below the app before its about to start on the Mac home screen and then it just shuts itself
Hello guys I try to log in into my trading account on mt4 but it doesn’t show me any server. I try also to log in in different broker accounts but still doesn’t show me any broker server. Is there any issue currently with mt4? Thanks for your support
Hi!. I'm asking for help, because i'm not really understanding what should i do to avoid error 4066. Basically, my goal is to store the value of iTime and iBars inside some variables right when the bot gets initialized. The problem is that i cannot do initialize the variables in the OnInit()

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.