AND(
{Trx Date} >= DATE(2018,01,01)
,
{Trx Date} <= DATE(2018,10,31)
,
OR(
{Trx Type} = "IN"
,
{Trx Type} = "CN"
)
)

You should learn how the QUERYDATE function works so you don't have to hard-code the date range into the filter.

Steve