Archive for November 17th, 2009

C++ and MQL5 – MetaTrader 5

Posted on the November 17th, 2009 under Trading by berny

People have been asking if the code of MetaTrader 5 (MQL5) will be similar to C++?

It was promised that MQL5 will be very similar to classic C / C++, except:

  • pointers. that staff with *.
  • goto operator.
  • anonimous enumeration.
  • some exotic staff from so-called “object-oriented programming”: classes constructors do not have parameters, no multiply inheritance etc.

From discussion of the already-made MQL5 help file (means “beta” version of MQL5 is ready), I can say that MQL5 will be VERY close to C. Great improvement will be structures.

The MQL5 Help file can be downloaded from http://www.mql4.com/files/mql5.chm

Source – http://forum.mql4.com/25165

Related posts:

  1. Here Comes the New MetaTrader 5 and MQL5
  2. Rewrite MQL4 to MQL5 Script
  3. Learning programming for the Metatrader 5

List of changes in the Help for MQL5 – MetaTrader 5

Posted on the November 17th, 2009 under Trading by berny

Below is a list changes in the MQL5 Help file.

Note: The Help is not updated automatically but can be downloaded at: http://www.mql4.com/files/mql5.chm

  1. Added the OBJPROP_READONLY property for the Edit graphical object, which enables/disables editing of a text in this object;
  2. Added an example for the IndicatorRelease() function;
  3. Added the IndicatorCreate() function in the “Access to timeseries and indicators” section;
  4. Added the ENUM_INDICATOR enumeration, indicating the type of an indicator for the IndicatorCreate() function, in the “Standard Constants, Enumerations, and Structures / Constants of Indicators / Types of Technical Indicators” section;
  5. Added the ENUM_DATATYPE enumeration to specify the type of an input parameter in the “Standard Constants, Enumerations, and Structures / Constants of Indicators / Identifiers of Data Types” section;
  6. Added the MqlParam structure in the “Standard Constants, Enumerations, and Structures / Constants of Indicators / Structure of Indicator Input Parameters” section;
  7. Added errors in the “Standard Constants, Enumerations, and Structures / Error and Warning Codes / Runtime Errors” section.

ERR_INDICATOR_WRONG_PARAMETERS
4808
Invalid number of parameters in indicator creation

ERR_INDICATOR_PARAMETERS_MISSING
4809
No parameters at indicator creation

ERR_INDICATOR_CUSTOM_NAME
4810
The first parameter of an array must be the indicator name

ERR_INDICATOR_PARAMETER_TYPE
4811
Invalid parameter type in the error at indicator creation

Source – http://forum.mql4.com/27395

Related posts:

  1. C++ and MQL5 – MetaTrader 5
  2. Custom Indicators in MQL5
  3. Impressive Metatrader 5 Indicators

MetaTrader Tips – Expert Advisor Installation

Posted on the November 17th, 2009 under Trading by berny

MetaTrader Expert Advisors file should have the file extension of .ex4 (compiled code) or .mq4 (sourse code). First it is necessary to copy this file to the folder Experts of the MetaTrader working directory (usually C:\Program Files\MetaTrader Broker Name or MetaTrader).

experts

The second step is to restart MetaTrader. After the restart the expert should be added to the list of experts in the Navigator window. It necessary to stress that the colored icon corresponds to mq4 file. If you have an ex4 file only, an icon in the window Navigator will be grey. The same grey color may mean that the errors in a source code appeared.

expert_errors

navigator1

In order to check errors in the EA, you can press F4, the editor of language MQL4 , and then it is necessary to load the source code of expert into the editor. Press F5 in order to compile the expert advisor. In case of success, the sentence ‘0 errors’ will appear in conclusion window. Warnings are not errors and their presence does not hinder the successful compiling.

f651d52f5cb65d84d2ef5d76697032e4 MetaTrader Tips   Expert Advisor Installation

Related posts:

  1. MetaTrader Tips – Expert Advisor Optimization
  2. MetaTrader Tips – Favorites Group
  3. MetaTrader Tips – Full-Screen Mode

Reasons To Consider MetaTrader Expert Advisors

Posted on the November 17th, 2009 under Trading by berny

eaThe Foreign Exchange (or Forex) trading uses currency markets from a variety of countries to create a trading market where billions and billions are traded and exchanged daily. If you aim to profit from Forex trading, then you would need to own every single pip that you can get. But this is easier said than done, specially if you are new to the Forex market. 90% of traders lose their money on the Forex market because they let the rest 10% of traders to earn this money. It occurs because traders-beginners, keen by passion, rush to trade without having a Forex trading strategy. Even if they have a Forex trading strategy this strategy is usually not tested and also there is a human factor. That is why it is necessary to use MetaTrader Expert Advisors.

MetaTrader Expert Advisors or MetaTrader EAs are mechanical trading systems which completely automate the trading process on the Forex market by using unique Forex trading strategies. These trading robots trade under the control of the MetaTrader 4 trading platform. The robots operate 24 hours, non-stop. Because of this, you never miss an opportunity to get the trades.

MetaTrader EAs are very easy to acquire and use. As soon as you purchase one, all you need to do is download it, install it into MetaTrader 4, set your preferences and run the program. The important thing to note is that you will need to have an account with a forex broker that supports MetaTrader 4. The MetaTrader 4 platform has the built-in MetaTrader Expert Advisorsbased on the technical analysis, such as MetaTrader indicator. There are hundreds of forex brokers who use MetaTrader around the globe, and a couple of them should fit your trading requirements perfectly.

Related posts:

  1. MetaTrader 4 – The World’s Most Common Trading Software
  2. Tips for choosing a MetaTrader Expert Advisor
  3. MetaTrader Tips – Expert Advisor Optimization

Alpari launches Forex trading platform in India

Posted on the November 17th, 2009 under Trading by berny

Caption

Foreign exchange trading services provider, Alpari recently launched its Indian operations by offering its forex trading platform for institutional and retail customers.

The company, which will initially operate from Mumbai, has targeted to acquire at least 1,000 clients in the next six months, Alpari’s Head of Global Sales, Andreas Wigstrom told reporters here.

Open MetaTrader Account

“Alpari India will create a new investment medium, provide an institution level trading experience for retail investors and present hedging opportunities for the corporates at a lower cost,” Wigstrom said.

Indian forex market has grown from $2 billion in April 1998 to over $34 billion by April 2007 and is expected to grow at a faster pace in the period ahead, he said.

Globally, forex market has a daily turn over of $3.8 trillion currently, which is expected to surpass $5 trillion by 2010, Wigstrom said.

Alpari has targeted an annual volume in excess of $3.5 billion in the retail investor segment and plans to open new offices in Japan, Singapore, Hong Kong, Germany, France, Canada, British Columbia, Brazil and Mexico in the coming days, he said.

Open MetaTrader Account

The company has also plans to offer free training to customers to help investors make informed and responsible trading decisions.

At present, Alpari group has 26 offices in seven countries and has around 300 employees worldwide.

Related posts:

  1. India Based MetaTrader Forex Broker
  2. MetaTrader 5 – Next Generation Forex Trading Platform
  3. First broker to use MetaTrader 5 – Alpari Russia