The paper discuss the sensitivity to the presence of outliers of the portfolio optimization procedure based on the expected shortfall as a measure of risk. A robust approach based on the forward search is then suggested which seems to give quite good results