Download MetaTrader 5

MQL4 and MetaTrader 4 - page 598

To post a new topic, please log in or register
Tools > History Centre > EURUSD > 1 Minute(M1) "Warning - you are going to download data from the MetaQuotes SOftware Corp. but your account is with Alpari"... Have historical data back to 17th April. Feb and March data is missing and data again the 13 Jan back? Tried to delete historical data in...
Hello, I would like to trade with the Symbol GER30 (German DAX) and contracts. Question: What is one lot and how to convert it into contracts?
Hi there! This is probably easy for you, but I don't see my mistake. So I would be glad if you could give me some relief! :) In short: I open a position: int ticket = OrderSend(Symbol(),OP_BUY,10,Ask,5,Ask-10,Ask+10,"Long Order",1234,0,Green); i want to close this position: OrderClose(ticket,10,Bid...
  Silver Trend indicator (13   1 2)
Hi All, I had been evaluating trend indicators lately. Came across Stalin, Notarius and recently Silver Trend. Had done backtesting, and found that Silver Trend provides excellent results, with little losses on whipsaws but large winners on trends. The backtests (manual) were done on fx and...
Hello, does anybody have an idea how to rename those displayed name of the account in MT4 like its shown on the attached screenshot? You often have a lot of accounts and if they are registered on your name you can distinguish only by the id numbers ... THX haemse
Hi I'd like to show you a snippet which constantly gives me the 4002 error. Which means, if I comment this function out (obviously without the Print() function ;) ), the error disappears. What the code does: it calculates the average of the trueranges of the last 20 days. double truerange[20];double...
I have a lot of pending orders working in a EA. My free margin is about to be exhaustedand the market is moving fast, I cannot figure out how to delete these pendingorders. Please, can someone help me. Note that time is of the essence. Thank you in advance, George
  am i missing something? (12   1 2)
i created my 1st indicator, and it doesnt seem to work at all, i think i am missing something or dunno may be many things. can some one say me wat is wrong with this code? double ExtGreenBuffer[];int init()  {   IndicatorBuffers(1);   IndicatorDigits(5);   SetIndexDrawBegin(0,34);...
Anybody know who is a good trusted coder here. pls recommend me one. Thanks
Hi Guys, I want to code an Ea that could close all open trades at once, with closing conditions as soon as the Sum of profits and losses is positive. There are many articles in the web that offers codes, scripts or EA in order to close trades at profit. But these codes are to close opened trades...
Help! I have an EA written in MQL4. It is attached to one currency/chart window, but actually performs automatic trades in 6 different currency pairs. My problem is with 2 lines of code: // get 5-minute moving averages: current and 4 periods ago// the +1 offset for the Shift argument was determined...
We use "Bid" to get the current bid price of every quote So, How to get the previous bid price ? Thanks for your guide !
   NormalizeDouble(1.49999990, 0) = 1.00000000   NormalizeDouble(1.49999991, 0) = 2.00000000 thank you, MetaQuotes. btw: this bug is far from new, they know it and they just don't care
Hello there! I'm quite new to this language, but not new to programming at all. And I really like the language! :) But now I got a problem...I hope you can help me! high20 = High[iHighest(NULL,PERIOD_D1,MODE_HIGH,20,0)]; What I expect from this snippet: I returns me the highest value of the stock...
i want to calculate the sum of an array,is there this fuction ?thanks
  Live Update (2)
I need to do a MetaTrader 4 Live update. They have a bunch of custom charts, indicators and a layout I'd like to preserve into the new version. How is this done? Thank you
Dear all, I need to Ping an IP to check if my VPS is alive or not. I want to code with EA mql, of course ! I try to use ShellExecuteA, it can call cmd.exe then ping. Unfortunately, ShellExecuteA does not return value of ping's result. Is there any other way that we can check if my VPS SERVER IS...
  Bar time (5)
double h = High[1]; int t = Time[1]; MessageBox("H=" + h + ", t=" + t); The above returns the correct high for bar 1 but the time returnedis 13335535200. What is the correct way of retrieving the bar time?
Dear colleagues. I would like to offer you MetaTrader 4 API for .Net. This is application programming interface to remote control MetaTrader 4 terminal via TCP/IP from .Net applications. You can download demo version from mtapi4.net. More information you can get via email: v.demydiuk@gmail.com.
This chart was working fine before but for some reason when I scroll to the live edge all price action candles are not visible?! I have tried removing all indicators and the problem persists. All other charts are working fine, this problem is only affecting the EURUSD 15 minute. Does anyone know how...
can some tell me what does this mean in the journal
Hi, I need a EA to output a record into text file when opening a trade. Does anyone know how to make it? regards,thanks
I want to risk 25% of my equity, So I want to find out how much lots I need to buy. Equity() = $9000. Risk = $9000*0.25 = $2250 I want to use a 20 pip stop. So I calculate Risk/stop(in pips) = $2250/20 = $112.5. This is where I THINK my confusion is: I have a mini-account on a 3/5 digit quoting...
I am in the middle of re-writing some of my libraries into smaller groups, and while doing so I will be breaking out some of the tools that I have created over the course of years. Some I posted in the pass but most have never been seen before. The code that will be posted will be complete with...
  Time filter (17   1 2)
Usually time filter is widely used. For those that need Hours time filter here it is:      if(((Hour()>=StartHour && Hour()<EndHour && StartHour<EndHour) ||         (Hour()>=StartHour || Hour()<EndHour && StartHour>EndHour)))     EAActivated=true;    else    EAActivated=false; Can somebody share...
Hello, I want to get values from offline chart: (Open[1] - Close[1]) and (Open[2] - Close[2]) from Expert Advisor attached to 1 Minute chart. I think the best will be to make one expert attached to offline chart that set values, and then EA attached to 1 minute chart get these values. How to code...
Hello, I need to get values for Open[1], Open[2], Close[1] and Close[2] from Offline chart, BUT my Expert Advisor is attached to 1 Minute chart. How to get it?
This week suddenly my EA, sometimes and sometimes I just put the TP and I get that Broker is busy, until yesterday I never had this happen. In the demo accounts I have no such problems, but in the real s. Anyone know I can do? They try to fuck the EA?, Fuck them you can make a profit. TKN
Hi at all. I posted this good EA because the entry order is perfect...but the exit order and automatic contrary order not function perfect..your have any ideas ? where is the error in the code ? Thanks and Regards.
I tested expet advisor on meta trader EA tester,I noticed that The EA was not executed,, I checked the jornal what i saw is this...(2009.07.22 03:28:22 TestGenerator: unmatched data error (low value 1.4192 at 2009.07.22 13:15 is not reached from the least timeframe, low price 1.4193 mismatches).I...
1...591592593594595596597598599600601602603604605...1245