MQL4 and MetaTrader 4 - page 1475

  Volume?  (1)
The only volume indicator that MetaTrader has is an up and down volume indicator. Is there anything that just indicates volume alone? Or is the indicator just saying volume is down from the bar on its left?
[Deleted]
Hi I would need to open 3 different Positions in the same Pair and to close them all differntly (eg.: differnet TakeProfit Level). I believe the Problem has to do with the Tickets. I have tired but with Problems with the Close. I posted the original Code below. I hope anyone can help me. Many...
[Deleted]
  Max Lots  (3)
Could somebody give me advice, when we can use Max lots. How to predict / indicate ????
I have found nesting conditional "IF" statements to be confusing and prone to numerous errors, hence intimidating, especially when you start nesting 5 or 6 conditional "IF" statements --- one within the next. As result, I have resorted to using "Included Files" whenever confronted with the nesting...
Hi I can't get the limit orders below to work with the values given. I get error 3 invalid trade parameters. The orders work if set to instant buy or sell. I can't see which paramters is wrong for the limit orders. It must be something simple but I can't see it. extern double Limit=10; extern...
[Deleted]
I need an EA that places a trade at a given time with the parameters that allow me to say what time, limit and stop
When I use this comand "live" it acts as expected, showing every minute of every hour. However, when I use it in a "back" test I get only a one random hour and one random minute a day. I have listed some of the printed data below for the "back" test. This is the only command in both the "live" test
Does anyone know of an EA that can chart the compartive strengths of currencies. Something like the attached file is what I am looking for. KeithN
I need XAU/USD in any format that can be downloaded to MT4. Thanks in advance.
Hello again everyone! I am using a downloaded EA as a comparison tool, but I cannot get it to work! The error I am getting is this; 2009.04.28 16:30:11 2009.03.19 13:02 TrendLinearReg Expert Advisor GBPUSD,M5: custom indicator name must be a string Here is the EA; extern string...
[Deleted]
Hi experts, my EA places in function start a simply Buy order Price = Ask - 200 * Point; targetlevel = Ask + 200 * Point; Print("Ask=",DoubleToStr(Ask,5)," price=",DoubleToStr(Price,5)," target=",DoubleToStr(targetlevel,5)); orderidBuyLmt=OrderSend(Symbol(),OP_BUY,1,Price,20,0...
[Deleted]
I'm a newbie, so I am sure most of you have either run into this yourself, or answered the question for another newbie.... I am trying to pass two variables from a custom indicator into an EA...I've tried using the Global variables, I've tried using an import directive, and I can print the variable...
[Deleted]
  Use order limit  (8)
I need an help, i want to use in my EA 3 entry one at first condition and the other 2 above/belowe depend is long or short with limit order. For Example i have a buy at 1.4000 i put 2 oder limit at 1.3960 and 1.3930 And when the trailing start to run i want to delete all the order pending that...
[Deleted]
Hi, I am having a hard time looking for a function that you can draw trendlines, horizontal or vertical that you can adjust its length. The function in metatrader is usually drawn from end to end. I just want to draw lines that can be short or long. I saw my friend do it in his platform which I...
I'm looking for a person who would write an EA for me and all of us.I've got the instruktions ready!
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...
[Deleted]
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...
[Deleted]
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
[Deleted]
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...
[Deleted]
  order expiration  (2)
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
[Deleted]
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 ?.
[Deleted]
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...
[Deleted]
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...
[Deleted]
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...
[Deleted]
  MQL Programmer for hire  (31   1 2 3 4)
Hi, I am Mikhail and I've been coding custom Expert Advisors and Indicators for clients need 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 official Metaquotes forum. I am able to code Expert
[Deleted]
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...)
[Deleted]
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