MQL4 and MetaTrader 4 - page 628

To post a new topic, please log in or register
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...
  pending orders help. (13   1 2)
I am using MT4 with my broker OANDA.   I am trying to setup a macro the will place pending orders for both buy and sell. My problem is that F9 brings up the trade window and then I can use tab to get to change the order type to pending however the numbers are all zeros. The only way I have found to...
  EA Backtesting - How To (11   1 2)
Hello @ all,  I need some help with the backtesting of my EA. Here is the overall structure of the EA:   extern int ticket_b1;extern int ticket_b2;extern int deleted = 0;extern int deleted_tmp;extern int order_type;int init(){      return(0);}int deinit(){   return(0);}int start(){   // At this...
I have a fxcm metatrader system and using the mt4 version. The download is okay but I am facing problems with the format in my Excel sheet. When the value is above 1 like the eurusd the input has to be divided by 100.000 to achieve the right value. When the value is less then 1 like the usdcad then...
Hi guys, i would like to ask for a favour.. i need an expert advisor, that its deactivateing<for the current day> all the another expert advisors activated on the account, when an X ammount of pipps it was been reached.. then on the day 2 its reactivateing back again from 00:00... The expert also...
Dear   I’m new on MT4. I’ve been trying for many days to Close an open Order (which has been set up with a take profit limit), before the TakeProfit limit is reach.   My initial command is :    OrderSend(Symbol(), OP_SELL ,Lots ,Bid ,3 ,0 , Bid-TakeProfit*Point, NULL ,16384,0,Red);   I have a...
Hi, I am using this functions: https://www.mql5.com/en/articles/1540 How should I clear the text in my csv-File? Should I delete it and create it new, or is there a better way?
Is is possible to take the BB_MACD_CCT_alerts_v2 indicator and turn it into an EA for any currency pair and in any time period? I am not a programmer and would not have a clue as to how to convert an indicator into and EA. Can someone point me in the right direction? I would like to back test...
    examp  up image   there have four of levels,but ,i want to get the levels's price,how can i do 
I still think that mt4 is lacking re: graphing of DrawDown. Does anyone know the best way to get backtesting data OR  live forward trading data into mysql? or into a spreadsheet directly?  I think that this ought to be the easiest way to graph trades and visualise drawdown in real time - albeit...
I have an application that requires lines to be drawn on the chart, I was told previously that this is not possible.  However in looking at other applications such the ZUP indicator or Fibonacci indicators, clearly this could be done.   Any guidance would be appreciated.   
Hi Guys - anyone heard of ProSLTP ? Google it Looks to be a cool management tool and you can try it 2 weeks, the only thing is  you need to use your e-mail and they will send it to you. I also used it for more then 3 weeks and I still can use it - maybe they forgot to  remove the protection LOL....
MT4 account Copier just Google it Very good forex account copier explanation. I have tested several, but best one - copier based on mt4 api. I've forgot url for video: copying speed comparison for copier based on api and scripts. If I found, I will post too.
is it possible to change the color of the comment and the size of it. Comment("\n                                  YOU ARE RISKING TOO MUCH");
Hello, I need a function for an EA that is similar to Print() but that takes into account the maximum length that can be displayed in the Journal-tab of MT4 without truncating the string. So basically I need a function that simply replaces Print() in the whole EA that then looks at the string I pass...
A query, when I have an Expert Advisor  running, and change the timeframe in platform Metatrader4, the EA restarts, and rerun the INIT function, my question is will also reset the values ​​of global variables?
i know this is a more general math question then a specific Coding question, but it's for my EA is there a way to add together chances eg Prediction 1 predicts that there's a %55 chance the next candle will be going up Prediction 2 says there's a 53 chance it will go up and prediction 3 says there's...
Folks,   I am confused.  Can you please explain for me Maximal and Absolute Drawdown.  I thought I understood but in my testing it shows a gross loss of 63 and a maximal drawdown of 4030 and absolute drawdown of 1715 but it never drops more than 21 below the opening balance ... how can that be?...
I'm trying to call CreateProcess() from MQL, without success. Following is the import declaration: #import "kernel32.dll"   int CreateProcessA(string lpApplicationName,                      string lpCommandLine,                      int lpProcessAttributes[],                      int...