The major indexes edged higher as oil prices dived, with Amazon flashing a buy signal. Marvell and Snowflake jumped late.