OPEN-SOURCE SCRIPT
Candlestick Strength and Weakness with RSI and OBV

The "Candlestick Strength and Weakness with RSI and OBV" indicator, denoted as CSW, is a tool designed to assist traders in identifying potential trend reversals in financial markets. The CSW indicator combines the analysis of candlestick patterns, relative strength index (RSI), and on-balance volume (OBV) to provide traders with valuable insights into market dynamics.
The CSW indicator calculates the strength and weakness of each candlestick based on its open, close, high, and low prices. It considers the body range, upper shadow range, and lower shadow range of the candlestick to determine the distribution of strength and weakness within it. By quantifying the candlestick's strength and weakness, the indicator provides a visual representation of the balance between bullish and bearish forces in the market.
In addition to candlestick analysis, the CSW indicator incorporates RSI and OBV calculations to further validate potential trend reversals. The RSI is a widely-used momentum oscillator that measures the speed and change of price movements. The OBV, on the other hand, tracks the cumulative volume flow and helps identify periods of accumulation or distribution. By considering these indicators alongside candlestick strength and weakness, the CSW indicator enhances the accuracy of its signals.
To interpret the CSW indicator effectively, traders should consider the following:
Candlestick Strength and Weakness: The indicator plots two lines, "Candle Strength" and "Candle Weakness," representing the strength and weakness of each candlestick. The strength line indicates the bullish pressure, while the weakness line represents the bearish pressure.
Potential Reversal Signals: The CSW indicator identifies potential trend reversals based on the balance between candlestick strength and weakness, RSI readings, and OBV values. A bullish reversal signal occurs when the strength is higher than weakness, the RSI is below 30 (indicating oversold conditions), and the OBV is below its 20-period simple moving average (SMA). Conversely, a bearish reversal signal occurs when the weakness is higher than strength, the RSI is above 70 (indicating overbought conditions), and the OBV is above its 20-period SMA.
Trend Confirmation: The CSW indicator provides additional confirmation by comparing the closing price with the 20-period exponential moving average (EMA). If the closing price is above the EMA, it suggests an uptrend, while a closing price below the EMA indicates a downtrend.
Traders can add the indicator to their charts and customize its parameters based on their preferences. By monitoring the indicator's plots and observing the occurrence of potential reversal signals in alignment with the trend confirmation, traders can make informed decisions regarding entry or exit points in their trading strategies.
The CSW indicator calculates the strength and weakness of each candlestick based on its open, close, high, and low prices. It considers the body range, upper shadow range, and lower shadow range of the candlestick to determine the distribution of strength and weakness within it. By quantifying the candlestick's strength and weakness, the indicator provides a visual representation of the balance between bullish and bearish forces in the market.
In addition to candlestick analysis, the CSW indicator incorporates RSI and OBV calculations to further validate potential trend reversals. The RSI is a widely-used momentum oscillator that measures the speed and change of price movements. The OBV, on the other hand, tracks the cumulative volume flow and helps identify periods of accumulation or distribution. By considering these indicators alongside candlestick strength and weakness, the CSW indicator enhances the accuracy of its signals.
To interpret the CSW indicator effectively, traders should consider the following:
Candlestick Strength and Weakness: The indicator plots two lines, "Candle Strength" and "Candle Weakness," representing the strength and weakness of each candlestick. The strength line indicates the bullish pressure, while the weakness line represents the bearish pressure.
Potential Reversal Signals: The CSW indicator identifies potential trend reversals based on the balance between candlestick strength and weakness, RSI readings, and OBV values. A bullish reversal signal occurs when the strength is higher than weakness, the RSI is below 30 (indicating oversold conditions), and the OBV is below its 20-period simple moving average (SMA). Conversely, a bearish reversal signal occurs when the weakness is higher than strength, the RSI is above 70 (indicating overbought conditions), and the OBV is above its 20-period SMA.
Trend Confirmation: The CSW indicator provides additional confirmation by comparing the closing price with the 20-period exponential moving average (EMA). If the closing price is above the EMA, it suggests an uptrend, while a closing price below the EMA indicates a downtrend.
Traders can add the indicator to their charts and customize its parameters based on their preferences. By monitoring the indicator's plots and observing the occurrence of potential reversal signals in alignment with the trend confirmation, traders can make informed decisions regarding entry or exit points in their trading strategies.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.