MQL4 and MetaTrader 4 - page 617

To post a new topic, please log in or register
Hello MQL4 community, I have two questions. 2. orderclosing question. Objective: Open a buy order when iMA 1 > iMA 200 (shift1) AND after the sell order of 0.01 lots closes. Current code displayed directly below-    OrderSelect(i,SELECT_BY_TICKET,MODE_TRADES);...
hello everyone i am new here i am trying to build my ea base on this template , can any one help me to add these extern variable    (  trading time with the starting and ending :  ; max number of position ; hedge ; )   #property copyright "Expert Advisor Builder"#property link      "http://sufx...
Hello I downloaded few different EAs and ran 'em. All of them use Alerts  @ different points. But not a single message shows up anywhere. I cannot find anything to change in setting which will fix this. Documentation shows a popup dialogbox. In my terminal, it is not even showing up @ Alert Tab of...
please help me ,thank a lot!
Is it possible to program an EA the will be given a certaincommand to another EA; may be an EA attached on 1 hr chart given a certain commandto another EA on a 5 min. chart? For example an EA on 1 hr. chart when a certaincondition is meet on it, it will give a command to another EA on 5 min. chartto...
how start a fx brokerage company... pl. explain step by step the process
Because of it's complexity and it's cutting off the throats of a lot of programmers and traders that are well versed in MQL4.  With that said how long will MQL4 survive?  Will MT5 fail to ever phase out MT5?  I'm hoping not because in my opinion it really sucks.  
I run the tester and click on chart i see daily bars but no data from the tester  
Hi All,  I'm coding an EA and I'd like to move the stoploss of an order up to the opening price if the Bid is a certain number of points above the price the order was opened at.  I have some code, and it does modify the stoploss correctly, however it also generates an OrderModify Error 1 on each...
I read that this can happen when an EA is doing an operation, and another one ALSO wants to do the same kind of thing. My doubt is... if I have a single EA, working across multiple charts, will it trip all over itself as if it were multiple EAs? Thanks!
Greetings, I would like to know if there is a function to convert text from Uppercase to Lowercase and vise verse. something like this: Let's say string variable 'a' might contain some version of the word 'buy'; instead:  if (a=="buy" or a=="Buy" or a=="BUY")..  etc. I'd like to use: if...
int ticket;   if (allsignal==1 && total<3 && enableopen==true)                                                       //condition allsignal is alligator signal,total=orderstotal()<      {      ticket=OrderSend(Symbol(),OP_BUY,lotsize,Ask,slippage,0,0,"Order #2",NULL,Magic,Green);  //entry market...
I'm trying to take alesson from RaptorUK and his article, What are Function returnvalues ? How do I use them ? I assume thatan OrderType has a numeric return value; for example OP_BUY is 1 and OP_SELL is2. But I'm not sure that's the case and I don't see it documented anywhere.Here's the Function...
Hi experts, Im a newie in terms of programming in MQL and I have an EA in where I want ONLY to open orders in OPEN PRICE since my strategy would require this. Is there any procedure or mql part of code that I can use for this target?, or maybe some topics about functions? Thanks a lot for your help....
  MarketInfo() (5)
I am trying to use the MarketInfo() command but I must be doing something wrong. The company I trade with is Oanda, in case that makes a difference. Here's my code: double Spread = 0;  Spread = MarketInfo(“eurusd”,MODE_SPREAD); Alert(“Spread = ”,DoubleToStr(Spread,10)); Here's the output I get:...
Hi, say you want to change the window length of your indicator to the number of bars since its last turning point, you would do that like this:      for(int i=0; i<limit; i++)   {       ExtMapBuffer0[i]=iMA(0,0,10,0,0,0,i);   }   for(i=limit-1; i>=0; i--)   {      double curr = ExtMapBuffer0[i];...
Hi: Thanks for your help on my question. I have setup an ea with specific conditions that works better with a manual entry/exit. I would like to generate a signal that can be sent by email or text msg. Any guidance on this? Thanks again.
Hello, would you please know how I could calculate a currently used margin for all the open positions on a currency pair?    Thanks a lot! Pavel 
hi all, i need some guide on writing a code, can anyone show me suggestion and how i do it? what i want is i have a few indicators, and then i only want a signal coming out from each bar for 3 different indicators so for one bar, maximum signal i get is 3 and then i trade once only with each...
I added the OrderCloseTime() to both if statements thinking that would put an end to this invalid ticket for ordermodify function error but every once in awhile my EA will lose control of all the orders and somehow mix in a closed trade and continously try to modify it over and over making huge log...
Hi,   is there someone who has experience with mt4 manager and its API somehow please? Would be great it you can contact me.. Thank you very much in advance! 
<SNIP>   here is what i had written so far, when i tested on strategy tester, no trade was occur, i compiled the code with no error no warnings,can anyone tell me why  ? also is there anyone to give me suggestion on perfecting it? 
Hello everybody, I'm a newbie on this forum. I've just started to develop my tools for trading in Meta Trader 4. I'd like to write a script that will prompt user for data, i.e. open a window to input data. For example: Script that will calculate max. lot size assuming x% risk of account for given SL...
Hello, extern int iHeureDebut = 9; // Heure du debut de la plage horaire du filtre horaireextern int iMinutesDebut = 30; // Minutes du debut de la plage horaire du filtre horaireextern int iHeureFin = 20; // Heure de fin de la plage horaire du filtre horaireextern int iMinutesFin = 30; // Minutes de...
hi all, i need some guide on writing a code, can anyone show me suggestion and how i do it? what i want is i have a few indicators, and then i only want a signal coming out from each bar for 3 different indicators so for one bar, maximum signal i get is 3 and then i trade once only with each...
Hi I am looking for an MT4 trader who lives in the Illawarra NSW to code an EA for me. Thanks
Hello, I have to make a robot for Arbitration in two types of coins? Currency A and B for MT4 Buy "A" at the top and sell "B" in the background at the same time, when you find the price difference.
Hello MQL4 community, While coding MMA_Volume II I ran into some problems that need solutions. MMA_Volume II original code is only about two thousand five hundred lines of code, which is relatively small compared to where it stands now in regard to code length. It now stands at about sixteen...
Can anyone tell me if you can run the same EA on multiple pairs simultaneously and have each work independently of one another ?
Now is the best time to order expert advisor or indicator programing service from our company. We can recommend additional extra features for your robot or indicator to make it more profitable.  We will provide you with most professional expert advisor programming service in the internet. We have...