Download MetaTrader 5

MQL4 and MetaTrader 4 - page 711

To post a new topic, please log in or register
Hi, everyone, So, I have a following situation, I'm making an EA for the M5 timeframe - and this is where i test it, but i want to be collecting some data from the M1 frame meanwhile... when I run it in test the iTime(NULL,1,0) gives me zero... but the iTime(NULL,5,0) give me the legit 5 minute...
hola plz i need your helps. i have an array withe a price of n(number) open orders and i want compare a new price withe this n price if it s different so open a new orders.the code that i use it s for(int i=0;i<=n;i++) { if(new_price=open[i]) ;...
Hi, Is there NO ONE in this entire forum who has written a simple Indicator or EA code for just creating and Alarm and Alert Window (with reference in the Alert window to the respective FX pair !! say: EUR/US$ SR or RES is hit) when one SR and RES line (moved by standard double click and drag by...
After playing around with EA's for a bit, and using the strategy tester mainly to see if the code was actually working I'd now like to progress onto the real why of the history center, and how to use it properly and I can't seem to find the answers or something comprehensive on it. OK I get...
How can i make an indicator on m5 appear on a m15 chart ?
Hello to all I have eliminated all errors and warnings : ) with exception of the "function definition unexpected" grrrrrr Have a look at the code and see if you can resolve. The problem is where the code shows the 'int deinit ()' Thanks very much for having a look. Regards Huckleberry //--- input...
Hello again (from the the latest 'up and coming' MetaTrader 4 expert)!!! LOL!!! Here's one for you. Would you say that 0 (as is ZERO) is equal to 0.000001??? Stupid question??? Read on!!! LOL!!! Take a look at the first chart. In the last (second) indicator on the chart I am 'forcing' the 'main' or...
Hi I have an EA with that uses FTP to get certain data, sometimes I find this error comes up and I have to restart the terminal to correct it, can anyone comment on the causes of this error:    int hSession = InternetOpenA(AGENT, INTERNET_OPEN_TYPE_DIRECT, "0", "0", 0);   if(hSession <= 0){...
Hi all, While backtesting on MT4, I found these missing 15 min data from 12 March 2010 22:45 to 25 March 2010 22.00 (Alpari MT4 Server Time). The history centre also showed no such data, same for 1min, 5min, 1hr and all other time frames. I have updated all the data from Metaquotes. Does anyone...
Hi, I'm new to MT4, and still learning to adapt with its utility....Hope through this forum can get help help to translate this script (from Thinkorswim platform) to MT4.... Tx in advance... Rgds, Gugun #---Star---t# declare upper; rec price = ((high + low) / 2); input alpha = 0.07; rec itrend =...
Hello, could anybody tell me if in MetaTrader 4, it is possible to add indicators to an indicatort itself? Meaning, if I use solely the ADX indicator, would it be possible to put a moving average on that same ADX indicator? ( so not in the price charts but on the indicator) Would be wonderfull if...
  Optimize Indicators ? (14   1 2)
Is it possible to Optimize Indicators? If so, how ?
I'm doing some VERY time sensitive trading and the info in the 'Experts' tab in the MT4 terminal window itself is lagged (up to 12 hours) and sometimes doesn't have the most recent info including transpired trades that I need VERY accurate time logs of. I'm finding that all other time sources of...
Hi: This may appear to be a stupid question but could I hear some feedback on what are respectable profit factors. Obviously anything over 1.0 is an accomplishment but at what point would you say is a good (safe for trading) PF? Thanks for any input. Also does anyone have any interest in...
Is the multiterminal has max_user limit?
I have a free custom indicator (as a ex4 file) which I would like to reference from an EA. All I need is access to the information displayed in the data window - the value of the indicator at a bar. Logically speaking it should be possible to get this information, since the metatrader software has...
How to draw the result of iSAR.... on H1, M30....?                 int Count ;                int Bar ;                                Bar = iBars( NULL , 240 ) ;                Count = Bar - 2 ;                                while ( Count >= 0...
Hi...i want to adding leverage data (1:250, 1:150) to the list of leverage (combo-box/list-box) when opening a demo account...can anyone help me?
my Ea keeps opening same type position when it opens one and make profit it will open another one on this same direction after takeprofit point even if trade is about to go the other way. Pls i need a simple order management code that will prevent this from happening. i want the one that will wait...
Does anybody know if it is possible to code an expiry date from the date the expert is first used rather than having a hard coded date?
  Trading by Fibonacci (11   1 2)
I want to do in Forex by Fibonacci Trading Fibonacci price levels that can not but I do not identify Please help me
Can someone show me where I can find an example of output from a DLL being plotted in separate windows, or direct me to the relevant part of the manual - i.e. one DLL writes to several indicator buffers and I want to plot a few of the buffers in the main chart and the others in one or more...
I have a custom indicator in an EA that continuously loops the following error messages. I cannot find anything in the indi that would be causing this. Can someone provide me an opinion on what the cause could be? loaded successfully initialized uninit reason 1 removed .... repeats
I have a EA, I run it, but it is an error "OrderMofify error 1".Please help me Thanks
Guys, i'm new to metatrader 4 platform. the platform is indeed a great tool offering many benefits. I have downloaded Swiss Army Knife and e-Trailing EA to better manage my trades. It seems that they're not working properly. I can see a smiley face in top right corner and logging on the left side,...
We continue to publish materials that will be very useful for the potential participants of the ATC 2011. This time we consider algorithms that will help you to check whether trade operations comply with the Rules of the Automated Trading Championship 2011. Our purpose is to create a class of trade...
Hello, I am a total newbie, and Im just creating my first EA, using ADX crossovers as signals for buy. My problem is, that even though I wrote a code, which should trigger a buy signal when the Di+ line crosses the Di- line from the bottom, and should close the order either if SL/TP functions are...
Hi all - Is it possible to run an Expert Advisor on two different charts (i.e. EA on EUR/USD and AUS/USD) at the same time? If so, how do we accomplesh this?
Hi ev1, I have found this ea made by metaquotes avalible for free on many websites and forums.There are many versions of this EA such as v3, v3.1,v2.0,etc.None of these versions have anything different except changing the number of lots,changing the number of opened positions,etc.People of the...
Does anyone know if their is any documentation of all of the (hopefully standardized) specifics of the News releases that MT4 receives is available? Thanks for any and all info or suggestions.