This update (v3) has improved visibility of overbought/oversold conditions in the RSI chart component.
This code has Flags for first candle change during oversold/overbought shown as triangles, also and MACD 12 and MACD 26 crossings as diamonds.
RSI has been scaled down by "scaleRSI" parameter to enable plotting alongside MACD. User may need to adjust Scale as required to shown RSI & MACD.
RSI: The relative strength index (RSI) is a momentum indicator measures recent price changes to evaluate overbought or oversold conditions.
MACD: Moving average convergence divergence (MACD) is a trend-following momentum indicator that shows the relationship between two moving averages of a security’s price. The MACD is = 12EMA - 26EMA, The histogram represent this difference.
Disclaimer: This is not a Financial advisory tool. For education purposes only. Use at your own risk.