MQL4 and MetaTrader 4 - page 1219

[Deleted]
dear MT4 traders, If you have read this already, I apologise for taking up space, I really do need this EA. I thought of a trading stratergy some time ago that is really simplistic and very effective (nearly), I have used it quite alot on demo, and am now looking for an EA to complete it. The...
[Deleted]
How to calculate the number of points (pips) won the day?
[Deleted]
I wonder, why there is bid and ask, why you can't just agree to take the middle, the average ? To increase the number of orders, agree also on fixed timings, -say- one settlement every 10 minutes, then the average of the quotes for the last 10minutes is calculated and taken as the price to be traded...
[Deleted]
Does Anyone know how to determine when a pending order is filled, so that it is now an open order? I want to develop an EA which places a pending buy order and a pending sell order, and then subsequently cancels whichever one is still pending after one of them is filled. Thanks, Dennis
New article Exposing C# code to MQL5 using unmanaged exports is published at mql5.com: In this article I presented different methods of interaction between MQL5 code and managed C# code. I also provided several examples on how to marshal MQL5 structures against C# and how to invoke exported DLL...
How can I secure my EA? like nobody can copy the EX4 file and just can be cutted. I am pleased if anybody help me
[Deleted]
I'm a new trader. I've been using gcimt4 trading (demo account) for trading gold silver copper and oil. As we have different contracts of each commodity how can we find out which contract is being traded. I always use same chart for all the contracts as well as for mini contract. Can any body help...
Hi to all, I have a big appeal to you. I build simple EA on EA builder. This EA open long position when bar open below and close above SMA 21 close. But no each time - when is complied conditions, is open trade (see attached pict). Know any body why PLEAS?? lbs PS: excuse my bad English pleas.
[Deleted]
can't I use my own language and programs to analyze the data ? I just need a command or subroutine that sends an order from within my program And a stream that permanently,automatically downloads data and appends it to a file that can be read by my program. Is it possible ? Which broker supports it
Is it possible to modify the order size of a pending order? If not, any other suggestions? Is there a way of doing an order replacement?
  My next "masterpiece"  (139   1 2 3 4 5 ... 13 14)
For some reason, I wanted to present to your sarcastic judgment the fruit of my next creative idleness. It is an advisor, which trades by the phases of the moon. I am well aware that I am unoriginal in this case. Many of you have probably encountered this idea on various forums, and some of you may
[Deleted]
Hi, I want to add the feature of "Doubling" in my expert, that is, if the previous order closed on loss or ">0" then the Lot size will be doubled, and when finally the trade close on profit then the lots come back to its normal lot size. I am waiting for your help, and thanks in advance.
[Deleted]
I'm a beginner in coding MLQ4 Can someone help me i need to secure my EA by changing my date function How do I change my date form D'31.12.2011 01:00' to something like "946684800" Best Regard
  Old Holy Grail?  (7)
I bactested my expert advisor which is based purely on price action strategy. It show great results between 1999 - 2007 but failed badly between 2007 - 2010. I tried & tested every year, capital size, lot size and other possible ways that I know but the result is still similiar. I've also tested it...
Hello, The purpose of this indicator is to draw a trendline between the close of 2 specific candle. I have tried different thing to add history to this indicator without any success. Like: extern int NumberOfDays = 5; ... But no success. If anybody can help me that would be great, Thanks in...
Please see te usb keys from website http://www.micromade.com/informatyka For secure my EA only on one computer ? Can I use hardware protection for EA ?
[Deleted]
Hi Pros, I am using the Alpari US demo account to test the EA lively. it expires in 30 days, so I even could not track the opened orders. Does anyone have idea on how to keep tracking the orders? Thanks a lot
I've just release a walk forward analysis software for MetaTrader 4. For those of you not familiar, a walk forward analysis is the best way to determine the long-term profitability of an EA through backtesting. If you've been wondering whether your automated forex trading system is truly profitable,...
just wondering if someone might advise me on the correct or most efficient way of adding 2 data sets together I downloaded some historical data which finishes at end of 2010 for various currencies I want to copy it in to the history folder of an active account and add this years data to the...
[Deleted]
Can some one help me change this code ( https://www.mql5.com/ru/code/7089 ) to donwload binary data, a .gif file from the nasdaq web site Here is what I did, but the data download is corrupted Thank You...
i want to my EA to place other base on this way but am confussed; if ihigh(NULL,PERIOD_H4,1)-i high(NULL,PERIOD_H1,1)>20pips && iLow(NULL,PERIOD_H1,1)- iLow(NULL,PERIOD_H4,1) <20pips is BUY ORDER While if i high(NULL,PERIOD_H4,1)-i high(NULL,PERIOD_H1,1)>20pips && iLow(NULL,PERIOD_H1,1)-...
[Deleted]
Is it possible to change the actual timeframe/symbol, or to read candleinfo from another timeframe/symbol ?
[Deleted]
Hi all, I could really do with some help on my EA. I can't see why the takeprofit is not being exercised: SL=Low[1];Risk = NormalizeDouble(MagicPrice-SL,MarketInfo(Symbol(),MODE_DIGITS));TP = 3*Risk;Ticket = OrderSend(Symbol(), OP_BUYLIMIT, 1, MagicPrice, 3, SL, TP, "", MagicNumber, 0, Red); where...
Hi guys, I'm having some issues with a little function I've produced. I collect all the orders... int totalOrderCount; int icnt; totalOrderCount = OrdersTotal(); for (icnt=0;icnt<totalOrderCount;icnt++) { tbx_CheckForRiskyStopLoss(icnt); } Which calls...
Hi! I have an EA that uses a strategy that involves at one point two trades going off at the same time. At first it was just a place holder, then it turned out to be rather effective! I want to be able to set two different values for each trade using the same function. I am using a simple...
Error opening order 130! I'm using Iamfx and a suffix IAM is attached to the pair e.g. EURUSDiam and i think that is the real problem and not.. ..."Stops are too close, or prices are ill-calculated or unnormalized (or in the open price of a pending order). The attempt can be repeated only if the...
[Deleted]
Hello Folks. Since yesterday I can't search on the top right of this site any more. The error always is "Keywords or characters in search string is ignored for they were too short or incorrect" - no matter what I put in there. Does anybody know what the reason is? Thanks. WorstCases
For example: I have defined five global variables as int type, for example: v1=13, v2=17, v3=23, v4=29, v5=37; Now after start the robot EA I would like to get one random value from that five values. Has anobody any idea how to do it
Hi friends, I’ve been trying to solve a problem in one of my indicator but I cannot solve it for while. When I plot the indicator It shows past results correctly. The problem occurs in real time, since the indicator does not plot on the screen any other signal until I click on the compile...
I'm Intended use OrderClose and OrderDelete functions, with a system that can open multiple operations. What's wrong here?: (condition1=entry, condition2=other entry, condition3=exit) if (condition1==true) { ordersend(OP_BUY...) OrderSelect(0,SELECT_BY_POS,MODE_TRADES);...