Download MetaTrader 5

MQL4 and MetaTrader 4 - page 450

To post a new topic, please log in or register
Hi everyone, I'm using 6 years of tick data to test my EA and for some reason my stratey tester stops after 3.5 years. My FXT file is about 6 GB.... any solutions? TX
Hi, what exactly determines the order, in which MT4 opens the charts specified in a profile? Is it by the chart number in the profile (chart01.chr, chart02.chr, ...)? And what is the meaning of the file order.wnd in the profile directory? Thanx.
Hi, Coders, Happy trading! I am trying to build a custom indicator using several arrays. The way I used them is like this: Array B [ ] is the sum of certain number of Array A [ ]. Array C [ ] is the sum of certain number of B [ ], and D [ ] is the sum of C [ ] and so on to many levels. When I...
Hey everyone, I have an MQL4-EA which has awesome Backtestingresults for the last 6 month. It works on M1 DE_30, it's based on scalping and these are the results of 6 month: When I developed it, I only looked at one month and these are my first results on 6 month (so I think it's not overfitted...
There are no 64-bit version of MT4? 32-bit version of MT4 only supports four threads, can not make full use of CPU, historical test is very slow.How MT4 supports four threads above?
Greatings coders, I've found out that the first closing price from a given period isn't always between the high-low price range of that period. Can someone tell me if there's anything wrong with my sample code? Thanks for any feedback! Jim doublePriceLow,PriceHigh;int start()  { if(Bars < 60) {...
I'm a week in so I'm really green with coding. Especially since I have no programming background. Below is section of code I wrote to close an open order at a specific time. Although it compiles fine the orders stay open. I hoped I could get some pointers. I've only got OP_BUY in the section...
Does anybody of you know about performance-fx.com?
Other than zooming in and out. How does one set up charts for specific time and days? Such as; 1 hour 30 day 15 minute 10 day Yes, I am new at this. Thank You Joseph
I want to know how I can setup the metatrader for "gmail" Emails to receive the emails alerts from the EA ?? please help me specially for "gmail" server what should I write in smtp ?? and also the other fields. thanks in advanced
update many time !but the bug still be there! EXPERTS-LOGS file. it still need manual delete it. every month will have a huge file!when it can be auto delete?
According to the account types: Lot per ticket is restricted to 100 lots max. for Micro account, and 50 lots max. for the standard one. Now, suppose that I need to send order having 330 lots with Micro account upon triggered signal. Please hint me about how to design a loop to handle repetitive...
Hi, All I've got a few quibbles with the latest version of MT4 and wonder if anyone else has seen similar things. One thing that bugs me is that with the 500 - 509 releases of MT4 the ability to modify stops and take profit levels appears to have undergone a radical change. I've seen others voice...
see the pic
Hello all! I'm trying to launch a new chart via a script like this: hTerminal = GetAncestor(WindowHandle(Symbol(), Period()), 2);PostMessageA(hTerminal, WM_COMMAND, 33160, 0); then trying to change the Pair/Period of the new chart using: hwnd = WindowHandle(Symbol(),Period());SetWindowTextA (hwnd,...
I want to export history data for back testing, after exported, when I want to open the data under office excel, an error message was shown that "file not loaded completely". I would like to export 10 years data. May I know how to do that? I won't be able to export 10 years data. Thank you!
Lots=MathFloor((AccountFreeMargin()*AccountLeverage()*Risk*Point*100)/(Ask*MarketInfo(Symbol(),MODE_LOTSIZE)*MarketInfo(Symbol(),MODE_MINLOT)))*MarketInfo(Symbol(),MODE_MINLOT);Print(Lots); When checking the log, I continue to get a calculation of 0 lots, so this error perpetuates: 2013.07.17 17:47...
Im trying to make a custom indicator that will draw a rectangle when ihighest-ilowest of the last "n" bars is less then "r". I have tried altering other custom indicator thats draw rectangles based on session times, and have also read about custom indicators in the mlq4 book but still i have had no...
I am running the same EA on several different demo accounts. The EA properties will not open on one of the brokers. I have to delete the EA and reinstall it to access properties.The other brokers open without a problem. Any suggestions on why this is happening?
New article Alert and Comment for External Indicators. Multi-Currency Analysis Through External Scanning has been published. Alert for multi-currency and multiple time frame analysis of external indicators. The article deals with a method of getting event information in respect of events in external...
Are there any general methods to reduce execution times? The ping time to my brokers MT4 server from my VPS is < 1 millisecond, still it takes between 100 and 200 milliseconds to send an order and have it confirmed back. How can this be reduced? Why is this time variable, it only depends on how...
Hi, I wrote the EA. Which will run one pair per chart. Is this possible to run multi pairs by attaching the EA to single chart. Eg: I attached the EA to EUR/USD chart. currently my EA will work for EUR/USD pairs only. for additional pairs i have to open new chart and have to attach EA. Question: By...
Hi, I've been using Ninja Trader for quite some time now: I love and need its tick charts. But only futures brokers offer it, and I need the low margin and low ticksizes of CFD/Forex markets. I like MT4 too, but it does not have tickcharts. So, I've been thinking whether the two programs are...
Example - FTSE 9pm close, 8am open (on a certain broker). When downloading the (paid for) historical dataset, for some reason in the 1minute data, the gap between the 9pm close and the following 8am open is bridged, by the 08:00 1min candle. More specifically, the close of the last candle on the...
Can anyone tell me why the trend indicator will not load on teh chart when I go to drag it there nothing happens. I have treid recdompiling it but it says decompiled code cannot be used. I did not steal it it has been in the library for a number of years how do I fix it. Thanks here is the link to...
Hi Guys, I am newbie here. As stated in the said subject, could anyone recommend me a good trailing stop ea? I have been browsing around and not able to get it. Many thanks.
hello admin.please help my.why my EA not running in mt4 this my script EA. #define SIGNAL_NONE 0 #define SIGNAL_BUY 1 #define SIGNAL_SELL 2 #define SIGNAL_CLOSEBUY 3 #define SIGNAL_CLOSESELL 4 #property copyright "Expert Advisor Builder" #property link "http://sufx.core.t3-ism...
Hello everyone, im trying to add the decimal points for the lotsize that my expert advisor can handle. currently it is only using 2 decimal places that is 0.01 but i would like it to use 0.015, i have tried to do this with NormalizeDouble function but im not getting the desired result. is there...
The first sorry for my English. This is what i want: When the EA is running, in the one candle, I want the first order has Stop loss and Take profit = Stop loss, but the orther orders in this candle i want they have Take profit = Stop loss * 2. Thank all :)
Please someone should help me via my email address emmanuelmba13@rocketmail.com