Uptrend - > 60
Downtrend - < 40
Sideways - between 40 and 60
If however not interested in filtering for sideways trends and convert it to a long-short only strategy that stays in market all the time then it can be simply modified by setting both overbought/oversold thresholds to 50. In such a case uptrend will be above 50 and downtrend will be less than 50.
Note: wait for close for current bar to be confirmed as is calculated at close
Maybe zzzcrypto123 can answer your question so it will be the best answer?!