that way, that even if you scroll the chart, the label remains fixed to time and price.
Thank you
You should use CChartObjectText which anchored to time and price coordinates.
- www.mql5.com
Hello Phi,
this seems to work. Thank you. My hope was you can also fix rectangles or generally any object to chart.
(For instance draw a rectangle around a specific bar).
Hello Phi,
this seems to work. Thank you. My hope was you can also fix rectangles or generally any object to chart.
(For instance draw a rectangle around a specific bar).
Hello Phi,
this seems to work. Thank you. My hope was you can also fix rectangles or generally any object to chart.
(For instance draw a rectangle around a specific bar).
I probably miss something, we can already "draw a rectangle around a specific bar", no ?
Yes, you right :),
My answer there for pixel based object, like for example this one here (that's poor example actually, because we can draw triangle on time price coordinates).
Rectangle, as chinaski example, is using time price coordinates not pixel coordinates.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
that way, that even if you scroll the chart, the label remains fixed to time and price.
Thank you