MQL4 and MetaTrader 4 - page 7

Hello, I am using an EA attached to 4 currency pairs in one MT4 client. I frequently encounter an error " Trade context busy ." My question is, is this error due to my computer hardware resource issue (RAM/CPU), Metatrader 4 application-related issue, or Forex broker server-side issue? If this is a
[Deleted]
Hello my entry prices are different in live trading from EA backtesting results, what might be the reason and how can I fix it? The spread used is the same as the time traded, but I get different results in entry hence affecting the results, how can I fix this. The EA is supposed to be opening
Hello there, I'm converting the working MT5 version of my EA to MT4, but I get an array out of range error not matter what I try. It's my first time working in MQL4 and I have tried many things but I can't solve the issue so hopefully someone can spot it and advice because I'm running out of idea
Hello, even though it worked fine yesterday, today I'm experiencing a "connect failed [No connection]" error and I cannot search for any other brokers at all. I don't understand what's happening?????? I've been using this server for 10 months now. It has always been normal. I run 30 terminals
Hello everyone, I have a problem with a simple math "double/double" in my system. I've been trying to find an answer but haven't come up with a topic that's exactly what I'm looking for My code here. I can print value x1,x2,x3,x4,x5,x6 , but x7 doesn't work. Someone can give me the answer, please
  wrong return  (1)
in my code sometimes the function returns wrong number or does not return
Hi, due to my testing setup i need an idea how to avoid automatic update from metatrader. Is there an opportunity how to handle with it. Or possibe to rollback to older Version
  Is there MT4 technical support?  (40   1 2 3 4)
Is technical support for the MT4 trading platform available if I have a problem with it? If so, where? If not, what is the alternative
hi any one know how to get the chart of opposite tickers in metatrader ? instead of EURUSD to show USDEUR instead of USDJPY to show JPYUSD and so on (i need it to be real time updated as the original tickers) any one can help ?
  Dope.mq4 EA  (2)
Good day all. I wonder if anyone knows this code and where does it originate from. Perhaps another EA and this one was renamed? There is not much written about this EA on the web, and back testing shows great results but in real time trading it does not update the "Level" line properly. Does anyone
Hi; There are apparently 3 choices to calculate current price. Which one is preferred and why? SymbolInfoDouble(Symbol(), SYMBOL_BID); or MarketInfo(Symbol(), MODE_BID); or SymbolInfoTick(Symbol(), MODE_BID); Appreciate an explanation. Thanks
I was attempting to download some broker's mt4setup.exe and the connection kept timing out.  I tried from two different computers in two different countries. After about 15 minutes, I got it to download in the Thailand location.   But New York I am still getting "Timed out".
classes and structures is confusing for me would you please refer some tutorial video contents to me
Hello, everyone! I subscribed earlier today to a signal in MT4. Because of some glitch, I had to restart the computer. I closed all instances of Metatrader, restarted the computer and opened them back. Soon after that I realized that everything related to the signal I subscribed to just disappeared
Hello, I am creating a code, which trail all the order to same price at ones with magic number. Let say, there are 20 Open Order with Magic number 100, i want to trail all the order at same time at same price. To do this, i am trying like this double gPips = Point ; void SequenceTrailing( int
ICMarkets Denisha chat support says this: Please note that IC Markets’ server time and charts are GMT + 2 or GMT + 3 (when daylight savings is in effect) To align the daily chart candles with New York close (5pm ET) IC Markets server time and charts are GMT + 2 or GMT + 3 when daylight savings is
Explanation from the developer : Program works by tracking a chart in external program and sending a signal through txt document . Expert in meta trader reads said file from common terminal folder and saves its content in a string variable . That part of the
I cant login to my account on both MT4 and MT5 market on one of my VPS
Hello, Im getting these errors on all of my purchases. Im unable to install. I tried differnt accounts, brokers, and computers. Any ideas? Thank you!! 2024.03.10 10:31:49.701 MQL4 Market: failed to get of info purchase [403] 2024.03.10 21:40:30.032 MQL4 Market: failed parsing info about purchasing a
Hi my broker still on mql4 and it doesn't have a math function for Normal Distribution (like the norm.dist function in excel). Does anyone have the code for this function or know where can get copy it for mql4? Thanks
Even with maximum zoom in, MT4 still displays days in the bottom axle on a daily chart. (see image). How can I get this to show hours instead? Thanks
Hello, I am dev app to read the Journal tab on MT4 by reading the log, which is going pretty well. However, there is one issue I don't understand why, in the case of Order take-profit or stop-loss, it is not written to the log immediately. It requires other actions first or restarting MT4 for it to
Hello Support and all, I've found problem of no any alert sounds from MT4 after update as build 1408. I've confirmed all setting for sounds are Enable (Option-->Events-->Enable for all). I've confirmed MT4 teminal for 2 brokers with 1408 update have the same problem, while MT4 teminal for other 2
Hello I am currently new to MQL4 and I need help understanding how to send data together with the post command using webrequest:  https://docs.mql4.com/common/webrequest  How do I attach a json string as raw data using web request since data is an array of characters.  I tried creating a simple json...
I see EA's that have a nice rectangle as the information text background, works nicely for them. However, I can't do that with MQL4 scripting. It just doesn't work, I have tried everything that I thought of, googled around as well. My rectangle always comes white, no matter what color I give it
Hello, I need to know How dose the EA calculate the TP price by using Martingale strategy for each trade... If can some one share the formula with us in Exel sheet to use it .. Thank you for ur time
hello, i have migrate all the EA but i don`t see the expert tap. on vps. i see only (details,journals)
I've noticed that very rarely when internet connection falls for a few seconds/minutes, after it is back online MT4 DOES NOT reconnect properly. What happens is that the top triangle at the bottom right of MT4 comes back green, but the bottom one remains red. In the journal tab (log) the following...
Is there a way to write code that will close your trade with the highest drawdown only once there are ten trades open and the profits from other trades equal the trade with the highest drawdown? Example: I have ten sell trades open (all in drawdown). The Code/EA should only act once this happens
Hello, I am getting Error 130 and Error 136 when i am trying to add new SL using order Modify. Code : void StopLoss_NewsTrading( int StopLoss_NewsTrading_magic) { int gNewsTrading_SL = MarketInfo( Symbol (), MODE_STOPLEVEL) + 10 ; // Loop through all orders for ( int i = OrdersTotal () - 1 ; i