Download MetaTrader 5

MQL4 and MetaTrader 4 - page 218

To post a new topic, please log in or register
Hi, as I (Win7, 64, Term. 840, Editor 1154) wanted to compile  some of my old mqh I get some new previously not known Errors: => 'WindowHandle' - function not defined    Win32FuncsAll.mqh    846    27 This is the function: void EnableOrdersHistoryAll(){   int main = GetAncestor(WindowHandle(_Symbol,...
There are 2 parameters for the TesterStatistics() function: STAT_BALANCE_DDREL_PERCENT and STAT_EQUITY_DDREL_PERCENT. I'd like to know if STAT_EQUITY_DDREL_PERCENT includes previous balance drawdown, or these parameters are fully independent? I.e. is equity drawdown about 0% for each new trade?...
Who knows whether there is a function or code that can read out the commission of a forex symbol before opening orders?  
Hi,  I'm thinking about learning MQL4; I wasn't at first because I thought that Ninjatrader would be enough. Pretty much all of my strategies created be me to enter a trade as soon as the conditions are satisfied--not after the bar has been completed. It was a reason why it is done like that with...
Hello everyone, What happens when my mt4 loses internet connection and then reconnects; will an active EA run the Onint function again?
Before there was no mismatch error. but currently shows so many mismatched erros in thousands? Note: today What i did is i removed all history datas and tried download from broker from history. but there was no data, so i restored all histories which i was deleted. now when i try testing it shows...
jlllllllllllllllllllllllll
I started out simply wanting to avoid NonFarm news and make sure in tester orders were not triggered, first Friday of the month, relative hour news happens. The effort started out as ...    if(TimeDayOfWeek(TimeCurrent())==5 && TimeDay(TimeCurrent())<=7 && TimeHour(TimeCurrent()) == 15)...
On my PC with the older version of MT4 I can easily get renko charts. On my laptop with the new 600 version of MT4 I cannot. The EA is there and loads easily onto the base chart withal the indications it is working. However, when going to OFFLINE the M2 time frame needed is not there to get the...
Hi all   I have been searching and searching, even tried myself and failed to find / code an ea based on:   BUY Price closes above Moving average EMA High 20 ... AND ... SAR below price bar ... 0.1 lots with adjustable TP  If that fails then a sell position is initiated  SELL   Price closes below...
Hi, does somebodyknow an Indicator for MT4 that allow the user to draw vertical lines at some repeatedtime periods? Forexample, every day at 00:00 and 12:00. Or probablyexists in MT4 some kind of trick related to the CTRL+Y command.. Thanks!
Exercisingor Workout is the most trusted way https://www.linkedin.com/pulse/diabetes-destroyer-system-review-krishna-raj of weight loss. It is highlyrecommended as it is also a great way to enhance fitness levels andbe healthy. Many of ways that rely completely on diet alterationsthat deprive body...
Muscle Matrix Solution Review BeforeI dive into helping you select a foam roller I want to address themain two reasons why you should be using one Essentially,there are three types: Polyethylene EPE, EVA and molded foam rollers. Fromthere we get into the brand specific ones, which tend to outlast...
How can we put trade history on to graphic? Any script for that?
Can I set a limit of, say 3 or 5 trades (max) in MT4 ? This would greatly help my overtrading and discipline. Anyone? 
It’s mandatory to research different brokerages and few factors which must be considered when doing this are It’s advised to search for an experienced brokerage as its shows that the company understands what they are actually doing.It’s good to see that whether the brokerage is being regulated by a...
Hi all, I have created an indicator based on price action but I only want the signal to appear if the three signal candles are roughly the same size in other words non VOLATILE moments. Is this possible to code ? How would I do this? Big thank you in advance
Is there a syntax that would give the # of trades currently open on an account?
Hello guys, im getting the following error: "array out of range in 'IndicadorV1.mq4' (63,5)". I want to make a code like this: double=med[]; int OnInit()   {    return(INIT_SUCCEEDED);   } void OnTick() { if(ll!=Bars) { ArrayFree(med); ArrayResize(med,1000,100); for(int i=0; maxmin==False; i++) {...
Hey guys,   If you could change/improve anything on the MT4, what would you do?   I'll start :) I would love to see the MT4 to provide a margin calculator from within the platform so I can calculate my used margin before I open a position.    Looking forward to hearing your opinions!
Hi,  My expert works fine when I use it on one pair. I mean drag the expert on the chart and let it execute. But when I use an array of pairs to open position on multiple pairs, It doesn't work. It seems still tries to open position on some other pair. It returns error 129 (Invalid price) static...
Hi,  i can't find history 2010-2012 for EURUSD 1 Hour Timeframe in my MT4. it is possible to get it?  How? Please help me.   
Hello,  How many objects can I create on a chart, without computer resource issue?   Regards, Pierre8r   
I am pretty sure that for some time it has been possible to send orders to an ECN broker with a stop loss as long as it is from an EA. I was getting the invalid stop error on the latest EA that I am working on and just couldn't find the problem. I changed the code to send the order without the stops...
Hi, I know it is possible to set more than one opening rule to open a trade with the use of multiple "if's", but how to assign a closing rule to each opening one? Please, treat me like an amateur. I mean, some simple template would be welcome. Thanks. 
Hello,   We have few clients which are using VPS. There is a problem with the machines : all of them consumes 100% of the resources. I have investigated this issue and found a few processes mt4setup.exe and mt5setup.exe which consumed 99% of the whole VPS resources. Of course, there is no setup...
Ever since this new MT4 build is released in June,I am having issues installing and running my custom indicators.   I save them in MQL4  folder of indicators but when I run my mt4 there cant be seen in the custom indicators tab,same is the issue with templates,I save them in templates folder but...
my function call line in start() is   LN(1,"+ 100", H, White); my function is void LN(double n, string nm, double val, color CL) {    string NN = nm + DoubleToStr(n,0);    ObjectDelete(NN);    ObjectCreate(0,NN,OBJ_HLINE,0,0,val);    ObjectSet(NN,OBJPROP_COLOR,CL);        string nmL = NN + "_Label";...
Hi, I will code your strategy for free, just post it here in detail.   About Me, I've been professionally developing indicators and scripts for quite some time now. I also do trading.    What's the catch? Obviously coding is pretty hard work. Actually I am starting a blog where I will post results...
Hey, It seems that I keep getting an error: "System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=6.0.0.0, Culture=neutra" This doesn't occur when I run the process from a configurable application that can contain:  <dependentAssembly>         <assemblyIdentity...