MQL4 and MetaTrader 4 - page 1185

[Deleted]
  Security Crack  (1)
[Deleted]
I want to tell MT4 market is ranging by comparing the Average Range for the last N period/days against the High and Low for the last N period/days. Getting the Average Range I can do using for (NPeriod=shift ; Nperiod<=shift+11; Nperiodr++) {...
Hello Would somebody be able to modify the standard MT4 Osma indicator so that it has a moving average/signal line just like the standard MACD red moving average line? I'm sure it is just a line of code or two but for a none programmer this is very difficult! I have spent ages searching the web and
Hallo! I have an idea to insert in my EA an option that could close the order if, it has met some criteria and it is opened yesterday or earlier. Is it posible?
Hello Let's say I want to create an alert for a condition such that for example Close[0] > 1.2800 & Close[0] < 1.2810. As you can see the alert will continue pop up as the conditions still arise which is kind of annoying. I tried to add a counter to only alert once but did not succeed....
Hi, I do not knoe if it possible. I like to use the command: COMMENT " ", which gives you real data you need on time (almost good as DEBBEGER), but I ask if is is possible to have different color (then white) or different fons size without changing it to OBJECT? Thanks Y.
[Deleted]
Hello, When attaching a EA to a chart, in order to activate Live Trading, one has to tick the box “Live Trading allowed”. In my EA program I’d like to access this “box” in order to check if it is ticked or not. If it has not been ticked I would internally disable the whole Trading Section of my EA
[Deleted]
Hello, does anyone know, how I can differentiate between Demo or Real accounts with MQL4? I want, that my EA only works on demo accounts and not on real accounts. Yours, Alfred
  MT4 Bug ?  (4)
I have just been watching MT4 trade and my trailing stop stopped working on Sell orders. I restarted the machine and it works. Is this a bug and can I fix it ? Can I get MT4 for linux ? (Ubuntu)
  MT4 on iPad  (3)
I'm thinking of bying an iPad. Does MT4 run on it?
I've been running some backtests and have been running into an issue that makes me question the validity of a portion of my history data (and also my trading strategy). Im observing a significant discrepancy in the way any given EA performs with respect to the time interval tested. You're probably...
Hi Does any one have code for an EA that can ratchet a stop loss as the market ticks your way? Thanks a lot!!
[Deleted]
  Hunter Carr ARYC  (1)
Carr and Sapaugh together works with Recap Marketing and Consulting, Ltd., developing successful strategies for the management of companies to increase shareholder equity for small and medium sized business.
Hi, I am new to MT4 I would like to try out the Expert Advisors that won the 2010 Championship on my demo account for a few months. Is this possible? If so where to download them, can someone provide a link?
[Deleted]
Im just a beginner in mql4 programming and I´m having a lot of trouble with the following: I am sending two pending orders the first one just 10 points from the entry and the other one 50 points from entry( the small distance betwen is do to quicker testing results in demo) the 1st one does not...
[Deleted]
  Another problem  (3)
I am having another problem I can't find a fix to. This time I'm getting warnings about the Start function: Start function not found and cannot be run, init function defined - start function's parameters will be ignored as expert properties and Function "Start" is not referenced and will be removed...
[Deleted]
Hi guys, I have been having difficulty getting named pipes to work. I have been hoping to implement a simple idea really and I wish to use named pipes as I don't feel I need to go as advanced as Sockets and I failed miserably with synchronising shared memory. The idea is to monitor a number of MT4...
[Deleted]
Hello, Does anyone know/have an indicator or script that just alerts when the hourly candle closes? It does not matter if it is a bull candle or bear candle - it is just a way to remind (within MT4) that the hourly candle has closed. This probably already exists (or is simple to develop), so I...
how to translate optimization results, back into the best parameters settings ? like a set file or something ? is this possible ? thanks
[Deleted]
use the first code,it works. int init()  {   int OrdersTotalNumber=OrdersTotal();   Print(OrdersTotalNumber);   for(int i=OrdersTotalNumber-1;i>=0;i--) //first code   //for(int i=0;i<OrdersTotalNumber;i++) //second code   {      OrderSelect(i,SELECT_BY_POS...
Hello everyone! I am trying to create an EA based on a simple formula I read on the internet. Some days it appears to be profitable, some days not so much. Either way, I want to create an EA because it's easier to let the computer open trades instantly than typing it all up manually. Here is the...
Hi, i have currently a boring work to do where i can listen music. I have already listend to a few audiobook, so i might use the time. Can anybody recommend a good audiobook, if its about economic and investement its good, if not any book will do the job. thanks Michael
Hi, I have seen many are looking for how to draw an arrow. I am writing this to explain how to draw an arrow in a Label.    ObjectCreate("TrendArrow",OBJ_LABEL,0,0,0); // Create a label named TrendArrow   ObjectSet("TrendArrow", OBJPROP_XDISTANCE, 30); // Set distance on chart...
New article The Implementation of Automatic Analysis of the Elliot Waves in MQL5 is published at mql5.com: One of the most popular methods of market analysis is the Elliott Wave Analysis. However, this process is quite complicated, which leads us to the use of additional tools. One of such...
Ever since updating to the latest build of MT4, I am having a lot of problems with the DDE data. I have used this in Excel 2007 spread for over a year without any issues, however, when I try to open the spreadsheet now, it will frequently hang whilst trying to link with the data. The only work
[Deleted]
hi, thank you for watching my subject. I made EA for automatic trading. This supposed to order when there is big gap between last days close price and new days open price. But even when I see there is big price gap, my EA did not make order surely. Could you please tell me which part of my EA...
[Deleted]
Want torecord your mobile calls? Get bored with pressing the buildin record buttonevery time you want to record on your mobile? WM Sound Recorder is an easy-to-use application which could auto record sound andphone calls in Windows Mobile Pocket PC. And it also can play the record fileso that you...
Hi: Checking to see if anyone has a solid short term entry condition(s) such as 15M or 30M that will compliment my longer time frame entry condition? As we know, it is important to have correct pre-conditions for shorter term entries. This will be a collaboration in that we share strategies to merge
Hello everyone, I have to ask you because I am tired of looking for a mistake in here. I have this code and have no idea why it is leaving the start () function after the big (main) for loop. EDIT: And second thing is - even if (sometimes it happens) program gets through the for loop i get...
  Help Please  (3)
I've been reading searching trying and failing for 3 days on this EA and I cant figure out some things. here is what I have right now. static int prevtime = 0; //Variables int start() //Program start....