OPEN-SOURCE SCRIPT
Breakout Strength Analyzer

Breakout Strength Analyzer
One of the biggest problems traders face is not knowing whether a breakout is real or fake. Price breaks a level, you enter, and then it immediately reverses against you. This indicator was built to solve exactly that problem by giving you an objective, rule-based scoring system on every single candle so you never have to guess again.
Instead of relying on intuition, the Breakout Strength Analyzer measures four specific factors that separate real breakouts from fake ones and displays the result as a live scorecard directly on your chart.
How It Works
Every candle is evaluated against four rules. Each rule that passes adds one point to the score. The final verdict is displayed in a table in the bottom right corner of your chart.
Rule 1 — Body Size vs ATR
The body of the breakout candle must be at least 1× the Average True Range. A small-bodied candle that barely moves has no conviction behind it. A large-bodied candle that covers more than the average range shows that real buying or selling pressure exists. You can adjust the minimum ratio in the settings.
Rule 2 — Wick Rejection Filter
Even if the candle body is large, a long upper wick is a warning sign. It means price tried to go higher but got pushed back down — a sign of rejection at that level. This rule checks that the upper wick is not disproportionately large compared to the body. If the wick is too large, the rule fails and the score drops.
Rule 3 — ATR Expansion
A real breakout should come with expanding volatility. If the ATR is growing compared to the previous bar, the market is accelerating and there is genuine energy behind the move. If ATR is flat or shrinking, the breakout has no fuel and is likely to fail. The default threshold is 5% expansion, which you can adjust.
Rule 4 — Consecutive Strong Candles
A single strong candle can be a spike. Two or more consecutive strong candles is a pattern. This rule checks how many candles in a row have passed Rule 1, giving you confidence that momentum is building rather than just a one-off move.
Visual Output
Green candle — strong bullish breakout with 3 or more rules passing
Red candle — strong bearish breakout with 3 or more rules passing
Blue candle — body is large enough but full confirmation is missing
Gray candle — weak candle, no breakout signal
A triangle arrow appears below bullish breakouts and above bearish breakouts whenever the score reaches 3 or higher.
A small label appears above each qualifying candle showing the exact Body/ATR ratio so you always know how strong the candle is by the numbers.
Scorecard Table
The bottom right table updates on every candle and shows you each rule individually with a PASS or FAIL result, the exact measured value, and the final score out of 4 with a verdict of STRONG, WEAK, or FAKE.
Settings
ATR Period — number of candles for ATR calculation, default is 14
Min Body / ATR Ratio — minimum body size relative to ATR, default is 1.0
Max Upper Wick / Body Ratio — maximum wick size relative to body, default is 1.5
ATR Expansion % — minimum ATR growth vs previous bar to confirm momentum, default is 5%
Consecutive Strong Candles — how many strong candles in a row are required, default is 2
Show Labels — toggle the Body/ATR ratio labels on candles on or off
Works On
Any asset and any timeframe. Gold, Forex, Crypto, Indices, and Stocks. Best used on the 5 minute, 15 minute, and 1 hour timeframes when combined with a clear horizontal support or resistance level you are watching for a breakout.
Important Note
This indicator scores candle strength objectively. It does not predict the future and should be used as a confirmation tool alongside your own analysis and risk management rules.
One of the biggest problems traders face is not knowing whether a breakout is real or fake. Price breaks a level, you enter, and then it immediately reverses against you. This indicator was built to solve exactly that problem by giving you an objective, rule-based scoring system on every single candle so you never have to guess again.
Instead of relying on intuition, the Breakout Strength Analyzer measures four specific factors that separate real breakouts from fake ones and displays the result as a live scorecard directly on your chart.
How It Works
Every candle is evaluated against four rules. Each rule that passes adds one point to the score. The final verdict is displayed in a table in the bottom right corner of your chart.
Rule 1 — Body Size vs ATR
The body of the breakout candle must be at least 1× the Average True Range. A small-bodied candle that barely moves has no conviction behind it. A large-bodied candle that covers more than the average range shows that real buying or selling pressure exists. You can adjust the minimum ratio in the settings.
Rule 2 — Wick Rejection Filter
Even if the candle body is large, a long upper wick is a warning sign. It means price tried to go higher but got pushed back down — a sign of rejection at that level. This rule checks that the upper wick is not disproportionately large compared to the body. If the wick is too large, the rule fails and the score drops.
Rule 3 — ATR Expansion
A real breakout should come with expanding volatility. If the ATR is growing compared to the previous bar, the market is accelerating and there is genuine energy behind the move. If ATR is flat or shrinking, the breakout has no fuel and is likely to fail. The default threshold is 5% expansion, which you can adjust.
Rule 4 — Consecutive Strong Candles
A single strong candle can be a spike. Two or more consecutive strong candles is a pattern. This rule checks how many candles in a row have passed Rule 1, giving you confidence that momentum is building rather than just a one-off move.
Visual Output
Green candle — strong bullish breakout with 3 or more rules passing
Red candle — strong bearish breakout with 3 or more rules passing
Blue candle — body is large enough but full confirmation is missing
Gray candle — weak candle, no breakout signal
A triangle arrow appears below bullish breakouts and above bearish breakouts whenever the score reaches 3 or higher.
A small label appears above each qualifying candle showing the exact Body/ATR ratio so you always know how strong the candle is by the numbers.
Scorecard Table
The bottom right table updates on every candle and shows you each rule individually with a PASS or FAIL result, the exact measured value, and the final score out of 4 with a verdict of STRONG, WEAK, or FAKE.
Settings
ATR Period — number of candles for ATR calculation, default is 14
Min Body / ATR Ratio — minimum body size relative to ATR, default is 1.0
Max Upper Wick / Body Ratio — maximum wick size relative to body, default is 1.5
ATR Expansion % — minimum ATR growth vs previous bar to confirm momentum, default is 5%
Consecutive Strong Candles — how many strong candles in a row are required, default is 2
Show Labels — toggle the Body/ATR ratio labels on candles on or off
Works On
Any asset and any timeframe. Gold, Forex, Crypto, Indices, and Stocks. Best used on the 5 minute, 15 minute, and 1 hour timeframes when combined with a clear horizontal support or resistance level you are watching for a breakout.
Important Note
This indicator scores candle strength objectively. It does not predict the future and should be used as a confirmation tool alongside your own analysis and risk management rules.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.