Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1014

To post a new topic, please log in or register
I have been trading my robot and system for a while now. Here are some of my report of the trades. http://v5robot.mt4stats.com I will add some additional accounts later.
Has anyone written an EA for long-short pairs? (For example, short EURUSD and long EURGBP). I'm mainly interested in seeing best-case and worst-case scenarios.
I'm trying to code an indicator which is often refered to as an UP/DOWN STOPLOSS indicator within equities trading and has he following traits: a) has 1 extern variable (let's call it slvar) b) can move up/down upon close of each bar c) could retain the value from the previous bar In essence late's...
Hi, I've seen samples of indicators that use either i-- or i++ to invoke a new calaculation during loops, but wonder if somone is able to provide clear guidance when either of these could be used. I'm having problems getting an up/down stoploss indicator coded, as I have a requirement to retain the...
hi everyone.. i'm korean. my english is very poor.. i just want to evaluate my ea from you.. thanks..
The file "Fapturbo47_build224.ex4" is showing in the MT4 Experts directory but Fapturbo EA is not showing in the navigator panel. Can anyone suggest why, please?
We are launching http://www.forexcoding.com which will be a custom programming portal for mql4 projects. We'd like to see some test projects come through, so if anyone has any requests, or is willing to help test out the site, please join us. To anyone who helps us we will either donate free...
I have built and tested an EA & found that it didn't work to code when backtesting. Specifically, the stop loss function. I downloaded the sample codes (moving average & MACD) and tested them with the same result despite those EAs having a stop loss exit function. On checking the code, I realised...
Just trying to get an answer as to why this code seems to work differently when run in the two different modes. What should happen here is an alert should occur the first time a price arrives on a new day. This is what happens when run attached to a chart. However, when run in test mode a new day...
Hello everyone, I am new in this forum. For some time now I have been trying to learn how to trade Forex in MQL4 platform. I have some background in computers languages. I did read the manual of the MQL4 Language, but I have to admit I am struggling with MQL4 code so I need your help to write an EA...
WHERE IS MQL 5 ? ............................................ ............................................ ............................................ ............................................
  iCustom question (15   1 2)
With iCustom, it only seems to work when I put the last parameter(shift) as 1. If I leave it, it don't work. What does shift do ? Thanks
Hi, I am trying to build a simple indicator that depicts the High and Low within 21 days, and then add some lines in between. The problem is that in the D1 chart the lines are drawn correctly. When I shift to another timeframe, the line behave erratically, and do not represent the correct values...
Why does the contents of an array have an affect on the processing time of an indicator when iMAOnArray is used on a half initialised array. If iMAOnArray has the number of elements that are initialised passed as a parameter it works correctly but if zero, meaning the whole array is used, then the...
We worked hard to create a data mining system using MetaTrader, the idea is create news using back testing and real time mining of symbols. The portal url is http://www.investminer.com ( InvestMiner ) It can be accessed also with RSS Feed Subscription: http://www.investminer.com/index.php?rss=xml...
Has anyone been using the new IvyBot either in demo or live?
  Email Alerts (6)
Hi, I am using Interbank FX's MT4 terminal. I cannot get the email alerts to send - "Unable to connect to smtp server, etc..." I've tried gmail (which apparently requires authentication) and cox (which apparently doesn't), and verizon (for my mobile.) I've tried various port settings, and no port...
Hello, It's very cool if we can trade with MT4 on iphone and Symbian OS. Hope to see in app store Thanks :-)
I've been writing a number of EAs for the last year and I'm perplexed as to why the closing of a trade frequently fails to obey the closing rule in the strategy tester. This happens even on the simplest of EAs for example using a ma crossover to buy/sell and then close when the ma crossover goes in...
  New to mql (5)
Hi all. I am veteran C programer but new to mql. I order to learn the languagh I started to learn the order commands API. I understand the basics of these command, but I don`t understand several basic issues: 1. How/when do I know that a pending order has been executed. For example price is 1, I...
Hello all, I am new here. I was wondering, is it possible to integrate Indicator code into an EA, or if I could put a script in that would allow me to have the Indicators appear automatically when I start the EA? Thank you, abonifi1
I've been using the daisy chain method for a month or so now. I can honestly say that it is probably the best strategy I've seen thus far. I'm not an expert trader by any means, but I do see the potential. I'd like to know if anyone can code an email alert for this system? When either 4 of the 5...
Hello everyone. I'm new to the forum but have been following it for quite a long time. I need to get some help if someone is willing to help. So far I use the following for an RSI alert and it works great. I believe I got it from someone on this forum so thank you. However I need to add to it and...
I am new to this system but not to programming. I am somewhat mystified by the behavior of the strategy tester with regard to the simple code snippet – which is simply trying to test for a new day beginning. The code is: datetime Yesterday; int LastDay = 0; bool started = false;...
Hello, This is my first post here and as you will see, I'm not really a programer. So please bear with me..... :-) I have altered another EA I found here and wrote the following EA (Attached 37Temp.mq4). However, when backtesting, even though I can open an order "on time".... sometime the EA ignores...
Can anybody see the problem in my indicator. I am sure it is something to do with the limits of the arraysbut I can't see what. When I put the indicator on the chart it is correct but as the ticks come in it goes to pot on the front end. I don't want to use indicator buffers for the arrays Emabuf &...
Hello everyone. Can anyone help me with this? I have an EA that places two orders(of the same type) and I want to have the EA assess and see if both are opened. I know if I use orderselect, that includes BOTH open and pending orders so that doesn't work so well. 1. if I have a selllimit with a...
This is the code of the most wide-spread inverse Fisher transform of RSI: There is a zero-divide error in it that pops up every now and then. I don't see it, maybe you do? //+------------------------------------------------------------------+ //| Inverse Fisher Transform...
How do you change the background color of a custom indicator (in a separate window), so not on the chart? Many have asked similar questions on here, but this one's never answerred..