@MENISTHETURK , the main setting for archers is in the tactics menu -‘hold position’, the top icon in the circular tactics menu. Then they will not budge and will not fall down. Attack range - 50 meters.
And the defenders have a chasing distance of no more than 10 meters (their default is 30).