The RSI is calculated by averaging price gains and losses over a specified time period. With values ranging from 0 to 100, the default time period is 14 periods. The MACD evaluates the relationship between two exponential moving averages (EMAs), whereas the RSI monitors price movement in relation to recent highs and lows.