MQL5 Algo Trading community — forex forum for traders and developers
How can i activate the signal function to purchase the signal
[BUG] MT5 Build 5440 (21 Nov 2025): Critical GUI Rendering Issue in Custom MQL Applications
(29 1 2 3)
New MT5 Terminal Build [5440] Breaks Custom MQL Graphical Interfaces (GUI) Dear MetaQuotes Team, I am writing to report a major issue concerning the graphical display of my custom MQL applications (Expert Advisors and utilities) in the newest MetaTrader 5 terminal build. The problem is specifically
Hello, last Sunday the MT5 installer downloaded directly from the broker (latest version) had a problem and couldn’t be installed at all — it showed the error in the picture, and sometimes it asked me to enter a proxy. But when I tried using the older setup file that I downloaded last month, it
Machine learning in trading: theory, models, practice and algo-trading
(37312 1 2 3 4 5 ... 3731 3732)
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
Hi! Since one of the latest versions (I won't be able to remember which, but I'm talking about last 1 month or so), I started to get the error "possible use of unitialized variable" in a code where that doesn't make sense (AFAICS): The code is as follows: MqlDateTime currDTS;
Hello everyone, I have noticed that for the past month, MetaTrader 5 has been showing incorrect maximum drawdown values in account statistics and in exported reports. The drawdown number in the summary does not match the real equity drawdown, which makes the risk statistics misleading. Has anyone
Hello. I have a question. In MetaTrader 5, when I type Persian, words are written from left to right and letters are separated. And sometimes only a straight line is drawn and the text option does not work. Please help. Thanks
Hi there community, Is it possible to delete old files from published and hidden products or change their names instead? Thank you in advance
I am trying to install MetaTrader5 and I am getting an error message that says Sorry, something went wrong. try again later! Please help
Hi there, My EA has a 24-bit bitmap which no longer shows in my trading panel in the chart. Claude AI says this is a known new issue. Can you please advise me when it is fixed or what alrernatives there are? Thanks, Steve Flying Kiwi Trading
Comments that do not relate to the " Ask for help ", have been moved into this topic
Hey what i said up top i need a broker that allows me to trade /es. can someone help me
Hi fam! Am a total newbie in the forex niche... Just signed up here on this platform... Please where do i start from? I need help... Anyone willing to put me through?
[Deleted]
Hello fellow coders/traders. I have some coding experience in Go and Elixir but i would like to learn MQL to eventually automate trading strategies i'm already using manually. I understand that experience comes over time but i can still use some of your suggestions on what learning material pr
where to request for vps credential . username and password
Hello fellow traders! I'm experiencing intermittent and severe issues with my broker's Trade Server that cause the client terminal (MT5) to desynchronize from the server. Symptom example (broker log): order #282341555 buy 20 / 20 WINZ25 at market done in 158785.980 ms (|{INTRADAY}|) Yes — 158,786 ms
[Deleted]
Hello, I am using the EMA 200, but I am confused about what ADX period I should use. Should I use ADX 200, or a lower or higher period? Up Trend: Market Price > EMA 200 ADX > 30 DI+ > DI- Down Trend: Market Price < EMA 200 ADX > 30 DI+ < DI- Please suggest what ADX period I should use. Is there any
Market Condition Evaluation based on standard indicators in Metatrader 5
(2430 1 2 3 4 5 ... 242 243)
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
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...
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
In Forex market, it is important to know the return of your investment even you are a scalper to be able not to be discourage to the result of your trade
Recently I was experimenting with a couple of indicators used for a non-scalping system presented by BigBear - https://www.mql5.com/en/forum/177573 I was debugging one of the indicators when I switched to the M5 chart and noticed a nice setup for a quick short trade... hmmm.... probably a...
[Deleted]
Hello , at Stochastic Oscillator thread , Dear Mladen wrote a cool indicator , which was Dear PAVA's idea.It was DSS3 . It's a good system for scalping . I want to scalp with it and share my result at this thread .
Hi again, The Multiple Regression Analysis and Forecasting template provides a solid basis for identifying value drivers and forecasting time series data. While it utilises a range of commonly employed statistical measures to test the validity of the analysis, results are summarized in text for ease
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
Dual Candle-stick Strategy My 4HR Dual Candlestick strategy is based on dual candlestick patterns in which the second candle is completely contained by the high and low of the first candle. Using two indicators for this strategy are Bollinger Band (20,2, close) RSI (14, close, Levels 30,50,70) Long
Try this combination on 5 min and up....you might like it...or not.... ⌒╮WELCOME ╭⌒╮ ╭⌒╮ ╭⌒╭⌒╮╭⌒╮~╭⌒╮ ,)))),'')~~ ,''~) ╱◥█◣ ╱◥█◣ |田|田||田|田| ╬╬╬╬╬╬╬╬╬╬╬╬╬╬
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
Discover in 15 Minutes: Watch the Video about Trading Signals in MetaTrader 4 and MetaTrader 5 The most frequently asked questions related to the Signals service will be collected and processed in this topic. The list of questions will be updated from time to time. Soon we will try to give answers
There are so many systems out here based on indicators and it takes so much time to go through all of them to see which one deserves merit,I simply did not feel like adding one more. However most are indicator based and lagging indicators make it difficult to really simplify trading decisions and
SP500 and NASDAQ Indexes are not up to date and have been disabled for some time now. Is anyone else experiencing this
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 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
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
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 been using amp for future trading from last two years in usa but from last three days i been noticing disconnection of data feed in live trading for almost 30 seconds to 1 minute, is anyone else have this issue
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
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
Hi I just Googled "mql5 depth of market volume", and got the following definition: In MQL5, "depth of market" (DOM) volume refers to the aggregated volumes of pending buy and sell orders at various price levels, visible in the order book
As the title says, MT5 supports options. I have been waiting for a long time, but I have not seen any use cases
Hi guys, can anyone share their experience with trading Bitcoin on nano and cent accounts? Do you have any tips regarding input settings, how they calculate decimals, and similar details? Thanks
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 (
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
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 am getting absolutely infuriated with this utter piece of crap, why is MQL5 continuing to give me the same errors despite the fact that I am doing nothing wrong? Why when I create a function which checks to ensure that all variables are not initialized to zero, does MQL5 think it's perfectly
Complement of the new year. I need help to make sense of the tester results. I have developed several EA for Mt5. When I optimize the EA using the same range of parameters with two different laptops, I get different set of results. Further, when I take optimized results/parameters from one Laptop
Using MetaEditor version 5.00 build 5430, Nov 14, 2025 I've read the docs on vectors, and trying a toy example, which compiles with the errors: 'vector_a' - unexpected token, probably type is missing? playground.mqh 32 1 '.' - semicolon expected playground.mqh 32 9 Here's the toy code
My problem is the following : Even after create a python script into the MQL5 IDE and select the MetaTrader 5 library into my script I receive the following error ModuleNotFoundError: No module named 'MetaTrader5' can somebody help me with that problem
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
Analysis of test results and optimisation in the MetaTrader 5 strategy tester
(199 1 2 3 4 5 ... 19 20)
Let's look at the results of the tests on one and a few characters. The tests will be conducted in All ticks mode. You can use your own multisymbol EA schemes to reproduce the problem and share your results. Let us denote the problem. For example, if you test one symbol, the test time takes 1
When placing a BuyLimit and a SellLimit order (both with SL=0 and TP =0) and a freezelevel is defined in the symbol config file, the SellLimit can be removed using OrderDelete, but the BuyLimit cannot. I have correctly implemented the consideration that (ask-price_open)>freezeLevel*point for
[Deleted]
Hi, Everything is OK with my Python environment in which I work every day, but when I want to import the MetaTrader5 library, I get an error message : ERROR: Could not find a version that satisfies the requirement MetaTrader5 (from versions: none) ERROR: No matching distribution found for
Can you tell me if this is a realistic tester figure? And is this a good or bad result for a year with a deposit of $3,000
When running on the Strategy Tester the optimization results are up to yesterday even if you mark the today/next day in Custom period. How to optimize on M1 today's data ? Thanks in advance
I am trying to login to Metatrader account and I have been receiving this error code. Please see code below; I first import necessary libraries and initialize which works fine from datetime import datetime import MetaTrader5 as mt5 mt5.initialize() But when I try to log in using the below code, I
Hi all, I’m working on a non-trading EA whose only purpose is to log trades for journaling and statistics, and I’d like to ask for some feedback / best practices from more experienced MQL4/MQL5 developers. The EA idea: It never opens or manages trades – it only listens for account activity It logs
I call this in tester. ChartScreenShot( 0 , "test.bmp" , 800 , 600 ,ALIGN_LEFT); It's not work. I searched all over the my pc and couldn't find any file named "test.bmp." Everyone can try it with your self. It used to work, I don't know why it has changed now
How to use forex expert correlation . Is there an expert
Is it possible to make the Strategy Tester to Optimize EA running it automatically multiple times over a range of time windows? So, instead of picking a static Start and End dates, I want to make the End date = Today, but the Start date to start from 2024.01.01 run my EA backtest and then re-run the
hi, it is nice to be introuced to such nice forum which discusses different ideas of trading and systems .. I noticed when surfing the forum that no one is talking about different currencies strength relative to each other.. where I think is Important , When We trade - we some times say we are
Hello respected MQL5 community, I am working on a trading strategy and I need an indicator like the one in the attached screenshot. Unfortunately, I do not know its name, and it might even be a custom-built one. I have tried my best to find it using common search terms, but without success. I am
Hello. How do I stop this warning from appearing? Resource indicator 'Fractal_Range.ex5' is compiled for debugging. That slows down performance. Please recompile the indicator to increase performance. I'd like to compile it without these options, but where are they? Thanks
[Deleted]
Hi all, I've been wanting to have the ability to plot indicators from different timeframes on my chart, but MT doesn't have this capability built in. (Does anyone know of any charting programs that do this natively?) As an example, if you're following the IWCR system, it'd be nice to be able to plot
Hi there, i found this script to remove all windows borders. But infortunately, it does not work. Can you please help me (or fix it for the community) ? Regards //#property script_show_inputs #import "user32.dll" int SetWindowLongA( int hWnd, int nIndex, int dwNewLong); int GetWindowLongA( int
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
I am proud of myself with how far I have come with my coding knowledge without any experience and relying only on YouTube and Google for help. I have been trying to convert an indicator from Trading View Pine Script into a MT5 indicator and have learned so much along the way. I have learned how to
Scalping EA from russian forum finlist for usdchf, M1 with the settings attached. It is very interesting but they understand the scalping as a trading on m1 timeframe only. This EA is trading no more than one trades per day. It is backtested very good on m1, m5 and m15 timeframe for usdchf, every
There had been a lot of "systems" lately relying on symbols correlation Might be interesting to actually see correlations with an indicator like this (based on math, not experience or assumption) Pearson correlation (among other things) explained : Correlation - Wikipedia, the free encyclopedia PS:...
Hi, i have a doubt about reliability of data obtained via CopyBuffer in EA. Considering this example. Let's assume we have a custom indicator where each tick in onCalculate sets 3 buffer: double A[]; double B[]; double C[]; ..... //set buffers in OnInit ..... int onCalculate(....){ //initialize
Hi, I'm a complete beginner here, and I've been trying to create an account and a connection to the agents, but I can't find my account number, I don't know where to look?Is there anyone here who can help me step by step
Equidistant ChannelStandard Deviations ChannelLinear Regression ChannelAndrew's Pitchfork (let it be too)Another channel. Will write about it in the commentsNoneI do not have an opinion on the topicI just want to see the answer
Fibo Levels indicator. Fully forecasting.
RSI_Test.mq5 | //| Copyright 2024, MetaQuotes Software Corp. | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property strict // Input parameters for the RSI input int
BTF_BB : The Bigger Time Frame Bollinger Bands indicator Author: Scriptor
Trading Volume Indicator:
Trading Volume indicator shows the volume of buying and selling trades on the current bar or on average of specific number of last bars as you want . Both volumes are shown simultaneously with green and red colors for buying and selling trading volumes respectively...
Examples from the book "Neural networks for algorithmic trading with MQL5" : The book "Neural networks in algorithmic trading with MQL5" is a comprehensive guide, covering both the theoretical foundations of artificial intelligence and neural networks and practical aspects of their application in
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
DeltaFusionLite : DeltaFusion Lite is the simplified version of the DeltaFusionPro indicator for MT4. It calculates and displays Cumulative Delta and Net Delta, giving traders a clear view of buying and selling pressure within each candle. By analyzing the distribution of volume between bid and ask
Check out the new article: Master MQL5 from Beginner to Pro (Part VI): Basics of Developing Expert Advisors . This article continues the series for beginners. Here we will discuss the basic principles of developing Expert Advisors (EAs). We will create two EAs: the first one will trade without
Indicator Arrows II : The indicator plots up/down buffer arrows in the chart window when conditions are met on one or two of the following indicators: Moving Average ; Moving Average Convergence/Divergence (MACD ); Oscillator of Moving Averages (OsMA ); Stochastic Oscillator ; Relative Strength
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
Check out the new article: From Novice to Expert: Developing a Geographic Market Awareness with MQL5 Visualization . Trading without session awareness is like navigating without a compass—you're moving, but not with purpose. Today, we're revolutionizing how traders perceive market timing by
Check out the new article: Reimagining Classic Strategies (Part 19): Deep Dive Into Moving Average Crossovers . This article revisits the classic moving average crossover strategy and examines why it often fails in noisy, fast-moving markets. It presents five alternative filtering methods designed
Check out the new article: Statistical Arbitrage Through Cointegrated Stocks (Part 8): Rolling Windows Eigenvector Comparison for Portfolio Rebalancing . This article proposes using Rolling Windows Eigenvector Comparison for early imbalance diagnostics and portfolio rebalancing in a mean-reversion
Discussing the article: "Modified Grid-Hedge EA in MQL5 (Part II): Making a Simple Grid EA"
(15 1 2)
Check out the new article: Modified Grid-Hedge EA in MQL5 (Part II): Making a Simple Grid EA . In this article, we explored the classic grid strategy, detailing its automation using an Expert Advisor in MQL5 and analyzing initial backtest results. We highlighted the strategy's need for high holding
Check out the new article: Automating Trading Strategies in MQL5 (Part 36): Supply and Demand Trading with Retest and Impulse Model . In this article, we create a supply and demand trading system in MQL5 that identifies supply and demand zones through consolidation ranges, validates them with
TrailingStopAndTake : Simple trailing of stop loss and take profit orders of open positions. Author: Scriptor
Check out the new article: Introduction to MQL5 (Part 30): Mastering API and WebRequest Function in MQL5 (IV) . Discover a step-by-step tutorial that simplifies the extraction, conversion, and organization of candle data from API responses within the MQL5 environment. This guide is perfect for
[Deleted]
I am trying to add Loss control to my EA. 1. it will stop taking new trade ones it hit X amount in loss Today and will restart taking new trade tomorrow. void TodayLossControling() { // ================================ // 1. Calculate start of current day // ================================
Hi, Mr. Guru could you please help me to constantly refresh an ea after each tick movement. I have tried everything, But I just can't make it refresh constantly. What lines of code must I insert to keep an ea and indicator refresh after every tick ? Tnx
[Deleted]
Hello, I am desperate need of help with getting my Forex Hacked EA to work on my live account. Below is the description of the issue I'm having. My broker is Forex Place (4xp). I do not have access to the code for this EA since it was purchased with rights. I will provide any information you...
So we know that some currencies correlate (or are negatively correlative) to some degree and can be used to confirm or predict movements. This indicator basically puts it all on one scale (from -1 to 1, I put the max to 1.2 so you can see the graphs without the labels getting in the way). I've coded
The RVI indicator ( Relative Vigor Index ) is a pretty good indicator which can be used in various ways to identify reversals. I developed a way to use it for making absolute fool-proof extremely safe and reliable entries, at the beginning of very significant trend direction changes. It can work as...
Hi guys anyone have the download from Eightcap MT4 or the IP Adress from this server EightcapLtd-Real-4 ip adress ? Thank you so much
Is there a possibility to start a backtest from the command line? Something like "terminal.exe -tester EAxyz EURUSD 5min 2000.01.01 2010.01.01" ? Any other idea, how I could start a backtest from outside? I want to use external programs that start different backtests automaticaly. But I have not...
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 my mt4 is set to send the data via dde to excel. excel workbooks i recalculated every 5 seconds. now for soem strange reason dde stops aftre each horu and mt4 stops to update the prices - I am on a demo account is this a known bug??? after i restart mt4 and excel all starts to work fine and the
Comments that do not relate to the " Stop Trading Today when Loss or Consecutive Loss ", have been moved into this topic
I need help please. I have a script that closes the opened positions and opens a new position in the opposite direction. But this script applies this function only to opened positions, from the current active chart. I would now like to rewrite the script so that all open trades are rotated no matter
[Deleted]
Hi all, A year ago or so I started with coding mql4 expert advisors. I have no programming background so I had to learn everything from the start. Currently I am at the stage where I can code most common strategies. In order to improve my coding skills and gain experience, I am offering to code...
Hi together, I need MetaTrader4 and when i downdload and install mt4setup.exe MetaTrader5 opens! What can I do? best regards andy
Hello MQL5 Community, I'd appreciate it if you could help me with the following errors in my code. The first is at the beginning of my "int OnInit()" code, and the second is at the end: "return(point);" I had previously made some minor changes to the code in order to resolve other errors. I'm having
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.