Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1022

To post a new topic, please log in or register
HI I am looking for An EA to assist my manual trading. I need an ea to place multiple trades in few trdes based on corelations i.e Eurusd, gbpusd, Audusd in one group and an oppsite group having usdcad, usdchf The pairs can be added or removed from each group to a preset group. The lots size can be...
Hello everyone, I am working on a EA and I am stuck with one problem. I want to my ea having a chance to manage different account simutaneouslly.And I am confused about how can I read info about a demo account in the emviroment of real account. Anybody has any suggestions about this question ?...
Version 1 1. Can read doji: a. may set minimal length of uptail b. may set minimal length of lowtail 2. Can read gravestone doji: a. may set minimal length of uptail b. may set maximal length of lowtail 3. Can read dragonfly doji: a. may set maximal length of uptail b. b. may set minimal length of...
Hi, I am having problem with this new rule. My EA cannot make pending orders. It is a simple EA, if 1 open order, delete the unused pending, and make 2 new pending orders (buylimit and selllimit) here is my code, the rest is in the attachment : if (TotalMikuOrders()==2 &&...
New article Superposition and Interference of Financial Securities is published: The more factors influence the behavior of a currency pair, the moredifficult it is to evaluate its behavior and make up future forecasts.Therefore, if we managed to extract components of a currency pair,values of a...
hi, im still working on a function to get the maximum available lot size without getting the risk of a stop out. there seems to be a bug somewhere, maybe someone of you can help me? the idea is, to caluclate the maximum los of all open orders. then substract that from the account balance, because...
Hi all, Is it possible to modify orderlots (lots) in pending order ? eg: to reduce my pending order from 10 lots to 5 lots. sorry for my english, thanks.
How To SHOW all array value in VC debugger? my debugger just show below: it just say the generalise close, but actually close have 12 elements, that is i intialize double close [12] ; thanks
Does anyone know where I can find STDIO.H library file for MT4 programming? Since MT4 is similar to C++, can I used those on Visual C++ ?
can somebody explain the meaning of scripts to me and how to write and use it? i have read about it but did not understand it . can it be used for auto trading? expecting helpful reply.
Hi, I like Igor All_pivots (attached) but it does not handle server time shift or sunday problem. I have tried to modify this but I keep breaking it. Can anyone help me to fix this indicator.? to have server time shift and not include sunday data.  Otherwise it is a very good indicator showing cam,...
If I reinstall MT4, will my existing charts, custom inidcators, etc. be saved? I need to download from a new broker rather than the old one I used so I can create demo accounts without having to contact their customer services.
I am having trouble with arrays because they can't be returned from a function. So I decided to try this: int start()  {  double array1[];    Function(array1);    Print (array1[0]);  }void Function (double& array2[])  {         array2[0] = 12.4;  } I get no result with arrays of type double. It,...
Is it possible to stop MT4 putting in a very short red line at the stop loss point of a trade? I already have the long horizontal line in there, so don't need it, and it gets annoying when the trade is over for it to stay there.
Hello All: I'm trying to program my stops so that if profit is greater than 30 (pips), we will have a stop equal to the 55 Period MA, if profit is greater than 60, we'll use a 21 MA, if profit is greater then 90 we'll use an 8 MA. The problem is when profit goes above 60 (so it reverts to the 21 MA)...
I've recently started programming an EA not having any previous experience and have had some success in making it work as intended only to realize that interaction with the EA will be more difficult than I thought. What I am trying to accomplish is as follows: 1) have an EA that opens, manages and...
If you hawe good EA, send me details. We hawe investors managed accounts. We pay good %. pnylander@hotmail.com
I'm trying to understand first how Indicators get their source data.  For example, the Stochastic, where does it get its source from? How do you connect it programmatically? And how to you tell an EA to use the output of that indicator? Thanks, Newbie
Hello I'm wondering if anyone has a good solution for indicators that repaint? so far I have been using the following code to avoid it but I'm pretty sure that someone out there has probably figured out a better way to do it,   double PSAR=iSAR(Symbol(),PERIOD_M5,0.04,0.2,1);   double...
Hi, Can I write more Characters on order comment? How to do it? Thanks
I recently updated MT4 to Build 224 and every time I open it, I get a critical error and the program closes. Here is a copy of the error: There has been a critical error Time : 2009.06.01 02:27 Program : Client Terminal Version : 4.00 (build: 224, 15 May 2009) OS : Windows...
You can form statements online on my source. For example: http://acompetition.love-craft.ru/test/demo.php?ptp=10000 To start gather statistic you can send me an account number, invest password and some information about you. The statistic updates every minute. You can see the parameters description...
Hello, Seems to me there are great indicators that can tell when you are in a trend, but what I fail to see is a real solid way to mathematiically describe a choppy price pattern. Does anybody have a solid method, or an indicator that is not just buy/sell but "wait". I can imagine something such...
i use VC to build a .dll that will be use in MT4, but encount error of "access violation" when debugging even i add a messagebox in it ~ ~ see the attachment how to amend it ? thanks
Hi, After the huge response to my previous offer I've decided to extend the offer indefinitely. You can email me at sleepless.damian@gmail.com with details of the coding required. Regards Damian
I am trying to draw 4 lines based on an input value, which will eventually be the order open price. This should place lines at +20pips, +30, +40 and +80. Each line should be about 4 to 5 candles wide. The code below doesn't draw anything. Any ideas why? int start()  {...
Hi All, I'm a new programmer and I've written this program that trades good. I'm trying to get it to alternate between Buys and Sells. I'm using "j" as the qualifier. "j" starts as "1", then after the "Buys" run we add "1" to "j" ("j" is two at this point) The Sells are passed by until orders...
Does anyone know how to switch from demo to live account? I had trouble switching it. I'm using MT4 platform. It's good if u guys can show me a step by step guide to this problem. Thanks. Regards, Jumadi.
I have always struggled with this: can anyone help? I have just placed and order and it closes(for a profit), how do I "timeout" the EA so that it waits one hour to trade. I know I can get the last order close time perhaps and then write something to wait until that time plus an hour? Can anyone...
Hi! I'm looking for an indicator I found in NinjaTrader called swing high low indicator. I also got the Ninjatrader-code but I don't understand it well enough to be able to rewrite it for MT. Can anyone help me?