Macd & elder bull & bear power

Hi,

Is it possible to code a MACD crossover accompanied by Elder Bull/Bear power?

Conditions for Buy:

CROSSOVER(MACD(13, 26, 9, SIMPLE),MACDSignal(13, 26, 9, SIMPLE)) AND Elders Bull Power is +ve

Conditions for Sell:

CROSSOVER(MACDSignal(13, 26, 9, SIMPLE),MACD(13, 26, 9, SIMPLE)) AND Elders Bear Power is +ve