I extracted this code from tradingview, I want to get access to all the div elements using xpath between this two elements namely C1 indicator and C2 indicator:

I tried the following but does not seems working. Any thoughts?
*[following-sibling::div[contains(@data-section-name,'C1 Indicator')] and preceding-sibling::div[contains(@data-section-name,'C2 Indicator')]