with custom code block, with this code:
ChartClose(0);
0 is chart ID (can be 0, 1, x)
there are many functions, like ChartFirst, or ChartNext, using with you can find right ID for close based on some conditions (like specific text in chart) 😄 https://docs.mql4.com/chart_operations/chartnext ...