Bearish Harami at Day start Candle

Dear Seniors,

I am new to AFL coding, So please ignore my novice knowledge.
I am trying to code an AFL to findout a bearish/Bullish Harami at the days start, where in the day has opened with a gap.
Below Example, the Day opened with a small gap from previous day close.
the first candle and second candle were Green and Red (Bearish Harami).

Kindly assist. This has to be at the days start.

Thanks a ton in advance.