MQL4 and MetaTrader 4 - page 727

Dear community, A strategy is more than running the best of the EAs on one symbol. I was wondering where is the limit with MetaTrader in terms of number of charts where one can attach an EA? Let's say you have developed an expert doing a few dozens of operations (which is more or less what is needed...
Hi, as everybody I see the rectangle at the bottom line of the terminal. Now I find it sometimes on the right corner sometimes on the left corner. One broker shows a green triangle above a black one, the other broker a green one above a red one. If it is on the right side I can (all the time?) click...
[Deleted]
Hello, Ive got a little Problem with the mql4 array funktion. I want to open a chart with the ChartOpen() funktion in different timeframes . To make it easy, Iv set up an array with all the different timeframes. Then, Ive inserted it into the ChartOpen() funktion, like int the Article: ,,Mql4 for...
The converted time frame(in this case m4) is stuck on 'waiting for update' for any period you input for. 'Offline chart' is selected as well so this ins't the problem....
[Deleted]
anyone any ideas why a dll call to fnTest(double d, long l) causes stack damaged but e.g. fnTest(long l) or fnTest(double d) or fnTest(double d, int i) are ok
[Deleted]
  MACD greater than 0 bug  (12   1 2)
Dear people, I have been struggling with this problem the whole day yesterday. It seems such an easy task, but apparently it is not. I just want to look at 3 MACD values and when they all 3 are above zero, I want to plot blue dots on the 0 line. And when all 3 are below zero I want to plot red dots...
Hi, answering the question of  deysmacro  I saw this link (https://www.mql5.com/en/articles/1540) between his question and the first answer: File Operations via WinAPIEnvironment MQL4 is based on the conception of safe "sandbox": reading and saving...
Hi Everybody. I dont understandin why my script that ran perfectly now have erros. My metaeditor was updated to 5 but not to mql5, continue being mql4. But now I have an error here: string PipeName = "\\\\.\\pipe\\Perpendicular_as_Client";        int PipeMode =...
I continue to find that charts lose data over time. And I use the Charts/Refresh menu option to restore the missing bars, and it works. Q: Does RefreshRates() restore the missing bars like Charts/Refresh, or is there another MQL4 method that does?   Thanks!   
I have been testing this EA for a while now. But it's not Performing as Expected.   My requirement was that the EA should Open trade just Once after fulfilling a trading condition. Like if the 'Buy' condition is met, it'll Open Buy trades just Once. It wont open any more trade if the current trades...
Hi guys, Hope you all are doing great, I want to know whether there is a way to stop a custom indicator from working when the internet connection is offline or not ? thanking in advance; Parham 
HOW TO CLOSE all the remaining openorders of the same symbol when the first trade is closed? Here is the ordersend for the first trade with unique takeprofit and comment. OrderSend(Symbol(),0,b_lot,Ask,3,0,Ask+tp,"L"+1,magic,0,Blue); i thought for a long time but could not find a way. best way i...
Have you guys experiencing it with your broker? Because mine happens a lot recently and until today still happens. Is it to be expected or the broker is trying to lower the winning streaks so that eventually it will become losing trades ? Of course the requested price is correct at that moment of...
Hi, Is there an external program to view hst files ? For ease of workflow, I would prefer not clicking so many buttons in MT4 to view hst files. Is there any other third party programs to view hst files ?
[Deleted]
Hello, I´m a newbie to Metatrader and I don´t understand why I get different results for ADX in Metatrader platform for a given time period, as compared to the normal platform from my broker (Oanda). I also tried another platform (Fxpro) and I see exactly the same difference. Please seethe 2...
Is there a function to do so ?
how to tell mt4 to update its log file when we want / or at least faster? I tested something: when you have an EA that prints something in experts tab, the mt4 does not write that to the log file immediately, even I waited for 5 minutes but still not! but when I closed mt4 it wrote those logs to
Hi, I am quite new in using MT4 and started learning MQL4 and it is relatively easy as I come from programming background. I have an indicator which is developed by a third party company therefore naturally no access to the source code. my aim is to create some level of automation when the 3rd party...
  Account names  (2)
Please can someone tell me if it is possible to change the MQL4 account name
hello all,, i'm newbie in forex and i've just istalled mt4 in my PC. i want to know how to install currency strength meter at my mt4.. thanks.
[Deleted]
I am sending signal from mt terminal to android and ios,but i cannot view the notification in MT4 Mobile=> Message.Any solution to save or view the notification.  :)
[Deleted]
  Sound's problem  (9)
I can't get any sound fromMT4 platform, with version 4.00 and build 670, on a Windows 7professional 64 bits, NO sound at all, not even the connection anddisconnection just for starting, not even the alarm from customindicators, the Options setup is correct, and the sound files arewell installed and...
[Deleted]
Hello, if i want to codeing a trade copy software for metatarder, which is the best technic to use. I have use in the past a EA programm which send and read a php file that is online on a webserver, but i have the feeling that maybe other technics are better. Is it also possible to codeing somethink...
[Deleted]
I am struggling to get a close from a historic bar, a bar from over 5 years ago. I have the following code: extern datetime FromDate=D'2009.01.01 00:00'; extern datetime DrawAtDate=D'2014.01.01 00:00'; I have 2 xmapbuffers Then I draw the fromdate at the drawatdate Of course there is a price
[Deleted]
Does anyone know how to open a Metatrader4 chart with a mql4 script. Should I have to use ChartOpen()? For Example: I just want to open the Eur/Usd chart with a specific template. Thanks a lot.
When using Mt4 on my mac it uses a lot of CPU usage, 30% constant. And I think this might be because Mt4 download insane amount of data, in 24h it downloaded close to 50GB. Yes! I have disabled "News".  
New article Indicator for Constructing a Three Line Break Chart has been published at mql5.com: Previous articles considered Point and Figure, Kagi and Renko charts. Continuing the series of articles about charts of the 20th century, this time we are going to speak about the Three Line Break chart...
[Deleted]
Hello! I am running an EA that puts every hour an order wiht random direction and close it one hour later again. I want to run it 1000 times to show that the results are normal distributed.     if(  iVolume(Symbol(),Period(),0) == 1)        {         int num = 2*MathRand()/32768;...
As I want my order to close based upon something like "If( BarClose 1 > BarClose 0)"  for longs, how can I write the section so that it WAITS for "Bar 0" above to close BEFORE checking the comparison?  For a visual example:   In this example above, because Bar 1 Close was GREATER than Bar 2 close,...
double MA1 = iMA(NULL, 0, 5, 0, MODE_EMA, PRICE_CLOSE, 0);double MA2 = iMA(NULL, 0, 15, 0, MODE_EMA, PRICE_CLOSE, 0);if (MA1 > MA2 && ....){Buy=true;} how can I add a min. distance fex. in points after the cross and what would be the best way? signal should be triggered only if the distance between...