Current location - Trademark Inquiry Complete Network - Futures platform - I was dizzy by mt5. Can it trade stocks now? How can mt5 be written into the program?
I was dizzy by mt5. Can it trade stocks now? How can mt5 be written into the program?
MetaTrader 5 has more trading possibilities than MetaTrader 4.

firstly, the number of financial products that can be used by MetaTrader 5 terminal has increased. Now, besides foreign exchange and futures, it can also be used for financial products such as stocks and options.

Secondly, MetaTrader 5 has become more and more powerful in terms of functions. The new functions are:

■ There are 21 time periods to analyze the market

■ There are 38 built-in analysis indicators

■ There are 39 built-in image objects

■ 4 zoom modes

■ 17 display indicator styles

In addition, historical data will not be like mt4. . . );

MQL5 programming language synchronized with MT5 programming language is also very different from MQL4 programming language synchronized with MT4. Specifically, there are the following differences:

1. MQL5 and C++:

No address operation

No goto statement

No multiple inheritance of classes

When defining enumeration types, there must be enumeration variable names

Structure and.

Another reminder: MT5 is not compatible with MT4. In other words, neither MT4 indicator written in MQL4 language nor MT4 EA can run in MT5 environment.

The official website has released the first example of MT5/mql5, Tetris, Orz ...

From the mql5 code attached to it, we can find many new features of MQL5, among which:

1. Directly supporting the processing of keyboard messages. This means that the ea and indicators of mt5 can achieve more and more complex functions.

2. Direct Timer mechanism, which means that you don't have to wait for tick to start once like mt4, and you can perform some actions at a certain time accurately.