The invention discloses a tetraphenylethylene macrocyclic compound with mechanofluorescent color-changing performance. The compound connects alkyl chain structural units through its own strong fluorescence property, so that it has the performance of fluorescence color difference before and after the pressure of the solid is increased, and can be used as Fluorescent probes recognize cyclic carboxylic acids. Described tetraphenylethylene macrocyclic compound, its structural formula is as shown in formula 1 or formula 2: in the formula: connecting bridge R is 1,4-butylene (-(CH 2 ) 4 ‑), 2,2,3,3‑tetrafluoro‑1,4‑butylene (‑CH 2 (CF 2 ) 2 CH 2 ‑), 1,5‑pentylene (‑(CH 2 ) 5 ‑), 2,2,3,3,4,4‑hexafluoro‑1,5‑pentylidene (‑CH 2 (CF 2 ) 3 CH 2 ‑), 1,6‑hexylene (‑(CH 2 ) 6 ‑) or 2,2,3,3,4,4,5,5‑octafluoro‑1,6‑hexylene (‑CH 2 (CF 2 ) 4 CH 2 -).