How are 'Most Heroic Attack' and 'Most Heroic Defence' determined in a clan war?

Solution 1:

It is determined by recommended on the map, so if your recommended target is #30 and you attack (and win against) a player 10 higher than your recommended target(#20), and no other player attacks someone 10 positions higher than their recommended target, then you get most heroic attack.

Most heroic defense is if you win a defense against a player who attacked the lowest compared to his/her recommended target, for example a player in the other clan has a recommended target 10 higher than you are. If he attacks you and loses, and nobody else got attacked by a player that has a recommended target 10 higher than they are, you get most heroic defense

Solution 2:

I have got most heroic attack 8/10 times. The attacks that received it were when I attacked someone close to the same number as me (if I am tenth from the top in my clan I attacked someone close to that #) or stronger, I got a 3 star/100% win and I won it with less than 10 secs left. The time probably doesn't have anything to do with it but that has been the case in each of the wins. I just wish you could get a bonus for getting most heroic...Sigh

Also they have never been someone more than 5 spaces below my number. I use a combination of Wizards, archers, barbs and minions to take out cc troops and barb king, two groups of about 15 hogs (about 30 total hogs) and 3 Healing spells for those hogs. Hope this helps and gl.