[Deleted]
Hello, I would like to ask one thing. In MT4 there is an option in alerts, that an alert could be to running an external executable file. Could I do it in Metaeditor also? (to run external executable file from a script or from an Expert Advisor)
[Deleted]
Hi, On the metatrader.net website we can find that the plaform runs under windows 2000. Can someone tell me if it also run under windows 2003 server ? Best regards, Jeff
New article Changing the External Parameters of MQL4 Programs without Restarting is published: The article describes a method of changing the external parameters of MQL4 programs on-the-fly, without restarting. Author: Alexey Koshevoy
[Deleted]
Hi, Is there a way to show the lines/indicators during the EA execution (not the tester)? something like apperars at the end tester execution in visual mode. It would be nice to debug the expert. Regards, sb
[Deleted]
How To write the Macd code for expert advisor that compare with previous 2 bar? Like the picture as shown below. From the MACDSample ea, i get the following code, MacdCurrent=iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0); MacdPrevious=iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,1);...
Can someone help me with an expert advisor? I have a custom indicator that I would like to build an expert advisor for to open and close trades while I am away from my computer. I have tried to learn this art but have been unsuccessful. Thanks, Martin
I am in the process of revising an EA that shows some promise. However, it has come to my attention that there are problems with the MT4 program that have been relatively ignored in the coding process. Therefore, this revision is an attempt to address this situation. The basic priniciple of the...
[Deleted]
Dear all, I have develop use this trading system for quite sometime now, it is really very profitting, but i could be more profitting...this is due to some of the signals that i missed out during those time when i'm asleep or working in the office...I need some code for this trading system, but i'm...
[Deleted]
Can anyone tell me why this code does not find a record with a 0 value in the first dimension? Thank you int AddTradeRecord() { int tsize=ArraySize(trades); int r; r=ArrayBsearch(trades,0,WHOLE_ARRAY,0,MODE_ASCEND); // find an empty row/record if...
Hi This might be a stupid question but how are integers stored in MQL4. For example the statement int aa = 44236; How is the number 44236 reprasented in the ex4. I assumed in HEX ACCC but when you open the ex4 in a hex editor ACCC is not there. So how is the integer stored in the ex4. It has to be...
Hello, Is it possible to calculate profits for the previous trade ? Thank you. similar iOpen and iCloseNeed an expert to write this code for meHigh Low Day/YeariMACD() difficulitie at BackTestcan some one put together EA system for me?
[Deleted]
Is there anyway to save the current open chart with all of it's objects to look at latter? Guess this is more of a MT question than a MQL question.
[Deleted]
hi i just bought a new laptop with vista technology, and when i tried downloading mt4platform on it via northfinance.com,it refused to open,saying "the file isnot a valid win 32 application",what do i do?
[Deleted]
Hi. I posted this question a few months back and phy showed me it was solvable, but I couldn't reach him for the final code... I'm trying to build an indicator that adds a horizontal 'tail' to a confirmed fractal (swing high/low)? A tail that ended ONLY at the point that the fractal was overtaken by
Indicator Bands can plot three lines, but iBands() can only return one value. What should I do if I want all the three lines' value?
[Deleted]
Hi, I post comments to my screen on the left hand side. They take up about 25% of my screen. The background is black, barchart is green. How can I always black out the 25% portion of my screen so I can read my comments easily. Is there a function that reads bars on screen, Bar(left hand side) to...
Can anyone explain this for me please 08:30:40 '5234474': pending order buy stop 1.00 GBPUSD at 1.7671 sl: 0.0000 tp: 0.0000 08:30:41 '5234474': order buy stop 1.00 GBPUSD opening at 1.7671 sl: 0.0000 tp: 0.0000 failed [Invalid S/L or T/P]
Can anyone tell me why order #10948713 as shown in partial log below is still open? My EA relies on closing an order before another is opened. The order was supposed to be closed by the following line of code to limit losses OrderClose(myticket, OrderLots(), OrderClosePrice(),...
[Deleted]
I"m sure this is a simple process that my mind can not seem to work out today so any help would be appreciated. I have an Array that I want to put data in for each trade. New trade = new data to be a added to this Array. At some point I will want to remove the data representing an old trade....
[Deleted]
Hi there, a really stupid question!! Could someone explain to me how to calculate the REAL or ACTUAL profit on the MetaTrader Sim that I am using? Before I begin live trading this is one of the many things I would like to clear up. EG: Deposit of $100(actual) with leverage becomes $5000. With some...
hello all, my name is ste and this is strategy for trade on GBP/JPY which indicator setting like that : Simple Moving Average ( SMA 35 high) Color white with bold line like at the picture Simple Moving Average ( SMA 35 close) Color white with dot line like at the picture Simple Moving Average ( SMA...
Can somebody help me to write a code based on the following rules: iAC is Green and Stochastic & stochastic signal is above iAC =0 line Thanks in advance Fabio
New article Drawing Horizontal Break-Through Levels Using Fractals is published: The article describes creation of an indicator that would display the support/resistance levels using up/down fractals. Author: Victor Chebotariov
[Deleted]
Hello all I had a trade open for few days in minus, and i had swap -16,50 there, how come? Thank you
I am a newb so sorry if this is a simple question. I need to know what the relationship between equity and drawdown(absolute, relative, maximal) as it pertains to the tester chart for the EA. What does it mean when the equity is above the balance on the chart and what does it mean if it is below?...
Does the MT4 Mobile or MT4 Mobile SE support EA and customized indicator?
Hi, I wrote the attached file to calculate the number of lots. I save the file in "Include" folder, with .mq4 extension. Then I wrote #include <Lot Size.mq4> in the destination file. If i Write int start() { LotSize_Long(); LotSize_Short(); } there is no problem in the attached file, but in the...

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.