MQL4 and MetaTrader 4 - page 22

Hello, I have an issue about my expert. When i test it with backtester in mq4, all is right. At a certain point, the robot is closed, but not by my robot, but by the tester. I can't find the problem, knowing that everything works fine except for a specific date and time. What could the problem be
Someone know i can disable autoupdate on mt4
This might be out of place, but I don't know where to post this though. I am looking for the creator of this EA. All I know it is called "<Deleted>" and made by "<Deleted>" on the EA description. Any help will be appreciated. <ex4 file deleted>
I'm trying to make an indicator that draws arrows on certain bars at their close prices. What I don't understand is the array buffers in mql4 are only to do with price instead of price and datetime. My logic is to find the bars which satisfies the requirements then store their datetime and close
  GSelector  (1)
hai... friend... i am new here.. i have buy this ea from russia pls check it weather its good or not... i has amazing result... they said
[Deleted]
Hi guys, first of all I want to thank this community for being so awesome. I have the following issue about compiling mql4 files. I know metaeditor gives the chance to compile the code from command line (metaeditor.exe /compile:) and so to potentially to automatize the production of executable
Hello friends, I have been working on a forex trading bot this summer in the prospect of financial freedom for me and my family also because I like the challenge. I have tried a few trading strategies which are mainly based (Exponential) moving averages combined with RSI on the 1 and 5 minute
I received info stating that MT4 will no longer be supported in six months and that I will need to switch over to MT5 to be safe . Is this true
  Friday Highday!  (11   1 2)
Hello friends, I made a discovery which i would like to share. So i always wondered on which day of the week the high or low occurs the most often. ICT always taught its either on Tuesday or Wednesday but i have the data and code to prove him wrong! I wrote some simple code which runs a for loop
Hi everyone, don't know if this has been discussed before, couldn't find it in the forum. I have a question about brokers and mt4 technical relationship. Let's say i have set up my mt4 on a vps , and i use an expert advisor that uses dll for WebRequest. Does the broker see what web page my ea is
Hi All, i hope someone can help while i wait for help from support. I am trying to download to my MT4 platform a couple of EAs and nothing shows up, it asks me if i have MT4 i click yes and then nothing. Can anyone tell me where to look for the EA? It's so frustrating, any help is appreciated Thanks
Hi Guys, I have already login in MT4 ( Top Right ) But the bottom part not login status. I tried refresh. restart MT4. restart computer. It still not working
void OnTick () { // Define Alligator parameters int Jaws_Period = 13 ; int Jaws_Shift = 8 ; int Teeth_Period = 8 ; int Teeth_Shift = 5 ; int Lips_Period = 5 ; int Lips_Shift = 3 ; // Calculate Alligator values double Jaws_0 = iAlligator ( NULL , 0 , Jaws_Period
I'm sure this has been raised many times before, but I can't find a discussion of the topic. When you 'save' a Profile, I would expect it to be SAVED. However, when a different chart or template is selected, it overwrites the Profile you have just been viewing. When you go back and select that same...
Hello, the below is failing to open. when i compile it it shows errors. Help clear the erros please //+------------------------------------------------------------------+ //|                                             Momentum Candles.mq4 |...
Hello at all, I have programmed a quite extensive EA, multicurrency with many built-in indicators and graphical elements. Now it is the case that when the computer switches to sleep mode in between and I reactivate it, the whole MT4 hangs completely. Do you have any tips on what could be causing
Hello everyone, I am trying to understand how the EventSetTimer() works. Hopefully, some one could address it for me. If I attached the EA at 12:40PM and set EventSetTimer(900) (which is 15 minutes), would it mean the OnTimer() will run at 12:55PM, 1:10PM, 1:25PM ...? How do you code to set the...
I am in the demo, does it require me to purchase(if there is a purchase) to get real time data for the FX values? Or does it already have it realtime? Also when it expires is it required to register full account? Does MT4 only support FX? Is it possible to hook indices, equities and derivatives to...
Any one has hidden divergence alert indicator with MACD ? Thank you
Hello! I’m stuck with figuring out what’s wrong with the code I’m writing and hope somebody over here will be able to help me out. I’ll try to keep it as short as possible. I’m coding an EA and within it, I have an array that collects crossovers between two MA’s . This code should update the array
  help with code  (3)
//+------------------------------------------------------------------+ //| ema-pips-mt4.mq4 | //| Copyright 2023, MetaQuotes Ltd. | //| https://www.mql5.com |
[Deleted]
Hello Every one. Please how do I write the code that will determine if an account is real or demo.
Hi,  Please, could you help me ? void OnTick() { Comment(IsDemo()); That returns "False" with my demo account
Good afternoon everyone, I am trying to calculate the net profit/net loss of an expert advisor for the current week. For some reason, this function always returns 0 during backtesting. double GetWeekProfits(){   int type, netprofit = 0;   datetime starttime = iTime(Symbol(), PERIOD_W1, 0);   for(int...
Hello, I'm a beginner and would like to know how to code a 0 line in the middle of the indicator graph with the possibility of modifying its width, color..., can you help me? Thank you very much for your answers
Hi, I don't know how i have my Terminal window on MT4 floating and detached from the others. I can't find how to put it back. I'm on macOs Sierra Thanks
Hello friends, please I need help with the Graalun indicator. It is giving error of array out of range error. Below is the indicator code. Thanks. string gral_name= " " ; string s_symbol,s_id,s_gral; double ExtBuffer0[]; double ExtBuffer1[]; double ExtBuffer2[]; double ExtBuffer3[]; //double
hello please a person remove zero divide error from this free EA thanks... 2023.11.20 12:31:24.653 M-Sniper EA XAUUSD,M30: zero divide in 'M-Sniper EA.mq4' (291,84)
Hi I'm using a struct for collecting the data which includes spreads and their instances. struct _buffer{ int spread; int instances;}; _buffer WellingtonSpread[]; The thing needed is a sorting method for these two variables in the struct by either descending or ascending
2023.10.27 01:30 is the oldest date i can get when im trying to get older data, i get error: TestGenerator: no history data 'EURUSD5' from 2023.01.01 to 2023.10.26 is it normal or just my broker is blocking something? because when i look from chart view i can go back a decade or even more. i