Streak entry condition

Please let me know how to code for below condition:

  1. VWAP => candle stick cross above the vwap chart
    2.+DI cross above the -DI and ADX are in upward direction
    3.Elder force indicator are in positive direction