Well, I tried to find some information and try to do as much as possible on my end, but I can't. A little context. I have an indicator that creates lines at different prices. Everything is automated. It's a third-party indicator, so I can't access the code, I developed some code to just filter the drawing that is importart for me, but just get Name and tag that help a lot but for example I need to esential thing, startAnchor time and startAnchor price, but I Can't find the way can you please help me with this and i want to know if this one is the correct way thanks.
region Get the draws
// Verificamos si ChartControl está disponible
if (ChartControl == null || ChartControl.ChartPanels == null || ChartControl.ChartPanels.Count == 0)
return;
// Recorremos todos los objetos de dibujo en el gráfico actual
foreach (var drawingTool in DrawObjects)
{
// Intentamos convertir el objeto a una herramienta de dibujo
var tool = drawingTool as DrawingTool;
if (tool != null)
{
if( tool.IsAttachedToNinjaScript)
{
if(tool.Tag.Contains("[LuxAlgo] PineLib Line"))
{
Print("Drawing Tool: " + tool.Name);
Print("Tag: " + tool.Tag);
Print("Attached to:" + tool.AttachedTo.AttachedToType);
Print("Drawn By:" + tool.DrawnBy);
}
}
}
}
#endregion

Comment