Add condition trend

Signed-off-by: Ajax Chai <ajaxchai@gmail.com>