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
Hey programmers I don't get any further with my simple webrequest to a google drive file, to just pull out a simple word, how the sentiment of nas100 is. (https://drive.google.com/file/d/1Cu9HVjzxKZoZ5E1z_hYL1wO0pKWfz2jC/view?usp=sharing) I always get an 404 Error when trying to access the file over
how to add crypto symbols to meta 5
  HFT bot  (1)
I can’t install my HFT bot on MT4 terminal
I ordered EA multiplied ATR trailing and There is some problem to make it work for me.All seems to be good to go but nothing happening.I believe EA works fine.Looking for someone Who would be able to give me some helpful hand and explain what am i missing or doing wrong about goal i am trying to
I am unable to download any indicators from the market for MT4. When I select download, it will ask if I have MT4 installed then I select the "Yes I have MetaTrader 4 installed" button but then nothing happens afterwards. Please advise on how to resolve this
Hello there, I'm working on the converting the MT5 version of my EA to MT4 version, and it's not reacting the same on MT4. Basically it's an EA to do manual backtest on the strategy tester. As you know the OnChartEvent() function doesn't work on tester, so instead I'm using the OnTick() function to
  Elite indicators :)  (15191   1 2 3 4 5 ... 1519 1520)
Hello, Does anyone know where I can find an indicator that takes in price values, which when reached or surpassed will cause the indicator to send a sound alert
Hi, I have been trading for a few years, and finally decided to take the plunge and learn more about building Expert Advisors. Playing around in - Bots Builder - has helped a lot. I used it to construct a very basic EA. The next step is adding a License Check Function - where the EA expires after 30
I have contacted the service desk about this issue. This is what I sent them.... Hello, Please either remove the option to download MT4 from your website or fix it so that it does actually download MT4 and not MT5. We are getting sick and tired of answering the same question over and over again
Hi, Could you give me mt4 multiterminal platform and regular mt4 platform I could not find it on the web. Thanks in advance
Thanks you very much
if ( ObjectCreate ( 0 , "UpArrow" +Time[i], OBJ_ARROW_UP , 0 , Time[i], Low[i])) { ObjectSetInteger ( 0 , "UpArrow" +Time[i], OBJPROP_COLOR , clrDodgerBlue ); ObjectSetInteger ( 0 , "UpArrow" +Time[i], OBJPROP_ARROWCODE , 233 ); // Arrow code
haha gotcha! but actually, I can't run back testing on my EA's in the weekends, because I use 'MODE_TICKVALUE' in my calculations; and if the markets are closed, it pulls the 'live' value for that 'constant'; which is ZERO. you got me good, MT4. double tickValue = MarketInfo( Symbol ()
Right, I just do not get the logic behind why MQL4 is outright refusing to display the correct order position information on the correct chart, as in the chart with which the order was placed upon. I just do not get why - despite the fact that I have specifically told it to loop through ALL of the
Hello, If there is another position with the same Comment, I do not want a new order to be opened. I wrote a method for this, but it is not working. I am getting a false response in the "if(OrderType()==orderT)" part, and it allows opening a position. There is only one open position and it is
Using a Mac First post and I am sorry if this is in the wrong place. My Navigator window and Market Watch have become undocked.....sure it was my fault. Now, I can't get either back docked?? Does anyone know how to fit this? It is a really silly problem to have without any way to get it back
It has been a week now since I Cannot login to MT4 mql5 community. But if I login to www.mql5.com website, there's no problem here are my screenshots
Hi, I've been studying and coding EAs and scripts for a few weeks so I'm fairly new to MQL language. I felt a necessity to code an EA that creates a close button for every open position directly on the chart and at the right most corner of the screen, near the price level of each particular position...
[Deleted]
Hi Guys Please assist if you can. I'm new and can't get my head around this one. I have small account that I'm playing with just to get the idea of whats for what but I'm in a small dilemma at this stage. The account balance are 156 odd $ and my equity are still at 126 odd $. Free margin shows -86...
I have been trying to login to my MQL5 community on MT4 to download an expert advisor from the Market, but it gets stuck when I click on Login. I'm using Dipgate VPS with Chrome as the default browser on Windows 10
//+------------------------------------------------------------------+ //| 5MinTrader.mq4 | //| Copyright 2024, MetaTrader 4 | //| https://www.mql4.com |
  indicators issue on mt4  (11   1 2)
Hi Guys. I bought some indicators few years ago. Everything was working perfect until about 3 months ago. When my mt4 in not running for few days and when I want to open it, it freeze. I already noticed that when I delete the indicators that I bought from MQL4 then mt4 is opening with no problem. So
Hello Friends, I want to be run MT4 Script on every 10 seconds repeat. Here is the code. Please help me, many thanks. //+------------------------------------------------------------------+ //| Shadow SL n TP.mq4| //|
  Traders joking, the beginning  (7313   1 2 3 4 5 ... 731 732)
They say that an average trader can work for about twothree years. Then he has enough money to buy Ferrari and spend the rest of the money on psychoanalyst and antidepressants. Well, drive your Ferrari and save the rest of the money by reading our next column. Making money is one of the funniest...
Hello, suddenly, I cannot install MT4 on my PC anymore. I am using Windows Server 2012. When I try to install I get the message "Sorry, something went wrong: Please try again later". I tried he setup.exe from 3 different brokers. All the same error. MT5 terminal installs without any problems. Does