@azinversiones @l-andorrĂ  is correct this is a very specific terminology and quite personal, the simplest way is MA previous candle ID is below (<) MA current candle ID, reverse for down.