I am running this screener to detect engulfing candlesticks > 10 pips on the Daily TF.
What’s the difference between applying it on the Daily Chart or on the, say, 1-minute chart?
ONCE BodySize = 10 * pipsize
TIMEFRAME(daily)
Engulf = 0
Body = abs(open - close)
Bearish = open > close
Bullish = open < close
IF Bearish[1] THEN //Bearish
IF open <= close[1] AND close >= open[1] AND Bullish THEN
Engulf = (Body > Body[1]) AND (Body >= BodySize)
END IF
ELSIF Bullish[1] THEN //Bullish
IF open >= close[1] AND close <= open[1] AND Bearish THEN
Engulf = (Body > Body[1]) AND (Body >= BodySize)
ENDIF
ENDIF
TIMEFRAME(default)
Result = Engulf
SCREENER[Result]
Nothing. The selected timeframe in the dropdown list is the “default” one, the one you are mentioning at line 16 of your screener code.