gentlemen-colleagues, please tell me if it is possible to somehow find the coordinates of a certain symbol on the chart?
let’s say i have a deal, the deal on the chart has a note about the ticket and lots. Can I somehow programmatically find out the coordinates of this inscription?
If not, then the question is: is it possible to somehow paint over this very inscription when the adviser takes a screenshot?
alexeyvik
In this case, it is easier to put horizontal lines and hide trading levels. and then return everything back.
profitnik
so, what’s the logic next? I learned that the EUR USD trade corresponds to the open EUR USD chart, from which the owl will take the screen. What
actions follow then?
integer
and why do it through jo**? it is necessary to sort through the open positions and find those where the symbol corresponds to the symbol of the chart.
serler2
There is a function that translates the price into coordinates on the chart.Â
You need to draw the Restangle Label a couple of pixels higher than the deal price in the foreground. Color as the background of the graph.Â
The code is not ready to give, but Googles on the Forum quickly.Â
In the same way, you can paint over or replace the smiley face in the right corner
profitnik
Yes, but the level itself is needed 🙂
only ticket and lot close
alexeyvik
You can hide the display of trading levels CHART_SHOW_TRADE_LEVELS altogether