Thats right. the code would be much better readable when using "else if".
One thing: When the following if clause
'if (price() <= (priceOpen() - 20))'
is true and you are running your script every tick and price will stay or move more downwards then you will open a trade every tick!? Don't understand why it hasn't done so...