OPEN-SOURCE SCRIPT

Current State: Overbought/Oversold + Trend KAPIL GOYAL

33
This Pine Script calculates the RSI (Relative Strength Index) and compares it against preset thresholds to classify the market as Deep/Moderate/Mild Oversold or Deep/Moderate/Mild Overbought. It also checks whether the current price is above or below the 50-day moving average to define the trend as Uptrend or Downtrend. The script then combines both signals into one clean, real-time text output—like “Moderate Oversold + Uptrend”—displayed in a small table at the chart corner. It’s designed to give a quick, clutter-free snapshot of the current market state without plotting multiple indicators.
How to use:
Apply this indicator to any chart (e.g., Tesla on TradingView). It will show one line of text describing the current condition based on RSI and trend. Use it for quick decision cues:


“Oversold + Uptrend” suggests potential accumulation or rebound zones.
“Overbought + Downtrend” warns of exhaustion or profit-taking zones.

Combine it with your entry/exit strategy—like your 30DMA/50DMA rule or momentum filters—to confirm timing rather than act alone.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.