TC4S:\2023_CSMD\_Systems & Indicators\indicators\_Misc\Triangle (Ascending and Descending) code by Emmanuel Lavelanet (for TS)