MQL5 Algo Trading community — forex forum for traders and developers

  Are vps services down ?  (23   1 2 3)
Hello, When i try to run MQL5 vps service i get "Error saving data" also in MQL5 application on windows it doesnt turn on/off, can't do anything? Someone can tell me if it is down
It was running ok on an account then I stopped it and wanted to change the account but unfortunately i cant start it again on any account when i click on start .... nothing happens and it is now showing that it is working or started it is always stopped what to do please
Hello, I came across two bugs in Metaeditor, one visual and the other with the parser The visual one is kinda weird because it only appears under certain circumstances that are not very obvious, still it appeared to me when some dozen tabs were open and the two last ones were having the names
Hello, Is there any way to reduce the amount of historical data in MT5? I don't actually need it for 10 years, but actually only for the last week or so... And where is the data stored in which directory? My problem is that the historical data is exceeding the storage capacity of my rented server
I had setup an EA run well in my account, but facing problem when I migrate my account to the VPS. It was reported "fail to get status ..." when i checked the journal. Please advise what could i do to fix this issue. Thank you
I love how they make it so easy to sign up to subscriptions and so difficult to find where to cancel them. I can't use the MT5 VPS service as DLL's are not allowed. My mistake. If someone can explain to me how to cancel the VPS and auto renewal plan would be much appreciated. I've spent hours
Hello everyone, I am seeking advice on a recurring issue. I frequently get a " 403 Forbidden / Access Denied" error when trying to access mql5 .com . This happens from my dedicated Windows VPS, which I use for all my trading activities. The server has a static IP address provided by a major hosting
The VPS I rented had all sorts of problems. please check and tell me
I'm having trouble depositing funds into my VPS. I'm trying to deposit with a VISA card and I keep getting the message "processing, please wait."
The latest versions of the MetaTrader 5 mobile app for iOS introduce a range of new features designed to help traders stay abreast of financial markets wherever they are. Added the report representing trading results in a convenient visual format. It assists in evaluating trading performance
How can I have again my password of mql.5? it's more than a month that I can't use mt5; only by phone. Help me, please, thank you! Silvio Corrao
  MQL5 VPS  (7)
Hello. Today I launched a MQL5 VPS test on my [redacted] account. However, I'd like to connect a second account with the Polish broker [ edit ]. How do I do this? Is it possible to connect two different brokers from different locations around the world
I have a positive balance on my account from a cancelled purchase. But now I wish to purchase another product and am unsure how to use these funds to purchase the new product
  GOLD, Gold and XAUUSD  (1103   1 2 3 4 5 ... 110 111)
