crosses above
True when a crosses from below b to above b on this bar.
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