On Friday, October 2, 2026, an update to MetaTrader 4 will be released. The new version includes several important security enhancements, bug fixes, and changes designed to improve the platform's overall stability. Improved management of Stop Loss and Take Profit levels for positions on the same
If you have questions about MQL4, MT4, MetaTrader 4, please post in this thread. Especially when your questions are related to trading functions
Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes
(19650 1 2 3 4 5 ... 1964 1965)
In this thread I want to begin to help those who really want to understand and learn programming in the new MQL4 and want to easily switch to MQL5 - the languages are very similar. This blog will be a good place to discuss tasks, algorithms of their solution and any other questions concerning MT
This topic will discuss undocumented ways of working with the mql4 language , examples of solving certain problems. It would be desirable that this branch would be closer in content to the FAQ, than to the discussion. I suggest that all experienced programmers share their solutions and programming
Hello, Do you listen any music while you trade? I have tried with many different kinds, but I think classical music is the most appropriate to remain discipline focus and calm . Any replies are appreciated. Let's start
Hi bros, yesterday I had an idea, pick all the best trend following default indicators on TradingView and made a super TS with the conjunction. Claude from Anthropic did the excellent job. Here is the .mq4 file and a example image
Hi guys. Can an EA be programmed to recognize when a user manually opens or closes a trade from the chart
Hi, I'm using a custom moving average indicator. After updating to build 1491 Metatrader 4, the indicator goes missing from the chart whenever I start MetaTrader. When I reapply the template, it sometimes shows all the indicators I saved, but other times it only shows one . 1. All indicators are
Hi there I installed Metatrader 4 and add an EA to the chart. I am able to configure the settings for the EA and save to a set file But when I request the settings of the Expert advisor after config, I get this screen. The EA does not take any orders. It works on another laptop. What do I miss on
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
Custom indicator Heiken Ashi no longer shows up on the chart after auto compiles at the initial load of terminal after the version update Strategy Tester also shows the following errors regarding Heiken Ashi. 0 01:10:42.456 2025.06.01 22:00:00 PlutusV2613 EURUSD.FX,M1: HA Error: Indicator not ready
Members of the forum, don't forget to follow the rules
Hello, I am posting this in the MQL4 section since there is no MQL5 section to post it in. I am creating a simple chart overlay in MT5 to visually compare two symbols. However the chart overlay indicator does not update in real time it only updates on the close of the bar. Does anyone know what
New article How to Copy Trading from MetaTrader 5 to MetaTrader 4 is published at mql4.com: Is it possible to trade on a real MetaTrader 5 account today? How to organize such trading? The article contains the theory of these questions and the working codes used for copying trades from the MetaTrader...
hi,
using MT4 b745 on wine 1.7.32 i386 ubuntu
for using an expert i need to add an url into /tools/options/Expert advisor/
there is already the builtin 'http://www.mql5.com' listed
when i right-click on '+' nothing happen for adding a new url, so i double click on the previous url's field:...
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
this script converts the chart's ticks into any Second(s)timeframes !!! the Script works only for XAUUSD, you can modify it to work with other pairs or other names of Gold pair. Example custom periods: S5 S10 S15 S20 S30 S45 S50 Once the Second(s) chart is generated, you can apply almost everything
I know I'm asking for a boot in the head, but it seems as thought the language has changed since I was coding last. Trying to do a simple loop from 1 to 50, where the code stops at 50. What I get is: 1 to 50 then continuously loops again from 1 to 50. I want to stop at 50. Would appreciate any
Hello, I want to be able to draw Trendlines, Channels, Fibs, essentially any object on a chart for a specific symbol e.g a horizontal line level 1.1 on EURUSD and restrict it to only the chosen symbol. However, when I drag in another symbol on the same chart window, e.g. AUDNZD, I see the same...
Hello, I have a problem loading an Expert Advisor in MetaTrader 4. My terminal version is: MetaTrader 4 Build 1478 Date: 22 August 2026 The EA is named GOLD_MT4.ex4 . When I try to load it, MT4 gives these messages: GOLD_MT4: has newer unsupported version, please update your client terminal cannot
Hi guys, Anyone got any idea on how to call this indicator to work in EA? From the forum i found several method as the following: val1=iCustom(NULL,0,"SilverTrend",3,350,2,0,0); val2=iCustom(NULL,0,"SilverTrend",3,350,2,1,0); or BuyST=iCustom(NULL, 0, "SilverTrend", 0, 0); SellST=iCustom(NULL, 0,...
In order to construct a killer ea. I would like an opinion of what is the best indicator all of you "ELITE'S" are using for ALL TIME FRAMES. My View Daily,60min,30min - I give high marks to Squeeze_2006 combined with hist_step_stoch 15Min,10 - I give high marks to Fisher Yurik/combined With Squeeze
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...
Hi all, question as per subject line. I'm sure an easy fix. Anyone? thanks in advance
[Deleted]
Hi I wrote a very simple EA and it works in tester properly but it doesn't work as i attach that to a chart . EA is successfully loaded but the first line of start function (a comment line) is never executed. Is there any specific Error or mistake in programing that cause such a condition ? I would...
Dear Community, I've read all Doc about CButton and it seems to me, there is non built in method to perform following task 1) create CButton 2) CButton should be visible but not clickable at the beginning. Any idea, how to perform this
Hello, I want to know can MT4 send WebRequest to a server or website directly like MT5 or I need to build a .dll file to do that
I want to start a YT channel about the MQL5 language, and write a book about the language. I've read the "Trademark and Graphics/Screenshots Usage Guidelines" in the MetaQuotes site, but I still have a few questions to ask. In the website there is a "contact us" section, but no email to be found
Hello Supply and Demand Traders, I have a custom expert advisor which trades off supply and demand zones. The zones it trades off are from this source - https://www.mql5.com/en/code/14545 (indicator attached below). Here are the rules of the EA: - When price reaches the proximal level of an...
EDIT:Whilst it seems to me that this Normalization used to be a problem, theexperimental test indicators and scripts below have convinced me that this isnot (or is no longer) a problem (at least with the latest MT4 and with mybroker). The thread remains primarily for the indicator/EA below, which...
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.