MQL4 and MetaTrader 4 - page 1238

To post a new topic, please log in or register
How can the EA perform sound in the case of a pending order? For instance, colourful sound for the close of take profit and sorrowful sound for the close of stoploss. And notice sound for the success of sending an pending order. can any one with kindness help me?
Is it possible to get periods  >  than 1mth in metatrader?  I have looked at the code of the period optimizer, but I can't fugure out why any attempt beyond a mth gives an unending  "waiting to update" message.
SimonTrader
Hi, I need to introduce in my EA a routine able to ask a password and to change it after a certain period. The password allows the EA to perform trades. I am looking for the magic words to write this simple procedure. Thank you all for any answer. SA
  A System: Test (100   1 2 3 4 5 ... 9 10)
Welcome Community, It is a pleasure in announcing that A System Test is beginning.I hope that day of the real activity will be very soon.I thank all the people for kindly collaboration. Best regards, Ais.
I have read that a GlobalVariable (Client terminal) has to be a double type. But can it be an Array of double? thanks a lot.
Dears! Charts of MT 4 indicate reversal bars(green cross). Does exist an alert per Email if this reversal cross appears and is confirmed by open of the next bar? I mean if there is programmed an exper advisoror script, which can trigger Email if this condition is filled, I did describe. Thanks
Hi. I ran an EA and got 29.59% Maximal drawdown (5315.90 $). As I know, maximal drawdown is the maximum difference between any top to any bottom. Looking at the back testing report , the maximum difference between any top to anybottom is 2701.40 (25547.80 - 22846.40) which are 10.5%. Can anybody...
I wrote the attached .mqh files and I wrote in my expert the following int start() { #include <punto.mqh> #include <decimali.mqh> #include <Lots_Long.mqh> #include <Lots_Short.mqh> .... } I'm not sure if I this is the right way. Could you check the attached files? Thank you!
How can an EA know when a position was closed by the stop loss? I need some sample code or location where to find it.
1] i am planning to buy ssd, does mql have problem with that 2]  since i planning buy a new one some question bother me     next year in China will look like this for the new computer     3*1g-ddr3 = entry level      3*2g-ddr3 = standard      3*4g-ddr3 = power     3*8g-ddr3 = high end it seem 64 bit...
Hi all, Is there a way to change the spread inside the tester? Some brokers changes their spread during news and I would like to test my EA using the maximum spread that my broker can apply. sb
On the website of the Automated Trading Championship 2008,an Interview with Alexey (FXPro) has been published. Alexey contesting in the Championship under the nickname FXPro first heard about Forex 6 years ago. For these years he has developed about 200 Expert Advisors. Now 6EAs are operating on...
hello forex experts! can you please help a newbie?  I'd like to know how I can use typedef struct in MQL4.  I don't see it in the documentation.  does it come in a different name? thank you very much.  Your help is very much appreciated. MQL4_ndewbie
I have an EA, there is no error in the code but the error messagefrom Experts shown that: can not open file. It doesn't open trade.Could you kindly help me and fix the problem. You can contact me in the following address: kwng111@gmail.com Thanks in advance for your help. Regards, K .W.
My broker loves to disconnect me after my EA places the first trade.  MT4 is then not able to reconnect to any server until I manually select another server to try. My Questions 1) Does MT4 automatically try to reconnect to the next available server? 2) Is there a way to force MT4, via an EA or...
  I need a help (7)
dear I ask abuot.....how i limited/place some point of a stop loss and atake profit in my new order tool that set a permanent case. because it take me aloot time to place it when i scalping excuse me abuot my english
Can Arrays be passed and returned as parameters in custom functions? I try this and it doesn't work: string someArray = returnArray(); OR string someArray; ArrayCopy( someArray, returnArray() ); string returnArray() { string a[3]; a[0] = "A"; a[1] = "B"; a[2] = "C"; return(a); } Any...
How do you view topics you subscribe to? I can't seem to find a link anywhere.
i need o know if any programer can write an EA IN THE ABOVE MENTIONED PARTERN. PLEASE REPLY WITH REALL80@YAHOO.COM THE EA works with fractal as well. Please reply.
I want to write a function to closeallorders based on a variable parameters input of Symbol and MagicNo eg CloseAllOrders() - close every orders CloseAllOrders(Symbol()) - close orders that are Symbol() CloseAllOrders(MagicNo) - close orders that has MagicNo CloseAllOrders(Symbol(),MagicNo) - close...
Hello, I have make a simple EA for the First Time. I used a ADX 14 Indikator on 5 Minutes Timescale. (chart = Candlestick). I have implemented a Short and Buy Signal. I test before i opened a Order the Active Orders, If i want to Buy i check the Sell orders and close this. Can anyone Help me to find...
I make a buy order but do not put in a TP or SL number, come back a little later and the order is closed at a loss! What gives?
Can anyone tell me if it is possible to lock the stop loss so that it cannot be changed once the order has been placed? Thanks
Hi, if I write in an expert Print(Point) I obtain 0 as answer in the expert advisor tab. When I apply the expert to EUR_USD I expect that point is 0.0001. What is wrong? I'm using an Alpari demo account. Thank you!
Anybody who knows how to download Demo Version of FapTurbo? pls help me....
Hello everybody! I'd like to show You results of my EA - EA Haymaker Forex System. My EA is based on scalping techniques with price channels and few other conditions for eurgbp pair.. In eurusd market it plays in medium-term following the trend and maximizing profits with very low risk (3%). This is...
For back-testing, I understand MarketInfo() only works for the instrument the EA is running on. Is there a way to retrieve/use historical bids/asks for other currency pair while back-testing on an EA? Thanks!
I downloaded a new indicator. How do I get it to work on MetaTrader. I am a newbie. Your help is greatly appreciate it, thanks.
Strategy Tester Report 11AAArthur M3 AlpariUK-Live (Build 220) SymbolEURUSD (Euro vs US Dollar)Period1 Minute (M1) 2006.01.02 00:01 - 2008.12.12 22:59 (2006.01.01 - 2008.12.15)ModelEvery tick (the most precise method based on all available least timeframes)Parametersmax=5000;donchianlength=10;...
I am new to this game and confused about gross profit verses net profit. In the case below does the -8.00 figure include any cost? I notice when I place trade in demo account the 1st figure I see is -4.00. I guess this the spread. Did the below trade lose -8.00 or -12.00 approx. 1 2008.01.02 10...