MQL4 and MetaTrader 4 - page 28

Hi there! I can't log in to my demo account, the platform dosn't react on anything, it worked before but now it's completly dead, it says "No connection" Do I need a funded live account at MT4? Becouse today I took my ballance out of my 2 live accounts. Someone can help me? Thanks
Unable to connect my EA to MT4 all of a sudden yet its been working on the account. I am getting the below error; 2024.06.03 06:30:42.116 cannot load 'C:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\9E1B7C64C22DC2B6AAD000B3A8AB1869\MQL4\Experts' Anyone who knows why it's not connecting
Dear All,   Is there a link for the above mentioned download? The MQL4 book format is in .chm which is not a file. Please help.   Regards 
Hello, Is there any way to send simple orders (just BUY, SELL, CLOSE) to MT4 from another computer (which is running a Java app) via IP? Don't need bi-directional communication; just uni-directional. Thanks in advance
Hello I prepared a video so you can see how it can't connect. https://file.io/qBcf32Kdy58y I used its vpn. I never had this problem before. I can connect to my country's internet on my desktop computer, but I can't with my mobile phone
Hi Guys I am trader with no coding experience. In the spirit GenAI I was attempting to automate a strategy I am working on into an EA using GPT. However whenever I compile it I run into trouble with the code due SL and TP variable declarations or something along those line. I am a novice trying to
Hello everybody, I have this code for "Expert Advisor", but it doeasn't work by my expectation. I want to open and close order by selected time. When the time is on the same date ex 15:00 to 16:00 it work. But when the close date is on next day it doesnt work ex. 23:50 to 0:30. The order open and
Hi I have a c# DLL which is working great when placed in MT4 (build 765) installation Folder. However, when trying to move the DLL to terminal_data_directory\MQL4\Libraries I'm getting "Unhandled exception 0xE0434352". I would like to emphasize that it's not a problem of calling managed code...
[Deleted]
The problem is that it's sending too many Alerts because the conditions are true for a long time. How can I get it to only send me one alert when it finds the conditions are true? Below is my code: total = OrdersTotal(); if(total < 1) { if(cnt_buy ==2) {...
Hi, I have old setup files, but whenever I install it, it gives me the latest version 1367. how can I get the older version? or avoid this update. I tried disconnecting my internet but it didn't install at all thank you
I want to make the buying process very easy for my customers. I want to make it after they pay they will download the EA instantly. After they download the EA they will need to enter a product key. Each product key will be allowed to be installed on x amount of platforms and can't be used by more...
Good evening, I can no longer download any indicators or eas purchased by me from the market to my mt4, how can I solve it? the mt4 diary says: MQL4 MQL4 MARKETS PRODUCT (115398) NOT FOUND IN THE DATABASE. Can you help me? Thank you
hi i have a simple indicator which draw a trend line horizontally and to the right , can we get the date of the t2 for that trend line using any code? (even if the trend line extended out the range of the trading bar)? as in the attached pic
Hello friends, I would like to recreate this indicator for MT4, or if someone already has it done for MT4, that would be even better :D. Here's a description of the indicator and what I know about it: It's an indicator used to understand when to enter and exit the market in spread trading
Hi, I have purchased a custom EA and there is new version out. i want to update from version 5 to version 6. I cant figire out how to do it. The develpor told me that it should be in Markets and then purchases. when i click on the purchase and the said EA. I dont see any button or tab there to
hi any idea why EA cant load? anyone encounter this? had be uninstall and reinstall again can someone guide me in this
  Buffer values  (2)
Hello, I'm working with a developer to create a mt4 indicator that reads buffer values on the chart saved by 2 other indicators and uses those values to determine when a trade alert should be given. I want to use the iCustom() function to reference values stored from the other two indicators on the
Hi I have built two basic indicators today for my own use but I cannot finish them due to 4/5 red lines that I have tried many scenarios with no avail what do I need to put in the following boxes Copyright Link Version Atrict indicator chart window It may seem obivious to some I know but nothing
Hello, I'm working on an expert advisor created by me; I've actually defined how the program opens a position (sell and buy) but I have some throubles with the exits. I need to code this situation: in case of long position, the EA should exit if: * Bid is less of the first "lowest low" (the most...
[Deleted]
Hi, I need help in avoiding orderSend error 131 and orderClose error 131. Here is the value I assign to lot size: Double lots=NormalizeDouble(MathAbs((AccountEquity()/10000)),2); and Here is How I send an order: OrderSend(Symb,OP_SELL,lots,Bid,2,Ask+600*Point,Ask-2000*Point); I need to program my...
Weird problem I'm experiencing. When I open MT4 and get the sound confirming that I'm connected to the server, MT4 shuts down on its own completely. This happens only when my EA is loaded. I've used a self-made EA as a helper tool for some time now and have never had this problem before. I don't
Hi coders, I'm trying to learn 2D Array to store the OrderOpenPrice() for each symbol. Existingly, I have 3 symbols that with open orders :- 1) AUDNZD : 10 BUY open orders 2) EURUSD : 8 SELL open orders 3) XAUUSD : 12 BUY open orders and 3 SELL open orders The following are my codes :- string
Why don't take profit and stop loss orders work on MT4
//+------------------------------------------------------------------+ //| DrawUtil.mqh | //| Copyright 2024, Ting | //| https://www.mql5.com |
After posting a message to service desk, asking for zoom in shortcut as in MT5 (which knows about "-" and "=" keys on first row on keyboard) they told me I need to use Shift + "=" to zoom in. huh? thats very intuitive, thanks but no thanks.  I searched for a solution, and the most flexible was...
Hi all, I have been struggling in figuring out how to calculate unrealized net/gross profits for my current account. In other trading platforms there is a property of UnrealizedGrossProfit and UnrealizedNetProfit on the Account object itself. If this does not exist, can you do something like loop
I’ve opened and closed traders that I have seen drawdown 5% or so. Why is this not showing when I download the detailed statement of the account
Right, I have the following: void CalculateRSquared( int Periods, int SMAMODE){ if (Periods > 10 ){ Periods = 10 ; } //--- //// Declare dynamic arrays. double time[]; double price[]; double time_pow[]; //--- //--- //// Resize arrays to the specified number of period
Hi coders, hope you can help a non-programmer myself ... I have 2 strategies written in 2 EAs. Currently, I load the 2 EAs into 2 different charts but with different coded conditions (same magic), in other words, at any point of time, only one EA is trading and the other EA is in dormant state (both
Hello friends, I am trying to run function at the time I need, but function ignoring the given time. bool IsBelowMA() { double Time_S = Hour() + Minute() / 100.0 ; // Ensure the function executes only after Time_Start if (Time_S >= Time_Start) { for ( int i = 0 ; i <
This website uses cookies. Learn more about our Cookies Policy.