Hi! Is it worth buying gold at 1130
I purchased the VPS avalivle through MT5 desktop terminal. I am running an EA on my account however my VPS continues to disconnect from the server with the message in my journal "connection to MYBROKER-Server lost" everytime my computer screen goes black or comupter turns off. I've attempted to
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
How to download the complete historical data int mt5.
  What strategy actually works?  (60   1 2 3 4 5 6)
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
You are using EA, Indicator, method, all the things that can help you make money from Forex. But when you look back at that process. How many times have you deposited money into your account, how many times have you sat in front of the screen watching your account gradually disappear. Maybe you earn
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
  Harmonic Trading  (5998   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
  MetaEditor, Open AI and ChatGPT  (74   1 2 3 4 5 ... 7 8)
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
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
  Private Signals  (12   1 2)
Hi, Is it possible to create your own private signals and have your trading accounts follow one trading account. How can you subscribe accounts to a private signal
How i can increasing gap trading for 1 minute trading for Binary Market. In live market there have lots of gap in 1 min chart. I want to trade in Binary option live market for 1 minute candle. What will be the strategy for it
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
Is expectancy a useful way of becoming a sustainably profitable forex trader? Is it something generally used by forex traders? Or is it a waste of time? Anyone here using it
  Machine Learning and Neural Networks  (741   1 2 3 4 5 ... 74 75)
MQL5 now supports matrix and vector operations which are used in various computational tasks, including machine learning. We have created this thread to select and share some materials that may be useful to you. Machine learning technology is based on neural networks. Neural networks are
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...
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
  MT5 FOR cryptos  (3)
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
  Need a broker  (10)
can anyone help me with a broker that will allow me to trade stocks and crypto on Meta Trader 5
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
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
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
  Simple trade automation?  (12   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
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
  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
[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
  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
The HistoryDealGetString() has a DEAL_EXTERNAL_ID string property for HistoryDealGetString() , but the CDealInfo class does not have an equivalent DEAL_EXTERNAL_ID string function. Why not? If the CDealInfo class implementation incomplete or is the DEAL_EXTERNAL_ID now an obsolete property? Is
Hello everyone, I’ve been working very hard on developing several Expert Advisors and I would like to ask for advice from the community: what are the best options and strategies to promote my EAs here on MQL5? I know that the Market section is highly competitive, so I’m curious to hear from more
Hi there, I'd like to know any MQL4/5 function to get commission fee before open order. Thanks in advance.
Hi in mql5 in s possible intercept keyboard +mouse left, example: i want take alt+ right mouse button , if happen this i want draw in chart a line is possible ? thanks
Debugging my EA, I am getting: Journal: 2025.09.03 07:37:44.290 MQL5 debugger Critical error while running expert 'PolishedGoldEA (XAUUSD,M15)'. Unknown error. The Debug tab shows no Trace data at the error. I searched Forum for Debug Critical Error and it said that the error information will be on
I developed an EA, did the back-testing and optimization and ran it for a while on a demo account . All nice and dandy. But when I started it today on a live account, strange things happened. My buy positions where closed immediately. After some digging I realized, that after opening a position with
I run an EA via VPS but I've lost the input settings for it and can't find/recover them as I deleted the tab that runs the EA manually. What can I do to recover those inputs? The magic number for that specific EA I still have and is still functioning via the VPS
Hi guys, I hope you are doing well. A newbie here. I am backtesting a trading strategy on some MNQ tick data stored in a csv file. When launched, the EA opens the file successfully but I receive the message "0 ticks, 0 bars generated". Any idea why the data is not being read. I am using MT5 on a
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
I have a bot im done with, have good result with drawdown max -4% in consecutive loss over a year. Then i tested it on a demo and it came down to -8. everything looks good on visible mode and 0 errors. anyone got same problems like this before? thanks for answers
Hello everyone. I am new with programming Expert Advisors (EA), in my research I found that in Meta Editor there is a wizard function, which allow the user to create an EA with some predefined parameters, with this some questions came up to my mind. -Wizard's EA compile perfectly once the parameters
[Deleted]
  The Ultimate AI EA Project  (56   1 2 3 4 5 6)
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
Hi fellow trader, I'm trying to export trading report after optimisation. But the data in the report are from enough; i only see order. Not the position, not the result of the trade, and it's quiet a headache to work with such thing. According to the the documentation, i should be able to find the
I wanted to add commission for the EURUSD custom symbol I had downloaded from tickdatasuite but it didn't let me click "OK" to save and close the window
Hello , I'm using [broker name redacted] mt5 plateform if account leverage is given by instruction : AccountInfoInteger ( ACCOUNT_LEVERAGE ) But each symbol has sometimes different retail leverage value. e.g. My plateform leverage is 30 But CFD Gold retail leverage is 5 And CFD Tesla retail leverage
i want to calculate sum high and lows just after latest(most recent) price crossing sma 50 but i don't know how to get that index of candle that price cross MA in most recent cross thanks
Even if candlesticks appear to be the same at first glance, there are differences in the frequency of value updates when tick value movements are included. By adding up the range of price movements (either up or down) when a single candlestick is formed and visualizing it as a histogram, I thought
where it is MACD line? Signal LINE understand
  Forecasting indicators  (345   1 2 3 4 5 ... 34 35)
Please find some indicators which are forecasting something. First is i-DRProjections_v.0.1. This indicator shows the support and resistance of current day forecasting on the base of previous day. All the calculation is based on Thomas R. DeMark book "New Science of Technical Analysis".
  Oscillators  (45   1 2 3 4 5)
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
Hi all, I plotted an horizontal line as Object with an indicator, but I would like to change the level color, from black to white, for better viewing. Is there an option under ObjectSet functions to do this? Thank you
Hello, I am a newbie MQL5 coder - but not new to coding or trading. I understand to access the open time of the most recent bar inside a custom indicator , in OnCalculate, I need to access time[0]. However this is giving me a time in May (13), while today is August 22. The data window in the chart
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
Greeting, Given MQL5 (or 4), is there a way to store the values choosen by a user so the next time my indicator is used those values are in the input form? Hope to hear, Adriaan
I calculated the USD/JPY candle from the BTC/USD and BTC/JPY rates and displayed it in orange on the USD/JPY chart. There is a slight discrepancy between the two candle, but they show almost identical price movements. I make this chart on a trial basis, thinking that some kind of signal might occur
Hello, I'm trading on MT5. I'm looking for ideas to write an indicator(or EA). In fact each symbol got specifications From there I want to extract these datas : 1) value of "½ Minimal volume" 2) value of "eur/lot" from "Margin rates : ½ Market buy" 3) value of "eur/lot" from "Margin rates : ½
Dear MQL5 Community, Hello, I’m reaching out regarding an issue affecting some of my clients. Several have reported being unable to download one of my products after purchase, despite successful transactions. The returned error is 29111 not found in the database. Additionally, my MQL5 Service Desk
  Parabolic SAR indicator  (297   1 2 3 4 5 ... 29 30)
