MQL5 Algo Trading community — forex forum for traders and developers
My driver's license photo is bad so it wouldn't work to verify my identity as a seller. Now I get this message : "Your application has been rejected Sorry, your application has not passed automated checks and has been rejected. You have correctly filled the required data, but the Verified User
Hello, I submitted my first free CodeBase publication, an Expert Advisor called "Equity Guard — Daily Loss Limit Guardian with Panic Panel" (code id 73870). The automatic validation completed successfully with no errors, and I received the message "Code will be published". In my draft the five
Hi, After the recent update with the Android App of MT5, I've been experiencing the following issues: 1. Whenever I close the app and immediately come back to it, I notice the recent 3-5-8 bars/candles have disappeared and are not present in the chart, and it only shows the current bid price line
Why is my VPS saying receiving virtual server status and I am not getting any signals to my phone from my indicator
Hi, I am pretty new to programming MQL, although I have quite some experience in programming in general so maybe you can help me with this? Trying to make the first steps with MQL in MT5, one obvious thing is to prepare and calculate a trade. So I come across this: OrderCalcProfit(ORDER_TYPE_BUY
Only backtesting on historical data, Backtesting + forward testing on demo, Testing on a small live account, Statistical metrics (Sharpe ratio, profit factor, max drawdown) as primary filter, I don't validate beyond simple backtesting
Hi! Sorry for asking question. I can't register or login into https://forge.mql5.io/ website. Because, I have already registered with my email address at mql5.com. I think it's because of that my email address is already registered at forge web. Unfortunately I cannot login into forge.mql5.io with
This thread will discuss undocumented methods of working with the mql5 language , examples of solving certain problems. It would be desirable, that this branch on the maintenance was closer to FAQ, than to discussion. I suggest that all experienced programmers share their solutions and programming
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
Hi everyone, I am experiencing a persistent issue with logging into MQL5 from a VPS rented from a provider under ASN AS197540 . The problem: When trying to log in via the MQL5 terminal, I receive a 403 error (forbidden). Using a SOCKS proxy in a browser , I can access the site without issues. Using
I calculate it manually, I use Excel or an external calculator, I use an indicator or script, I use a trading panel on the chart, I trade with a fixed lot size, I do not calculate risk before entering a trade
Hello, There seems to be a bug with copy functions when we have two consecutive calls to eg CopyRate(), where we get different results compared to single calls.. Since the problem appears on consecutive call, in the example below, first a) run the first block (currday), b) comment out that and run
Hello, Just curios, do you have a plan to make dark for that portal? Cheers, GT
Hello everyone, I am working on automating a short-term XAUUSD system on M3/M1, and the problem I am dealing with is not really “how to find a signal”, but rather how to classify and manage the trade after the signal appears. The signal itself often catches a real move. In tick/backtest analysis
Dear members, I am experiencing difficulties with my MT5 trader terminal, I cannot open MarketWatch, Navigator, Toolbox. When i press the icons, i shows that it is pressed, however the tabs do not open. Could enyone troubleshoot? Thank you in advance
What are the best risk management tools you have used in trading and why
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
The strategy that I am currently developing performs very well in the strategy tester, but when I do forward testing it fails. How can I shorteh the gap between strategy tester data and forward testing
Market Condition Evaluation based on standard indicators in Metatrader 5
(2450 1 2 3 4 5 ... 244 245)
I just started this thread as a continuation of the talking made on this topic (we can read it). Or ...to make it shorter: it was some discussion about forecasting/predicting of the next candle or direction of the movement or market condition evaluation. And it was around standard indiocators in
If account is going maximum drawdown then what is the best idea to short out this panic situation as well as what is next step to do for continue in market
[Deleted]
Do you have any experience in Neural Networking or Machine Learning Trading
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
Why do many EAs fail while the same strategy works perfectly in manual trading? Manual trading lets us adapt, filter trades, and read the market in real time. EAs, on the other hand, follow strict rules — they can’t “think” like a human. Automation often reveals the gaps in a strategy rather than
Hey everyone, Long-time lurker, first time posting something like this. I've been building an EA based on BBMA methodology (Bollinger Bands + Multiple Moving Averages) applied on XAUUSD, and I've finally reached a point where the backtest numbers look... surprisingly good. Maybe too good, which is
dear traders, i have installed 3 MT5 terminals and trade with 3 different accounts with the same EA with differenct magic numbers. my problem is that they seem to be interfere with each other. For example, the EA is set to allow only maximum 1 position. It works fine for using 1 EA on 1 MT5
Hello traders, I have been working on algorithmic strategies for XAUUSD (M15 timeframe), and one of the biggest challenges I face is controlling drawdown while maintaining solid profitability. In your experience: - What risk management techniques work best for gold? - Do you prefer fixed lot or
Hi Here is the code I use for my money management. - Actually it shouldn't be called MM, as it is only calculates how many lots can I buy so that when I hit my stop loss I only loss a certain percentage of my account. I think though that is one of the crucial aspects of forex- trading - as it leads...
i want to show you and suggest you this simple and proper way of trading that i have ever seen.i mean price pattern.ofcourse many of you have heard about it but i am trading with this system and it is very practical and profitable forthermore very simple.wihout any indicator just Fib
Hello Fellow Traders! I've been working on a grid trading approach and would love to discuss the methodology with experienced traders in this community. The Technical Challenge I was looking to solve some common issues in automated grid trading: * How to handle dynamic position sizing based on
[Deleted]
How to better filter false entries in trend-following strategies on XAUUSD during volatile periods?
(14 1 2)
Hello everyone in the Trading Systems section! I'm trying to improve a simple trend-following approach specifically for XAUUSD (Gold), and one big issue I'm facing is too many false signals/entries during high volatility (news events, sudden spikes, choppy ranges). What I've tried so far: Using a
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
For the past weeks I've been developing an EA based on SMC, multitimeframe liqquidity-sweep: Stats are good IMO, DD < 10%, good sharpe ratio, etc... But I question myself about this being more stable? Such as diversifying. My main problem is choosing a variety of pairs, i.e: EUR/USD GPB/USD USD/JPY
I was doing trading and leave the screen for some minute and I want to back check the history. Is there any tick data or tick data based back check method
I 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
If BTC/USD has support at $68,000 and resistance at $70,000, what type of group or person would keep dumping at $70,000 when they make very little profit from a buy at $69,000
What is your Preffered Syle of trading? Swing Day Or Scalping? What EA would you prefer for developers to make you assuming All of the work and are profitable
[Deleted]
If you invest in stock portfolio or asset management firm, and you have 2 options 1- Long only : go long with bullish market only ( lower return ) 2- Long-Short : go long when bullish and short when bearish market ( extra return from shorting ) When strategy short stocks it expose your portfolio to
I want to demo Options board on MT5 but cant find ANY one who offers it? Where can i try the MT5 options board? Who is currently demo/ real trading with MT5 options platform? its ridiculous i cant find ANY information on how to actually do it/ who offers it. Its almost as if it doesnt exist/ noone
Seems we need a Bitcoin thread to discuss about due the growing popularity of this virtual money. Forex-TSD is studying the idea of take Bitcoins as payment method and having our thread to discuss about pros and cons sounds as good approach. You will find more information on the official Bitcoin...
i wanted to ask this to the website admin but there's no way to contact them other than the chat bot. does anybody know if as a signal provider i can sell stock signals or is it only for forex
Hi @ all, i´m new with MT 5 and wanted to know if its possible to trade on sim/demo account other markets than forex? For instance, NQ, SP500, etc. For now i only see forex markets to choose from. Any ideas? Thanks
SP500 and NASDAQ Indexes are not up to date and have been disabled for some time now. Is anyone else experiencing this
After the last MQL update on MT5 (5273 12 Sep 2025) //--- Show all the information available from the function AccountInfoDouble() printf ( "ACCOUNT_BALANCE = %G" , AccountInfoDouble ( ACCOUNT_BALANCE )); printf ( "ACCOUNT_CREDIT = %G" , AccountInfoDouble ( ACCOUNT_CREDIT )); printf (
can i re-assign a product purchased to anothert MT5 account since it met the 5 activations limit?
(4)
I purchased an indicator and has 5 activations. In my tests I used the 5 activations in demo accounts. Now I need to remove one or 2 of these activations since the demo accounts have been closed and put it in a real account. How can I do this
What is MQL5 Wizard : The MetaTrader 5 Trading Platform includes the MQL5 Wizard , which allows to quickly generate code of an Expert Advisor (Expert Advisor builder). With MQL5 Wizard, knowledge of programming languages is no longer a prerequisite for creating trading robots . In the past, it
Hi, how can Orders, Positions and Deals be linked together? Is there a way to link them apart from the magic number? Best Reguards, ZeroCafeine
Hi everyone, I'm working on a custom tool that needs to calculate position sizing based on risk percentage. My tool needs to convert distance (in Points/Pips) into a monetary value (e.g., how much $ I lose/gain if price moves X points). I've been using MarketInfo(Symbol(), MODE_TICKVALUE) to do
Hello friends !! I'm currently using AI to help me build the trading bot of my dreams, which tbh originates from a private community i'm in, they have a super good EA but i hate losing control and not having it for me. Basically it's a trading bot created by some veterans of a big broker and it's
Artificial intelligence (AI) is changing the way we buy and sell in the stock market. This discussion is about understanding how computers use AI to make quick trading decisions. We will look into how AI can spot patterns in the market, make predictions, and decide when it’s a good time to trade
[Deleted]
Hello everyone. I would like to call upon every worthy programmer and trader to a crucial mission. A scientific project of a respectable standard, with the aim of easing the developing MQL programs using every tool available. A good start would be creating a public project then let anyone willing to
Hello wondering if there is a profitable EA on the MQL market or have they all got a alternative motive. I mean lets face it, if someone had a EA that was profitable, why would they sell it. Very basic discussion but funny enough it may raise some concerns. I have had many EA's from over a period of
No response in Questions from Beginners thread so I'll create a new one, sorry for that! Hi. Tell me, please, how is the distance between the borders and the regression line calculated in the default Regression Channel in Metatrader ? Yeah, I know, it is said clearly in the documentation : >The
Hi every one. if any one can help me , i would be really happy and thankful . i want to set slippage in mt5 and also i used both order send and ctrade but for both of them there is no option to set the slippage, also i found the function Mytrade.SetDeviationInPoints() but it still does not control
Hello everyone! I am developing a trend-following strategy. The working principle is quite simple: there is a base moving average (indicating the trend direction) and additional filters - moving averages on several timeframes - the price closes above the filters on the working timeframe - it opens
Dear Members, Microsoft recently launched its own Linux distribution (Azure Linux) after recognizing that Linux has become the dominant operating system on its Azure platform, far surpassing Windows itself. This suggests the beginning of a long-term strategic shift toward Linux. Some may argue that
Hi, Should I be able to do this? 1) Create custom symbol and import 1min OHLC bar data. This includes spread values (max value from any tick in bar interval) 2) go to the tester settings 3) Change the spread to a value (1 here) 4) Save the profile 5) Run the test 6) repeat 3) and 4) for different
ObjectGetValueByTime() All time retrun 0.0 double LastUpRedrawValue =ObjectGetValueByTime(0,"Toptahlil_UpperTrendLine_"+GetPeriod(Period()),Time[iUp],OBJ_TREND);
THE CASE DESCRIPTION I am running a lot of MT5 instances on one PC in order to test all the EAs on demo accounts before they go live. Because I need more than one instance of MT5 terminal on one PC, I am running them in portable mode. I have noticed also, that the newer versions of MT5 are
Hi, I'm new to MQL5 and would like to make an indicator that identify the swing & internal points of the chart. I read that in order for you to find the swing/internal points then you need to identify the HH/HL/LL/LH of the chart. I want to collect some algorithm ideas on how to do this. Thanks
I currently have an indicator I am coding which works in two stages. Stage 1: To detect signal Stage 2: confirm the detected signal When I try to use flag to confirm signal in stage 2, it doesn't work. But same flaging method works well for EA. Please anyone with help on how I can flag and achieve
Hi, Can some share us the Supply and Demand zone indicators MQL5 file
My intention of the code below is to display 3 periods of moving average lines for the range of bars specified by chart window width. Although first period of line is drawn properly, succeeding 2 period lines fail to draw due to CopyBuffer error (4806 : Requested data not found). I cannot figure out
I'm LOOKING for the BEST REVERSAL INDICATORS PLEASE
Dozens of articles about indicators are available on this site. You'll find here examples of indicators and articles about how to create indicators. However, a beginner may have some difficulties choosing where to start when learning how to create indicators. So here are a few tips to help you find...
Multi-Dimensional Fractals (up to 4 Dimension) give us market structure with different kinds of supports and resistances. Just some words about market structure from Larry Williams "LONG-TERM SECRETS TO SHORT-TERM TRADING": "Why This Is Important Once you have this basic understanding of market...
On which time frame is it the easiest to count Elliot Waves correctly
hi, a cool indicator Tick_on_Chart i all TimeFrames :cool: only Live Tick !!!
Hello, community! I am developing a project to integrate my trading environment in MetaTrader 5 with Python, aiming to train a Machine Learning model that can optimize my trading strategy. I already have my trade history and a custom indicator in MQL5. I would like to collect this data and prepare
Is there an indicator, script, or ea that monitors the price feed and alerts when the spread on a designated pair reaches x amount? If there isn't, can one be made?
been asked for this a couple of times by pm,so here it is
Is there an indicator or plot property to send the fill in the background ? thanks
Hi, the code "while(!IsStopped())" is not working on my Indicator. I have a code like this: while (! IsStopped ()){ copied = CopyTicks ( _Symbol , ticks, COPY_TICKS_ALL , LAST_TICK_TIME, 1000000 ); Print("COPIED: "+copied); if (copied> 0 ){ LAST_TICK_TIME =
Hi, I’d like to ask how you handle measuring price velocity. There are situations in the market where you can clearly see very fast and sharp moves, and I’m wondering what is the best way to analyze them. Do you think M1 candles are sufficient for this, or do you use more precise methods such as
V1N1 LONNY MT5 : Asian Range Breakout day-trading EA. Multi-symbol, M15/M30/H1. Places pending stop orders during the London session outside the pre-London Asian range, using PSAR + MACD + Stochastic signals, with automatic London/NY DST handling, structural stops, trailing and break-even. Author
Check out the new article: Swing Extremes and Pullbacks (Part 4): Dynamic Pullback Depth Using Volatility Models . This article replaces binary swing validation with a volatility‑normalized pullback model. Retracement depth is measured as a ratio of the prior impulse and calibrated to a rolling ATR
V1N1 LONNY MT4 : Asian Range Breakout day-trading EA. Multi-symbol, M15/M30/H1. Places pending stop orders during the London session outside the pre-London Asian range, using PSAR + MACD + Stochastic signals, with automatic London/NY DST handling, structural stops, trailing and break-even. Author
Session Boxes : Session Boxes is a custom indicator for MetaTrader 5 that draws color-coded rectangular boxes on the chart representing the high-low range of the Asia, London, and New York trading sessions. The indicator uses H1 data internally and supports configurable session hours in GMT along
Check out the new article: Community of Scientists Optimization (CoSO): Theory . Secrets of effective optimization of trading strategies in metaheuristic approaches. Community of Scientists Optimization is a new population-based algorithm inspired by the mechanisms of the scientific community
Check out the new article: MQL5 Trading Tools (Part 27): Rendering Parametric Butterfly Curve on Canvas . In this article, we explore the butterfly curve, a parametric mathematical equation, and render it visually on a MQL5 canvas. We build an interactive display with a draggable, resizable canvas
Check out the new article: Shape of Price: An Introduction to TDA and Takens Embedding in MQL5 . The article presents a practical foundation for shape analysis of price series in MQL5. It implements Takens time‑delay embedding to build a phase‑space point cloud and computes the full pairwise
Check out the new article: MQL5 Trading Tools (Part 37): Adding a Per-Object Property-Editing Ribbon to the Canvas Drawing Layer . We add a descriptor-driven property stack and a floating ribbon that binds to the current selection on the drawing layer. The article covers the descriptor list for each
Check out the new article: Price Action Analysis Toolkit Development (Part 73): Building a Weekend Gap Trading Signal System in MQL5 . We extend the weekend gap toolkit with an indicator that turns gap structure into tradeable signals. When price confirms back into the gap, the indicator issues
Check out the new article: From Static MA to Adaptive Filtering (Part 2): Implementing the SAMA_NLMS Indicator in MQL5 . This article implements the NLMS-based Self-Adaptive Moving Average as a working MQL5 indicator. It provides the complete source code and explains the key design choices
Check out the new article: Overcoming Accessibility Problems in MQL5 Trading Tools (Part V): Gesture-Based Trading With Computer Vision . This article shows how to build a hands-free trading workflow for MetaTrader 5 by translating webcam-tracked hand gestures into MQL5 trade commands. We cover the
Check out the new article: Feature Engineering for ML (Part 6): Microstructural Features in MQL5 . The article introduces CMicrostructureFeatures, an MQL5 class for bar‑level microstructure features: Roll spread/impact, Corwin‑Schultz spread and sigma, Kyle's Lambda, Amihud's ILLIQ, and Hasbrouck's
RSI Grid EA Pro : RSI Grid Overlap Pro is a professional MT5 Expert Advisor combining RSI-based market entries with an adaptive grid recovery system. It features intelligent overlap order management to reduce drawdown, plus virtual trailing stop, breakeven, and three lot sizing modes — fixed
Check out the new article: Competitive Learning Algorithm (CLA) . The article presents the Competitive Learning Algorithm (CLA), a new metaheuristic optimization method based on simulating the educational process. The algorithm organizes the population of solutions into classes with students and
Previous Day highs and lows : Draws the previous day High, Low, and Close as horizontal reference lines on the chart for a configurable number of past days. Yesterday's levels extend into today as live support and resistance, with optional touch alerts. Author: 59848
Good morning everyone ... I would like to ask the experts in general if they have news on some utility for mt4 that changes time frames by entering intervals different from those pre-ordained thanks
Hello, I am posting this in the MQL4 section since there is no MQL5 section to post it in. I am creating a simple chart overlay in MT5 to visually compare two symbols. However the chart overlay indicator does not update in real time it only updates on the close of the bar. Does anyone know what
You may have already noticed that the most interesting things now happen mainly on the MQL5.community . MQL4.com is about to be switched to the data archive mode. Only Book and Documentation sections will remain on MQL4.com by November. Besides, the entire MQL4.com Forum content is to be transferred
Hi, I will release another private EA, this is called Electra, we continue using Greek names. This EA is a Multi-pair medium/long term Swing Trader. This is a positive Equity System, it mean the the equity remain in the positive side most of the time.Don't be tempted of halt and close the trades in...
Hello all, Does anyone know where I can find "Coppock Indicator" for Metatrader 4.0. Thanks nick
Mt4 on my Samsung stopped displaying charts. No error message just a static image of three candles in monochrome appear. Screenshot attached. No indication that a chart is even trying to display. Everything else in the app works fine. App was updated, same result. Same if symbol is changed. Any
Hello Support and all, I've found problem of no any alert sounds from MT4 after update as build 1408. I've confirmed all setting for sounds are Enable (Option-->Events-->Enable for all). I've confirmed MT4 teminal for 2 brokers with 1408 update have the same problem, while MT4 teminal for other 2
Sorry I'm bad english language .I'm a beginner trader, currently experiencing losses, I'm busy with work and getting older, so I don't have time to constantly monitor charts. I found a free indicator file on ForexFactory, but it doesn't send notifications to MT4 on my mobile phone. I'd appreciate it
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
Hello Supply and Demand Traders, I have a custom expert advisor which trades off supply and demand zones. The zones it trades off are from this source - https://www.mql5.com/en/code/14545 (indicator attached below). Here are the rules of the EA: - When price reaches the proximal level of an...
I looked all over the MQL4 manual and still can't find the right way to just grab these 2 chart values, as shown in the attached image. The values are highlighted in a red circle in the image. As you can see, we need the value of the bottom and top "little-squares-predrawn-by-mt4" chart values...
My current broker is VT Markets, and they use the symbol XAUUSD -ECN instead of XAUUSD+. 2026.06.04 12:47:22.049 '26612571': Signal - #84143680 sell 0.01 XAUUSD+ at 4460.69 skipped as no symbol found how can i solve this problem
Dear all, I would like to start this new thread cause I have some indicators that I paid for them and I want to share for free with you, all of you that for years share tons of ideas with me in this beautiful forum. I hope to encourage many users to do the same thing Best regards doc EDIT now the...
Dear Metaquotes Team, I am writing to express the concerns of the MetaTrader 4 (MT4) community regarding the recent update from build 1415 to build 1420. While we understand that updates are necessary to improve the platform and ensure compatibility with new protocols, we are deeply concerned about
How activate the Depth of Market option in MT4
You 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.