The major indexes rose toward record highs Thursday. Apple stock flashed a buy signal late on earnings while Deckers, Atlassian diverged.