MQL4 and MetaTrader 4 - page 392

Could anyone please help me understand what these guys mean by this definitionBitwise Operations Complement to One Complement of the variable value up to one. The value of the expression contains 1 in all digits where the variable value contains 0, and 0 in all digits where the variable contains 1....
  Breaking through the morning flat  (281   1 2 3 4 5 ... 28 29)
Here's one of the entry methods if within an hour or two there is a synchronous breakthrough of the morning flat you may enter the trade The breakdown should occur on EUR and CHF at the same time h ttp://forum.masterforex-v.org/index.php?showtopic=5300&st=45&gopid=280578&#
hi..everyone..how to appear the one click trading button..i already use short cut key Alt + T also cannot..any idea how to solve this problem
hello programers We know how to get the time of first visible bar  ==> Time[0] But how to get   in easy way the chart  right border time (in datetime T)
As part of my trading system I have a buy stop and sell stop pending order concurrently.  I have a stop loss trail code for when either trade is activated. In the event that the price fluctuates and activates both trades then the stop loss trailing code works. However if only one of the pending...
I'm trying to write a code that will make a "Profit Target" which will subtract my profits in the past 24 hours and add my losses. But I think there is something wrong, can anyone help? int ProfitTarget = 1000{  for(int q = 0; q<OrdersHistoryTotal(); q++)   {     OrderSelect(q,SELECT_BY_POS...
Hi all, i'm having a tough time making my EA place stop orders only once at a given price. It places stop orders every tick which matches the price. I wanna be able to make multiple Buy stop and Sell Stops, but only one at a time. For example if there is a filled Buy stop order and another Buy...
  Buy a stable earning advisor  (120   1 2 3 4 5 ... 11 12)
Buy a stable earning Expert Advisor write to prostoj.paren@web.de
My code is set up to be placed on only one pair, but it will trade on multiple. For instance... *Not Entire Code* //-----------------------------------------------------------------   {     if(gbp>0)       {         if(gbp-usd<(TradePoints*(-1)+1))           {             result=OrderSend("GBPUSD"...
Hi All, back in October and again recently MS sent out major Windows 10 updates. Among other problems that these caused necessitating a factory reset, the MT4 purchased indicators disappear. Whilst they might still appear in the list under Navigator, they do not exist. Same for Templates and...
Hi i got an Object from an indicator (a simple regression channel determining trend) that i check to enter a trade or not, but my EA is a Multipair (i put it on one chart only and it trades all the pairs) so my question is : will it work correctly if i just call the iCustom with each symbol and read
Hello, i'm just creating an EA but i need your help for simple candlestick reference i dont know the MQL4 REFERENCE for Candle .. Simple MQL for bearish or bullish Candle  Example FOR EA :  LIKE THIS :   if Candle Number 1 == Candle Number 12 NOT LIKE THIS : if (iOpen   >/<    iClose)     ==...
Hi, I'm looking for an advanced EA that can trail based on price action (close of a bar in bullish/bearish formation). I currently use the supertrend and the halftrend which are good but I want to compare with pure price bar action and see which one performs the best. Paid or free is fine. I just...
The DLL made with c # does not work at mt4. the following error occurs. I would appreciate if you help. 2018.11.27 17:15:12.066 Libdeneme1 EURUSD,M5: unresolved import function call 2018.11.27 17:15:12.066 Cannot find 'Add' in 'testme.dll' (https://www.mql5.com/en/articles/249) c# code and mql4 code...
Hello guys, Can you please point out why the following script cannot be imported into MT4 history using the history center Thanks much appreciated
  100%
The script builds usual schedules a tic-tac-toe. I have no good knowledge of the mql 4/5 language. The script loads my CPU percents from 60 - to 100%,  all the time under loading. In what can the reason be? Whether really to correct it and how? A script from CodeBase.
Hey guys! I found an indicator online EMAPredictive3 by Matthew "Dr Chaos" Kennel. The only problem with it is that it doesn't really update. I have to click refresh after every tick, otherwise it will look overlapped (as in the picture attached). I really tried to do something with RefreshRates()...
Hello  every one  the Below Function is to get the Last order lot size and multiply it by 2 it is is lose trade but it is not working properly , can you help  double fLotSize(){double fnewlot=Lot_size;int i =OrdersHistoryTotal();for (i;i>=0;i--){    if (OrderSelect(i,SELECT_BY_POS...
Hello, This was probably asked before, but I couldn't find information online, which I'd be able to put in practice. How can I setup time based orders in MT4, like MOO or MOC. Maybe not exactly the second market opens or closes, but more or less as well as time stops (say close a trade after X...
Where can I get an EA/indicator that counts the number of price fluctuations that occurred within each candlestick before it was closed? Cheers,
Hy, how is it possible for my Ea to read my Enum-Choice? enum selectChoice  {   Banan=0,     // lolol   Apple=1,     // lala  };input selectChoice WhatIlikeMost=Apple;//later in EA..if(WhatIlikeMost==Apple) //Do my stuff...;// Thats how i did it, and it doesnt work...Do You know better?
  Graph of MT4  (1)
Hi everyone I have some problems with MT4. Hope you can help me regarding that. I am using FBS broker on MT4. While I bid for sell or buy, the value set on the trade bar is different from the value I chose to bid on the graph. Also, when graph is going below the line of my proposed bid for sell, the...
Hi, I have an EA. The EA can open orders according to some rules. It can set a take profit and stop loss point. if my statement is true, the EA should not wait to stop loss and close the order. Forexample, if SMA(15)>SMA(50) for a sell position. I read PositionClose but there is not an example. Can...
Hi, I have a lot of EA´s on some mt4 accounts and all of them are registered on the mql5 virtual servers. But today i tried to put a new EA on the virtual server and when i synchronize the experts it gives an error. All of the other EA´s are working but this one no. Can someone help me?
Hi guys, I have a problem with a 2d array, i have never worked with 2d arrays before, so its kinda  expected. I read a lot, both forum and google, but found nothing .  I have a 2d array  to store ticket numbers for past orders, the orders are divided by series, this is why i have a second dimension....
Can somebody please tell me how the heck my stop loss was triggered for my nzdjpy trade!!?
Hy, i cant write the code to get the actual OrderProfit() of an already opened Order to a Point/Tick value... does anyone knows better? (mql4) double realOrderProfit = (OrderProfit()-OrderCommission()-OrderSwap()) / OrderLots() / MarketInfo( OrderSymbol(), MODE_TICKVALUE ); //???????
Having trouble with my indicator, does anyone a good heart to help me about the problem, just 1 week leaned in coding. please Thanks.
Hi  I am studying mql4, and am trying to convert a code in Pine Script to mql4 The code is simple, it is to know the direction of the trend. pos = lowest(mom(ema(ohlc4, el), ml), cl)>0neg = highest(mom(ema(ohlc4, el), ml), cl)<0bgcolor(pos ? red : neg ? green : white, transp=70) I would like a tips...
Hi all,  I have the latest version of the MT4 App on Android installed on my phone but for some reason the notifications are not coming through until I wake the screen up on my phone, has anyone else come across this problem and fixed it? All my other apps work fine but just not MT4.