High > ref (high,1) and low < ref (low,1) will this code give me a bullish engulfing line candle pattern on an one hour chart

I USED THIS CODE CSP() = BULLISH_ENGULFING_LINE BUT IT IS NOT SHOWING SOME OF THE RESULTS. THEN I TRIED CSP() = BULLISH_ENGULFING_LINE OR CSP() = BEARISF_ENGULFING_LINE​

but the second code is not at all working.. Am i making any mistake.. All i am trying is to figure out the engulfing pattern(high and low of the present to be higher and lower than the previous candle). please help me 

For the Bullish Engulfing check the code by below link

1 Like

i have trying the code for HINDUNILEVER futures for last 2 month, but not working during the back test.
i have put the buy script as below.
REF(CLOSE,1)>REF(OPEN,1) AND
REF(CLOSE,2)< REF(OPEN,2) AND
REF(OPEN,1)<REF(CLOSE,2) AND
REF(CLOSE,1)>REF(OPEN,2)
and sell script as
REF(CLOSE,1)<REF(OPEN,1) AND
REF(CLOSE,2)< REF(OPEN,2) AND
REF(OPEN,1)<REF(CLOSE,2) AND
REF(CLOSE,1)<REF(OPEN,2)
please help