OPEN-SOURCE SCRIPT
Cập nhật Candle Body Percent

This indicator shows the body size as percentage of the full candle range (high - low) below each candle.
100% = Marubozu (body = full range)
0% = Doji or very small body
>60% = strong directional candle
Features
────────
• Green label above bearish candles / below bullish candles
• Shows exact percentage with 2 decimal places
• Color matches candle direction (green/red)
• Handles doji candles and zero-range bars correctly (shows less %)
• Works on all timeframes and instruments
How it's calculated
───────────────────
Bullish candle: (close - open) / (high - low) × 100
Bearish candle: (open - close) / (high - low) × 100
Doji / flat: 0%
Most people find candles with **>60–70%** body-to-range ratio especially strong.
This indicator helps you spot them instantly without mental math.
Use cases
─────────
• Filter indecisive candles
• Look for high-percentage Marubozu-type candles
• Combine with support/resistance or volume
• Quickly assess momentum strength per bar
Enjoy!
Note -
I am not registered with SEBI, SEC, or any other regulatory authority.
None of this constitutes financial advice, investment recommendations, or trading signals of any kind.
This indicator is provided solely for educational and informational purposes.
Trading involves substantial risk of loss and is not suitable for everyone. Always conduct your own research, use proper risk management, and consult a qualified financial advisor before making any trading decisions. Past performance does not guarantee future results.
Phát hành các Ghi chú
This indicator shows the body size as percentage of the full candle range (high - low) below each candle. This is the updated version of the previous script. The Labels are closer to the wicks here making it easy to read without zooming in or out100% = Marubozu (body = full range)
0% = Doji or very small body
>60% = strong directional candle
Features
────────
• Green label above bearish candles / below bullish candles
• Shows exact percentage with 2 decimal places
• Color matches candle direction (green/red)
• Handles doji candles and zero-range bars correctly (shows less %)
• Works on all timeframes and instruments
How it's calculated
───────────────────
Bullish candle: (close - open) / (high - low) × 100
Bearish candle: (open - close) / (high - low) × 100
Doji / flat: 0%
Most people find candles with **>60–70%** body-to-range ratio especially strong.
This indicator helps you spot them instantly without mental math.
Use cases
─────────
• Filter indecisive candles
• Look for high-percentage Marubozu-type candles
• Combine with support/resistance or volume
• Quickly assess momentum strength per bar
Enjoy!
Note -
I am not registered with SEBI, SEC, or any other regulatory authority.
None of this constitutes financial advice, investment recommendations, or trading signals of any kind.
This indicator is provided solely for educational and informational purposes.
Trading involves substantial risk of loss and is not suitable for everyone. Always conduct your own research, use proper risk management, and consult a qualified financial advisor before making any trading decisions. Past performance does not guarantee future results.
Phát hành các Ghi chú
Made changes to where labels are shown.Now red candles have labels above them and green candles have labels below them.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.