RSI:
Overbought (above 70) and oversold (below 30) levels are used to confirm whether the price is in a momentum zone for buying or selling.
The bullish trend requires RSI to be above the oversold level, indicating strength.
The bearish trend requires RSI to be below the overbought level, signaling weakness.
MACD:
Uses the crossover of the MACD Line and Signal Line to confirm momentum.
A bullish trend requires the MACD Line to be above the Signal Line.
A bearish trend requires the MACD Line to be below the Signal Line.
Plotting:
RSI and MACD are plotted to provide a visual representation of these indicators.
Highlighted regions (green for bullish and red for bearish) show trends directly on the price chart.
Alerts:
Alerts are triggered when all conditions for bullish or bearish trends are met, incorporating the new RSI and MACD checks.