Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1033

To post a new topic, please log in or register
I'm trying to run a script on my demo account to open an order. The script runs but on sending the order the Journal just says script unloaded. None of my error logging prints out and the order doesn't appear. ANy ideas?
I'll break down my system to make sure we are both thinking in the same way. Here it is when I do it manually: 1. At X TIME when the market starts a new trading day. I look at thePREVIOUS days HIGH and LOW. (from now at 10pm to 10pm GMT the day before) 2. I place a Buy Stop at the High about 5-10...
It seems live update has a problem with Vista. Vista asked me for administrative permission when live update started. I allowed. But the download never started. It seems it's Vista only and XP is OK. Does anyone have solution? I'm now stuck with build 220. Please help. Thanks.
  free vps (1)
Hello everyone, does anyone know where i can get a free virtual server to run my ea? someone told me it's available, but does not know where. if you know where i can get one,kindly reply. Thanks.
I've run into a problem trying to change the name of function Criterion in my EA which is patterned from the usualexpert.mq4. I wanted a unique trading criteria/strategy name to differentiate it from others in the metatrader include folder. The function has been renamed in the list of include files,...
Can somebody please tell me how to back test with the Strategy tester correctly? Every time it runs the test, it has zero results, zero trades. I downloaded the history files and set the expert key correctly (I believe). It doesn't give any recognizable errors in the journal. It runs the test, or so...
Is there a way to keep drawing an object on a chart, with the same name, continuously? Is there a way to make the name a variable?
I'd like to check the value of an indicator on a different timeframe to verify a trade. Let's just assume that it's ANY indicator, custom or not. How can this be done?
hi, i started to do my first expert advisor, but first i had to do the indicator.... somebody can say to me whats the diffence between the indicator and the expert advisor? why i have to do the indicator first? i'm trying to do with just parabolic sar, someboby have some advice to me with that...
I want to modify existing orders when the price action has moved beyond 50 pips from the order open price. I have the following using the ticket variable of the last opened order but the strategy tester does not have any modified orders only buy and sell. ANy ideas? Would it be better to find the...
Hello, would anybody help me adjust my EA so that it will work with a 5th decimal place. I have 2 EAs that need adjusting.
I have the following if statement to be entered when the target profit is 50 pips (500 for 5 decimal systems). I can't get the value to exceed 500, am I doing something wrong with the *Point part? if (OrderType() == OP_BUY && (Bid-OrderOpenPrice())*Point >= 500 ) { //...do code } In my debugging, as...
  OrderType 0 (1)
I am debugging an EA script. WHat is ordertype 0 ? The MQL4 book only ciontains the names eg BUY for(int i=0;i<OrdersTotal();i++) { OrderSelect(i,SELECT_BY_POS,MODE_TRADES); if(OrderSymbol()==Symbol()) { Print ("OT: " +...
MQL4 gives an error with this code: ERR_NO_ERROR variable not defined. This is the code I got from the MQL4 book. void logError(string functionName, string msg, int errorCode = -1) { Print("ERROR: in " + functionName + "()"); Print("ERROR: " + msg ); int err = GetLastError();...
Hi All - I am having with the above code: for (i=0, i < TotalOrders() First thing to note is that I am using trade context code with global variables to prevent problems with trade timings and trade context errors. My code places a pending order or modifies an existing pending order immediately...
I am looking for an indicator that will provide notification when a price level has been reached that has entered by the user, thanks for your help
Is ther a way to create an fib indicator in a separate window? I would like to overlay on point and figure indicator. Is there a way to do this? I know it can be done manually but would want something more dynamic.
This indicator has two lines (high=buffer(0) and low=buffer(1)). Essentially, when both lines are low it is a buy signal, and when both lines are high it is a sell signal. Also, the distance between the two lines is a measure of price stability (the greater the distance, the more instability there...
Hi my first post here and greetings to all and thank you for clearing this. Am I alone in seeing this issue between "Indicators" and "Custom Indicators"? Probably... Maybe I'm missing something or I've altered the Client Terminal (CT) settings, Why are there different indicators in the "Indicators"...
i want take a live forex metatrade course in london, somebody know one tk
Hi, could somebody please tell me what's wrong? My EA should only open 2 pending orders: 1 buy stop and 1 sell stop.  But when i test it in strategy tester SOME TIMES it opens too many unwanted sell stops (or buy stops). I mean when it comes to X candle it does open only 1 order but on other test...
If I have Fibanocci0 and Fibanocci100, how do I determine the rest of the lines?
Please visit this site: www.pipcast.net Site is tested between a group about 200 of selected users for a period of 20 weeks and the performance was satisfactory. Please use it and let me know your comments. Thanks in advance
How do you remove the downloaded data from strategy testing? This has used up a number of Gb from my hard drive. Thanks
How do you round a number to 2 decimal places in MQL4? MathROund only does it to integers and has no input fordecimal places?????
I am about at my wits end with having to make exceptions for normalized double's that don't make sense. I have had most of my troubles with conditional if statements There are several occurrences of this problem throughout my expert. Most I have either found a different algorithm to handle the...
The value here comes out as 0.00 What am I doing wrong in the iMA ? Comment("Teeth value (red) is: ",DoubleToStr(iMA(NULL,0,TeethPeriod,0,MODE_SMMA,PRICE_MEDIAN,i),2)); This only happens on GBPJPY
I have two points: orderopenprice() and High(1). I need to simulate a Fib Retracement between these points by drawing a line from the open price thru High(1) to get price points. How can this be done?
Please help to set time points: I want to set a time point that's sometime before a given time, for example: TodayDatetime=2009.07.09 0:00, to calculate a time point that's two weeks earlier: TwoWeeksDatetime=TodayDatetime - 2*7*24, time unit in hour, the problem is how to make this work? Thanks,...
1...102610271028102910301031103210331034103510361037103810391040...1250