OPEN-SOURCE SCRIPT

CSR Ultimate (Final)

455
This indicator calculates and displays a "Candle Strength Ratio" (CSR) to help you gauge bullish versus bearish momentum on a given timeframe. Here’s what it does:

*Multiple Calculation Methods:*
*You can choose among three different methods:*

-Classic CSR: Compares the difference between the upper and lower parts of the candle relative to its total range.

-Weighted Body CSR: Gives more weight to the candle’s body relative to its wicks.

-Close-Focused CSR: Focuses on the net movement from open to close relative to the full range.

*Optional Enhancements:*

The indicator allows you to enable additional features to refine it:

-Volume Weighting: Adjusts the CSR based on the ratio of current volume to a moving average of volume, so a candle on higher-than-average volume might carry more weight.

-ATR Normalization: Normalizes the CSR using the Average True Range (ATR) to account for market volatility.

-Multi-Bar Averaging: Averages the CSR over a specified number of bars to smooth out noise.

-RSI Filter: Optionally checks an RSI condition (bullish if RSI > 50 or bearish if RSI < 50) to help filter out signals that might not be supported by overall momentum.

*Visual and Alert Features:*
The indicator plots the CSR line with color coding (green for bullish, red for bearish) and draws horizontal threshold lines. It also adjusts the chart background color when the CSR exceeds defined bullish or bearish levels and provides alerts when these thresholds are crossed.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.