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