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

sell

Open a short, or close a long when the script is long only or once.

Reference/Language/Language

sell

Inside a when body. long only turns sell into an exit. once (without short only) does the same — one trade at a time, so sell closes the long instead of reversing. short only uses sell as the entry.

Return value

signal -1

Example

short only
when ema(9) crosses below ema(21)
  sell

See also

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