charting
Open chart
DoveeDocumentation
LanguageFunction reference

Home/Dovee/Function reference

crossover

Function form of a crosses above b.

Reference/Math & comparisons/Function

crossover(a, b)

Prefer the English phrase crosses above in Dovee scripts.

Parameters

NameTypeDescription
aseriesFast series.
bseriesSlow series.

Return value

boolean

Note

  • Same event as: a crosses above b.

Example

when crossover(ema(9), ema(21)) then buy

See also

  • abs
  • max
  • min
  • round
  • floor
  • ceil
  • sqrt
  • log
← lowestcrossunder →