OPEN-SOURCE SCRIPT
Colored Volume Bars [LazyBear] v6 [Remake J. Lubin 5/2026]

A modernized Pine Script v6 rebuild of LazyBear's classic *Colored Volume Bars* indicator, with new themes, a multi-type volume moving average, and built-in alerts.
The script colors each volume bar based on the relationship between the **current bar and a lookback bar** — comparing both price direction and volume change — to make accumulation, distribution, exhaustion, and stealth moves visually obvious at a glance.
**Color logic**
- **Price Up + Volume Up** → strong bullish (real buying pressure)
- **Price Up + Volume Down** → weak bullish (rally on thin volume)
- **Price Down + Volume Up** → strong bearish (active selling)
- **Price Down + Volume Down** → weak bearish (fading sellers)
- **Neutral** → no clear direction
**Features**
- Pine Script v6, lightweight and fast
- 4 visual themes + fully customizable colors:
- Classic LazyBear
- Futuristic Neon
- Modern Professional
- Minimal Clean
- Custom
- Optional volume moving average with **5 MA types**: SMA, EMA, RMA, WMA, TEMA (true triple-EMA formula)
- Adjustable lookback, bar transparency, and MA line width
- Built-in alerts:
- Bullish confirmation (price up + volume up)
- Bearish confirmation (price down + volume up)
- Volume expansion
- Volume contraction
**How to use**
Add it to any chart and any timeframe. Use it as a confirmation tool alongside price action, trend, or breakout strategies — green/strong-color bars confirm conviction behind a move; weak-color bars warn that momentum may be fading.
**Credits**
Original concept by **LazyBear**. This version is a full v6 rewrite with theming, MA flexibility, and alerts added — original color logic preserved exactly under the "Classic LazyBear" theme.
The script colors each volume bar based on the relationship between the **current bar and a lookback bar** — comparing both price direction and volume change — to make accumulation, distribution, exhaustion, and stealth moves visually obvious at a glance.
**Color logic**
- **Price Up + Volume Up** → strong bullish (real buying pressure)
- **Price Up + Volume Down** → weak bullish (rally on thin volume)
- **Price Down + Volume Up** → strong bearish (active selling)
- **Price Down + Volume Down** → weak bearish (fading sellers)
- **Neutral** → no clear direction
**Features**
- Pine Script v6, lightweight and fast
- 4 visual themes + fully customizable colors:
- Classic LazyBear
- Futuristic Neon
- Modern Professional
- Minimal Clean
- Custom
- Optional volume moving average with **5 MA types**: SMA, EMA, RMA, WMA, TEMA (true triple-EMA formula)
- Adjustable lookback, bar transparency, and MA line width
- Built-in alerts:
- Bullish confirmation (price up + volume up)
- Bearish confirmation (price down + volume up)
- Volume expansion
- Volume contraction
**How to use**
Add it to any chart and any timeframe. Use it as a confirmation tool alongside price action, trend, or breakout strategies — green/strong-color bars confirm conviction behind a move; weak-color bars warn that momentum may be fading.
**Credits**
Original concept by **LazyBear**. This version is a full v6 rewrite with theming, MA flexibility, and alerts added — original color logic preserved exactly under the "Classic LazyBear" theme.
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.