MikeZTN: And I want to get the following: there is a horizontal ray-level, I want his value (price) is displayed as a text marker on the right border of the screen
Alternatively, calculate the coordinate of the rightmost visible bar and set the text label to this value, the value by Y is calculated from the properties of the beam, generally without loops
here's an example of how to calculate this very coordinate
a piece of code which is responsible for finding the right zero coordinate
MikeZTN: What I want is this: I have a horizontal beam level, and I want its value (price) to be displayed as a text marker at the right-hand edge of the screen
Alternatively, calculate the coordinate of the rightmost visible bar and set the text label to this value, the value by Y is calculated from the properties of the beam, generally without loops
here is an example of how to calculate this very coordinate
The right bar may also be shifted to the left, i.e. invisible bars -1, -2, etc. should be used.
MikeZTN: And I want to get the following: there is a horizontal ray-level, I want its value (price) to be displayed as a text marker at the right border of the screen
listen :) dear :) - Why do you need a beam - just do it -
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
And I want to get the following: there is a horizontal ray-level, I want his value (price) is displayed as a text marker on the right border of the screen
Alternatively, calculate the coordinate of the rightmost visible bar and set the text label to this value, the value by Y is calculated from the properties of the beam, generally without loops
here's an example of how to calculate this very coordinate
a piece of code which is responsible for finding the right zero coordinate
What I want is this: I have a horizontal beam level, and I want its value (price) to be displayed as a text marker at the right-hand edge of the screen
Alternatively, calculate the coordinate of the rightmost visible bar and set the text label to this value, the value by Y is calculated from the properties of the beam, generally without loops
here is an example of how to calculate this very coordinate
It is also possible that the right bar is shifted to the left, i.e. invisible bars -1, -2, etc. should be used.
There was a mistake in the wording after all)))
And I want to get the following: there is a horizontal ray-level, I want its value (price) to be displayed as a text marker at the right border of the screen
listen :) dear :) - Why do you need a beam - just do it -
you will get a horizontal line - and its value - price - will be displayed on the right side of the screen :)
listen :) dear :) - Why do you need a ray? Just do it -
you will get a horizontal line - and its value - Price - will be displayed on the right side of the screen :)
1) It doesn't just show the price, it also shows additional text information.
2) Horizontal line is not necessary; for more information, I use OBJ_TREND ray with the OBJPROP_RAY property
But in what way?
you should have said you needed a label that would display the price of one of the levels
So display it on the left side of the screen - what's the difference? - The line will have the price on the right - the message text on the left...
or the beam - but then display everything on the left...