I am continuing posting information about indicators. So, we have information about Stochastic indicator https://www.mql5.com/en/forum/177239 We have the thread about Momentum indicator https://www.mql5.com/en/forum/176430 Now something about Parabolic SAR. OverviewThe Parabolic Time/Price System,...
Hi all, Lots of traders wonder if an indicator they find is a "repainter". To determine this is actually very easy. But first, let's define what 'repainting' means, as most people seem confused by the correct definition. Definition A true 'repainter' is either a badly coded indicator or an indicator...
Hi, why in my script ,the high[] not return a good high ? //+------------------------------------------------------------------+ //| supertrend.mq5 | //+------------------------------------------------------------------+ #property version "1.02"
MACD Signal Line indicator for MT5 : A stripped-down (signal line only) version of Metaquotes' MACD indicator from the MT5==>Indicators==>Examples folder. Author: Silk Road Trading LLC
Check out the new article: Price Action Analysis Toolkit Development (Part 6): Mean Reversion Signal Reaper . While some concepts may seem straightforward at first glance, bringing them to life in practice can be quite challenging. In the article below, we'll take you on a journey through our
Trade Statistics Report Real Time : This will display the Account Trading Report for real trade. Author: jaffer wilson
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
Profit Maximiser : Profit Maximiser (PMax) Indicator is an indicator created by integrating the moving average of the Supertrend indicator. Author: Mahmut Deniz
Bull Bear Volume : An indicator that provides a clear visualization of volume pressure on each side of the market Author: Conor Mcnamara
Moving Average of RSI : This powerful tool filters the classic RSI through a moving average, providing a smoother, more reliable signal line for pinpointing entries, exits, and trend direction with unparalleled clarity. Author: Tonny Obare
Risk Calculator : Instantly calculate the profit and loss potential of your trades directly on the chart. An essential tool for agile and precise risk management. Author: Jhonatan Wilson Dos Santos De Morais
Tarantella : Tarantella EA: Advanced grid trading system with hedging capabilities and Market Profile integration. Uses ADX trend filtering, Fibonacci-based grid spacing, and multi-layered entry conditions (RSI/ATR/volume) to execute trades only within Market Profile value areas. Features
HedgeCover EA : Intelligent position protection with one-hedge-per-position logic. Features magic number separation, cooldown timer, and max hedges limit. Prevents infinite hedging loops. Free MIT license. Author: Lupus Materia
Check out the new article: Mastering Log Records (Part 10): Avoiding Log Replay by Implementing a Suppression . We created a log suppression system in the Logify library. It details how the CLogifySuppression class reduces console noise by applying configurable rules to avoid repetitive or
Check out the new article: Price Action Analysis Toolkit Development (Part 3): Analytics Master — EA . Moving from a simple trading script to a fully functioning Expert Advisor (EA) can significantly enhance your trading experience. Imagine having a system that automatically monitors your charts
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: Black Hole Algorithm (BHA) . The Black Hole Algorithm (BHA) uses the principles of black hole gravity to optimize solutions. In this article, we will look at how BHA attracts the best solutions while avoiding local extremes, and why this algorithm has become a powerful
  Experts: EXSR  (3)
