Download MetaTrader 5

MQL4 and MetaTrader 4 - page 717

To post a new topic, please log in or register
1. If a many symbol EA is run [on any chart] and begins applying system on many symbols - we get many orders... duh (bear with me :-) Since the EA works 24/7 their will be periods when the 'attached to chart' does not get good frequency of data tics. IE, the EA will be unable to effectively manage...
Hola. Please who can i place one and just one pending order (buy limit or sell limit) when an order is closed(buy or sell) withe the open price of this order closed. The problem that i have is that i m wrote a code but when executing in program my EA place more thane one order. int cnt,hs =...
In this code I want to test what the values are for the Orderprofit but "OrderOpenPrice() - OrderClosePrice()" just shows 0, why?, isn´t these values not avalible in the demo version or what? (The code below is just a simple code with 3 seconds between OrderSend and OrderClose to illustrate the...
Ilan 1.6 Dyn, statement: 24 march 2011.
Hi, I am trying to run some backtest, but I cannot do it because there are several gaps in data in the history center, especially the hole month of 2011 August. How can I get the past data complete and correct? Thanks.
Just over a year has passed since the launch of the Jobs service on mql5.com, and we can draw some conclusions. To date, over 600 jobs have been successfully completed, and new orders appear daily in the Russian and English sections. The freelance service of automated trading system development in...
  Saving Quotes (5)
Hi, I want to save the actual tick data into a csv-file. Every week or month I want to save one csv-file. So in my init-function I will open a new file and every tick I do a FileWrite(handle_tick,TimeToStr(CurTime(),TIME_DATE|TIME_MINUTES|TIME_SECONDS),Bid,Ask); Now I have a few problems /...
Hi I'm not sure how to word this question because there are broad topics. But lets say you want to mark a high and low. Not a high a low as in High[0] etc but as in marking them for drawing trendlines etc. Or perhaps engulfing candles, or tweezertops etc. And remembering them, or something like the...
hi please i need the code of the indicator that gives the trend following on all the TF like the picture thank you
Is there an indicator out there that will display both the bid and ask price on the chart (MT4) instead of just the bid? It would be helpful for me.
  Maximum minimum distance (13   1 2)
Hi everyone, Is there any way to figure out what the maximum minimum distance and/or freezelevel is for a particular broker. The marketinfo properties dont seem to contain this information. Thanks!
I believe I could simply move indicators, like a Stoch curve to another pane by drag&drop in the past doesnt seem to work for me anymore either my MT4 is corrupted or I am missing the correct cursor pre select? any help is much appreciated thanks Dietmar
Hello, This question is not about a specific problem writing mql4 code. It's about knowing what works best for an EA. Suppose I'm going long, I wonder where's best to put the SL, choosing between the low of the last closed bar, or the middle of the last closed bar (in this case the stop would be...
please who can explain this: It is possible that an EA written in MQL4 that was working very well after it must have been coded will later start failing. if so, what was the cause of such thing. Can MQL4 codes Expires? Can a coded system that was exposed in a real market condition to prove its...
hello, how can i add an m120 or h2 inbetween h1 -h4 on the periodicity toolbar ? is this possible ? thanks
I need 5th digit after decimal from price quote, it will display when using DoubleToStr function. I want to store a vlue get from object and use it for further calcullation i.e "price2" could anyone please help me to solve this problem
hello, Dear all I'm a new learner for MQL4 and now got problem with coding . from this forum i found that trading multip pair in the same char is using Marketinfo(), it does work really, but can't open a trade with stoploss by coding ''''marketinfo(symbal,MODE_ASK)-stoploss*Point ''or...
Dear community, i have an EA which does partial close of position. I want to detect that a position has already been partialy closed and was checking the ordercomment for "split from " string. Now i have seen in other terminal this string may vary to "to #" "split #" etc. What do you recommend...
Hi, please advise me,iam keep on loosing my money.Please advise me what indicators is the best?
Hi All, Just wanted to ask is there anyway to change the take profit and stop loss messages in the journal...? Examples below Stop Loss Take profit Kind Regards Jesse
Hi Everyone, I'm hoping that you can help me. I'm wanting to break free from trading on a computer, the trouble is that I have my own unique trading method that I use and it takes a series of steps. I would love to create a program that sits on my iphone (an iphone App) that -connects to my data...
Hello, Suppose I'm going long, does anyone know where's best to put the SL, choosing between the low of the last closed bar, or the middle of the last closed bar (in this case the stop would be tighter)? Thanks
The code below is supposed to pick up any pending and market orders that are open and set the particular variable to value 1. Although there are open pending orders or market orders the code does not pick them up and the variables stay at value 0. Why does it not see the open orders? Is there...
Need instruction on how to add pivot points onto charts. Thanks
Hey guys I'm new to Meta trader and i want to get some information about a market from it and send it to my server for live info on my site. I've been looking around a bit and can't find much on this, I've also looked around to get the data from another site or something like that. So can this be...
Hi All, I need a script to tell me the statistic of if the day is bull candle, the hours (as in the time) of hourly candle that close above the opening price for that day and over a few days. for bear candle, the hourly candle that close below the open price of that day. anyone can help me?
please can any body tell me the major difference between MQL4 and MQL5. Programs written in MQL4 can it work in MT5, if not what is the cause? and vice versa
Like to pay and change my authored EA. Anyone interested? talktojosef@yahoo.com
Hello everyone; Over the last few months I have managed to become a little more proficient at programming, thanks mainly to the great tips on this forum and the comments by some of you (thank you!!!!). However, I seem to constantly get stuck in a situation where my EAs are in effect one (and...
I have seen quite a few posts about people who can't send email in MT4. One way to do it is set up a mail relay from your own computer. How? you ask - You will have to setup IIS - go to Add/remove programs, click on Add/Remove Windows Components, scroll down until you see Internet Information...