MQL5 Algo Trading community — forex forum for traders and developers

“Vast sea of EAs, zillion good-looking robots, each promising riches, but leaving traders and investors stranded on the shores of uncertainty.” © My contribution toward: – MetaQuotes analytical tools and metrics for evaluating strategy performance – more transparent and informed trading
Hello, Originally, my account had a leverage of 1:1000. I have since changed the leverage to 1:400 via my broker (who confirmed the update is applied). I have also restarted my MetaTrader terminal and logged into my trading account again. However, on the signal page, it still shows the old leverage
  EAs in Market  (86   1 2 3 4 5 ... 8 9)
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
  How MetaTrader VPS works  (13   1 2)
Fundamental trading principles require instant responses to significant market changes and outstanding reliability when performing trades. In other words, a trade must be executed precisely at the moment you need it. We have created MetaTrader VPS enabling every trader to create predictably robust
  Fake reviews in the market MQL5  (72   1 2 3 4 5 ... 7 8)
I noticed a lot of EA products in the market which are listed in the front page , all have exactly the same thing in common : Fake reviews After investigation , those developers are telling people that in exchange for a positive review they will get a free EA or free indicator. So suddenly a product
risk calculator why cant your create one native on mt5 all this time like trading view and ctrader what your waiting for even the web terminal dont have one i am i the only one who think this is bullshit
Hi, Context: I enabled 2FA only allows static IPs that I permit to access. This is the one that sends a push message with verification code to my Metatrader 5 app every time I login to MQL5 site. The problem: I recently traded-in my phone and forgot to update the IP address on my MQL account. I
Can anyone help me to remove those annoying time-buttons? I don`t know how they appear on my MT-5 platform, I just tried everything to remove them (went through all chapters and options, read the whole indicator and object list..) - without success! :( WOULD REALLY APPRECIATE TO HELP ME SOLVE THIS
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
Hi Respectful Friends, If my EA use signal and confirmation form custom indicator , Can it be listed on Market? I am worry that it would fail the auto validation. Thanks
Hello dears... is there a 32-bit version of MetaTrader 5
Hello, I've observed that sometimes trades don't execute in backtests even when all conditions in the rule set are met. For example, the strategy should theoretically enter 100 trades during the backtest period, but only 90 trades are actually generated. Does anyone know what might be causing this
hi, i have opened an account and registred as seller more than 2 months ago, but till now my account still not verified, can someone help
Good day dear reader, I sold a product in MQL5 market but have not been allowed to withdraw since 17th September 2023. First, they locked the access for 7days; then, when the 7days were done, posted this message(below)... Question: How long will this take?? Who do I ask?? Mql5 have no contacts
Starting July 1, 2025, the minimum supported versions of the trading platforms will be: MetaTrader 4 — Build 1440 released on February 21, 2025 MetaTrader 5 — Build 4755 released on December 13, 2024 After this date, older versions of desktop terminals will no longer be able to connect to broker
Hello all, I have been trading the Forex market for 4 years and I need automated trading strategies due to a change in my employment status (and I'm not a very profitable trader and need a change in direction.) I am looking to find out if anyone has past/present experience or considering automated
How can be the best professional developer
Hi guys, I just start a trading discussion about what the best method to identify trend. We know there are three type of trend: 1. Up Trend 2. Down Trend 3. Sideway. How we identify Trend? Thanks in Advanced
Signals provider broker uses 'XAUUSD.' (with a period) Subscribers broker uses 'XAUUSD' (without a period) According to https://www.mql5.com/en/forum/10773#q13, automatic mapping should make a match on the first 6 characters. However the subscribers MT5 terminal (build 4755) logs "no symbol found"
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
Hi. I am improving myself in forex. If what I ask is possible, I will ask a coder in freelance section. (If what I say is possible.) I have such a system in my mind: I want to decrease the effect of margin call I want by having 10 different accounts (illustrative purposes only - account number can
  Validation  (3)
Is it possible that in my back test I don't have any errors but when I go to validate a product in the Market it gives me errors that I can't find
  All About Price Action  (37   1 2 3 4)
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...
  My Own Technic  (7)
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
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
  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
  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
[Deleted]
  Statistical Arbitrage  (17   1 2)
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...
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
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
  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
[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
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
  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
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
  Futures Rollover  (1)
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
Hi, I have a problem with margin calculation and would be very happy if someone can help. MT5 build 4885. MetaQuotes Demo Account Netting. Leverage is 1:500. Deposit currency is EUR. If I buy 1 Lot EURUSD all is like I expect: Margin is 200 like I expect. Buying another lot results in margin 400
Hi everybody, How can i draw trend line on the strategy tester chart when my running in strategy tester Thanks
  EA scams  (67   1 2 3 4 5 6 7)
Does no one check sellers code for scams. For example this guy shows his EAs winning but they only win up until the last upload date and then they lose. He obviously has the data loaded in the EA For example, his program was last updated on 28th february 2023 and you can see the great results before
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 you tell me if this is a realistic tester figure? And is this a good or bad result for a year with a deposit of $3,000
Hello, what happened to http://ec.forexprostools.com/ this link is not commercial neither advert I dont see why moderator should delete it. I am trying to access the rss news feed on the link above but I am getting " You don't have permission to access / on this server. " what is the new alternarive
After some in depth debugging, I realized I've been using CiCustom wrong. The documentation is unclear but by implementation it is now apparent that CiCustom was intended to derive subclasses. Making custom indicator classes is very easy of you use the following pattern. Inherit CiCustom Make a
Hey everyone, Has anyone here struggled with margin calculation issues in MT5? I’ve been facing a weird one for a few weeks now, and it’s driving me a bit crazy. What I'm trying to do: I'm designing a grid system where the initial lot size is scaled such that, in the worst-case scenario (price never
Hi folks, the documentation for copy_ticks_range in the Python API says: "When creating the 'datetime' object, Python uses the local time zone , while MetaTrader 5 stores tick and bar open time in UTC time zone (without the shift). Therefore, 'datetime' should be created in UTC time for executing
Hi all, I am testing some EAs and I can't find a way to reset the settings (inputs) for the chosen EA! It remembers all my changed settings instead and I can't get it back to the original. Any help will be appreciated
Hello, I've created a DLL that more or less looks like this: #pragma once #ifdef _WIN32 #ifdef ZMQL_EXPORTS #define ZMQL_EXPORT extern "C" __declspec(dllexport) #else #define ZMQL_EXPORT extern "C" __declspec(dllimport) #endif #define ZMQL_CALL __stdcall #else #define ZMQL_EXPORT extern "C" #define
Hi  I rent a VPS for a month and I run it , My question is when synchronization  With expert advisor and completion Should I turn on automatic trading or close it ,  because it closes automatically when I activate the VPS ? Should I add the expert advisor to the planned ? And how to choose the...
Hello, In MT4 there is an adjustable bar for the speed when wanting to visual an EA, when/so to verify the inputs and outcomes. In MT5 I cannot find a similar tool and it only gives one speed. Can anybody expand on this? thanks for any help, G
Hello, I have the VPs and Signals enabled in my MT5 Account. and it looks running in Realtime as below But in the journal it showed as 2025.05.19 13:01:21.055 Signal '404085488': signal subscription disabled, enable realtime subscription in 'Signals' settings So I have went to options>> Signals
Hi, today when I opened mt5 strategy tester I am getting an error, while it was working fine when I turned off my pc last night. When trying to backtest I get the message "connection closed" on core 1. I have tried to install a new mt5 terminal but I get the same error message. Does anyone know what
Is there an indicator or plot property to send the fill in the background ? thanks
can someone give their indicators source code, cuz i am facing some problems and chatgpt can't solve it, i need an indicator that gives signal so my indicator gives buy and buy stop signal, sometime it's giving wrong buy stop signals, also indicator shows old arrows on the loaded chart but stops
Hello, I'm trying to send a message to my Telegram bot using WebRequest() in MetaTrader 5, but it consistently fails with error code 4006 . Here's what I've already done: Allowed WebRequest in MT5 under Tools > Options > Expert Advisors Added the URL: https://api.telegram.org/ Restarted MT5 after
Hey erveryone hope you guys are doing well. I got an mlq5 code am trying to fix the deletion logic for invalidated logic but it is failing no matter waht i edit. Tried also chatgpt and deepseek but nothing fixes the issure. i have added candle lookbar, invalidation closes ,alert trigger deletes all
hello every one, i wrote an indicator which colored some candles red or green based on a special condition. i want to convert it to mql4 , but it seems candle draw function is not in mql4. would you please help me. thank you so much --------
  Fibo & Gann variations  (355   1 2 3 4 5 ... 35 36)
Fibo Levels indicator. Fully forecasting.
void ShowBS( string CodeName, int BarIndex) { datetime targetTime = iTime ( NULL , Period (), BarIndex); ObjectCreate ( 0 , CodeName, OBJ_TEXT , 1 , targetTime, 9 ); ObjectSetInteger ( 0 , CodeName, OBJPROP_COLOR , clrYellow ); ObjectSetInteger ( 0 , CodeName, OBJPROP_FONTSIZE , 8
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
  Smoothed Demark  (7)
Anyone have a smoothed demark indicator ? Not the TD, just the standard but smoothed. Could have some use. Many many thanks
  Lines  (1)
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(..)
Function for checking whether the market is open for trading at the moment by the current symbol : The function can be useful to not overload the server with trade requests at times when the market is closed for trading Author: Anton Iaroshenko
EA Stochastic Bollinger Bands Multi - Timeframe : This MQL4 code implements an Expert Advisor (EA) that trades based on the Stochastic Oscillator and Bollinger Bands indicators across multiple timeframes (M1, M5, and M15). Author: Trap Music
Check out the new article: Price Action Analysis Toolkit Development (Part 24): Price Action Quantification Analysis Tool . Candlestick patterns offer valuable insights into potential market moves. Some single candles signal continuation of the current trend, while others foreshadow reversals
Check out the new article: MQL5 Wizard Techniques you should know (Part 26): Moving Averages and the Hurst Exponent . The Hurst Exponent is a measure of how much a time series auto-correlates over the long term. It is understood to be capturing the long-term properties of a time series and therefore
Check out the new article: Introduction to MQL5 (Part 16): Building Expert Advisors Using Technical Chart Patterns . This article introduces beginners to building an MQL5 Expert Advisor that identifies and trades a classic technical chart pattern — the Head and Shoulders. It covers how to detect the
Local Timezones and Local Session Hours : Class to access to the local time for the specified location, as well as time zone information and the local trading session hours. Author: amrali
Basket Manager EA : This EA is meant to impose a few rules to manage baskets. Author: Yashar Seyyedin
Check out the new article: Neural Networks in Trading: Controlled Segmentation (Final Part) . We continue the work started in the previous article on building the RefMask3D framework using MQL5. This framework is designed to comprehensively study multimodal interaction and feature analysis in a
Check out the new article: Mastering ONNX: The Game-Changer for MQL5 Traders . Dive into the world of ONNX, the powerful open-standard format for exchanging machine learning models. Discover how leveraging ONNX can revolutionize algorithmic trading in MQL5, allowing traders to seamlessly integrate
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
Market Status Info : A script that displays the useful information about the broker, the account and the full specifications of the instrument. Author: Svetoslav Boyadzhiev
Check out the new article: Developing a Replay System (Part 69): Getting the Time Right (II) . Today we will look at why we need the iSpread feature. At the same time, we will understand how the system informs us about the remaining time of the bar when there is not a single tick available for it
Check out the new article: MQL5 Wizard Techniques you should know (Part 66): Using Patterns of FrAMA and the Force Index with the Dot Product Kernel . The FrAMA Indicator and the Force Index Oscillator are trend and volume tools that could be paired when developing an Expert Advisor. We continue
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
Check out the new article: Data Science and ML (Part 41): Forex and Stock Markets Pattern Detection using YOLOv8 . Detecting patterns in financial markets is challenging because it involves seeing what's on the chart, something that's difficult to undertake in MQL5 due to image limitations. In this
Hi, lately i trade a bit the dax. My Broker offers a 5 digit stream and so also on the dax i have 7123.x stream My range of supporting scripts uses 4/5 digit adjustment but fails of course on the dax, because even if the stream is 5digits i am allowed only to set the stops at full pip values. 7000...
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...
Hello, Afther updating MT4 to Build 1440 I have the following problems with the platform and have to stop live Trading. it is not possible to shrink/widen the "Market View" windowsas well as the "Navigator" All buttons in the top bar are Disabled. (You cannot use them) While, when they are working
Hi Everybody. It's probably not the best section of the forum for asking this, but can anybody tell me (or send me a link to a page where it's explained) how the activation process works if I buy an EA from MQL5 to an MT4 platform? Reason why I'm asking is that I would like to buy an EA with a...
Hello, I have a custom EA that works fine in the live market, but when doing a back test in the strategy tester , it does not open sell orders. There are no errors or warnings; it just doesn't open sell orders. I've checked every possible reason that might be the reason why it does not open sell
I have been trying to login to my mql5 account on mt4 terminal (pc) and I’m getting this error. All day.. it’s beginning to piss me off.. I need help please how do I go about this Note: I have changed passwords It’s not my login details
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
Morning, The indicator does not show/render in the live environment. The indicator work perfectly in the Strategy tester. I am using MT4 Version 4.00 build 1441 Windows 10 -------------- Screenshot shows the indicator with total tick volume and the delta for the day. GBPUSD M5 chart. Any assistance
Hi, can I use screenshot() to snap the screenshot of an order I just opened in theExpert advisor? If it works, does it work in StrategyTester also, or only live? Also, can I use screenshot() within a custom indicator?
how to install mql indicators if multiple mt4s on 1 computer, i have pepperstone mt4 platform and fusion markets mt4 platform on my 1 computer, if i have install purchase indicator through mql website and have install those paids indicators on my pepperstone mt4 platform how do i install the same
Hi - for some reason, my MT4 is not compiling. I'd be super grateful if someone could help compile this into an ex4. Any help very gratefully received, thank you. Love and Light //+------------------------------------------------------------------+ //| EMA + Stochastic Trend EA with Customisable
In my indicators, I use OBJ_BUTTON for creating buttons and I have not implemented any custom sounds for button clicks. However, one of my users mentioned that they hear a sound every time they click a button and asked, "Would you please allow users to turn off the sound of the click button?" I
The MetaTrader 4 platform update will be released on Thursday , October 14, 2021. This version provides error fixes and platform stability improvements. The update will be available through the Live Update system
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
I started this thread to post all news/signals indicators and EAs we have now and will have in the future.
This website uses cookies. Learn more about our Cookies Policy.