EXSR : EXSR.mq5: A counter‑trend MT5 EA that catches reversals by combining RSI(14) extremes with Bollinger Band breakouts and a reversal candlestick, placing one trade per symbol with fixed SL/TP. Author: Le Trung Kien Hoang
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...
[Deleted]
  Absolute courses  (1125   1 2 3 4 5 ... 112 113)
Good afternoon. I would like to raise this topic. We know the exchange rates of currency pairs. For example EURUSD, or GBPUSD. What does it mean - it is a graph of one currency (euro, for example) in relation to some benchmark (another currency, for example, the Fed dollar). Postulate 1: no currency
  Please fix this indicator or EA  (1951   1 2 3 4 5 ... 195 196)
....................................
[Deleted]
  Terminal window missing  (23   1 2 3)
I have been running MT4 on my laptop for several months. All of a sudden the terminal window won't appear? i have tried re-booting and several different profiles, no go. Any ideas will be greatly appreciated! Thanks, Steve
Hello, I was wondering if anyone has experienced the problem above. My code base is 5650 lines long, split into 2 modules and an indicator. When I run the code through the debugger, there's one DebugBreak() and then I run an ExpertRemove() on the code to stop it running, although I need to stop the
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
Greeting , Can anyone help me please with programe lines (code base) to add to my EA -mq4 file simply , I only want the EA to open trades only if RSI value between 65 and 35 for example or 70-30... etc , it would be really appreciated sorry I don't have experience in programming
Here is a step by step guide for buying, installing, testing and using a Metatrader 4 Expert Advisor (Robot, Bot are whatever): 1. First make sure that you have the necessary funds required for your purchase in your MQL5 account, its always easier to pay with your MQL5 balance, than using a credit
Hi guys, wondering what's going on with my MT4 strategy center i remember whatever i had in F2 history center when i ran EA on strategy center build .fxt of that pair with historical data that were recorded in history center but now it only contains last 1000 candles only and if i for example go
what is the best code for identifying a new bar
Hellow folk(s) i have this function double high_price() { int highSto_price; highSto_price = iHighest ( Symbol (), PERIOD_H1 , MODE_HIGH , x_hours, 0 ); return (High[highSto_price]); } that return the high stock price for a certain period of hours ...It works well but i get an error while
I am considering getting one of those new Snapdragon Windows 11 laptops (such as Lenovo Slim 5) that run on ARM64 architecture instead of X86. I know MT4 doesn't have a native ARM version and needs to be run using the Prism emulator built in to ARM64 Windows version. I am curious if the emulated
  Something interesting, old thread  (1281   1 2 3 4 5 ... 128 129)
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...
Hi everone I have many form of input to setting my EA(I made it) Its around 170 combination for one currency pair if i have to do it all myself it may can do for now but in future its alpha decay i have to do it again and its gonna be very very burden AND i dont even know after try all combination