Every time you chain the chance of finding one goes up for the Pokemon you are chaining. I think it goes up to forty then the chance doesn't go any higher. So after that its just based off luck.
http://pokemondb.net/pokebase/19971/much-does-using-pokeradar-improve-chances-encountering-shiny