charting
Open chart
DoveeDocumentation
LanguageFunction reference

Home/Dovee/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 →