OPEN-SOURCE SCRIPT
Candle Close Location Marker

This script customizes the appearance of candlesticks by highlighting whether the candle closed in the upper, middle, or lower part of its range — using a small orange marker inside each candle.
It also includes a traditional volume histogram with two simple moving averages (SMA 20 and SMA 50), helping traders detect volume trends and potential reversals.
📌 Useful for identifying strength of momentum and visualizing market sentiment clearly.
Features:
• ✅ Colored candles: green for bullish, black for bearish
• ✅ Orange square shows the position of the close (top, middle, or bottom of the candle)
• ✅ Volume bars with SMA 20 (orange) and SMA 50 (blue)
• ✅ Works on all timeframes
Developed by: [Your Name or Alias]
Version: 1.0
Language: Pine Script v5
It also includes a traditional volume histogram with two simple moving averages (SMA 20 and SMA 50), helping traders detect volume trends and potential reversals.
📌 Useful for identifying strength of momentum and visualizing market sentiment clearly.
Features:
• ✅ Colored candles: green for bullish, black for bearish
• ✅ Orange square shows the position of the close (top, middle, or bottom of the candle)
• ✅ Volume bars with SMA 20 (orange) and SMA 50 (blue)
• ✅ Works on all timeframes
Developed by: [Your Name or Alias]
Version: 1.0
Language: Pine Script v5
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.
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.
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.