You can change the ability of the robot to open long or short positions by going into the MetaTrader chart options - click the chart and then press F7, and then under the Common tab you'll see "Long & Short" positions. Change that to "Only Short" or "Only Long" as desired.