MQL4 and MetaTrader 4 - page 3

Hi, Please help me to understand what is going on here. I faced a strange SL behavior in MT4 Strategy Tester when order closes on SL without price even approaching it. Symbol: GOLD Timeframe: 15min Order Time: 21.08.2024 8:00 Order Price: 2509.60 SL: 2517.60 (+800 points) SL triggered on
Hello poeple, I am trying to develop an EA in MQL4, which when backtested shows all the trades in loss even the one that are booked in profit. Please chek the attached screenshot. I tried incresing the profit and even lot size but still am getting the same result. Is this because of strategy tester
Hello, like in topic, if I don't have a tick, can I place pending order in OnTimer interrupt at specific time
this is file :: Indicator Bank | Page 85 | Forex Factory adaptive ZigZag Rsi .mq4 thanks alot
  MCCI(n,m)  (1)
Dear Sir, This indicator is the calculation of "Gauss Standard Score" for simple Momentum indicator, as in "Commodity Channel Index", the only difference is the Momentum calculation instead of simple Price and the Standard Deviation instead of Mean Deviation. I would like to transfer it to MT5 code
I deleted the Metatrader4 file in open data files inside the application inside then uninstalled the application on my macOS big sur. After that i downloaded the ready-made mt4 package from https://www.metatrader4.com/en/trading-platform/help/userguide/install_mac Once installation done, i can't
When I place a manual order / market execution order, there seems to be a delay of almost up to 1 second on this broker. But I have tried other brokers and the execution is almost instant. This same problem persists on my VPS as well as my personal computer. Is this a broker issue? I have emailed my
I'd appreciate if someone could help me. Instead of using market orders with the stop loss and take profit internally coded in my EA, I want to try with pending orders with the stop loss and take profit embedded in them. The thing is that the OrderSend() function draws an arrow when the order is...
Hi Guys. Please help me understand why the attach EA does not execute any trade as it returns Error Code 0. Thank you in advance
I have a script that prints the margin per lot: double marginPerLot = MarketInfo(symbol, MODE_MARGINREQUIRED); On GER40, it gives me 629.75€. When I open one lot, the actual margin used is 943.40€. Has anyone encountered this issue? And is there a workaround to get the correct value
Guys, Ive been trying to withdraw funds from my MQL5 account and MQL5 frustrating my effort. I created a webmoney account to receive funds and their response was "Our payment provider does not support your region" Please let me know how an international payment system such as webmoney is not
Hello, I have this basic code that draws arrows at overbought and oversold levels of the RSI. How can I make the arrows stay permanently fixed in place and not disappear when conditions change? thanks in advance. //+------------------------------------------------------------------+ //|
  Good Indis =)  (25   1 2 3)
Hi, some good indis found in the internet (4shared) in this topic! First, a smoothed non-repaint version of macd indicator coded by igorad and mladen. Cheer´s
Hi, I found great indicator auto draw divergence trend line on MT4, but it's not work on MT5. Anyone know same indicator work on MT5 , please share it ? Thanks in advance
Good day MQL4/5 fam. I have a quick question. I have a custom indicator that I am making calls to using iCustom, and this always works without issue. However, the data doesn't show up in the data window because the indicator isn't actually loaded on to the chart per say (I'm assuming). I want to see
hi geniuses i know how i can have renko chart on 2M,3M,4M,... i want to have Renko chart on 1M in my meta trader i have second tick Is it possible?? how?? thanks for time
I have added background zones to my trading system and works fine but, not with property strict I get 2 errors in code below - k is undeclared identifier and complicit conversion from number to string on second line Any advice? for (int k = i; k<Bars-1; k++) if (state[k]!=state[k+1]) break;
hi can someone help here... how can i look at how many buying and selling lot in MT4
where can I download library file:  "Trade.mqh"  for mql4? can I use the mql5 version of that file for mql4? I have that in metatrader5 but no in metatrader4 libraries. Please help.
  Elite indicators :)  (15191   1 2 3 4 5 ... 1519 1520)
Hello, Does anyone know where I can find an indicator that takes in price values, which when reached or surpassed will cause the indicator to send a sound alert
How do you reset MetaTrader 4 to its original default settings at installation?
Hi In the code bellow I see some warning. How can I fix these warnings? Please help me. Thank you /////////////////////////////////////////////////////// int init() { p = Hours* 60 / Period (); if (fs == 0 ) { sName = CurTime(); //possible loss of data due to type conversion
2 beh12zad 2016.09.29 20:11 DE I need an indicator or EA to set all opened Charts Panel to minimum Lot Size automatically when I open MetaTrader 4. is it possible?
I started this thread to post all news/signals indicators and EAs we have now and will have in the future.
Hello. I am creating some label objects, and need to put them in front all elements on the graphic window... but not works. Is there any specific property for that?       My code:  void DrawBoxInformation(bool fixed=false){   int y = 30;   int x = 10;      RectLabelCreate(0,"rectOrders",0,x,y,260...
Hi, when my PC goes into sleep mode and I obviously have MT4 platforms open, they get disconnected and loose the password. This means that I have a perfectly functioning set of platforms, I close them, open them and the password is retained, BUT when the PC goes to sleep all the passwords are not
Dear guys, some day ago I updated my windows 10 to Version 1903 Build 18362.175 Before that everything was good, But after update windows 10, MT4 shows all wingdings arrow code from index number 127 to 255 as below attached image. Is that any solution for this problem or just waiting to MT4 update...
Hi, I've found a nice article about KDE here https://www.mql5.com/en/articles/396 which is used for clustering large data. I've tested on MT5 didn't worked as I expected. Since I'm not too much familiar with MT5 environment and I'd like to use it on MT4, I simply used the files on MQL4. Again the
I suddenly can't see any charts on the Android app. I can log in and see my account info including balance and transaction history. I can even place orders as usual. The chart section though only shows a black screen with three big black and white candles that is obviously not a feed, just some kind
Hello, I've been using the MT4 Android app for a while without a problem. However, I've had to replace my phone, and when I install the MT4 app on my new Samsung Galaxy A35 the app closes immediately after opening. I've tried anything I could think of (re-installing, checking for system updates