MQL5 Algo Trading community — forex forum for traders and developers

Hi, I sent a file to a client in the "Freelance section", since then the client has not registered the end of the work and also does not respond to my messages. I requested a review (Arbitration) (10 days ago) Nothing has happened yet. Do I need to do anything else for the reviewers to review
  Volumen Lot  (3)
I use Metatrader 5 and would like to know how I can set more than 20 lots (volume). My futures trading is limited to 20
The Main Study MetaTrader module for integration with Python - documentation Python Releases for Windows - website MetaTrader5 : Python Package - website ---------------- The Article MetaTrader 5 and Python integration: receiving and sending data - the article Implementing Practical Modules
Hello Moderators, from tab 'Trading History' of a MT5 signal, how can I know SL/TP prices and comments of each trade ? and how can I know which trades from that signal used partial closes ? Thanks
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 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
  what should i do  (3)
I accidentally deposited $20 but the withdrawal is not possible. Does anyone need the account so I can get my money back? Help
To improve the convenience of our services, we have added tips on the most frequent Customer issues in the Freelance. We collected feedback and comments from trading robot and technical indicator Developers in a special forum topic, and prepared short tips with images based on these comments. All...
Hello MetaTrader Support, I am writing to request assistance with an issue I'm experiencing on the MetaTrader platform MT5. Whenever I receive a new message through the platform’s internal mailbox, the active tab automatically switches from “Trade” to “Mailbox.” This behavior is highly disruptive
I am trying to withdraw using a credit card and it's always refused. The Service Desk keep repeating "Declined by issuing bank". So I contacted the card provider, and they said they never received any request (I had to ask 4 times). So I asked again to our dear ServiceDesk and they said it's
Hey I've been having this problem for about 3 months now and nothing I do can seem to fix it. Ive signed into different accounts, redownloaded the app multiple times and updated the app along with my computer. It doesn't matter what chart I use they all are frozen on the same date and they never
Hello, I need your help regarding two recent purchases I made on MQL5. On July 8 , I tried to purchase the MT4 indicator "M1 Arrow" directly from the terminal. I entered my credit card details and finalized the payment, but the payment process got stuck in a loop and never completed. So I went to my
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
Why are there fewer jobs for mql4/mql5? Has the craze for mql 4/mql5 reduced
IT SAYS PAYMENT FAILED CONTACT CUSTOMER CARE
Good day dear forum members. After reading the forum a bit, I came across several threads on arbitrage and pair trading . Judging by the threads, some are interested and some are trying it. I used to dabble in this topic a long time ago, but my knowledge was not enough. Now I am a complete mess in
Hello, I 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
  What strategy actually works?  (42   1 2 3 4 5)
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
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...
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
  Forex Market Profile  (28   1 2 3)
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...
  Harmonic Trading  (5994   1 2 3 4 5 ... 599 600)
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
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
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
  Simple Ichimoku System  (166   1 2 3 4 5 ... 16 17)
Simple Ichimoku System. Some members remember Ichimoku informational template for Asctrend M5 elite section system thread: https://www.mql5.com/en/forum/174756 and new set of this system from this post. It is so called Ichimoku informational template to check market condition on H4/D1 timeframe...
  Something Interesting to Read  (132   1 2 3 4 5 ... 13 14)
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...
  Trade Assistant  (45   1 2 3 4 5)
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...
  ASCTrend system  (1331   1 2 3 4 5 ... 133 134)
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
  Trading System by Xard777  (3899   1 2 3 4 5 ... 389 390)
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
  For "Solar wind" believers  (401   1 2 3 4 5 ... 40 41)
Since it seems that some new reincarnation of "Solar wind" is appearing at least on a weekly basis, and since it seems that is useless to repeat over and over that it is a wrongly coded Ehlers fisher transform and that it is one of the most famous re painters, here is this nice little thread in
  Need a broker  (3)
can anyone help me with a broker that will allow me to trade stocks and crypto on Meta Trader 5
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
  MT5 FOR cryptos  (1)
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
  Who are the resistance?  (14   1 2)
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...
  DOM Ladder  (17   1 2)
