Documentation/AlgoCode/Function reference
crosses below
True when a crosses from above b to below b on this bar.
a crosses below b
Preferred English form of crossunder(a, b).
Return value
boolean
Example
fastLen = input 9 as "Fast EMA" slowLen = input 21 as "Slow EMA" fast = ema(close, fastLen) slow = ema(close, slowLen) when fast crosses below slow exit