Nifty at top and tested resistance thrice