Well, you could start by creating two more methods,

private double getHighestValue(ArrayList<Double> arr)
{
//Code eluded
}
private double getLowestValue(ArrayList<Double> arr)
{
//Code...