General - page 2010

Hi, I've been playing with MQL 4 now and all seems to be well - in fact it looks great! Just wondering though, does anyone have an idea as to when the trading simulator part of MetaTrader 4 is due for release?
Build 140 1. In Parabolic SAR stored 4 digits instead 2 digits. 2. Updated MathPow function. 3. Updated custom indicators reinitialization. 4. Added show ASK line property. 5. Updated EMPTY_VALUE constant declaration. 6. Updated CFD profit calculation. 7. Updated days' bars creation for...
Hello, is there any page where i can find a list of Forex brokers which will update to Metatrader 4? Thanks, Miguel
  Magic number?  (2)
Hi, Does anyone know what the 'magic number' in an order refers to?
I think I've discovered a problem with the MQL function "StringFind()" in MetaTrader 4. When running the following code: endIndex = StringFind("abcdefg abcdefg","d",9); Print(endIndex); return(0); I get the error: "invalid integer number as parameter 1 for StringFind...
Just wondering if there is any way of checking whether the contents of a single string variable or string array element has been assigned a value? A statement such as: anyArray[10]; if (anyArray[6] == johnny) etc.etc returns a "not initialized string in array" error. A 'Print(anyArray[6]);'...
Build 138 1. Updated "Color pick" Tool in Expert Advisor Wizard 2. Updated History Pumping properties after reconnection 3. Function RefreshRates() return "true" by real history updating 4. Updated StringFind() function 5. More detailed answers by order confirmation are implemented 6. Updated...
Hi All I am new in this forume but I Realy need your kind asistance in writing a simple sintence of MQL code. I need to write a code that will give me the 30 minute chart high, low, and close inorder to use them in the devlopment of my new tarding system. Looking forward to hear from any one of...
Greetings all, I am trying to calculate a formula that will allow 5% of account equity to be used as lots size. So on a 10k account it would set a lot size of 0.5 lots, 50k acc would be 2.5 lots etc...... This is the formula. Levv = MathAbs((AccountEquity()*Perc/100/100)/10); Perc is declared...
Thought it might be a good idea to have a bug report list per version? Well, here's the (possible) first for build 137... If the following piece of code is run, the output is as follows: string splitArray[]; Print("ArraySize: " + ArraySize(splitArray)); Print("splitArray(0): " +...
This topic will inform you about current MetaTrader 4 Build. You can download new build from following link: "MetaTrader 4 trading terminal"
  Charts  (1)
Hello, What about the charts????? Close and open price must be the same. Funny charts...Please make corection!!! How Expert can work on base of this charts???? Thanks Vlad
Incomplete implementation of StrToTime() (1) The following MT4 command does not work: var1 = StrToTime("2003.8.12"); // returns with current time (a) I am using StrToTime in the following MT4 function: int Now() // Creates current PC DateTime { int iNow; string sNow; //Need to format as...
  Trailing Stop  (6)
Hello, Could you please start Trailing Stop (TS) - 5 points, 10 points, 15...from your server. I can make my Expert Advisors program with Trailing Stop 5, but if i'm closing my computer Expert is not working. Who is using 300 points TS in Forex? How is working you TS? It is posible to make TS...
Hello You are doing an outstanding job in MT4. Congrats! You have added this valuable "Angle in degrees" box tool in Trendline by angle and Text. Although there is a work-around to accomplish the task, it would be greatly appreciated the addition of this tool in Channels_Fibonacci in a further...
  FileOpen  (6)
I took the following sample from www.metaquotes.net site. I am not able to open a file using this sample. The FileOpen function returns -1. Does anyone know what could be the problem? Code: int h1; h1 = FileOpen("mydata.csv", FILE_CSV, ";"); if(h1<0) { Comment("Unable to open file my_data...
  Library Question  (1)
Quoted from Metatrader web site: "Libraries are user functions libraries where frequently used blocks of user programs are stored." I need a kick start to understanding the proper use of MQL4 libraries. How do you access or call the functions and pass parameters to them? What do you write and...
Hi everyone! I'd like to invite you to check out a toturial about Technical Analysis by MetaQuotes. 2 thumbs up for this short yet informative guide. I like Technical Indicators pages the most, since each indicator is well documented with example + formula.
I noticed an option to enter the email address under Tools-->Options menu. Where do I use this feature? Is it possible to send an email alert from an indicator or expert? If yes, can you please show a few lines of code that sends an email. Thanks very much.
Hello, first of all, as a trader, I want to congratulate you Metatrader 4 and as a web design company CEO i want to congratulate you for the new web site. A few sugestions: [Web Site] - You should post a list of brokers which use Metatrader 4 organized by countries. This is very usefull....
  Debugger  (1)
Could you please add to MetaQuotes4 debugger, a program that can help us quickly locate many of our programming mistakes, a tool that gives us control over the program we're running. We can use the debugger to temporarily stop our program's execution or execute the program one statement at a time
When I use the open the Bollinger Band Indicator, it comes a dialog box of setting parameters including Period, Deviation, apply to, color, and shift. Shall I write StdDev number into the Shif Box, or something else?
There's only Bollinger Bands indicator in MetaTrader. Is there away to add the Bollinger Bands Width Indicator? Thanks!
I am trying to convert the following MQL II code to MQL4. The MQL4 code is below. Can someone tell me what is wrong with my converted code? There are no compilation errors. The arrows appear like a line. MQL II Code. ======== For shift=Bars-1 Downto 0...
One of new features of MetaTrader 4 is opportunity to open accounts with different currency deposits. Starting from 128 build its possible to choose "forex-jpy" and "forex-eur" accounts also. Results of all trading operations will be calculated in these currencys too.
Hi for All, Dear MetaQuotes Software Corp., first of all, thank you very much for your effort to build MT4, I think that I will like it. Questions, Ambitions, Expectations: Why there haven't been implemented "TICKbyTICK TimeFrame view", in that case there will be the possibility for higher...
Is it possible with MQL4 to draw lines at certain price points and such?? If so would it be possible to get the code for something like that. Smoothice
It should be included in the installation pack in a directory titled "API", or downloaded from the Products page. But none of the two options was valid.
This is my first attempt at mt4 code. Having no formal training in any codes I am sure there are some mistakes. The code compiles with no errors but it does not work in live trading mode. Why ? Any help or fixes most welcome.. PS.. Well done MT tech guys, some great new features in MT4 GT......
  Code Examples  (5)
It would be nice if we could get some MORE code examples and a more detailed user guide, in any language.. New product looks great and am looking forward to using it live.. d