The invention relates to a fluorescent ion probe (I) with high selectivity and high sensitivity in detection and the application of the fluorescent ion probe in identifying and detecting heavy metal ion and transition metal ion, wherein, the Y is an organic conjugate group with fluorescence transmitting function such as pyrene, naphthalene, 4-amidogen-1, 8-naphthyl imide, Dan sulfonamide, anthracene, carbazole, benzimidazoins, benzoxazoles, boron fluoride bipyrrole (BODIPY), fluorescein, 3, 4, 9, 10-perylenetetracarboxylic diimide or rhodamine B; the X is acylamino group, sulfoamino group or ester group. The fluorescent ion probe uses the fluorescence peak of fluorescence chromophore aggregate as the response signal to identify metal ion, thereby effectively avoiding the quenching effect of transition metal ion and heavy metal ion on fluorophore; moreover, the fluorescent ion probe realizes selective identification of heavy metal ion and transition metal ion in various solvents and aqueous solution in particular.