Stock indexes mostly gain after Amazon-OpenAI deal; dollar up slightly - TradingView