lolo

Bearish engulfing

Category: Screeners By: lolo Created: October 20, 2015, 4:18 PM
October 20, 2015, 4:18 PM
Screeners
2 Comments
Bearish engulfing

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

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")

Download
Filename: Bearish-engulfing-.itf
Downloads: 200
lolo
lolo Average
This author is like an anonymous function, present but not directly identifiable. More details on this code architect as soon as they exit 'incognito' mode.
Author’s Profile

Comments

#

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!

dmigliav
10 years ago
#

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 bars
HighPoint = HIGHEST[8](LOW)

// Compute the variation of price from this point to now
Advance = 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 advances
SCREENER [ Filter ] (Advance / Norm AS"Trend Power")

ProRealCode ProRealCode
Loading...