Hi. How much would it cost to make this DOM?
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
  Simple trade automation?  (11   1 2)
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
  Trading Futures  (6)
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
  Indexes disabled  (2)
SP500 and NASDAQ Indexes are not up to date and have been disabled for some time now. Is anyone else experiencing this
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
Hello traders, I wanted to build a simple code that shows my name on a Rectangle Label. So, I wrote it as follows: //+------------------------------------------------------------------+ //| Object test v1.0.mq5 | //|
Hello, dear traders! I have noticed the optimization with Cloud Network using only 32 agents but in past (in start of the 2025) was about 440 agents in start of the optimization. Does anyone knows why using so few count of agents
Hello, I am testing on an old account with thousands of closed orders on MT5, that is more than 4 years old. When using functions like HistorySelectByPosition, the entire terminal freezes. I use this function to track the profit of the closed trades when they close. I have also profiled the EA, and
Why, in Debug does it always take 2 Run commands to execute a breakpoint on the following line: ulong orderID_result=result.order; I must hit Run twice to execute a breakpoint placed on the line above. Why? Is this a Bug? It doesn't seem right
In MQL5, can you pass function parameters in any order as named parameters? Google Search says that you can, but it doesn't compile. Google Search sample code. This doesn't compile. void OnStart () { MyFunction(param3 = "new value" , param1 = 10 ); //param2 uses the default value
Please, if this function or the complete code is available, I would be grateful to you
Hey all, is this a system error or an issue with my product ? Any way to resolve this ? Thanks in advance
Could some review my code which I've attached below and let me know why do I occasionally get Error Code 10016 indicating it's an Invalid stops ? For reference here is one of the many log messages I receive in the MetaTrader 5's Journal 2023.06.02 00:23:36.885 Trades '5013799956': failed modify
Hi, I'm trying to calculate lot size in a such way so that it will fit in account balance and satisfy broker's margin requirement. The complexity is added by the fact, that my account is in AUD and XAUUSD is in USD. Here is my current calculation: double marginInitial; double marginMaintenance;
Why cloud network services show disconnected? how to fix it and make it connected
I'm writing an EA using mql5. It works fine when I use MetaQuotes Demo Account but when I switch to my brockers' demo account. It throws an error message in the journal when it opens positions: 13:00:12.294 Trades '45767': failed market buy 10 EURUSD sl: 0.99529 [AutoTrading disabled by server]
Ive come across a warning when writing an expert advisor that I don't understand. I have some ideas on why I'm getting it but was hoping someone could clarify. I'm getting the warning possible loss of data due to type conversion warning when compiling the code attached. I know this error is normally
I have this EA code that seems syntactically correct, but it always fails to compile with an "unexpected token" error. The error appears on different lines each time (like line 75 in the attached screenshot), even though the lines look correct. I have already tried cleaning the code by pasting it
Hi all, After completing the optimisation of an algorithm, I'm unsure how to choose the best result. I often notice a discrepancy between the forward optimisation and the general optimisation results—so which one should I rely on more? Additionally, I've come across a few inconsistencies in the
I have a python script, which I rented a MT5 VPS and run it on its Python Editor. The code does backtesting, based on this it calculated how long should live trading run. But live trading tends to terminates around the 2-3 hour mark. I have print statements on the code for show if termination is due
Hi Can someone help me to know which piece of code is causing Zero Divide error, so I can fix it. 2024.03.09 13:30:06.707 login (build 4153) 2024.03.09 13:30:06.722 template file tester.tpl added. 7012 bytes loaded 2024.03.09 13:30:06.725 expert file added: Experts\Algo\EAToTest\TestEA_iVP-v6.ex5
//+------------------------------------------------------------------+ //| SpikeDetection.mq5 | //| Advanced Spike Detection System | //+------------------------------------------------------------------+ #property indicator_chart_window
Hello All, I`m a mt5 newbee and would like to ask for help. Since several weeks I serach for this indicator for MT5: https://www.tradingview.com/script/2KE8wTuF-Indicator-WaveTrend-Oscillator-WT/ Is it possible to "translate" into mt5-code? // // @author LazyBear // // If you use this code...
  Cycle indicators  (242   1 2 3 4 5 ... 24 25)
Are there any indicators/tools/methods for determining cycles? I am interested in finding daily cycles and also finding cycles on shorter time frames as well. As a side note:Does anyone know of certain times of the day when price is likely to reverse its direction? thank you
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
Dear trader  Is there any theory for market statistics histogram. I don't know what is it Sincerely,
  Binary Options  (2)
Hey does anyone have a good suggestion for a indicator that provides signals for forex pairs on the 1-5 min time frames
  ADX indicator?  (257   1 2 3 4 5 ... 25 26)
Hi, Was wondering where I could get my hands on the ADX indicator with color changing when above a certain level
As title, i've already set INDICATOR_LEVELCOLOR = clrNONE but it still show level color on initialize. for ( int i = 0 ; i < 8 ; ++i) { IndicatorSetDouble ( INDICATOR_LEVELVALUE , i, i + 1 ); IndicatorSetInteger ( INDICATOR_LEVELCOLOR , i, clrNONE ); IndicatorSetInteger (
I want to make an indicator by this code - https://www.mql5.com/en/forum/39835 But i do not understand it properly. How to use it for binary option put and call. What's the meaning lower wick number? Upper wick number and body number? How can i count it for buyer and sellers power? Can anyone
Hi all, I've created a custom lorentz curve indicator inspired from one of them in TradingView however, when I use it in my EA with iCustom() and I copy the CopyBuffer ( hLorentz , 3 , 1 , SIGNAL_BUFFER_SIZE , stateBuf ) != SIGNAL_BUFFER_SIZE ), it says the 0 index values are different for
Dear Viewer, Can somebody please convert this small MT4 indicator to MT5 version, would be highly thankful 🙏🏻
I'm not really a great programmer but sometime I can modify some indicators to make our trading life easier. Attached are some modified indicators and some useful ones too. Most of these indicators are not mine. Credits are in the source codes....
I have lost my money past 6 months. So i do not want more losses. Please suggest me good indicator or EA that make me profitable. Win rate minimum 85% to 90. Please suggest
  Indicators with alerts/signal  (15926   1 2 3 4 5 ... 1592 1593)
Some indicators with alert/signals with author's comments: - EMA-Crossover_Signal: Enter two Exponential Moving Average periods and it'll tell you when they crossed. - SMA-Crossover_Signal: Enter two Simple Moving Average periods and it'll tell you when they crossed. - SMMA-Crossover_Signal: Enter...
Check out the new article: MQL5 Trading Tools (Part 4): Improving the Multi-Timeframe Scanner Dashboard with Dynamic Positioning and Toggle Features . In this article, we upgrade the MQL5 Multi-Timeframe Scanner Dashboard with movable and toggle features. We enable dragging the dashboard and a
Pending tread EA (Best for Gold) : The Pending_tread EA is a versatile and easy-to-use trading robot designed to automate the placement and management of multiple pending orders arranged in a grid pattern above and below the current market price. This EA is well-suited for scalping strategies and
Check out the new article: Trend Prediction with LSTM for Trend-Following Strategies . Long Short-Term Memory (LSTM) is a type of recurrent neural network (RNN) designed to model sequential data by effectively capturing long-term dependencies and addressing the vanishing gradient problem. In this
Quick Chart Setter: Instant Color Themes for MT5 Traders : A quick little script to make traders' lives easier. The one thing that always annoys me is resetting the properties like colors for a new chart, to make it look the way i like it. So Here is a script to make things smoother. Author: Kenneth
Check out the new article: Cycles and trading . This article is about using cycles in trading. We will consider building a trading strategy based on cyclical models. The main task facing a trader is to predict price movements. Traders build their forecasts based on one model or another. One of the
Check out the new article: Building a Custom Market Regime Detection System in MQL5 (Part 1): Indicator . This article details creating an MQL5 Market Regime Detection System using statistical methods like autocorrelation and volatility. It provides code for classes to classify trending, ranging
2 Moving Averages with Bollinger Bands : "2 Moving Averages with Bollinger Bands" is a custom MT5 indicator that combines two configurable moving averages and optional Bollinger Bands. It generates real-time Buy and Sell arrows when crossovers occur, with optional alerts, sound, and email
Check out the new article: MQL5 Wizard Techniques you should know (Part 75): Using Awesome Oscillator and the Envelopes . The Awesome Oscillator by Bill Williams and the Envelopes Channel are a pairing that could be used complimentarily within an MQL5 Expert Advisor. We use the Awesome Oscillator
Check out the new article: Implementing Practical Modules from Other Languages in MQL5 (Part 02): Building the REQUESTS Library, Inspired by Python . In this article, we implement a module similar to requests offered in Python to make it easier to send and receive web requests in MetaTrader 5 using
  Indicators: VWAP bands  (21   1 2 3)
VWAP bands : Volume weighted average bands. Author: Mladen Rakic
Check out the new article: Developing Advanced ICT Trading Systems: Implementing Order Blocks in an Indicator . In this article, we will learn how to create an indicator that detects, draws, and alerts on the mitigation of order blocks. We will also take a detailed look at how to identify these
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: From Basic to Intermediate: Recursion . In this article we will look at a very interesting and quite challenging programming concept, although it should be treated with great caution, as its misuse or misunderstanding can turn relatively simple programs into something
RRS Impulse : This EA scalps using the Relative Strength Index (RSI) Indicator, Stochastic Oscillator Indicator, and Bollinger Bands Indicator to identify trend or counter-trend opportunities. As a multi-pair EA, it scans multiple currency pairs for signals. This EA comes with a variety of features
New article Visualize this! MQL5 graphics library similar to 'plot' of R language has been published: When studying trading logic, visual representation in the form of graphs is of great importance. A number of programming languages popular among the scientific community (such as R and Python)
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
The error halts the CheckForPennant function before it can draw trendlines (lines ~510–540) or breakout arrows (lines ~570–590). The logs don’t show messages like "Successfully drew upper trendline" or "Bullish condition met," confirming the process stops at the error. The pattern is detected
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
I have contacted the service desk about this issue. This is what I sent them.... Hello, Please either remove the option to download MT4 from your website or fix it so that it does actually download MT4 and not MT5. We are getting sick and tired of answering the same question over and over again
Hello, I'm not receiving notification anymore, and It seems to be related to limitation. I have set "Trailing Stop" on a few trades and activated "transaction notification" this lead to a ton of notification (that I don't want too much for "Trailing Stop"). So now, it seems that it was not working
The MetaTrader 4 update will be released on Friday, February 21, 2025. This version provides important security improvements, error fixes, and platform stability enhancements. The update will be available through the Live Update system
MT4 has a total 32 step of chart zoom levels, but we usually can change only 6 zoom levels( 1 > 2 > 4 > 8 > 16 > 32) from chart menu. I tried the script below, but only the above 6 zoom levels are shown. //------------------------------------------------------------------ void OnStart () { for (
Read public Channel telegram messages <!> Havent tested constant refreshing of messages.I wonder if this will be blocked in scale -by telegram. <!> add the adress https://t.me in webrequest allowed urls #property copyright "Copyright 2019"#property link "https://www.mql5.com"#property version
[Deleted]
You can write tasks here. Screenshots with examples of what do you want are obligated
Hi,, Does anyone know how i can export live data from my mt4 to someone else's computer in real time, the balace, eqyity etc? Not via a third party company such as mql4 or myfxbook. Only direct. Thanks, Yossi
this is the EA trading XAUUSD, backtest 1min data from 01/01/2021-30/06/2025. i plan to put it on sell in the Market but would like a feedback on the test result. please let me know so i can improve it
Hi Guys, i've been searching with not much luck for an MT4 version of the ConnorsRSI. A lot has been said about this indicator, which was developed by Larry Connors and Cesar Alvarez. The indicator is available for amibroker and tradestation but find no coding for MT4.. Can someone be able to help...
The MetaTrader 4 update will be released on Friday, May 24, 2024. This version provides important security improvements, error fixes, and platform stability enhancements. The update will be available through the Live Update system
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
how can I use a python server to copy trades between MT4 accounts (Masters and slaves)