[Deleted]
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.
[Deleted]
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...
[Deleted]
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...
<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, 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
An entry signal is given (e.g. buy). The Expert Advisor opens a position , places a calculated stop loss. The price which has been steadily increasing until then, instantly reverses and runs downwards to the stop loss, sets it and sinks the order. The Expert Advisor opens a sell position with a stop
Hi I am looking for an MT4 trader who lives in the Illawarra NSW to code an EA for me. Thanks
[Deleted]
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 ?
[Deleted]
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...
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...
[Deleted]
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...
[Deleted]
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...
[Deleted]
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?
[Deleted]
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.
[Deleted]
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. Would
[Deleted]
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?

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.