MQL4 and MetaTrader 4

If you have questions about MQL4, MT4, MetaTrader 4, please post in this thread. Especially when your questions are related to trading functions
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
The MetaTrader 4 platform update will be released on Friday , March 1, 2024. This version provides error fixes and platform stability improvements. The update will be available through the Live Update system
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
I checked that when the lot size is below 20, the margin requirement is correct. However, when the lot size increases to around 50, the margin requirement increases by an additional 9,000 USD. Why is there such a large difference, and how can I handle this in MQL4? margin required to open 1 lot
Hi, I would like to publish a free robot , but the validation system is indicating errors. If there’s a simple solution to fix them… great. Otherwise, I'll let it go. Thanks for your advice. test on EURUSD,H1 2021.04.01 03:00:00 Moo_Deng EURUSD,H1: OrderSend error 131 2021.04.01 04:00:00 Moo_Deng
hello   is there a hack that allows to know, within an indicator, the expert name that is on the same chart as the indicator?   thanks a lot   Jeff 
  Usefull links/threads/tools  (57   1 2 3 4 5 6)
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 started this thread to post all news/signals indicators and EAs we have now and will have in the future.
The ZigZag MQL4 code is not drawing on the chart. Where am I going wrong in using this indicator that it does not draw the ZigZag? Thank you. //+------------------------------------------------------------------+ //| myzigzag.mq4 | //|
Hello, Currently I plot some long-term trendlines which I require to move, though I need to keep the same angles - this is important. And I need to move and see them across differing timeframes. The problem I have at the moment is to move a trendline, you need to double click it and move it by the...
I'm reading through some of the threads here and on other forums. Some things sound astonishingly promising, other things sound totally discouraging. I see that Newdigital has posted a fantastic amount of data here. Must spend much time, very appreciated. Looking at the EA results, some fantastic...
Hi fellow coder, I created a rectangle label, but i struggle to make it opaque. Its transparent and i don't know how change that. You help would be welcome, THANKS
//+------------------------------------------------------------------+ //| test.mq4 | //| Copyright 2024, MetaQuotes Ltd. | //| https://www.mql5.com |
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...
I hope this message finds you well. I am currently facing an issue with an expert advisor on MetaTrader 4, and I would greatly appreciate your assistance in resolving it. The error I am encountering is "Initialization failed (32767)" . I’ve checked the code and attempted a few common troubleshooting
Designed to discuss the pair over the past period, forecasts, and anything else that might affect the movement of this pair
Below are step by step instructions, of how to subscribe to a MΤ4 signal: 1. Register a MQL5 account: https://www.mql5.com/en/auth_register 2. Open your MT4 platform and go to Menu >> Tools >> Optios and click on the Community tab. There you put your Login and Password of your MQL5 account
Hi System Traders, For those who use Gmail SMTP to send email alerts for their EAs' notifications, what are your plans after 30th May 2022 when Google plans to stop 'Less Secure Apps Access' of Gmail. MT4 email sending depends on this currently. Does anyone have a solution for this? This is part of
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 everyone, I am interested in developing an Expert Advisor (EA) using Python and would like to incorporate an indicator developed in MQL4 into the process. Could someone guide me on how to integrate an MQL4 indicator within an EA programmed in Python? Specifically, I would like to understand
Hi, I built an EA in EA Builder and the code works perfectly in testing. For testing I use every tick for accuracy. In live trading the code works perfectly most of the time but misses trades. This is very frustrating because there are no errors in the journal to indicate where there was a problem....
Issue with Downloading Products from MT4 Market - Error 500 Hello Support Team, I'm experiencing an issue downloading products from the MT4 Market. Terminal Build: 1422 (1430) Product Compilation Build: 2409 (2415) Error in Log: 2024.11.04 11:57:44.453 MQL4 Market : failed download product 'Exp '
Hello, <Deleted> and is available on the MQL5 Market, however the download produces the error: "MQL4 Market: failed download product '' [500]", as you can see in the image below. I tried to make a new update (15.32) hoping that it would solve the problem but there were no changes and the problem
Hi everybody, I used to basket close all the open trades on Friday 23:30 automatically by setting TimeDayOfWeek(TimeCurrent())==5 in my EA. The problem now is what if today is Thursday and tomorrow Friday is a holiday (off-trading day), is there a command to detect automatically whether a broker's
  Forgot password  (1)
I forgot my password can anyone help me
Someone to give me Meta Trader 4 32 bit version to install on my Windows 7 Clear software , no brokers , please Thanks! I try to install Meta Trader 4 iCmarkets but ask me Windows 10
  there are no trading operations  (68   1 2 3 4 5 6 7)
I test me EA on my own broker it works okay. But when I send in for validation I get the following : test on EURUSD,H1 there are no trading operations test on NZDUSD,H1 there are no trading operations test on GBPUSDcheck,M30 there are no trading operations test on XAUUSDcheck,Daily there are no...
Hi all: having trouble when trying to allow web requests for EAs. Under "Tools/Options/Expert Advisors", I expect to be able to set up a list as in the first attached picture . Instead, after I press the "+" button in the box and enter the desired URL then press Enter, the URL I entered is cleared