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 (III).
So, in the previous article, we saw that it is possible to do what is shown in the following animation.
Animation 01
This makes it possible to implement a mechanism for directly editing the text contained in an OBJ_LABEL object on the chart. However, if we try to add a new OBJ_LABEL manually, we will see that what is shown in Animation 01 is impossible. Why? The reason lies in the filters used when processing events. In a sense, at the first stage, simply removing the filters would already solve the problem. Of course, initially it would. But if we try to do this, we will notice that the application starts going a little crazy.
For this reason, we will quickly show how the source code from the previous article should be changed in order to use the mechanism from Animation 01 to edit any OBJ_LABEL object.
Author: CODE X