How to start with MetaTrader and forex, the beginning - page 17

 

Some information (in case someone missed it):

MQL5 Reference - MQL5 programs - Program Running

Each script, each service and each Expert Advisor runs in its own separate thread. All indicators calculated on one symbol, even if they are attached to different charts, work in the same thread. Thus, all indicators on one symbol share the resources of one thread.

All other actions associated with a symbol, like processing of ticks and history synchronization, are also consistently performed in the same thread with indicators. This means that if an infinite action is performed in an indicator, all other events associated with its symbol will never be performed.

When running an Expert Advisor, make sure that it has an actual trading environment and can access the history of the required symbol and period, and synchronize data between the terminal and the server. For all these procedures, the terminal provides a start delay of no more than 5 seconds, after which the Expert Advisor will be started with available data. Therefore, in case there is no connection to the server, this may lead to a delay in the start of an Expert Advisor.

The below table contains a brief summary of MQL5 programs:
...

read more here

MQL5 Reference - How to use algorithmic/automated trading language for MetaTrader 5
MQL5 Reference - How to use algorithmic/automated trading language for MetaTrader 5
  • www.mql5.com
MQL5 Reference - How to use algorithmic/automated trading language for MetaTrader 5
 

Forum on trading, automated trading systems and testing trading strategies

Where Do I start from?

Sergey Golubev, 2021.11.25 19:39

Use MQL5.community channels and group chats - the article

The MQL5.com site features more than one thousand algo-trading articles, tens of thousands of free source codes and trader services where users can purchase trading applications or copy signals. In addition to implementing innovative trading functions in our platform and maintaining an ultimate infrastructure around it, we strive to provide the best user experience for our community members. Therefore, in addition to the convenient forum in 11 languages we have created the MetaTrader chat integrated with terminals. Use chats for private messages, create group chats or broadcast trading ideas to large audiences through channels.

Use MQL5.community channels and group chats
Use MQL5.community channels and group chats
  • www.mql5.com
The MQL5.com website brings together traders from all over the world. Users publish articles, share free codes, sell products in the Market, perform Freelance orders and copy trading signals. You can communicate with them on the Forum, in trader chats and in MetaTrader channels.
 

Learn Why and How to Design Your Algorithmic Trading System 

Learn Why and How to Design Your Algorithmic Trading System

Learn Why and How to Design Your Algorithmic Trading System

The main objective of this article is to guide beginners to learn how to design their algorithmic trading system in MQL5 through learning some of the basics of MQL5 for a simple trading system idea which will be coded step by step through this article after explaining some of the MQL5 basics. We'll code them by scripts then we'll present the result after code execution. To enhance your understanding, I advise you to apply and code what you’ll read here by yourself as this will help you to understand concepts of mentioned codes deeply. And be noted that all created codes, programs, and trading strategies in this article are designed for educational purposes only, not for anything else. And be noted that we'll use MQL5 to write codes.
 

Forum on trading, automated trading systems and testing trading strategies

Templates to create EAs and Indicators

Sergey Golubev, 2022.01.26 17:00

Advanced EA constructor for MetaTrader - botbrains.app - article (MT5)

Generally, trading strategies can be reduced to a specific algorithm that can be automated. Trading robots can trade thousands of times quicker than any human, but not every trader is proficient in programming.

botbrains.app is a no-code platform for trading robots development. You don't need to program anything to create a trading robot in the BotBrains editor - just drag the necessary blocks onto the scheme, set their parameters, and establish connections between them.


 

Combinatorics and probability theory for trading (Part I): The basics 

----------------

Combinatorics and probability theory for trading (Part II): Universal fractal 

----------------

Combinatorics and probability theory for trading (Part III): The first mathematical model 

----------------

Combinatorics and probability for trading (Part IV): Bernoulli Logic 

----------------

Combinatorics and probability for trading (Part V): Curve analysis 

----------------

Combinatorics and probability theory for trading (Part I): The basics
Combinatorics and probability theory for trading (Part I): The basics
  • www.mql5.com
In this series of article, we will try to find a practical application of probability theory to describe trading and pricing processes. In the first article, we will look into the basics of combinatorics and probability, and will analyze the first example of how to apply fractals in the framework of the probability theory.
 

Forum on trading, automated trading systems and testing trading strategies

Create groups and communicate with fellow traders in the updated Chat

MetaQuotes, 2022.02.11 13:33

We have updated the MQL5.com Chat to further enhance the user conversation experience. Check out the new service interface and updated functions, such as the revised friending logic. Create groups on financial topics, join existing channels, discuss current issues with fellow traders in group chats and contact specific users through personal messages.

Create groups and communicate with fellow traders in the updated Chat


The following messaging types are available:

Chats for one-to-one conversations. Chats provide a fast and efficient way to contact your colleagues or partners, as well as to share documents, links and files.

Groups for group discussions, in which any member can post messages. Groups are perfect for discussing trading ideas or market situations, for sharing knowledge with novice traders and for seeking advice from more experienced market participants.

Channels for broadcasting messages to audiences. Only channel authors and administrators can post messages and manage such chats. You can join existing channels to follow trading and markets news feeds and stay up to date with the latest developments. Also, you can create your own feed to share useful information with your subscribers. Furthermore, you can commercialize your channel by making it private using the invite-only functionality.

Access conversations and post messages via the MQL5.community website and MetaTrader terminals or download the MQL5 Channels messenger for iOS. This separate fully featured application minimizes traffic consumption when using chats.

Check out the updated MQL5.com Chat right now: create your own group or channel.

Create your Group Chat or Channel


 
Developing a trading Expert Advisor from scratch

The number of new users in financial market increases. Perhaps many of them even do not know how the order system works. However, there are also the users who really want to know what is happening. They try to understand how it all works in order to control the situation.

Of course, MetaTrader 5 provides a high level of control over trading positions. However, using only the manual ability to place orders can be quite difficult and risky for less experienced users. Furthermore, if someone wants to trade futures contracts, when there is very little time to place an order, such trading can turn into a nightmare, because you have to correctly fill all the fields in a timely manner, but this still takes time and thus you can miss good opportunities or even lose money if something is filled incorrectly.

Now, what if we used an Expert Advisor (EA) to make things easier? In this case, you can specify some details, for example the leverage or how much you are can afford to lose and how much you want to earn (in monetary terms, rather than not quite clear "points" or "pips"). Then use the mouse pointer on the chart to show where to enter into the market and indicate, whether it will be buying or selling...

Developing a trading Expert Advisor from scratch
Developing a trading Expert Advisor from scratch
  • www.mql5.com
In this article, we will discuss how to develop a trading robot with minimum programming.
 

Forum on trading, automated trading systems and testing trading strategies

Where Do I start from?

Sergey Golubev, 2018.09.20 15:43

Use tips - the instruction about HowTo

=========

----------------

----------------

----------------


Reason: