MQL5 Algo Trading community — forex forum for traders and developers
I have never found a EA which can work with 50% accuracy. What's your experience please share with us thanks.
Please, i need help on VPS, i purchased VPS from mql5.com, it doesn't open or place trade, this is the 3rd time, i migrate correctly, yet doesn't work. I purchased VPS again on 14th May 2025, using Anzo Capital Platform for mql5.com and its not work. Please any suggestion on what to do
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, I have register one account as buyer for buy some EAs, Now i want to sell my EA on MQL5, can i register another account as seller ? I want to separate the seller and buyer accounts. I don't want to violate the relevant policies. What are the requirements for account registration? For example
Good Day, I'm having issues adding funds to my account due to phone number field not updated. When I try to add a phone number, I get an error, data write failed. I then created another account, only to experience the exact same issue. Can someone please advise? Thank you
For traders MT5 user interface If you can't view the calendar tab, probably it's a choice a your broker : This tab may be missing if the economic calendar is disabled on a trade server. Video : How to delete Calendar Events from charts ? Video : How to disable Calendar Events from charts ? Video
Please any one can help me today i purchased one robot for trading the payment done but are not install and not operational and blocked so please help me what i can do for operation and installation of this robot
We have updated the MQL5.com Chat to further enhance the user conversation experience. Check out the new service interface and updated functions, such as the revised friending logic. Create groups on financial topics, join existing channels, discuss current issues with fellow traders in group chats
This thread discusses MQL5 code examples. There will be examples of how to get data from indicators, how to program advisors ... in general, any questions from beginner to the MQL5 language. If you are just starting to get acquainted with the MetaTrader 5 terminal, then I can recommend the
This simple EA is supposed to take trades the the slow MA crosses the fast MA, with an added confirmation from A/D indicator. I compiled it, and it works. During the back test the indicators are showing. But its not placing trades. I asked ChatGPT and Claude but their fix also dosent work. Im stuck
Hello, In the Market appear recently Expert Advisors that look as Holy Grail by testing them in Strategy Tester . On real market they do not perform as good as on history. The issue is that they are based on RNN (neural network) models that fit to the history by teaching them on history data, but
Does closing chart work on MQL VPS? long chid= ChartFirst (); while (chid >= 0 ) // Just do ALL charts, no counting needed. { long nextID = ChartNext (chid); // Get the next chart before closing current ChartClose (chid); chid = nextID;
I'm new to MT5 and trying to find the best way of having multiple charts and timeframes open and switching between them. I've tried profiles and have found that if there are a lot of charts, indicators and objects then it's slow switching and the charts can be glitched. Before I go unistalling and
Please, in the "history" tab, is there any way for the "profit" column to be in points instead of monetary balance
Newbie question I know..trying to place a leveraged buy order for stock RNG.N. Current ask price is at 32,950. Account balance is 103€ with the same free margin (no other open positions) and a 1:200 leverage. For 50 stocks this should be enough, right? Stop loss is not set. Still getting the "not
Here is a suggestion for a possible trading system... System one is MT4-Xard777.rar and System two is XARD-BOX.rar Enjoy... All the best Xard777
How can be the best professional developer
[Deleted]
This is statistical arbitrage. Arbitrage is simple. See the difference, buy this, sell the other. If you can't take decision based on current data in the front of your eyes and need sophisticated indicator, it's no longer arbitrage, it's the speculation based on indicators!!! I put the pairs...
Some people say that it is the best signal system in the world. It is very famous system and it was developed in the interesting way: Russians recognized this system for MetaTrader some years ago and this western trading system was not very profitable (I am talking about MetaTrader only) but had as
Market Condition Evaluation based on standard indicators in Metatrader 5
(2403 1 2 3 4 5 ... 240 241)
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...
I started my journey in trading five months ago. Since then, I’ve studied all kinds of strategies— ICT, SMC, price action, and more— but none of them really worked for me, mostly because of the wide stop losses. Eventually, I switched to a demo account to develop and refine my own strategy. I
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
[Deleted]
is Envelope indicator still profitable to use? I want to know someone who make their profit with using Envelope and how to use it properly
Here is a new indicator I threw together this weekend. This is the beginning, I'm going to add more indicators to this one as I go along. Basically, this indicator gives buy and sell signals on multiple timeframes based upon stochastics and RSI. I was going to wait until I posted this one but even...
Hello all I have tested many strategies and many other stuff but i did not found them more accurant then basic analysis of the market. i mean,the Price Patterns. 1. harmony indicators : here and here. 2. candelsticks reversal patterns is here. 3. Price Patterns : - Price Patterns
hello dear traders if someone have any adaptable strategy or idea about a unique strategy that unlike %99 strategies out there can make consistent money in every market conditions (choppy and trending market) welcomes here
Hi everyone, I'm in the process of designing an EA for AUD/USD, NZD/USD, GBP/USD, and EUR/USD. My strategy enters trades on the 5-minute timeframe (M5), based on EMA50 crossing over EMA200, with confirmation from the 1-hour trend direction (H1 EMA50). I'm setting slippage to 1 pip. Before I go
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
hello traders, i am looking out for history trading in mt5,i want to do practice trading with past prices,where i dont have to wait long for the prices to move. can anybody help me out,how to do it
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
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
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 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
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
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
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
I know this is possible on demo accounts, but on real accounts? Anyone who operates with this strategy on a real account
Hello all, I'm a software engineer with a C++ background and have been using metatrader for a long time. I've been importing chart data into custom symbols successfully however, I lately have been needing to import historic prices; and in this area, MT5 is limited. The issue --seems to-- lie in the
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
[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...
does the future contracts on mt5 automatically rollover? Like ES, YM, NQ
Hi I have been trading UNLEVERAGED ETFs on non metatrader broker of Indices (NASDAQ100,S&P500) and Metals(Gold, Silver) . I was always buying .Long The reason for this choice was because no Swap is being charged and I can hold a position for months without much stress. I will now seek MT5 brokers
the red and gray lines seems to be the line graph of the "open ask & close price "... my EA does not hay ANY indicator.. where tthose lines comes from ??? and how to disable them ??? the "help info" of the MT5 does not offer help
Different value of indicator received from API compared to value shown on tester during backtest
(2)
Hi, I am using ADX indicator and the values I received at the time of execution of trade was 69 and 72 for 2 consecutive bars (increasing), while the values shown in tester for that trade was 62.5 and 58 (reducing). I have observed the same for other indicators also (Bollinger bands, MACD, EMA etc)
my errors do not happen often, however, I know that it will happen on 8 of 16 cores/threads if i start optimiser with all 16 threads enabled. But makes sense to me that it would so i never start optimiser with more than 6. But I am getting 1 core, never the same core, every 16 hours or so, with the
I have been trying to find an answer for this but still unsuccessful. Seniors, kindly guide. I want to do it using MQL5
struct economicNews { MqlCalendarEvent event ; MqlCalendarValue value ; MqlCalendarCountry country; }; //+------------------------------------------------------------------+ //| |
Hi, I work now with dark venus with several weeks, and most of the time it's working well. But sometimes, I have an exit on live for some trades that should'nt happen, and when I backtest the same trades, It not closing where the live is closing. I'm on MT5. Please check the two images below that
Can someone help me with this? I’m optimizing a new EA, everything begin correctly but then some Agents finish while others are stuck going over 100%, the overall optimization remains blocked. Optimization at 1:53 pm After 10 minutes not even a new pass executed
Hey guys, I have been encountering an issue with the strategy tester on MT5 since some time. I used it before to run tests and everything worked perfectly until yesterday I launched a backtest and it kept getting stuck at the stage of loading data. I will show you a picture of what the Journal is
I've read a few articles, and still have yet to find a working solution for this, while also trying not to deviate too far from what the documentation says to do. I'm trying to create my own custom SPY symbol ( different than the default SP500m data provided by the demo server ). For ease (and THIS
I want to calculate the data through matrix and convert the one vector to array for indicator show. And it is found there is no output array function in matrix or vector. the "row" or "col" member only output vector. https://www.mql5.com/en/docs/basis/types/matrix_vector Is it necessary the get all
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
Can someone tell me which ea is the best in MQL5 market ? There are so many EAs in MQL5. It is difficult to find good EA
For me personally I build strategies based off indicators so I follow something like the darwinex multisymbol template posted on github. I have a bunch of enums for deciding lot size, sl and tp based on ATR, new filter enum, and a bunch of functions I copy and paste over for placing trades that have
Hi, I want to set the stop loss for the trade to a particular % of the price. For making it multiple of the ticks, I used the below code: double tickValue = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_SIZE); double price = (type == ORDER_TYPE_BUY) ? SymbolInfoDouble(_Symbol, SYMBOL_ASK)
folks, it's a big pain navigating between charts and editing indicators (add, remove, change color, change time frame....etc) in mt5....so i was wondering if anyone managed to hotkey important charting and trading functions using autohotkey and elgato steam deck ? i was thinking it might be possible
Hello every one I have 3 problems with offline Charts in MT5 that provide timeframes less than M1, e.g. 5s, 10s, ... . my problems are: 1. When I open these offline charts candles create correctly but there is no bid/ask line in the chart even it's enable in the setting (I have the same indicator in
Dear all, I am trying to write an MQL5 indicator, but the buffers are empty. Additionally, the arrows are logically not shown. Can someone please help me? Here's the code: #property description "Fractals" #property indicator_chart_window #property indicator_buffers 4 #property indicator_plots 4
Hi all, I'm programmatically loading a custom indicator using IndicatorCreate() and passing values for the indicator's input parameters via the params[] array. My custom indicator uses input group declarations like " " and "--- Tick Density" to visually organize input settings in the parameters
Plotting arrows a long indicators' buffers on subwindow, which has more than one indicators , seems to be impossible to do it correctly since each indicator has its own scaling/zoom factor, and there is no way to retrieve that scale/zoom factor. Simple code to try it out
Anyone have a smoothed demark indicator ? Not the TD, just the standard but smoothed. Could have some use. Many many thanks
Hi. I din't get, or have the horizontal line on the left of my chart. Where can I get it? Adriaan
Hi Traders, If you are trading using indicators especially the one from CodeBase, I invite you to share your strategies here. Thanks for your participation
In MQL5 what command is used instead SetLevelValue(..)
Hello everyone, I am currently developing a custom indicator in MQL5 which utilizes multiple Exponential Moving Averages (EMAs). However, I am encountering a parameter count error with the iMA function and need some assistance in resolving it. The code is intended to calculate four EMAs (5, 10, 20
Been fooling around with "Trend continuation factor" indicator by M.H. Pee and somehow I could not find the "original" indicator for mt4 (the non-smoothed one) so, here it is (along with the original article by M.H.Pee about the way it should be calculated and used). One T3 smoothed version of it...
I want to know how you handle your moving average indicator. I am developing EA that is using 3MA to make trade. Exactly i want to know what is your MA Parameters? Now i am discussing about your great Parameters and your experiences to improve my 3MA Crossover EA. SO if you having any idea to...
Is the some indicator that would display how many points i can tank before i'll get a margin call? (With the current balance i have). Could be good to see it as a stop loss line. Otherwise i'll be happy to know if there is smth similar
I’m working on an MQL5 custom indicator and I’ve extracted this part of the code to test why the arrows aren’t showing up on the chart. The main logic of the indicator is working as expected, but the plotting is not. Note that this is just a part I extracted from my indicator and I’ve given random
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
Check out the new article: Neural Networks in Trading: Mask-Attention-Free Approach to Price Movement Forecasting . In this article, we will discuss the Mask-Attention-Free Transformer (MAFT) method and its application in the field of trading. Unlike traditional Transformers that require data
Check out the new article: Automating Trading Strategies in MQL5 (Part 17): Mastering the Grid-Mart Scalping Strategy with a Dynamic Dashboard . In this article, we explore the Grid-Mart Scalping Strategy, automating it in MQL5 with a dynamic dashboard for real-time trading insights. We detail its
RSI Expert Advisor - Automated Trading Tool Based on RSI : The RSI Expert Advisor (EA) is an automated trading tool developed for the MetaTrader 5 (MT5) platform. This EA leverages the Relative Strength Index (RSI) to identify buy and sell signals, incorporating risk management, partial position
Discussion of article "How to Prepare a Trading Account for Migration to Virtual Hosting"
(176 1 2 3 4 5 ... 17 18)
New article How to Prepare a Trading Account for Migration to Virtual Hosting has been published:
MetaTrader client terminal is perfect for automating trading strategies. It has all tools necessary for trading robot developers ‒ powerful C++ based MQL4/MQL5 programming language, convenient...
Discussing the article: "How to create a trading journal with MetaTrader and Google Sheets"
(13 1 2)
Check out the new article: How to create a trading journal with MetaTrader and Google Sheets . Create a trading journal using MetaTrader and Google Sheets! You will learn how to sync your trading data via HTTP POST and retrieve it using HTTP requests. In the end, You have a trading journal that will
Discussing the article: "Price Action Analysis Toolkit Development (Part 22): Correlation Dashboard"
(1)
Check out the new article: Price Action Analysis Toolkit Development (Part 22): Correlation Dashboard . This tool is a Correlation Dashboard that calculates and displays real-time correlation coefficients across multiple currency pairs. By visualizing how pairs move in relation to one another, it
Check out the new article: From Basic to Intermediate: Arrays and Strings (III) . This article considers two aspects. First, how the standard library can convert binary values to other representations such as octal, decimal, and hexadecimal. Second, we will talk about how we can determine the width
Swaps Monitor for a Single Symbol : A simple utility for monitoring long and short swaps of a single symbol. If your broker-dealer's swaps are specified in points instead of account currency, this utility automatically converts points into account currency. Swaps are tripled on Wednesday. Horizontal
Check out the new article: Developing a Replay System (Part 68): Getting the Time Right (I) . Today we will continue working on getting the mouse pointer to tell us how much time is left on a bar during periods of low liquidity. Although at first glance it seems simple, in reality this task is much
Check out the new article: Trading with the MQL5 Economic Calendar (Part 8): Optimizing News-Driven Backtesting with Smart Event Filtering and Targeted Logs . In this article, we optimize our economic calendar with smart event filtering and targeted logging for faster, clearer backtesting in live
AutoCloseOnProfitLoss Expert - Automatically Close All Positions on Profit/Loss : The AutoCloseOnProfitLoss Expert Advisor (EA) is a powerful automation tool for MetaTrader 5, designed to close all open positions when predefined profit or loss targets are reached Author: Duy Van Nguy
BollingerBandsEA : BollingerBandsEA trades according to Bollinger Bands. Author: Igor Widiger
Check out the new article: Artificial Ecosystem-based Optimization (AEO) algorithm . The article considers a metaheuristic Artificial Ecosystem-based Optimization (AEO) algorithm, which simulates interactions between ecosystem components by creating an initial population of solutions and applying
ADX Indicator (MQL5) : The ADX (Average Directional Index) Smoothed indicator enhances the standard ADX by applying dual exponential smoothing filters to reduce noise and provide clearer trend signals. It plots three lines: smoothed +DI (blue), -DI (red), and the main ADX line (green). This refined
I started this thread to post all news/signals indicators and EAs we have now and will have in the future.
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...
Hi, I read this post by Moderator32455 William Roeder 2022.07.05 14:42 #1 https://www.mql5.com/en/forum/428159 about renko backtesting. He said "The tester can only read the regular timeframes. Open the «DataFolder»\..\history and save the M1 and copy the Renko (probably M2) to M1. You don't want
Apparently, MQL5 's system thought I wanted something decompiled! I do not. I'm looking for the source code link if possible......... It's the modified zigzag from Dr. Richard Gaines (which is public code btw) but with added code to leave a shadow copy of the pointer behind as it keeps making
Hello friends. I am having problems with MQL4 indicator coding. I am not that good at programming. I am having the problems I mentioned below with the RSI indicator. Can you help me? When I add this code after the rssi buffer, both lines disappear. It does not produce an error code. Compilation is
when i put my indicator in the market it gave me this error EX4 file must be compiled using <a target="_blank" href="http://docs.mql4.com/en/basis/preprosessor/compilation"> #property strict</a> directive. what can i do to fix this error thanks in advanced
//+------------------------------------------------------------------+ //| ReverseTrade.mq4 | //| A fully functioning EA that opens a reverse trade when price hits | //| -50% of SL of an existing trade, and keeps original trade open. |
Hello, I have a very simple histogram indicator displayed in a subwindow. It displays fine unless val2 > val1 then the val2 histogram 'covers' the val1 indicator colour. Is there a simple fix to this? Is there a way to send val2 colour to the background so that both histogram colours show on this
Hello, for to copy text to clipboard, I tried the solution of ricx on https://forum.mql4.com/30795 It's running through without error, but in the clipboard there only is the first character of the input string. I tried to find an explanation and a solution and then replaced "CF_TEXT" with
Even adviser that works on ticks, or any other code, cannot save a variable in memory. Because of this, the ability to make a cool code fades away greatly. When code execution ends, the values of all variables are reset.... And already doesn't matter , that function OnTick (other global function
Hey coders, I found a code about how to maximize a chart window by using SendMessage but I can't find something like WM_MDIMINIMIZE. I googled it but I didn't find a command to minimize a window. Can someone help me? This script is working fine to maximize a chart and I figured out that
Hi! Hope everyone is doing well! I have couple of questions: In MT4: 1. When I double click for example in XAUUSD D1, this data is downloaded from trade server, right? 2. When I select Download, this gives you an alert saying that data will be downloaded from MetaQuotes, so, data is overrided with
Hi everyone, i want to change the default settings for price alert from sound to notification! When i add new alerts over the chart than the expire date is activated. I want this also off as a default. Thanks@all!
I, a custom indicator , just got a new tick and am currently in Start already. I need to find out whether I am to move up from the previous tick or down. Where do I fetch this information
How can I fetch Tick data from MT5 and MT4 broker terminal in real time (live tick data)

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.