On Friday , March 6, 2026, a new version of MetaTrader 4 will be released. The update includes several important security improvements, bug fixes, and platform stability enhancements. The update will be distributed via Live Update
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
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
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
I cant find a reliable copy of MT4 to download. I try the copy form Oanda and it my computer says error , I'm running windows 11
At the bottom of the MT4 terminal when the Trade Tab is selected MT4 shows the following parameters: ---> Balance: Equity: Margin: Free Margin: Margin level: <--- My question is "What is the equation used to calculate Margin?"
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
How can I program triggering a key press/event? For the following use case: Normally one can zoom with the "+" and "-" keys, but I would like to zoom with "q" and "r" and my idea is when "q" is pressed to trigger pressing the "+" key. Or are there better ideas how to create this use case?
I send messages with "SendNotification" to push Alerts from mql4 to the Android Mobile APP. It's working correctly from years. Frome about 1 month i'm experiencing the following behaviour: 1) i send from my mql4 EA push notifications with SendNotification command to my Metatrader 4 Mobile APP
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
Hello, as in tittle, What code should I add into EA in MT4 to avoid hyperacivity alert in FTMO prop firm? Did you happen to have 200 orders open simultaneously or 2,000 trades/order modifications that day? That's as much as the FTMO servers can handle and will temporarily lock your account for
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...
Hello I'm looking for the proper way to call a .ex4 indicator with no source code in my Expert advisor. I'm having issues with the inputs and line index
Some indicators which can be a filter to avoid big losses. If you have a great idea so you need a filter. To avoid any trading in none-trading zone. Please post your filters here. And please find the filter ... let's say ... 4 in one: FATL, SATL, RSTL, RFTL. In one indicator
Is there anyway to Automatically turn on the Trailing Stop Loss in MT4.
In MT4, how can I see the name of my chart template that is currently applied? - indicators with ctrl + i - objects with ctrl + b - and templates? How can I switch templates with a hotkey? - indicators/EA' s with alt + [key] (from ctrl + n) - profile with ctrl + F5, profile name at bottom (see...
Goal: I usually have my charts(over 20) maximized but at certain times, for comparrison, I want to have only two charts filling the whole window: one to the left with 100% height and 50% width and another one to the right with the same dimensions. I'm aware that I can do this manually but to get it
I install 8 EA for testing in different symbols. All the variable are different. But only one order is excute. Why
Hi, I don't know how i have my Terminal window on MT4 floating and detached from the others. I can't find how to put it back. I'm on macOs Sierra Thanks
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
Hello, I can log into my profile using the MetaTrader4 app. But when I open the Desktop MT4 terminal and use the same login details, it tells me the login details are wrong. I restarted the computer and closed everything and then reopened it. What can I do? Thank you very much
Hi everybody, I used DeepSeek (DS) yesterday to request a simple script.mq4 codes, DS provided me nearly 100 versions of scripts but all versions are NOT working at all, it took me about 5 hours. I kept on asking modifications and corrections, but the DS finally turned up to be "server busy" to
Am trying to create a tma tma oscillator by using the difference between two tma but my tma will use custom price rather than mql4 main price such as close open etc. But i don't know if.this.will cause heavy repainting or.if it will just recalculate at centerFactor =0 double iCtmaCustom( double
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
I drew a long transparent horizontal band with canvas from the left to the right end of chart. Then I created a horizontal line object. When the line is outside the canvas band, I can get line handle with either CHRARTEVENT_OBJECT_CLICK or CHARTEVENT_CLICK and move around by mouse. However, once the
Good EveningI use EA_Ilan-TrioKS v1.47 and it allways worked fine and with profit but since three days ago it started operating strange, whenever the system is restarted it closes all BUY orders even causing loss.It makes a stop loss with the value of actual price and closes the trade. Has anyone...
Hi friends, I have been using this EA for long. It has made me some money. It trades multi-pairs and trades multiple times per day. This EA works on Gap(Trend). If the gap is too long this EA is dangerous...it can blow out...this is because its Stoploss is not coded properly. Although it has a SL...
Please excuse my ignorance, 24hrs ago I downloaded the metatrader prog and it would not work. I started looking for why and found that it did not come with an experts file and meta editor is different (look at attached files) . Thought that was strange so I proceeded to update my older version of MT
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...
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.