The Sensex and Nifty have gained around 7% so far this month amid rising optimism around Iran-US peace talks, after declining about 11% in March.