Suddenly came across a situation like this. It seems simple, but I can't figure it out.
I have to anchor some text on the Y axis, which is the price. The X axis is the absolute coordinate in pixels.
If I use OBJ_TEXT, I will snap to X only by time. Could you give me a hand with this?
OBJ_LABEL
23
Text label. Does not use coordinates. The ObjectSet() function is used to set coordinates specified in pixels relative to the reference angle (OBJPROP_CORNER, OBJPROP_XDISTANCE, OBJPROP_YDISTANCE properties). To change the text, the ObjectSetText() function is used
Text label. Does not use coordinates. The ObjectSet() function is used to set coordinates set in pixels relative to the reference angle (OBJPROP_CORNER, OBJPROP_XDISTANCE, OBJPROP_YDISTANCE properties). To change the text, the ObjectSetText() function is used
That won't work for this job, if you use obj_label, you need to use coordinates in pixels, if obj_text, you need X coordinates, Y coordinates - price, but you can't get Y price and X - pixels (you'll just have to screw around here))
sanyooooook: it will not help for this task, if you use obj_label you have to use coordinates in pixels, if you use obj_text you have to use X time and Y price, but you can't use Y price and X pixels (you have to twist it))
The questioner most likely needs coordinates in pixels, it's just a matter of time before he gets it right...
artmedia70: If you told us what you wanted, maybe someone would suggest something reasonable... Collective intelligence, you know... :)
And I want to get the following: there is a horizontal ray-level, I want its value (price) is displayed as a text marker on the right border of the screen
Suddenly came across a situation like this. It seems simple, but I can't figure it out.
I have to anchor some text on the Y axis, which is the price. The X axis is the absolute coordinate in pixels.
If I use OBJ_TEXT, I will snap to X only by time. Could you please help me?
Suddenly came across a situation like this. It seems simple, but I can't figure it out.
I have to anchor some text on the Y axis, which is the price. The X axis is the absolute coordinate in pixels.
If I use OBJ_TEXT, I will snap to X only by time. Could you give me a hand with this?
it will not help for this task, if you use obj_label you have to use coordinates in pixels, if you use obj_text you have to use X time and Y price, but you can't use Y price and X pixels (you have to twist it))
It's more likely that the person asking is looking for pixel coordinates, just until he gets it right...
Yes, that's right, I need the X-axis reference in pixels and the Y-axis reference in price.
What did I say wrong? Sanyok understood correctly, I want the X-axis to be referenced in pixels and the Y-axis to be referenced in price.
I see. Thanks, we'll have to get creative with graphic objects somehow :)
If you told us what you wanted, maybe someone would suggest something reasonable... Collective intelligence, you know... :)