Two things, not sure which is right. One: you might need to specify whether it is looking for true or false. So,
while turtle.detectDown() = true do
turtle.forward()
end
Also, is there a block under your turtle? Cause that's what it's looking for, and it won't move without it with the...