MQL5 Algo Trading community — forex forum for traders and developers
The graph is showing a balance and equity far higher than my actual balance and equity. I'm pretty sure it was OK last month so I'm guessing a recent update may have caused this. Has anyone else had this problem? Please note that this is a demo account
hi , anybody tried lag-llama for xauusd trading ? how good it is for trading
Is it possible for me to allow a "specific number of people" to download my indicator free
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
The MQL5 freelance market has become extremely vulnerable to widespread scam activity, with fraudulent actors operating freely and frequently on the platform. The absence of effective controls has created an environment where scammers - typically presenting themselves as " project managers" -
Hi all, After spending some time developing custom indicators , I recently ventured into the world of Expert Advisors. After a few months, I managed to build one and I’ve just launched my first signal and I’m excited to learn more about how to grow organically within the community. Since direct
Greetings to the team behind this amazing platform, Meta Quotes, Y'all are amazing people, geniuses if not the least. In the future when you do think of a feature to add to improve meta trader 5, please consider adding just one more timeframe, the Yearly chart, and a single period should show a
how can i run two expert advisors (by strategy tester) on the same chart in the same time (or two expert advisors on two charts of the same Currency Pair [ EURUSD ] in the same time ) in the backtest ? Thanks
Hi all, I have been using MT5 for a while and decided that it's a little too clunky, so although the web based version is basic, it is clean and fresh looking so I decided to use that. In the last few days the 'add indicator' had been greyed out without any understanding why. There is funds in the
When trying to use the strategy tester on my new account nothing happens i cant see any graph, no backtest data and in the journal has this error: 2025.04.29 12:48:56.661 Core 1 GBPUSD: cannot generate history data, check disk space How do i fix this? as i have over 10gb worth a storage space on my
Hi everyone, I'm trying to send a POST request to the OpenAI API from a MetaTrader 5 script using WebRequest , but I'm getting this response: "message": "You didn't provide an API key. You need to provide your API key in an Authorization header using Bearer auth (i.e. Authorization: Bearer
How can I get a MACD that's exactly the same as that in TradingView for e.g macd((fast)12, (slow)26, (signal line)9) on close price. The current default in mt5 shows signal line as line and macd as histogram but I want it to appear exactly as in TradingView. Can I download one that's already built
Hi all, I attempted to create a custom indicator for MACD in MT5 that allows the user to selected MA for the oscillator and the signal line. Currently, in MT5 you get an EMA for the oscillator and a SMA for the signal line. The below code attempted to do this but its not working as expected
Almost everyone who is engaged in social or algorithmic trading sooner or later recognizes the need to rent hosting for their robots or subscriptions. Maintaining stable and uninterrupted hardware operation at home while ensuring minimal delays to the broker's servers can be quite a challenging
If it is not already implemented , have project owners only being able to start a freelance order if they have $30 at least in their account already
Market Condition Evaluation based on standard indicators in Metatrader 5
(2402 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...
Hi I saw a very interesting Strategy from a Professional Trader...and I was looking for a way to receive alerts when this trade setup happens in any cryptocurrency or forex pair, etc.... "The price action compresses and the MACD goes relatively FLAT for a period of 3-15 minutes Second, we observe a
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
Hi, i am just a newbie in this forex worlds and if you are a newbie too i know what you feel about this forex's game. I'll share two system that you can use to start your trading: ---------------------- 1. KG Trapping System ---------------------- OK. This is how you can use it: a. Download file...
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
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
Hi Guys Realy Great Stuff you are presenting here. I wanted to share this indicator with you. The Indicator is to show the candel sticks reversal patterns. I know that there is 2 or 3 indicators are doing the same as this one. But what I added in this indicator is to recognize the full pattern not
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
building trading system - a unified smart solution for simultaneous trading with different strategies
(12 1 2)
The whole point is that you don't have to run separate EAs that trade specific strategies. A centralized solution has many advantages such a system is better risk management between strategies. We can block signals if we detect multiple similar signals. We can dynamically calculate the lot size
Hello, Article : https://www.mql5.com/en/docs/series/iclose iClose, iHigh, iLow, iOpen these values provide the current/Live/real-time candle information or previously closed candle information?. How can iClose value is possible for Current candle because ones the candle is closed, it became
Question: Would you be willing to trade any system or strategy you want on your $10000 account and turn every trade you take into a win trade (of $200 or $20) or a breakeven trade and have only a small theoretical chance of losing let's say $600 in worst case scenario? Some traders would probably...
I'm curious about the effectiveness of a weekly adaptive optimization approach compared to sticking with a single, static rule for EA (Expert Advisor) strategies. Consider an EA that has already been built with one year of optimization. What if we update it every week with slight adjustments based
Hi all, I was not able to successfully exploit this divergence wit han EA, anybody has any idea on how to optimize this theoritical strategy
The buyers are the loser and helpless from MQL stuffs
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
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
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
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
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
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
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
statement and question. I do a test with optimiser and have list of results from that optimisation; but when i right click on that line of results, and click do single test, I get a very different result. WTF why? Nothing has changed. I only did the test on Monday. The optimiser finished today and i
What to do when your chosen developer is unresponsive ... Hasn't even agreed to my job leaving me hanging ... Yet at the outset 5 days ago was pushing me to award them the job ... Still showing as FREE I don't even know their name only that they are Russian (Thank you MQL5 for the freelancer flags)
Any experts to assist with my mq5 EA to improve on its profitability. I have spent a lot of months on it, and I am unable to figure out how best to improve on it
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
Hello, I'm sorry if the question sounds a bit dumb. I sought ways to improve my strategy and decided to add Parabolic SAR signals. So I wrote this small class to handle that: class ParabolicSARSignal { private : int handle; // Indicator handle double
Hi guys i try to create my trade manage and it work but i have only one big problem when i try to minimize the panel it do it , but when i try to maximize it it create me a devastated panel after close and reopen my frankenstine panel i use a absolute coordinate for create it , this a bug for MT5 or
Hi all, maybe someone knows whether there will ever be the possibility of showing "Positions" in the backtest report? In MT4, they were clearly listed using their Open price + time, Close price + time and their total profit/loss. In MT5, only "Orders" and "Deals" are shown with no real connection to
Hello, Just a post with a suggestion regarding how the balance and equity curves are displayed. It seems the balance curve makes a gap each time a profitable/loosing trade is opened/or right after entry (no gap if the trade is breakeven), and not when such a trade is actually closed. So basically
I have successfully installed and used the MetaTrader5 package on Ubuntu without any difference on Windows. Here are the instructions. 1. Install Wine with the following command (skip if you already installed) sudo apt install wine 2. Install the MetaTrader 5 platform for Linux according to the
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
Hello. When I want to load an EA in mql market, during verification it gives me some errors that give me a headache. The first time it gave me Risk lot calculation, then I modified the code and another error appears with trade opened 0.2 lot. // === Risk lot calculator === double CalculateRiskLot(
Hello everyone, I am currently trying to develop a panel that requires aligning text with the right edge of a graphical background layer. I have been using the TextGetSize() function to calculate the width of the text and attempting to position the text by subtracting this width from the right
EA works with the Strategy Tester. It also works on real accounts. However, I get an error in the automatic market validation. The error is "strategy tester report not found". What should I do to resolve this issue? The EA is for sale, so the code is private
How can I set the default value of an integer input parameter based on chart timeframe? For example if loaded in 1min, the default value becomes 123 and for 5min chart it becomes 456
Hi, Was wondering where I could get my hands on the ADX indicator with color changing when above a certain level
Hi, I have this sample code for the MTF RSI indicator. The first thing we check in onCalculate is whether the number of bars calculated by the RSI handle matches the number of bars in the selected timeframe. If they don’t match, the function returns zero. This works well in the open market, and
In mql5, starting from an indicator, I wanted to make 2 instances of the same indicator, so that the 2 graphs could be presented in the chart. I started by duplicating the inputs, as well as the arrays, properties and buffers. After numerous tests, I only managed to present the first instance of
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
i'm trying to make an indicator that works on M1, it checks if the minute candle closed above previous hour high or below previous hour low and marks it, it seems i have a problem with getting previous hour high and low, the below code works but not consistent, sometimes it marks candles that did
Something I have been working some time ago. Multi pair MACD Multi pair CoeffOfLine
i used to have multiple moving averages on my chart and it worked flawlessly until earlier today i only have one ma and wanted to add more, but no matter what settings i put into the ma, when i click save nothing new was added, and only the first moving average remains. is this some kind of a bug or
Hi all, I am looking for an Indicator with show Divergence on the macd version i attach below , with a sound alert signal. Can any one programer help out please. Thank you
a nice indicator i think green GBP /red USD se the pic
Can someone convert this ADR or recreate it for MT5 (MT4 Source Code Included)
Can anyone out there advise if there's an MT5 version of this indicator? Even a recreated version with the features highlighted in green (from the MT4 version, for which I don't have the source code) doesn't help—I've been unable to find an MT5 ADR indicator that matches the settings and delivers
Different zigzag's indicators please post here
Hi all. I'm trying to make simple indi which will speed up placing sup/res lines on the chart.
It will place Hline on mouse click only while holding (ctrl for Blue or shift for Red line) but I don't know how to combine CHARTEVENT_KEYDOWN & CHARTEVENT_CLICK or I'm doing it the wrong way?
Can...
Trending or Ranging and Trend Strength Indicator:
The indicator shows the power of the trend that is in place and whether a pair is trending or ranging. Many user adjustable variables.
Author: marc weedbrook
Check out the new article: Formulating Dynamic Multi-Pair EA (Part 2): Portfolio Diversification and Optimization . Portfolio Diversification and Optimization strategically spreads investments across multiple assets to minimize risk while selecting the ideal asset mix to maximize returns based on
wd.Range_DailyAvg : This indicator helps user estimate the potential price movement for the current day, based on 20 days historical data and market trends. Author: Widy Prasetyo
Check out the new article: Automating Trading Strategies in MQL5 (Part 16): Midnight Range Breakout with Break of Structure (BoS) Price Action . In this article, we automate the Midnight Range Breakout with Break of Structure strategy in MQL5, detailing code for breakout detection and trade
Check out the new article: Creating Dynamic MQL5 Graphical Interfaces through Resource-Driven Image Scaling with Bicubic Interpolation on Trading Charts . In this article, we explore dynamic MQL5 graphical interfaces, using bicubic interpolation for high-quality image scaling on trading charts. We
Stochastic Buy Sell Arrows with Alert:
Buy and Sell arrows based on exit from overbought and oversold region in Stochastic Oscillator.
Author: Nitin Raj
Check out the new article: The Kalman Filter for Forex Mean-Reversion Strategies . The Kalman filter is a recursive algorithm used in algorithmic trading to estimate the true state of a financial time series by filtering out noise from price movements. It dynamically updates predictions based on new
Brooky Trend Strength for MT5 : This indicator calls 3 other subwindow indicators. All files go in your Indicators folder. Author: Ryan L Johnson
Check out the new article: From Novice to Expert: The Essential Journey Through MQL5 Trading . Unlock your potential! You're surrounded by opportunities. Discover 3 top secrets to kickstart your MQL5 journey or take it to the next level. Let's dive into discussion of tips and tricks for beginners
Check out the new article: DoEasy. Service functions (Part 3): Outside Bar pattern . In this article, we will develop the Outside Bar Price Action pattern in the DoEasy library and optimize the methods of access to price pattern management. In addition, we will fix errors and shortcomings identified
SignalAI - Indicator : This Indicator shows Buy or Sell Signal Author: Mduduzi Gift Ngcebo Langa
Random Trader with Customizable Risk/Reward Ratio, Break-Even : The EA opens positions randomly (50/50 chance for Buy or Sell) when no position is open. Author: Salman Soltaniyan
Check out the new article: Websockets for MetaTrader 5: Asynchronous client connections with the Windows API . This article details the development of a custom dynamically linked library designed to facilitate asynchronous websocket client connections for MetaTrader programs. The article
Check out the new article: Portfolio Risk Model using Kelly Criterion and Monte Carlo Simulation . For decades, traders have been using the Kelly Criterion formula to determine the optimal proportion of capital to allocate to an investment or bet to maximize long-term growth while minimizing the
Check out the new article: Data Science and ML (Part 37): Using Candlestick patterns and AI to beat the market . Candlestick patterns help traders understand market psychology and identify trends in financial markets, they enable more informed trading decisions that can lead to better outcomes. In
Hi all.
I have recently used ChartSetInteger function to programmatically change sub window height (MT4 latest build 830). Once this code is applied to the chart, then I can't change sub window size manually afterwards.
It seems the code fixes the sub window height and even if I drag my mouse...
Guys, Ive been trying to withdraw funds from my MQL5 account and MQL5 frustrating my effort. I created a webmoney account to receive funds and their response was "Our payment provider does not support your region" Please let me know how an international payment system such as webmoney is not
Hi, I am having trouble with the 'market' tab on MT4 after I login to community, I am unable to see all my purchases on my account to download my products I have purchased, and this started occurring after I reinstalled metatrader, but also checked a different installation I have on MT4 on a
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
Hello, I am trying to achieve two operation, On friday before market close, close all the open trade before X hour and On monday after market open, Start taking new trade after X hour. I am trying like this int MinuteToAvoid = 60 ; void MarketHoursMonitor() { datetime serverTime = TimeCurrent ();
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
Hi All I would really appreciate some assistance. Fairly new to MT4. I have recently managed to code my strategy into an EA, which is mainly used on indices (DE40, NAS, US30). I ran a backtest on my NAS trading strategy using MetaTrader's Strategy Tester, set to the "Every Tick" model for maximum
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 can I get MT4? Whenever I download the MT4 window setup and run it, it ends up installing MT5. This is confusing as I actually need MT4 to write EAs for my clients
Hello, what should i use along with OrderSelect? if (! OrderSelect (i, SELECT_BY_POS, MODE_TRADES)) // Ensure order selection is successful return ; if (! OrderSelect (i, SELECT_BY_POS, MODE_TRADES)) // Ensure order selection is successful break ; if (! OrderSelect (i, SELECT_BY_POS
The purpose of this thread is more personal ... At some stage (some 4 years ago, posted it at this post : https://www.mql5.com/en/forum/175938/page17I ) coded one variation of an indicator that I named TMA centered. After that somebody shortened it's name to TMA and ever since I am receiving emails...
Hi All, Working on a Multi Time frame stochastic oscillator tool that works well for me as a manual trading strategy ive integrated into part of my EA and it works fine forward testing it but I cant back test it using strategy tester. Ive done a lot of modding of the code lately to really strip...
Dolly Graphics v16The Dolly indicator has been updated to reflect the new code available with the new 600 series MT4, hopefully when MetaQuotes release the next platform update everything continues to operate. The indicator is currently being tested and checked for any obvious bugs and will be...
I CANNOT DOWNLOAD or INSTALL new MT4 at my VPS, I think the IP of my server is banned by mql5 for this, anyone has any idea or how to contact mql5 offically, the support messaging system just direct me around and cant really even a message
Trades from 2022 and 2023 are archived in one of my MT4 accounts . Does anyone know the reason for this and if it is possible to unarchive these trades? All history show correctly in MyfxBook but not in the terminal. The broker, IC Markets, could not explain why this happens in only one of my

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.