How can I use iOpen(), iClose(), iLow() and iHigh() to find momentum candles within an EA code?

 
I thought that defining candles that had bodies 80% bigger than the wicks would result in momentum candles. I found out that this analysis was seriously flawed. Mainly because even in consolidation you can get candles that satisfy my above condition but aren't momentum candles. How can I use the above stated functions to find momentum candles consistently?
 
  1. Step one: Define in concrete terms what a "momentum candle" is. Only then can you code it.
  2. This is the market. There is no "consistently"
 
William Roeder:
  1. Step one: Define in concrete terms what a "momentum candle" is. Only then can you code it.
  2. This is the market. There is no "consistently"

Then I guess, 1. Is my problem. I haven't been able to answer that. I would be grateful if you could help me with that.

 
I would really appreciate some help.
 
Jackery:
I would really appreciate some help.

Use momentum indicator

Reason: