MQL5 Algo Trading community — forex forum for traders and developers
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 developers. When I am trying to compile my code in MQL5 it takes so long time. about 120 sec. the same code in MT4 complies in just a blink. Can I do any thing to make the "Generating Code" process faster
can my free products be resold or do they also carry the encryption that tie them to only the computer with which they are downloaded
Comments that do not relate to the " Ask for help ", have been moved into this topic
I want to know how many people from Indonesia is joining this forum. If you're from Indonesia, please comment this topic..Thank you..
Tried to feed in: - closing prices - difference of closing prices of N candles in a row - difference of closing prices of N candles in a row from all allied pairs on both the euro and dollar sides, on the eurodollar pair - ratios of candles' shadows to their bodies of N candles in a row - ratio of
Hello, I’m looking for a way to list all tradable instruments in MetaTrader (MT4/MT5) and understand the key trading calculations . Specifically, I need to: See all available instruments – I know about “Show All” in Market Watch, but is there a way to export the full list? Find contract
Hey.. I know this request is a bit random but ive got a nice data to show from this account and id like to make this account last longer than only 3 months.. Is this possible? i can pay for it also.. Im bit in a rush also since these accounts get deleted after first 3 months which is already 21st of
VPS IPs has blocked, I can not access mql5 website and service also MT4 MT5 can not get trading server How to fix this? I can't find anywhere to contact mql5 company for this case
Machine learning in trading: theory, models, practice and algo-trading
(36891 1 2 3 4 5 ... 3689 3690)
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
does a free product have a preset activations or do I have to set the activations? because that slot is grayed out
Hi , i purchased [redacted] EA on my account no #XXX and i did not install it in other devices just one license used. please i want to use this EA on my other account No #YYY so, could you please allow the EA on my account #YYY
hello, i made a purchase of <Deleted> EA but i bought the MT4 version, i did not activate it and immediately cancelled it. I want a refund of the my $125. thanks
probably a silly question but is there such an option that will chart the P&L of my account
I am Facing the Issue and am Unable to Withdraw, Everytime the error is " Declined by issuing bank ". I've only got revert form the mql5 team to "check if i allowed the region the card is located in. Also i don't have any paypal option, Webmoney has just terrible conversion rate. I can't withdraw
Hello everyone, I am working on an EA that follows an Alternating Buy/Sell strategy based on price movements, but I have encountered an issue where it keeps opening consecutive Sell orders instead of alternating between Buy and Sell . Strategy Requirements: The EA starts with a manual Buy order (0.1
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
Hi, i got a few strategies developed and coded by me, i test them to be profitable for the last 7 years (2018-2024 included). i now have a strategy in my hands that is decently profitable 2016-2024 but is not profitable 2012-2015, is that a reason to not take it into consideration? In my mind is the
M artingale, H edging and G rid <<< MHG >>> M y H oly G rail Over 50% of freelance jobs can be classified as one form or another of MHG. I wonder why ? Martingale : A gambling system of continually doubling the stakes in the hope of an eventual win that must yield a net profit. Hedging : Taking
The thread about threads: what's going around the forum everywhere ============ MT5, mql5, mql5.com suggestions for improvement thread ============ Requests & Ideas The beginning Requests & Ideas, the beginning - the thread Suggestions for Trading System thread After Requests & Ideas (MQL5
I wanted to lean on someone's knowledge who has significant experience and knowledge in trading. Is there a relation between intraday pivot point calculations and daily trading signals with regards to buying after the daily low towards the high, and selling after the daily high towards the low
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...
Is the MetaTrader5 Python API still fully functional? I haven't been able to use it to login to my terminal or get my trade history
Hello guys, I am not sure how to assess if a spread is large or small. I tried to compare it with the average daily range and I also compared the spread to the value of the currency itself. What makes most sense for you? It is not only the points because 3 points are not the same on EURCHF or GBPJPY
I used to be a manual trader for a long time: https://www.mql5.com/en/forum/179446 However, I no longer enjoy the relentless screen time and general stress that goes hand in hand with manual trading. My solution was to become very good at translating my manual trading knowledge to the creation of
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
Market Condition Evaluation based on standard indicators in Metatrader 5
(2398 1 2 3 4 5 ... 239 240)
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...
http://www.alpari.co.uk/en/market-analysis-guide/chaos-theory/index.html I had a quick read through and it sounds very impressive. what do other people think? is it good? has an AE been done before based on this theory?
SP500 and NASDAQ Indexes are not up to date and have been disabled for some time now. Is anyone else experiencing this
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
Hello all, I am new to the MT5 platform & my background is in trading E-Mini S&P500 futures. Of course, I am interested in algorithmic trading but I have not been able to find any source code for this particular instrument. I would appreciate any guidance or assistance in finding some expert
If BTC/USD has support at $68,000 and resistance at $70,000, what type of group or person would keep dumping at $70,000 when they make very little profit from a buy at $69,000
Hey guys, dumb questions from a noob I just created a demo account on ****** to try their MT5 and I'm trying to find the emini futures in there (S&P 500) but I simply can't. Their website says they support it, but I just can't find it. I wonder if I'm doing something wrong here
Hi @ all, i´m new with MT 5 and wanted to know if its possible to trade on sim/demo account other markets than forex? For instance, NQ, SP500, etc. For now i only see forex markets to choose from. Any ideas? Thanks
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
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
Hello all, I'm a software engineer with a C++ background and have been using metatrader for a long time. I've been importing chart data into custom symbols successfully however, I lately have been needing to import historic prices; and in this area, MT5 is limited. The issue --seems to-- lie in the
Dear all, I am trying to import historical data (M1) to MT5 from my Tradestation account. I have export the data in csv format and below there are some rows as example: "Date","Time","Open","High","Low","Close","TotalVolume" 1/2/2008,03:01:00,3841.00,3842.25,3840.25,3841.75,184
[Deleted]
MetaQuotes Software and oneZero Financial Systems announce a new connectivity gateway for integration with Interactive Brokers Group, Inc., available through the oneZero Hub product. The gateway provides the possibility to trade stocks, futures and other exchange traded instruments on the largest...
does the future contracts on mt5 automatically rollover? Like ES, YM, NQ
Hi I have been trading UNLEVERAGED ETFs on non metatrader broker of Indices (NASDAQ100,S&P500) and Metals(Gold, Silver) . I was always buying .Long The reason for this choice was because no Swap is being charged and I can hold a position for months without much stress. I will now seek MT5 brokers
I want to build two information panels in one indicator and use the Canvas class for that. Because I want only 2 bitmap label objects on chart. I could find this article for creating a panel using canvas class , but unfortunately, it is only possible to create one panel in each indicator. - If you
Hi, i need help. I would to display a bar, cloured, to indicate a status. What i have to do ? Is it possible to have an example of code ? thank you
hi guys i have this part of code , i call it from button void CPanelDialog::OnClickButtonSellLimit( void ) { // Magic Number double lotSize = StringToDouble (m_edit.Text()); // Reads the lot size value double stopLoss = StringToDouble (m_editPrice1STP1oco.Text()); // Stop Loss (0
Sup guys, i hope u can help me again. i got this code. this is from the customindicator: void SendSignalsToEA( const int rates_total, const double &close_price[], int &buy_signal, int &sell_signal) { double ma = ExtLineBuffer[ 0 ]; if (close_price[rates_total - 1 ] > ma) {
consider the following code: /* * Curiously recurring template pattern * In my use case the following inheritance tree was intended to work with Candlestick Patterns */ #include <Arrays\ArrayObj.mqh> // base class for all patterns template < typename Derived> class CBase: public CObject {
Please Help What is the solution to this problem ?? Please help and thank you
Hi guys The strategy tester test my strategy well on major currency pairs such as EURUSD、USDCHF. But when I test my strategy on index such as US500、JP255,the profit and loss shown in the strategy tester is much larger than I expected. The contract size of my US500 is 1. So each 1.0 move of the
Hi all, I'm trying to recall the attached indicator with the followng expert, but it doesn't work. Probably parameters settings are not correct. Could you check please? double Open_Line[] ; int Open_handle ; int Bars = Bars ( Symbol (), PERIOD_CURRENT ); void OnInit () { ArraySetAsSeries
Hi All Some assistance, has anyone seem this error before on Mt5. " Order Failed! Reason: Unsupported filling mode" 🚀 Placing Immediate BUY Order: XAUUSD 📌 Supported Filling Modes for XAUUSD: 1 📌 Sending BUY Order: XAUUSD @ 2936.88 (TP: 2966.88, SL: 2916.88) 📝 Order Request Details: {'action'
Good morning everyone, I was wondering if anyone has experience with any AI that can really help you with writing MQL5 code and, above all, that understands the difference between MQL5 and MQL4. From personal experience, I have tried several AIs, I can say that my experience with them is rather
Where can I learn neural network in mql5? Or which book can I use to learn neural network in mql5 or mql4
Artificial intelligence (AI) is changing the way we buy and sell in the stock market. This discussion is about understanding how computers use AI to make quick trading decisions. We will look into how AI can spot patterns in the market, make predictions, and decide when it’s a good time to trade
Why do i got "failed instant buy 0.01 XAUUSD at 1810.70 [Invalid volume]" message when doing EA validation ? My product needs user to select the forex pair before it can trade
Hi guys, I am very new to this platform so please bare with me... I have recently started building an ea using mql5. I have coded it in such a way that if the previous DEAL_ENTRY_OUT returns a negative profit value, the buy/sell will not be executed until a new bar has been printed. As part of the
I want script that close all pending orders When OnTick accures. I tested this but not happens: #include <Trade/Trade.mqh> void OnTick () { int total= OrdersTotal (); for ( int i= 0 ;i<total;i++) { ulong ticket= OrderGetTicket (i); if (ticket== 0 ) continue ;
I have drawn a trend line in the bellow chart. I want to know the angle of this trendline so I can use it to trade based on some other conditions. but I don't know how to calculate it. do you have any idea how to do this. I don't need you to code for me. give me an idea how to do this. Your help is
Different zigzag's indicators please post here
Hey does anyone know why this zigzag indicator is behaving like this. Not marking proper swings? shown by red arrows. zigzag values are - 7,5,3 timeframe 5 minute is there any solution to avoid this fake swings or weird swings
Hello altogether, I used to trade via MT4 (that was a while back). Now I wanted to start trading again and installed the MT5 Software. Back in my MT4 times I used this indicator --> https://www.mql5.com/de/code/12266 <-- to display certain times in my chart, which was (and hopefully will be again)...
Hello, I have been looking for an MT5 indicator which would give an alert when price crosses upper or lower bollinger band. The alerts i prefer are an arrow/dot on the chart, pop up and an push notification. Something like this famous MT4 indicator BolliToucher would be ideal. <advertising...
Fibo Levels indicator. Fully forecasting.
Hello, I need to have the same exact indicator named envelops that exists on the Metatrader 5 platform , please how do I get it
Hello everyone as the subject says am trying to code or customise a moving average and display it in the subwindow ive tried several ways to tuckle the challenge without success as i show in the image below the yellow ma i placed manually and is the desirable output the red ma is however what my
Hey guys, I've got a question regarding CopyClose where I copy close prices from a VIX symbol (e.g. UsaVixMar25) into the current chart (e.g. Usa500). Here's my customized ComputeBuffers method: int CVix::ComputeBuffers( const int rates_total, const int prev_calculated, const datetime &time[]
I got my indicator published but not searchable on MQL5, please what could I have got wrong? Thanks in advance
Hello, MetaTrader 5 Team and Community, I would like to suggest a new feature that would improve the charting experience in MT5: the ability to lock drawing tools (trend lines, horizontal & vertical lines, Fibonacci tools, etc.). Currently, when drawing a line near other objects, it is easy to
I tried bellow code, nothing is happening. When I check object list, arrow object has created but it's not visible anyway in the sub window no matter how. the object's time coordinates are always showing as 1970.01.01 not matter how I try to set it to the current date time. the arrows I'm trying to
I set out to do a practice conversion to convert a more tedious MQL4 indicator to MQL5. This wasn't for anything other than practice, and because I'm focusing on MT5 now. I thought, maybe I can do it in 30 minutes... but no, this wasn't the case at all. I have tried numerous times to convert it
Hi, I'm trying to get a draw line to change colours - green when the line has a positive slope, red when the line slope is negative. What I'm trying to achieve is essentially a multi coloured line drawn over the candles to indicate the change in a value over time. I've tried both the DRAW_LINE and
Can anyone create a modified Heiken Ashi indicator that is based on a moving average instead of raw price data? Basing the Heiken Ashi on a JMA, T3 or Hull Moving average filters out whipsaws and makes the indicator extremely effective at pinpointing turning points. Almost too good to be true. The
Check out the new article: Price Action Analysis Toolkit Development (Part 17): TrendLoom EA Tool . As a price action observer and trader, I've noticed that when a trend is confirmed by multiple timeframes, it usually continues in that direction. What may vary is how long the trend lasts, and this
MQL5 Programming for Traders – Source Codes from the Book. Part 7 : The final seventh part of the book discusses the advanced capabilities of the MQL5 API, which will be useful when developing programs for MetaTrader 5. These include custom financial symbols, built-in economic calendar events, and
CLOSE ALL CHARTS : EXCEPT CHART ATTACHED ON Author: Paul Conrad Carlson
Check out the new article: Creating a Trading Administrator Panel in MQL5 (Part IX): Code Organization (III): Communication Module . Join us for an in-depth discussion on the latest advancements in MQL5 interface design as we unveil the redesigned Communications Panel and continue our series on
BreakRevertPro EA Adaptive Trading Edge for Breakout Mean Reversion : BreakRevertPro EA merges breakout and mean reversion strategies with adaptive SL/TP and multi-timeframe ATR trailing stops for flexible trading in volatile markets. Author: Mustafa Seyyid Sahin
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: Developing a multi-currency Expert Advisor (Part 17): Further preparation for real trading . Currently, our EA uses the database to obtain initialization strings for single instances of trading strategies. However, the database is quite large and contains a lot of
Check out the new article: Neural Networks in Trading: A Complex Trajectory Prediction Method (Traj-LLM) . In this article, I would like to introduce you to an interesting trajectory prediction method developed to solve problems in the field of autonomous vehicle movements. The authors of the method
Check out the new article: Automating Trading Strategies in MQL5 (Part 11): Developing a Multi-Level Grid Trading System . In this article, we develop a multi-level grid trading system EA using MQL5, focusing on the architecture and algorithm design behind grid trading strategies. We explore the
Check out the new article: From Basic to Intermediate: Passing by Value or by Reference . In this article, we will practically understand the difference between passing by value and passing by reference. Although this seems like something simple and common and not causing any problems, many
Dealing with time (2) functions : Calculate DST for USA, EUR, AUD and RUB and the offset time of the broker from the 70's until 2030 and the automatically even in the Strategy Tester of MQ. Author: Carl Schreiber
Valid_Swing_HighLow: The Valid Swing HighLow indicator Author: Scriptor
New article MQL5 Cookbook: Sound Notifications for MetaTrader 5 Trade Events has been published:
In this article, we will consider such issues as including sound files in the file of the Expert Advisor, and thus adding sound notifications to trade events. The fact that the files will be included...
Copy chart ( template to all charts ) : Copy chart attached to all other charts open Author: Paul Conrad Carlson
New article Websockets for MetaTrader 5 has been published: Before the introduction of the network functionality provided with the updated MQL5 API, MetaTrader programs have been limited in their ability to connect and interface with websocket based services. But of course this has all changed, in
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...
This is indicator developed by Agostinho Jorge Oliveira Can someone guide me how to add up magic number function in this EA? I would like to have P/L display filtered by magic number. Regards
where can I download library file: "Trade.mqh" for mql4? can I use the mql5 version of that file for mql4? I have that in metatrader5 but no in metatrader4 libraries. Please 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
Hi, When I launch a second MT4 instance from the same broker, it overlaps the first MT4 instance on the taskbar. How can I prevent this
Hi to all, I'm glad to represent my development TickScalper EA according to ideas described here and here. Especially for this EA I've created some new tick indicators. This new EA has big number of different settings devided on 5 groups: - Main - Timing - Sets for tick or fast MAs - Sets for slow...
I have an Apple MacBook Air M1 with OSX Ventura 13.7.4 (22H420). My MT4 installer is straight from my broker's website, but I also tried using the installer from the MT4 website. Doesn't seem to be any different. I have been using MetaTrader4 for about a year and never had any issues running it in
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
Is there an indicator or some way to install an offline chart on MT4, that will accurately countdown remaining time on the candle time frame selected? Seems the ones I found, cannot count, for example a M2 time frame, or other non-normal time frame offered by MT4
Hi, I need help please. In the "account history " tab in MT4, when I put the "custom period" it will always relate to the trades closing dates, not the opening dates. Is there anyway I can refer to the trades opening dates rather that the trades closing dates ? Thank you
No errors on back test, works well on live and demo accounts. But whenever I attempt to upload it on the market, it does not pass the automatic validation. Can someone please check my code
Hi, ive tested the my EA on my current broker Vipromarkets and it test okay with no errors. But, when I send it in for automatic validation I get ordersend error 131 and a zero divide error. After looking into the problem this type of error is associated with lot volume. The part of code from my EA...
let's say I have opened many charts of the same symbol on the same MT4 platform, is there a way to show a trade level's entry and its TP and SL on one chart only, then open a new trade from another chart and show its entry level and TP and SL without interfere with the previous trade levels
Is there some sort of valid reason as to why MT4 ( Version 4, Build 1440 ) has, all of a sudden, decided to continue to tell me that my SMTP credentials are incorrent, despite the fact that they're not, MT5 does not have any issue with my credentials whatsoever? There is no reason that I can work
All the EAs are in this section posted already. Each EA is having the thread. Name of this thread is the same with the name of EA. If you want to find Mandarine EA so you need to find the thread namely "Mandarine". I am posting something here to find it more quickly. But please all the question...

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.