Very simple but effective code.
Many strategies use bullish or bearish engulfing.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
ENGULFING = 0 IF close > open AND close > high[1] AND open < low[1] THEN ENGULFING = 1 ENDIF IF close < open AND close < low[1] AND open > high[1] THEN ENGULFING = -1 ENDIF return ENGULFING // To get the screener : // screener[ENGULFING] |
Share this
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.
ProRealTime ITF files and other attachments :
Filename : download the ITF files
How to import ITF files into ProRealTime platform?
PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials
Bonjour,
Comment utiliser cet indicateur comme screener?
Merci.