Bearish and Bullish Engulfing recognition - repost
$30-250 USD
Completed
Posted about 11 years ago
$30-250 USD
Paid on delivery
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[2] > Close[2]) AND (Close[1] > O) AND (Close[1] >= Open[2]) AND (Close[2] >= O) AND ((Close[1] - Open[1]) > (Open[2] - Close[2])))
Bearish Engulfing by this one: ((Close[2] > Open[2]) AND (Open[1] > Close[1]) AND (Open[1] >= Close[2]) AND (Open[2] >= Close[1]) AND ((Open[1] - Close[1]) > (Close[2] - Open[2]))). 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#