Cbot access the trendlines drawn on the chart
Created at 30 Aug 2024, 19:56
KE
Cbot access the trendlines drawn on the chart
30 Aug 2024, 19:56
Hi All,
Im trying to write a cbot, where im drawing the chart objects (like trendline) mannually on the chart, i want the algorithm to read it. Im using the below logic -
foreach (var chartObject in Chart.Objects)
{
Print(chartObject.Name);
}
But in the console i see the Names as -

is there any way i could give a proper name on the chart-trendline while drawing?I dont see anywhere i can give names. or i can read comments on the algorithm?

thanks
firemyst
26 Jan 2025, 13:46 ( Updated at: 14 Feb 2025, 18:16 )
See this duplicate thread for updates:
https://community.ctrader.com/forum/ctrader-algo/44856/
@firemyst