E.g. this expression will check the signal value for "10 < X < 50":
(hist (sig Signlas.yellow1) 10 50)
However, a negative counterpart would be also needed. It can be a new operator or add "not" unary operator.
Also, open question if the range should be checked inclusive or exclusive to the range values.