Breakout Stocks screener

Category: Screeners By: Nicolas Created: March 7, 2016, 9:56 AM
March 7, 2016, 9:56 AM
Screeners
4 Comments

This breakout stocks screener come with my article here : http://www.prorealcode.com/blog/trading/stocks-breakouts-find-easily-proscreener/

Its purpose is to find the current stocks that may breakthrough their recent 52 week high on a daily timeframe.

//bullish trend
EMA1 = exponentialaverage[20](close)
EMA2 = exponentialaverage[50](close)
bullish = Close>EMA1 AND Close>EMA2 AND EMA1>EMA2

//near 52 week highest price
FiftyTwoWeekHigh = highest[250](high)
FivePercentBelow = 1-(Close/FiftyTwoWeekHigh)<5/100 

//the recent 52 week high were created at least 3 days ago
if FiftyTwoWeekHigh = FiftyTwoWeekHigh[1] AND FiftyTwoWeekHigh = FiftyTwoWeekHigh[2] AND FiftyTwoWeekHigh = FiftyTwoWeekHigh[3] THEN
  AtLeast3DaysAgo = 1 
ELSE
  AtLeast3DaysAgo = 0
ENDIF

AllConditions = bullish AND FivePercentBelow AND AtLeast3DaysAgo = 1

SCREENER [AllConditions]

 

Download
Filename: Breakout-Stocks-fetcher.itf
Downloads: 711
Nicolas Master
I created ProRealCode because I believe in the power of shared knowledge. I spend my time coding new tools and helping members solve complex problems. If you are stuck on a code or need a fresh perspective on a strategy, I am always willing to help. Welcome to the community!
Author’s Profile

Comments

Logo Logo
Loading...