There was a change in MQL5 code not so long ago. I guess the problem is that fxDreema didn't update the internal code to those changes. I hope he will be fixing it soon.
Is probably the flag state, you want it to only allow the close if DD already considered. You could use a bool variable so you can see the state in a comment.
@botondking Hi.
you should check candle ID 2 if that is close > open
and check candle ID 1 if close < open and upper wick size > 3 pips ( or any pips you need)
@l-andorrà I could compile the indicator without any issue. It's the common SSSR indi. However, what exactly the EA should do? The indicator draws a number of rectangles on the chart. The buffers are only used for the fractals.