Download MetaTrader 5

MQL4 and MetaTrader 4 - page 120

To post a new topic, please log in or register
Guys, I'm extremely nervous, please help me. I use Linux. Earlier was able to install MT4 via Wine without any problem. Since the latest some builds of MT4 it is impossible to install the MT4. I get this: It requires I do enter proxy settings. As far as I know, I don't use any proxy. How this issue...
Is it possible to use the debugger with historical data with MQL4?  I see the button for it and the tab in the options menu to set it up but the 'Start on History Data' button is greyed out.
Hi all, I have this error when I load the attached indicator on a median renko chart. incorrect start position 2365 for Array/Minum (orArray/Maximum) function Could you help me? Thank you!
I'm just not doing at all well over this and feel that [most likely] I'm missing the point. Maybe I need .dll? if so how use? Have been to msdn but let's say that is easy to get lost - for me at least! All my searches lead to main chart and its subwindows where code runs. Not see any MT4 () that...
I've written my EA so that it always places pending orders.  If I want my program to go back later and check if that pending order has been activated what is the easiest way to determine that?  If the order gets activated, does the OrderType change?
The DDE data format has been changed since build 825. Did anyone notice that? Could MT4 have a configuration in options to select old DDE data format?
Hi,  i use GER30. Spread is 1 pts. I am SURE of it I have a BUY STOP AT 10000 with STOP at  9995. When prise is 10008 i change with my EA STOP. It is now at 10003. Price is now 10003. And my position is closed. But in my report it is a loss. And for all my trades . A reason ? To explain this, a few...
  opening conditions (12   1 2)
plz help How to code the lenght of candle shadow as a condition to order opening. if (x && x && x && 1000*(Close[1]-Low[1]) < 15 ) // max 15 pips of shadow condition - doesnt work - at image there is 40 pips shadow. { res=OrderSend(Symbol(),OP_BUY,0.1,A sk...
This one is writen in too small character :
Hi all, is there anyone who can share an expert to obtain median renko charts with build 971?   Thank you! 
I found a nice little *indicator* that allows the user to place horizontal lines on the chart as user-defined intervals (ie a grid type setup). However, the line color and style is hard coded and I want to change that so the use can choose the color, width and style of the lines from the inputs...
To Whom may help me. I have just installed the latest build and updates (June 2016) windows 10 64bit OS. Now  My latest build mt4 971 June 2016 does not show any trading. I am using exness and instaforex broker practice platforms and neither are showing trading of the currency pairs I am trading....
Hi there Does anyone know how to get a full report on a real EA like the one in the back testing (with statistics and chart)? TX 
Hi Sometimes, when I have a load of charts unmaximised, I maximise one of them for a while.  When I switch to the others they are maximised in window, but the window contents is still the same dimensions of the window as it was previously and the rest of the window is just black.  I have to...
whatrat
I keep getting this error when trying to compile: If the image is unclear, this is the link to the screenshot: https://i.gyazo.com/462889da7d1568ff1a55a76fc2d562a7.png It's the DoTick line called DowGap. What's causing it is that I used another, working file (for DAX) as a template, changed the...
I've written a custom indicator and am trying to hook it up to my authorization server. I've looked at https://docs.mql4.com/common/webrequest but of course you can't use it in an indicator, have also looked into using WinINet which just crashes, and I also tried https://www.mql5.com/en/code/10121...
Hello, When I running my EA in MT4 platform, server ping results becomes high. After I remove the EA, then results become very low (about 5 times, please look at attachments). Is it normal? Or do I implement or set something wrongly? And also in opening order which latency values are correct?...
hello guys, thank you all for the great help that you give to all of us. Today I ask you another thing. E 'can add a pause of a few minutes between a signal and the other in any indicator.
Hello, When closing an order partially, it seems (I'm not exactly sure whether this is what happens exactly) that the order gets closed and a different order gets opened with the remaining quantity. However, the comment of the "remaining" order changes to something like: "From #51461". Is there any...
Before b600 (b540 actually or whatever) standard way of writing indicators was to use start() function and IndicatorCounted() function. I have some indicators which are still written this way, however some got recompiled recently (i don't know when or why) and since then, they are not working...
Hi I'm not sure who to ask and didn't seem to find service desk here. Since the new build 971 came out my EA will not attach to chart nor open in backtesting. Does anyone know what the problem might be as previous version works fine.Please let me know if anyone has any answers or who to contact....
Hi Everyone I've been stuck on something for over a week.  No matter what I try, I cannot get this to work.  I want my EA to simply add the profit and loss of two open trades together, and if the combined profit and loss exceeds a certain profit margin, it must close both trades.  But it always...
Hey guys, I need some help please. I am trying to look for the time when the previous day high and low was formed. Below are my equations; they do give the correct prices, however they do not return the correct integers of the candles that formed the high/ low. Please help!  high=iHighest(NULL,0...
Dear all, I created my first code for creating and writinf a file using mql4. I want to be sure it works properly so I decided to write some welcome words every time I execute it. Sadly, the file is correctly created but nothing is written in it. I attach my code for the community to take a humble...
Why do different websites i.e. ForexFactory, DailyFX & FxStreet don't always agree on High Economic Events?   There are some events that are Medium on DailyFX and are High on ForexFactory.   Example:  "06/28/2016 12:30 GMT USD Gross Domestic Product" event is High on ForexFactory and Medium on...
New article Creating a trading robot for Moscow Exchange. Where to start? has been published: Many traders on Moscow Exchange would like to automate their trading algorithms, but they do not know where to start. The MQL5 language offers a huge range of trading functions, and it additionally provides...
I must admit I copied and pasted it!
Hello everyone. I am trying to close remaining pending orders when OP_BUY==0 void Check3(){bool result;int cmd,error;int OpenBuyOrders=0;cmd=OrderType();int total = OrdersTotal();  for (int i5 = OrdersTotal() - 1; i5 >= 0 ; i5--){    if((OrderSelect(i5,SELECT_BY_POS,MODE_TRADES))&&OrdersTotal()<14...
 Is there a way to attach or remove a particular EA mt4 script to mobile app like iPhone or Android and do the trading by enabling the EA script? If there is an option for this, kindly please let me know the steps to do this. Thanks alot!
Hello all,    I am struggeling with an error I constantly get from the order execution.   double BidPrice = NormalizeDouble(Bid, Digits); double SellingPrice = ( BidPrice-(TP/100*1.01) );                   result = OrderSend(Symbol(), OP_SELLSTOP,                         AdvancedMM()...