MQL4 and MetaTrader 4 - page 1550

Hi all, I've backtested my EA without any problems for nearly a week now. However, after1 day of live trading (24th december), I tried backtsting the EA again with theexact same code and parameters, same symbol and data, and the same starting balancein the expert properties ($1000). Infact, same...
Hi everyone, I am looking for a serious developer who can help thoroughly test my new EA and hopefully advise on any weaknesss and shore it up to make it as safe and profitable as possible. I think what I have is pretty good but will need an experienced trader/programmer's opinion. So far results...
I’m trying to write a boolean variable that is true when no orders are opened on the current Symbol(). I receive the error “too complex expression”. Bool Opened = for(cnt=0;cnt<=total;cnt++) { OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES); OrderSymbol()...
[Deleted]
How do I place text in a certain place on the chart, say near the top left hand side or the bottom left hand side using the OBJ_TEXT property? I am using WindowPriceMin(0) but the position changes depending on the time frame and it seems to take a while to update after changing time frame. Thanks,...
[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
[Deleted]
สวัสดีครับ มีใครเป็นคนไทยบ้างไหมครับ
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
Uh, we have shoes.
[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]
  mt4 and vista  (4)
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]
Wgat does this stand for? Thank you