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

then

One-line form of a when rule.

Reference/Language/Language

when condition then buy

Same as a when block with a single action. Prefer a block when you also want an arrow or label.

Return value

—

Example

when ema(9) crosses above ema(21) then buy

See also

  • strategy
  • when
  • else
  • buy
  • sell
  • exit
  • long only
  • short only
← whenelse →
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