Hi
I use example from MQL4 help file in my code (the same as https://www.mql5.com/en/docs/constants/structures/mqltick). It prints correct time, correct bid, correct ask, but volume is always zero. I even tried to insert 10 sec delay so that there were several price changes between calling...
Hello forum, I am trying to build my first basic EA. I don't have any background in programming and have been trying to learn mql4 on my own. When I thought I had finished coding my basic strategy, my back test resulted in several sent orders. Also, orders would close nearly immediately after being
Dear All; Currently, I have the code of stochastic with the input parameter 5/3/3, I want to have the input parameter is 12/4/4 and more, how is the code, everyone help me //+------------------------------------------------------------------+ //|
Hi all, Has anyone encountered news content not loading on the desktop version of MT4? The topics load just fine: It's the content that does not load: It doesn't seem to be a problem with the account as everything works on my mobile. Would prefer to not always have to check mobile when reading some
hi, i have run into something which is a little puzzling. i am modifying the stoploss of a trade using OrderModify(). i have checked the return value and the stoploss shift was successful and it is logged as something like: 20 : 21 : 28 2010.07 . 16 08 : 10 grapple GBPUSD,H1: modify # 5 sell 1.65
Hello, I want to ask, someone offer job use indicator EX4 only ( NO MQ4 ), and offer create new indicator / ea use the indicator. but it seems decompile file ( see image below ) If a developer apply the job, it will in "Applying for decompile Job" category ? Thanks for answer
Hi, Im very new to MQL4 and programming in general. Im looking to create an ea that opens 3 currency pairs at a time EURUSD - EURGBP - USDJPY, each with different lots sizes. The way I would like to open is if the EURUSD is above the 20 MA then it opens a buy on the EURUSD and a sell on the EURGBP
Do anyone has any indicator to get the real time volume of candle for MQL4 terminal? Or can anyone help me on how I can get the real time volume data in MQL4 please
//+------------------------------------------------------------------+ //| iFx TREND Detector.mq4 | //+------------------------------------------------------------------+ //#property copyright "2005-2014, MetaQuotes Software Corp." //#property link
dose any one know a coder or reliable local trade copier . i need to trade in between my acc smoothly. tried few from market but having some issues and seller is not responding also Thanks
I see the file in MT5 Editor and now how can I get it out and place it on the correct Data Folder of an MT4 Account? How can I copy it and paste in the correct folder? Can You Help? Thanks in advance
I'm delving into some MT4 EA development, and have a problem that's got me stumped. There's a simple call to a couple of builtin technical indicators as follows:- double tMA = iMA(symbol, timeframe, MAlen, 0, MAtype, PRICE_CLOSE, shift); double atr = iATR(symbol, timeframe, ATRlen, shift); Shift is...
HI i have an algo in which all trades are terminated when account balance is more than x or less than y how do i change this to account equity bool Filter_AB() { if(DISABLE_ALGO) { if(AccountBalance()>=ACCOUNTBALANCE1 || AccountBalance()<=ACCOUNTBALANCE2 ) {return false; } else {return
I'm trying to get value of a trendline, this is my trendline: ObjectCreate ( "SellStopTP" , OBJ_TREND , 0 , CurTime()-( Period ()* 60 * 30 ), Low[Lowest( NULL , 0 , MODE_LOW , 10 , 1 )]- 10 * Point ,CurTime(),Low[Lowest( NULL , 0 , MODE_LOW , 10 , 1 )]- 10 * Point ); ObjectSet( "SellStopTP"
hey guys happy new year i had reads a lot of topics about something like pause or rest or skip or etc. for expert when it takes stoploss expert don't work or don't trade for a time that we want so i tried to code something like datetime function but i don't know i code it wrong or it didn't worked
Why this 99% quality need for EA backtest. An EA that work by Original mt4 history data download backtesting not work in real tick history data backtesting. What the hell is going on. So we will need to buy always this real tick history . Very disappointed
Hi all, Does anyone have an idea about why MT4 returns RET_OK_NONE while creating a new user account via manager api? The login number is specified and we are sure it is not existed yet. Thanks in advance
Hi Guys, Any idea, whats wrong with this code? i can seem to back test it. I keep getting critical error and zero devide error //+------------------------------------------------------------------+ //| #Momentum onChartSignals Indicator v1.0.mq4 | //| Copyright
Hi I try to create Arrow by X,Y distance but not success. I know Object Arrow need Time and Price for place it.But I want to create by another way. How to convert X,Y to Time and Price. Or How to create arrow like this. Thank You. string name_m1 = "m1";ObjectCreate(0,name_m1, OBJ_ARROW_UP,0,0,0);...
The link to logout of the MQL5 community in the right top corner of Meta Trader4 doesn't work
There is no relation between my code and its behavior now. I had noticed some inputs parameters stop working too. There is no file to clear in the cache. Any idea
Hi all, I'm trying to do these simple things, but I don't know why it didn't work: Get a signal from iCustom indicator (Super-Arrow) for the 2 previous candle (shift 2 candles back), When a buy signal emerges, then place a BUY order, and also draw a vertical line so that I can see if the open
[Deleted]
Hi Guys, I am a Computer Science student heading towards my masters, and very interested in Forex. Basically, I offer to create a free Expert Advisor for whoever needs one. I just finished my own first Expert Advisor, it gave me a return of 100% over 2007-2008, but performs less good @ the years
I had to convert my indicator from mql5 to mql4 and finally got it working except for having a vertical line drawn at the beginning of the indicator buffer start. Dont think it messes with calculations just looks bad. I am only getting one value on the start index so cannot figure why this is
Hi staf, How I can draw two custom indicator on two different sub windows? Tanks for all help
Hi all, Does anybody know how to get EA's on the native MT4? I have the ex4 files which I normally but in the package contents, but that is not available with this build. Any ideas would be really appreciated. Thanks
IM a relative new member here, Thanks for all the good work Here is my contribution to you all: I'm sure im not the only one to be plagued by automatic computer restarts when running multiple demo/live EAs. VPS are more susaptable to this. I've had my share of sleepless nights over this. But I feel...
I used a DLL that I wrote a few years ago and now I cannot read a simple data file from the same DLL in MQ4. What has happened to MQ4. Actually I am spending a lot of time and many other sample DLL file function also do not work neither - in this same forum. I understand that there is a data folder

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.