Author: OKAS
Let’s see what a bearish engulfing is:
1. The previous candlestick must be a white one
2. The current candlestick must open upper the body of the previous candlestick
3. The current candlestick must close below the body of the previous candlestick
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
REM Compute the power of the bullish trend // Find the lowest quote on the last 8 bars LowPoint = LOWEST[8](LOW) // Compute the variation of price from this point to now Advance = CLOSE- LowPoint // Compute the usual volatility of the stock (median of True Range) Norm = SUMMATION[3](TR) - HIGHEST[3](TR) - LOWEST[3](TR) REM Stock picking : only the bearish engulfing Filter = CLOSE[1] > OPEN[1] AND OPEN > CLOSE[1] AND CLOSE < OPEN[1] REM We keep the most serious advances SCREENER [ Filter ] (Advance / Norm AS"Trend Power") |
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
Thanks a lot.
Here the same code only for Bullish Engulfing:
REM Compute the power of the bullish trend
// Find the HIGHEST quote on the last 8 barsHighPoint = HIGHEST[8](LOW)
// Compute the variation of price from this point to nowAdvance = OPEN- HighPoint
// Compute the usual volatility of the stock (median of True Range)Norm = SUMMATION[3](TR) – HIGHEST[3](TR) – LOWEST[3](TR)
REM Stock picking : only the Bullish engulfing
Filter = OPEN[1] > CLOSE[1] AND CLOSE > OPEN[1] AND OPEN < CLOSE[1]
REM We keep the most serious advancesSCREENER [ Filter ] (Advance / Norm AS”Trend Power”)
Hi! I was trying to import the code but it doesn t let me do it. Do you mind to do a ITF file? That would be very helpful!