charting
Open chart
DoveeDocumentation
LanguageFunction reference

Home/Dovee/Function reference

crosses above

True when a crosses from below b to above b on this bar.

Reference/Language/Language

a crosses above b

Uses this bar and the previous bar. Preferred English form of crossover(a, b). Typical for EMA crosses and zero-line breaks.

Return value

boolean

Example

fast = ema(9)
slow = ema(21)
when fast crosses above slow
  buy

See also

  • strategy
  • when
  • then
  • else
  • buy
  • sell
  • exit
  • long only
← qtycrosses below →