OPEN-SOURCE SCRIPT

Candle Rating (1–5)

247
This “Candle Rating (1–5)” indicator measures where each bar’s close sits within its own high-low range and assigns a simple strength score:

Range Calculation
It computes the candle’s total range (high − low) and finds the close’s position as a percentage of that range (0 = close at low, 1 = close at high).

Five-Point Rating

1 (Strong Buy): Close in the top 20% of the range

2 (Moderate Buy): 60–80%

3 (Neutral): 40–60%

4 (Moderate Sell): 20–40%

5 (Strong Sell): Bottom 20%

Visual Feedback
It plots the numeric rating above each bar (colored green → red), giving you an at-a-glance read of candle momentum and potential reversal strength across any timeframe.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.