MQL4 and MetaTrader 4 - page 40

Hello, I have set an indicator into my MT4, each time that the indicator was printed on the chart I used to get and alert window but it just stoped working. I double check that the indicator has enabled the alerts. Under Terminal > Experts I can see the alert but the window with the sound does not
Hello All, I am running a same EA on two different MT4 accounts, same broker. However, sometimes during the day, the orders are not opened at the same on two accounts. One account opened more orders than other account. Please help me how to fix it, I set Slippage is equal to 5. Thanks TT
Hi i have this code //+------------------------------------------------------------------+ //| 6pip.mq4 | //| Copyright 2023, MetaQuotes Ltd. | //| https://www.mql5.com
Hi i have mod this fractal indicator i add the RSI i notice when i insert this condition if (bFound && i > 0 && i < Bars - 1 ) { the indicator not work o_O why ? anyone have some idea?? thanks at all my entry script //+------------------------------------------------------------------+ //|
I've installed MetaTrader4 on my MacOS. But I'm failing to, right-click with menu, install custom indicators. In MT4 go to i. the Navigator then > ii. Indicators list. Left-clicking doesn't pop up a menu. And that means that I can't install any custom indicators in my MacOS installation. I did see
I have an EA that places a button on the chart to accept an alert and enter a trade. I'm trying to write a new EA or indicator that will auto click that button from the other EA. The button name is known by looking at the objects list. I've tried a number of things with PostMessage and extensively
Has anybody experience with strange MT4 sounds after installing Windows 11 OS ? Even though (sounds) Events are disabled in MT4 (tools- options- events) and also sounds are disabled in OS Windows 11 strange sound play irregularly many times during using MT4. Thanks for help
Hi I cannot connect to the market on MT4 anymore and i cannot download any expert advisor or indicator it was working fine before Please check attached screenshot and let me know about the solution for this
Hi everyone in the house, Please I need your help especially somebody who had gone through this before and how he solved it. I subscribed for a virtual hosting, precisely UK server and immediately I migrated my expert to the server, it start and then disable my expert after migration is successful...
HI. Sorry for the perhaps trivial question, but what is the easiest way to write from mql4 into an existing Excel file
  Broker List will not populte  (17   1 2)
Hello, The broker list will not populate on to enter a live account, only MetaQuotes Software corp. I asked for help from MQL5 but the were not at all interested in helping me with their product, shot me down and directed me to this forum software is upto date, I deleted and reinstalled, still
Hi, In the following simple code, i seek to evaluate lot size for 3 possible cases, but it is not returning the size based on the risk in pips (say 50 pips). Please help what correction is required. enum Money_Management { Equity_Percent = 1 , // % Equity Fixed_Lot_Size = 2 , // Fixed Lot Size
[Deleted]
Hi, I'm new to MetaTrader After installing the software I can see only the Forex symbols. I can not see Futures or indexes, how do I add them?   Thanks 
Hi, i've coded a simple expert advisor , that buy when RSI is under 30, it work perfectly on forex pair like EUR/USD but it don't work on stock pair like AMZN or on BTC/USD for example. I have this error message each time a send order must be sent: BTCUSD,M5: OrderSend error 130 in the journal
There is an indicator provided with MT4 called SimplePanel. It can be found in Indicators/Examples. This demonstrates the use of an object oriented technique for drawing graphical objects. Does anyone know where I can find some documentation on how to use this?
I am searching for an expert advisor to buy, I am backtesting so many EAs on an UK IG-Demo mt4 account where I can “bet £1 per USD 0.00010” for most currency pairs and “bet £1 per 1.0 points” for most Indices. For majority of them I get no results/transactions even when I try to backtested expensive
Hi all, Is it possible to request a fix to the Alert line becoming stuck underneath an Open order line on the chart? The workaround is to go to Terminal>Alerts>Symbol>Modify and then manually amend the price level of the Alert line to shift it. However, this is quite time consuming and often I find
Hi all, I'm trying to loop through a sentence in order to count bars. I'm using the following code that it's not functioning as it should. please, any thoughts? int CountBars() { int bars; for ( int i= 1 ; i< Bars - 1 ; i++) { if ( iCustom ( NULL , 0 , "Heiken Ashi"
I have the MT4 VPS on one of my broker accounts. How do I add it to an additional account held with a different broker? Or do I have to buy another VPS for each separate broker
the following code is in the help tutorial and I am creating  trend lines on frame_1H, the trendlines of (30 60 4H and 1day)  is raying right as coded but the trendline of  PERIOD_W1 and PERIOD_MN1 is not raying right,but the opposite direction as shown in the image any idea the problems? //---...
Hi i have this fractal indicator code i want understund how it work //+------------------------------------------------------------------+ //| fractals.mq4 | //| ©2011 Best-metatrader-indicators.com. All rights reserved | //|
Hi i have this part of script , is a part of common_functions.mqh , i not underestund a sense of this variable caller anyone can explain me ? thanks /** * Drop-in replacement for OrderSend(). * Try to handle all errors and locks and return only if successful * or if the error can not be handled or
Hi coders , I am new here in the world of coding but I am learning! However, I am stuck and requesting for an honest help from someone to help me with opening new (second )order on the close of the previous candle which is having the active first position. NOTE: I mean the code must only open the
[Deleted]
Hi everyone I need some help. I need the yesterday close price for Ger30 CFD I have found this indicator prior_day_open_close_line,  but it give me as "yesterday closing price" the open price of last candle of yesterday. so, I have a different close price into every time frame (that's not good)...
  Slow VPS  (4)
I have subscribed for MQL5's VPS, I use them in two terminals, VPS is too high for me (7.0 ms) in one, while other is fine. Another concern is that when I click on the VPS METER, below in web mt4 [kb] there is a check mark on a default option that is at 86.0ms! And when I click MQL5 VPS i go to
[Deleted]
Hi, i am making an Ea that uses only pending orders. The problem i have is that when i optimize is that the strategy tester does not give any passes positive or negative only 0 and 0 orders triggered into market order. So it is impossible to optimize. But when i select one of this passes with 0...
Hi Guys, Recently I experienced a weird behaviour when trying to load an older EA version of a commercial expert from "MT4 Market" here on mql5.com: I moved to a new server and - of course - I had to spend another "Activation" unit because of that when loading my expert the first time on a new
Hi, I have downloaded 150 days data for 5 min timeframe from History Center in MT4. While downloading 1M data I get only for 50 days, while I need 150 days for 1M as well. Please suggest how do i get larger data for a specific timeframe. Thanks ckm
  MT4 Download  (7)
Hi, I downloaded a MT4 at https://www.metatrader4.com/en/trading-platform and after installed it, it is a MT5 terminal. Could you please give me a proper webpage / link that can download the MT4 software, thanks. FYI, due to some reasons, I do not use broker's MT4 at all and I always use the
Hey everyone! I'm aware MT4 has the backspace shortcut to delete the last created object. Even though this might be useful in some cases, when creating input fields for graphical panels it presents the issue where deleting a character will also delete an object. I found this comment on the forum