Download MetaTrader 5

MQL4 and MetaTrader 4 - page 553

To post a new topic, please log in or register
If a specific time is set, all trades (open and pending) will be closed/deleted precisely at that time. Can anyone share the ea with me?
Can any one advise me if there is an option some where in the program that allows a change to cross hair option. When you have activated the crosshairs and click and drag it shows period, price movement and price. Can anyone advise me if i could get a percentage change as well and how?
Is there a way to assign the sequence of how buy and sell stops would be executed regardless of entry price? For example, if I have 2 buy stops and 2 sell stops, the first sell stop will only be trigerred if the first buy stop has already been executed, the second buy stop would be triggered if the...
Hello, I developed a expert advisor that use Matlab to generate the trading signals.  The expert advisor when a new bar arrived then write this bar in a file, then Matlab read this new bar and the model (genetic neural network)  generate the trading signals and write the trading signals in a file....
please anyone help me to modify this expert advisor.this expert advisor only trade open demo account not a trade open real account.so modify this expert advisor trade open in real account         thanks   <DECOMPILED CODE REMOVED> 
Hi there folks, I am trying to do the following: - once trade has hit take profit 1 - set stop loss to current market price (this won't be possible since TP and SL must differ from market price, but it should be possible to make the EA close the trade, correct?) AND    - set new take profit to...
I received a set of MT4 API samples from my client, asking me to assess feasibility of a project.  But the samples are all in Delphi language. I am wondering if we have samples of PHP accessing MT4 API? Please kindly help.   Thanks, Aaron   
Please How can i setup MT4 trader on my blackberry curve or which of the phones supports MT4 Trader
I am trying to drawn a TREND line but I just get a line running across the screen (the wide GOLD line below). EAM55_2 & EMA55_1 are the EMA's for 2 consecutive figures. The start time on the right hand side appears correct but I just want the length to be (in this example 5 (or 6) periods). Trying...
Merry Christmas and a happy new year to all fellow traders and coders!
Greetings everyone, I'm new to the language MQL4, and would help to make two checks, if they can help me, how I could do these checks, follows: checking if the last trade has been lost or not. check which was the lot of the last volume of trade. Could someone help me? Greetings...
burried in the html statement is also the file name of the EA that generated the trade, or rather sometimes. I have one EA that the name is not being included. This statement.html is including the two others matched to the trades. Just need to find out why not/how to get this other one listed in...
Is Meta Trader 4 compatible with MS Windows 8?
  Open opposite order (31   1 2 3 4)
Hi all,   Would like to get from you help to deal with this issue; When an order is open and the price is under of the order open price I want to open an opposite order. In this particular case  I'm try to use this code  but without success. Could anyone give a help here?  Thanks in advance Luis...
Hi all  I'm tryi g to program a custom indicator on MT4 that I used to use years ago on IT finance I have tried to simplify it from using bollinger bandwidths to considering price standard deviations and ATR's.   Trouble is that my coding skills are only one day old... I have managed to get one...
Hello MQL4 forum, Monday, Dec 24, 2012, 6:25 pm. Market Watch reads, 19:59:59. As far as I can recall, the FOREX trading week begins sunday and ends friday. I've connected My MT4 terminal to demo, live, default and different servers with 76/1 kb ratio server connection, but the market watch still...
Hello, I am new on this form. Kindly help me how to use it for my benefit. I ll really appreciate if someone can guide me through from the start. 
Hi Experts, I am very much new to use MetaEditor. I have a simple requirement like I need to delete a file whenever the current date(i.e., System Date) = Specified Date(May be hard coded to some date). Can you please help me out how can I achieve this. I couldn't found any function which returns the...
  email setup (4)
Hello, I would like to setup EA to send emails. My problem is that I don't know what to put in the following fields and where to get info that I must put in those fields. 1 SMPT SERVER 2 SMPT LOGIN Please help 
What is residue of division? i dont get it... seems like division but is not o.o And also, what's the difference between True, True(1), False and False(0) 
Hello, I am looking for a function or EA that closes all open positions when the equity reaches a certain amount. Basically a SL or TP for the entire accont. I want to use it when I open two positions that hedges themselfs. e.g. Balance 1000$ I open two positions manual. Long Dow Jones, short S&P500...
Hello everybody. I wanted to ask what I can do if I need to backtest an indicator based on the recent strength of other currencies. Here at this link there are few indicators I wanted to use in backtest but seems that is not possible. https://www.mql5.com/en/articles/1464 Can somebody tell me what...
how is it possible that an expert advisor be coded to do the following: buy when the price trend is going up and sell when its going down. (this is only a part of my ea plan)
Hello To begin with I only trade the USD\CAD so that way you knowthat I don’t have a bunch of different pairs going to help make this simple. I already have an existing EA that I use from time to timebut the problem is that it opens duplicate STOP orders when it is only supposeto fill in one STOP...
hallo, I'am new here and in mql4 ;( , but I want to learn and i hope, somebode could help me. ... I tried the hole night , but I didn't find a solution!!! How can I get my iCostum() get running. I want to integrat the DSS Indikator into my EA with iCostum().   "DSS.mq4" is in -->  C...
Hi everybody   i've written this cycle code but i don't know why an error always happens:  the code:   for(index=OrdersTotal();index>=0;index--){              if (OrderSelect(index,SELECT_BY_POS)==true){                   if (OrderType()==OP_BUY && MarketInfo(Symbol(),MODE_POINT)>upBB){...
forexparvenu
i have some curious, how to coding 1 ea with different strategy ? how to code these trading condition ? using {&&} {||} and {else} ?? give me some guideline ... thanks to everyone.
Hi all,  I'm using the below code to prevent any new Order from being sent if there is already an Order sent to server within the same candle. This code works fine......   <SNIP> similarly i substituted the lastorderbartime to lastclosebartime hoping that i could use the same code to prevent a new...
j ai téléchargé un  ea basé sur le croisement de deux moyennes mobiles et je souhaite y ajouter un multiplicateur de volume ; j ai essayé mais pas de resultat 
  OrderModify() question (53   1 2 3 4 5 6)
Hello MQL4 forum, {OrderModify(ticket,0,Ask-500*Point,0,0,Blue);}}}} The code above works, but moves the sl up or down as the ask price moves up or down. I tried this, as a solution... {OrderModify(ticket,0,OrderOpenPrice()-500*Point,0,0,Blue);}}}} (the order being selected is a buy order) I checked...