Download MetaTrader 5

MQL4 and MetaTrader 4 - page 391

To post a new topic, please log in or register
In mt4 I can download a lot of pairs but not all show in the symbol drop down box of the strategy tester. Is it not possible to back test these pairs?
when I use "ordersend" to open orders as below: OrderSend(Symbol(),OP_BUY,lots,OrderClosePrice()+100*Point,3,0,0,0,0,0,0); Sometime MT4 will complain that the stoploss is too little, but I don't know how to know what is the minimum for some pair's stoploss. another question: about messagebox...
If i have a variable "double x=1.1;" and a string "string variables[] = {"a","b","x","y"};" I can obvioulsy get my x string by saying "variables[3]" but how do i get this back into my variable value of 1.1 if i only know that variables[3] contains the name of the variable that holds my value of 1.1...
Hi, when the new terminal is launched will we be forced to re-compile our eas, indicators or scripts for them to work with the new terminal or is this just for market products.
Hi, I’veexperienced the following strange behaviour regarding the history update: When usinga while-loop in an indicator, with refreshrates() in between, the history data doesn’tget updated within the loop, even when I run the loop for 60 seconds. Insteadthe data is updated immediately after the...
When I turn on Scale Fix the volume bars, at the bottom of the screen, disappear, although the check box in the options for Volumes remains checked. Is this just a bug, or is there some way of turning them back on? My original problem is that the candles are getting mixed up with the volume bars, so...
// catch value of bid if no order is opened.double line_of_trades( )  { static double the_line=0;  // save value btwn repeated calls.    int total=OrdersTotal();     if(total>0)   {   the_line=0;    return(0);    } if(total<1 && the_line>0)  {   Print("The Line is There");   return(0);  }...
After uploading history data till 2008 in M1 timeframe for 10 currency pairs in Meta Trader 4. I have issues with its performance. Every now & then it freezes on me while I am backtesting the respective charts. Pl. advise the solution. Thanks Praveen G
Hi, I use an alert-message containing Close[0] and the price shown in the alert window is displayed like this: 1.34420000 (EURUSD) or 134.25000000 (EURJPY). Can someone please tell me how to cut the last zeros? I didn't find anything with the search function. Thank you!
can anyone help me out on how I can Install An Indicator That Has Only A .exe file
Hello, I use the indicator REPULSE on MT4. Could you modify the code to identify the divergences ? thank you very much //+------------------------------------------------------------------+//| Repulse.mq4 |//| FCognet |//|...
Hi, Just one Short question ... Is it necessary to protect a ms VPS via software? If yes what Software do you use?
  Code Problems! (19   1 2)
Hi All, I am new to the Mql4 forum, but I have been using MetaStock for years. Below is the code for an indicator that I am trying write. Basically, I'm trying to get either a value of 1 ( when "iClose(Symbol(),PERIOD_H1,0)>iClose(Symbol(),PERIOD_H1,1)&&iClose(Symbol(),PERIOD_H1,1)>iClose(Symbol()...
In chart, I Can`t change EA property, after i use simulate tick every 1 second in Start() How to solve this.....help me Please...! int start(){if(!IsTesting() || !IsStopped()) {   int hwnd=WindowHandle(Symbol(), Period());   int msg = RegisterWindowMessageA("MetaTrader4_Internal_Message");...
Hi, I am looking for an experienced MetaTrader4 programmer to workfor me.In particular, I am looking for a way to get Data out ofMetaTrader4 and into files on the PC, ideally in MetaStock format. These filesshould be updated at regular intervals. I have download a free Expert Advisor(called...
  Folks Beware! (21   1 2 3)
"The world is dangerous not because of those who do harm, but because of those who look at it without doing anything." —Albert Einstein. With this in mind I decided to write this post. I do not expect to gain anything from it. Instead, I post it with the objective that members in the forex community...
New article Raise Your Linear Trading Systems to the Power has been published: Today's article shows intermediate MQL5 programmers how they can get more profit from their linear trading systems (Fixed Lot) by easily implementing the so-called technique of exponentiation. This is because the...
Hi, Background I'm a C# developer, working for my employer to build an Excel Add-in having MT4 functionalities. As a first step I've implemented most of the trading functions and some other important ones, as Excel UDFs and now I can do the trading stuff by using these functions from Excel. Now as a...
Has anyone seen any expert advisors that will trade the 127 Fibonacci or know how to build one.
what wrong with it? when i have play an order it aways auto close. i can,t do any order. mt5 is good but it have not fxpro server. how made it to be do an order?
Hello and sorry for bother if there is already same problem. I am trying to call from my EA indicator via iCustom() Indicator code is that #property indicator_separate_window#property...
Is it possible to code an EA that allows the user to enter the name and parameters of a custom indicator so that they can be passed to iCustom() ? I have tried to figure out a way to do this and I have hit the wall, how to get the parameters into iCustom without knowing how many there will be or...
start time=0130 server time stop lose=20 take profit=25 close time=1630 server time
If I have a running EA and shut down MetaTrader when I restart MetaTrader the EA begins running again automatically. I can see why this would be normal behaviour but in case market conditions have changed since closing MetaTrader I want to block the automatic start and have a chance to decide to run...
What causes stack overflow error in mql4 during compiling? Im suspecting using a function to create objects. Below is the function that has been called over a hundred times to create objects. int ObCreate(string ObName,double Xdist,double Ydist,double Zoom) {    ObjectCreate(ObName, OBJ_LABEL, 0, 0,...
  The new MT4 (10)
What will be the important differences between MT4 and MT5 after "The Big CHANGE"
Hi, been testing and tweaking my new EA all day but I've run into a snag - The strategy tester now gets through about 1/5 of the way through the data and then returns the results without finishing the test. If I put it in visual mode, the price sometimes just hovers in the same spot changing by only...
  uninstall (1)
Hi! I'm having problems uninstalling MetaTrader 4. Kept having problems with it and installed a new version. Can someone help with uninstalling the old one? Thanks, Chrissy
hello, can anyone help code an indicator for me? I need an indicator that measures pips from the close of a previous candle (reference) to current price (bid), and displays the count boldly on the chart as well. I need this to quickly gauge current price from previously closed price while spike...
Hello Everyone, I am writing a long IF with many OR. My way of writing right now is that: IF ( condition A1&&condition A2 || condition B1&&condition B2.......) {sell[i]=1} Is there any way to separate condition A set and condition B set into 2 IF like: IF (condition A1&&condition A2) {sell[i]=1}...
1...384385386387388389390391392393394395396397398...1244