MQL4 and MetaTrader 4 - page 62

  Broker List will not populte  (14   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
I want an mq4 code that makes the ea ex4 file change the magic number. I want a command that makes the ea ex4 file change the magic number. Please help me. Thank you
Good day I can log onto MQL5 on the website but the same login details does not work on the [name redacted] with MQL5 communities on metatrader 4. I use my login name and password, i have reset it and still the same. I also noticed that sometimes access is denied on the MQL5 website as well. The
Hello everyone. I'm sorry if i ask questions so basic I'm new to this. But i just want to know it this is possible. I actually want , one ma cross, and then wait for another ma to cross then close the trade. Thank you everyone in advance. void OnTick () { If (ma100_1hr < ma50_1hr);
I have a few questions. 1. what's the last build version of mt4? 2. I used CHART_CONTEX_MENU in my code and compiled it without any error. But as I execute it on the chart, I recieved an error that CHART_CONTEX_MENU is not defined. I checked the refrence and there is no chart_contex_menu defined. so
Hi community, my EA, which is programmed in MQL4, is not shutting down after it hits TP or the trailing SL. It immediately opens and closes another order, and sometimes it opens an order and doesn't close it at all. Does anyone have a solution to this? Thank you
Hi guys.. how do I get my stop loss and take profit to show the potential loss / gain on screen? As below? I have seen peoples platforms which actually show it on the relevant line next to the order ID, however previously I used to have to hover over the relevant line to show the potential value
  TRO Indicators  (151   1 2 3 4 5 ... 15 16)
cja: Hi I have added an extra line of code to Signal Bars V7 & v71 to see if this will deter people from selling it on ebay - sorry for the inconvenience to all those honest members as this will add extra clutter to your charts What do you think?? Should we be doing this on all our indicators. The
How i can add 2 indicators in the same window at the mt4 platform? Example To add a moving average or 2 moving averages at the RSI(14) window
Hey, as the subject says, I would like to change an Expert Advisor 's parameters according to my account drawdown and market conditions. I do not have the EA code as it is one developed by a third party and I added on my account with an *.ex4 file. Is that even possible with MQL4? Thanks for
Hi guys i have this code //+------------------------------------------------------------------+ //| OCOea.mq4 | //| Copyright 2023, MetaQuotes Ltd. | //|