Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1380

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
I wanted to try to use obj_rectangle_label, but no text is written on top.
First obj_rectangle_label and then OBJ_LABEL on top in the right place
First obj_rectangle_label and then OBJ_LABEL on top in the right place
In my opinion it's better to use resources...
First obj_rectangle_label and then OBJ_LABEL on top in the right place
Another option - one huge button, but the anchor text in it at the bottom in the middle (I would like it to be centered), how to change this - do not know yet, and whether it is possible.
I have the binding automatically centered
Will obj_rectangle_label not overlap the inscription itself? Do I need to set any additional properties for objects or any priorities for shapes?
Creation order
First obj_rectangle_label and then OBJ_LABEL on top at the desired location
In my opinion, it is better to use resources...
Creation order
How can I count the number of all ticks on each OnTick() event for the last 10 seconds?
This code does not count correctly (TickLength increases by one with each new event)
Can I be more specific, please... I don't understand what you mean?
There's nothing supernatural about it. The usual OBJ_BITMAP_LABEL and into it whatever you want as a resource. Kanvas works in OBJ_BITMAP_LABEL, too.
But your version is much easier for a novice developer.
How can I count the number of all ticks on each OnTick() event for the last 10 seconds?
This code doesn't count correctly (TickLength increases by one with each new event)
Please learn how to insert code into message.
And on question: Read documentation on CopyTicksRange