fix buy after fall to take into account the opening price