Gold nears oversold after 22% decline from February peak