if ($last_price > $trigger_level) and ($timenow > $start) and ($timenow < $end) and ($auth == 2) then execute()