NEW YORK—U.S. dollar net longs in the latest week surged to their highest level in more than two years, according to Reuters calculations and Commodity Futures Trading Commission data released on Friday. The value of the net long dollar position was $22.89 billion in the week ended Oct. 5, compared with $16.37 billion in the previous week. U.S. dollar positioning has been net long for 12 straight weeks after being net short for 16 months. U.S. dollar positioning was derived from net contracts of International Monetary Market speculators in the Japanese yen, euro, British pound, and Swiss franc, as well as the Canadian and Australian dollars. In a broader measure of dollar positioning, which includes net contracts on the New Zealand dollar, Mexican peso, Brazilian real, and Russian rouble, the greenback posted a net long position of $22.535 billion this week, from $15.33 billion previously. The dollar has been on …