Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1020

To post a new topic, please log in or register
Hi, I'm trying to backtest my EA over a significant period of time, but the historical data are not complete. When I test in "visual mode" at certain point che tester stops...it seems "frozen"....seems to me that some historical data are missing. If I change the time interval to avoid these period...
I have developed a system which makes profits on EUR/USD and USD/CHF. I would like to show you backtesting results on over 4 years of period, and would like to receive feedback about it. So, I have attached backtesting results... I have set Lot size as 0.1 at all times, so that it become easy to see...
hello MT4 team, if you place an order, all order properties are logged in \logs or experts\log - depending if manual or script order, except expiration date. could you please add this member also to logfile ?? thank you
Hello, how to install MT4 with language different from operating system ? (selection installation language has obviously no impact) any help welcome
Let's say I have a chart indicator on the screen like a MACD indicator. Instead of changing the indicator parameters manually from the screen, how is this done from MQL source code? I don't really NEED the visual indicator. For perfections' sake; however, I just want the visual indicator on the...
Hello experts, - what is the minimum distance in minutes from now for order expiration. - what happens if pending order expires. do i get a logmessage about ? thank you
Hello, the searc in this forum is poor. for instance, looking for "wrong t/l" throws nonsense only. please allow to search for all expression with AND or OR thank you
How to connect MT4 with Yahoo Quote server ?. Many TA softwares have direct link with Yahoo Quote server for free data updates. Why this features is not available with MT4 ?.
Hello, when try to place a BUY order for EURUSD with target > current and stop < current, i get the error Wrong S/L or T/P. this happens regardless if market or pending order. need help. thank you. (more and more i have the feeling mt4 is something for kids...)
Can someone please help. My EA isn't working correctly and I can't seem to find the error. It is suppose to trade the opening hour of a new markets, if a breakout (new high low for the day) occurs. It is trading only long and trades without a breakout. I suspect the MaxofDay is getting set to ask...
I wrote an EA to simply draw a line on the chart when a Moving Average Cross occurred. I have several charts open for different pairs and the EA running on multiple open charts. My alert is triggered but when I look at my chart there are NO lines. Here is my method...It is called from the start...
Hi guys- trying this again. Looking for an account manager to trade my account- prefer a manual pro, no EAs, preferably ECN- I have MB Trading... tried EAs with FXPro... not much luck... Have no problem paying good percentages off profits made... send me your info- contact phone, email, and...
  MQL Programmer for hire (31   1 2 3 4)
Hi, I am Mikhail and I've been coding custom Expert Advisors and Indicators for clientsneed for almost a year now. But most of my business comes from forexfactory members.I just thought that I could extend my programming services here in the officialMetaquotes forum. I am able to code Expert...
Hi, I am looking for scripts that opens 10 buy/Sell stop orders in different positions. Pending orders opened. Before it moves up for example: order#1) buy stop EURUSD @ 1.2600 order#2) buy stop EURUSD @ 1.2610 order#3) buy stop EURUSD @1.2620 order#4) buy stop EURUSD @1.2630 order#5) buy stop...
My suggestion for a new function: OrderTimestampChanged() retrieves a timestamp (down to milliseconds) of the last change of an order. this includes lotsize, price and order status (closed, pending, whatever) thank you (in the event of...)
Hello, anyone has an idea how to get the ea or script name of an order without accessing logfile ? (found no OrderXXX function doing this) thank you
hello, in order to test an EA on weekend as well, how to setup MT4 to push demo quotes ? thank you
Hello, is there any way to change the name and location of logfile, OrderPrint function is writing to ? thank you
Hi all, In this Topics we want to forecast 9 pairs with openning NewYork market between 1.5-2 GMT 5 day/week !! Good Luck
I want to calculate the slope of a line that is Perpendicular to a known line: Line A is Perpendicular to line B; Slope of Line A: SlopeA = (Price1-Price2)/(bar2-bar1); Because Line A is vertical to line B, So: SlopeA*SlopeB = -1; Therefore: SlopeB = - 1/SlopeA = - (bar2-bar1)/(Price1-Price2);...
may you help me compile the follow code to mt4 indicator,used in chart window. BIAS1:=(MA(C,2)-MA(C,4))/MA(C,4)*100; BIAS2:=(MA(C,2)-MA(C,8))/MA(C,8)*100; line1:MA((BIAS1+2*BIAS2 )/3,5)*50; line2:MA(line1,2) ; thank you
as metaquotes demo server stop -->will mql4 championship 2009 be hold ? Which currency pairs allowed to be trade in mql4 championship 2009? Can I use an ea with a dll file to join the contest? if it too difficult to organize it, due to too many participant, i suggest just allow those EA were profit...
  Margin Issue (2)
Sometimes, I think I should have my own forum uploaded just to answer the endless questions I come up with :P I am having trouble getting my EA to recognize free margin. To the best of my knowledge, you have to have $10,000 to purchase 10000 lots at a minimum. Is there a way in Crown Forex to get...
Our indicators and EAs are getting more and more complex, and the programing enviroment (the Editor) is becoming more of a limitation. I'm not used to this and find it fairly frustrating at times. I dunno what to expect of MQL5, and this may come a little late, but I hope they have taken at least a...
Hello again everyone! I am trying to put in a function so that my lot sizes are always at 10000 increments. In theory; if (Lotsize < 10,000) Lotsize = 10,000; else if (Lotsize > 10,000 && Lotsize < 20,000) Lotsize = 10,000; else if (Lotsize > 20,000 && Lotsize < 30,000) Lotsize = 20,000; else etc.....
Hello, Please could you help me on this? 1) Lets say I use OrderSend() for 2 lots and I get into the market. 2) After a while, I would like to use OrderClose() close only 1 lot 3) The idea is that the remaining lot (only one) will close automatically when gets the stoplose/takeprofit level My...
I am still learning therefore using a practiceaccount. I have come across a problem. I would like to cancel the trade I was running it by a robot where when it got to what it thought was a fair price would sell then rebuy etc.. I wanted to stop program using sell or delete order the program MT4...
Looking for help writing coding for an EA, willing to compensate for time and trouble. Would prefer Dallas Ft Worth area to meet up and work on coding in person, but am willing to accept other offers. Anyone interested, message me with either phone number or other form of contact. Thank you very...
hello, In my EA, I use this line to display a stream of signals: iCustom(Symbol(),0,"Djahma_DisplayEA", signalea,1,0,1); Then, within the indicator, I assign "signalea" to the indicator buffer: #property indicator_separate_window #property indicator_buffers 1 #property indicator_color1 Red...
Hello! I would test my expert advisor . I would write to csv file to following information:Orders open,Orders Close,Buy or Sell,and how many bars is the orders(when I in the 15M charts,and the SUM OrderTime is 45minute the bars number is 3) Can anybody help me how i make this program?Or where find...
1...101310141015101610171018101910201021102210231024102510261027...1244