Bearish and Bullish Engulfing recognition
The project is a simple application in c# to recognize Bearish and Bullish Engulfing. In short, an ea sends prices info (bars info) to a dll written in c# that process the prices and tells the ea if there is a Bearish Engulfing or a Bullish Engulfing, and prints on the chart (on top of the bars) "Bearish Engulfing" or "Bullish Engulfing"
Bullish Engulfing is represented by this equation: ((Open > Close) AND (Close > O) AND (Close >= Open) AND (Close >= O) AND ((Close - Open) > (Open - Close)))
Bearish Engulfing by this one: ((Close > Open) AND (Open > Close) AND (Open >= Close) AND (Open >= Close) AND ((Open - Close) > (Close - Open))). The idea is that the ea send the prices and in the dll we check if those prices match one of the two patters, and return that info to the ea. The pattern validation is done in C#