You're helping me out again)
Anatoly, I would like to clarify one point, do you create all elements (graphic) anew with new values on each tick or do you somehow edit properties of "old" elements?
because the CreateEdit function has only ObjectCreate ... if everything happens exactly as I suppose, are the old objects (labels with obsolete data) deleted? by themselves... somehow this point is not quite obvious and clear...
MetaQuotes Software Corp.:
Where can I find this code in mq4 format?
New article Practical guide to MQL5: Position properties in the customised information panel has been published:
Author: Anatoli Kazharski
is it possible to use it also on mql4?
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
New article MQL5 Cookbook: Position Properties on the Custom Info Panel is published:
This time we will create a simple Expert Advisor that will get position properties on the current symbol and display them on the custom info panel during manual trading. The info panel will be created using graphical objects and displayed information will be refreshed at every tick. This is going to be much more convenient than all the time having to manually run the script described in the previous article of the series called "MQL5 Cookbook: Getting Position Properties".
Author: Anatoli Kazharski