Laabh
BlogPricing
AlgoCodeDocumentation

Get started

  • Overview
  • Deploy a live script

Dovee

  • Language
  • Function reference

Live trading

  • Risk & exits
  • Examples
All documentation

Documentation/AlgoCode/Function reference

paint

Tint the background of that bar. Use inside when, or paint … when … on one line.

Reference/Language/Language

paint green    paint green when bullish

Same color names as plot. Inside a when body it only paints bars where the condition is true. One-liner: paint green when close is above ema(21).

Return value

—

Example

when bullish
  paint green
when bearish
  paint red

See also

  • strategy
  • when
  • then
  • else
  • buy
  • sell
  • exit
  • long only
← labelalert →
Laabh

Advanced algorithmic trading platform for the crypto market.

Product

  • Features
  • Pricing
  • API
  • Documentation

Company

  • About
  • Blog
  • Careers
  • Contact

Email: info@seeventicks.com

Address: 1057, sector-65, Faridabad

Subscribe

Get the latest news and updates from Laabh.

© 2026 Laabh. All rights reserved.

Privacy policyTerms of service