You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Check out the new article: From Basic to Intermediate: Object Events (II).
In the previous article From Basic to Intermediate: Object Events (I) the first basic part was explained and demonstrated, focusing mainly on events that occur in objects. However, we still need to discuss three other events that can be triggered when an object interacts with the user. For MetaTrader 5 to actually enable one of these three strategies, at least one must be activated. Otherwise, even if our code is prepared to handle this event, it will never receive a notification that it has occurred.
It is very important to understand each of these event types before using them together, so we will proceed as follows: we will create short sections solely to explain how and when MetaTrader 5 generates each of these last three types of events. Once you understand them, we can look at how to use them together to implement some interesting functionality. So, let us begin.
Author: CODE X