Disliked{quote} Since this indicator is meant to just assist me identify potential areas of interest to take a trade l suggest we make it as simple as possible, no need to make it complex. Just use the normal engulfing criteria to identify an engulfed candle. What is important for me however is that candle 3 (0+2 in programming terms) lowest price should not touch/match candle 1's (0 in programming terms) highest price for bullish engulfing scenario. Or you can code it as close to your understanding of my explanation as you can, at this point l will have...Ignored
What I mean is that for EX. 1, if you want to know that High[1] is lower than Open[3], you need to wait until [0] closes, and then we have a 4 candle pattern.
Which means that for Ex. 2 we actually have a 5 candle pattern.
And your latest image confirms this.
1 must be already closed, not the current candle.
Also, the latest picture suggests that Low[2] must be > High[4] in this Bullish pattern???
Also, the image clearly shows FVG on 3 and on 2.
.ex4/.ex5 files can't be fixed or modified / I'm not a coder!