A novel fiber Bragg grating with triangular spectrum is presented. A strain sensor based on this fiber grating is proposed. Experiments showed that the sensor has advantages of high sensitivity, wider measuring range and immunity to fluctuation of the light source power.