I have been trying to make this work for over a month and bashing my head until I’ve just decided to ask for help. I would like to screen for stocks that are trading above/below opening prices for the Hour, Day, Week, Month, Quarter and Year. The most I have been able to do is create an indicator that plots all the opening prices after filtering out stocks above/below daily and weekly opening prices and then manually looking at the closing price relative to the others using the indicator.
Screener for stocks above/below Daily & Weekly Opening Prices
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// The following code is related to this timescale:daily
TIMEFRAME(daily)
c1=(close<open)
// The following code is related to this timescale:weekly
TIMEFRAME(weekly)
c2=(close<open)
// The following code is related to this timescale:1 hour
//TIMEFRAME(1 hour)
//c3 = (close < open)
// The following code is related to this timescale:daily
TIMEFRAME(daily)
c4=(close>0.2)
// The following code is related to this timescale:daily
TIMEFRAME(daily)
criteria=volume
c5=volume>300
// The following code is related to this timescale:DEFAULT
TIMEFRAME(DEFAULT)
SCREENER[c1ANDc2ANDc4ANDc5](criteriaAS"Volume")
I have tried using the “Insert Function” to call the indicator but the screener never picks up any of the values. I tested with ONLY the Yearly Open and the screen isn’t able to get that value. Below is the code for the indicator.
You should group all the same timeframe code below the same TIMEFRAME instruction.
The indicator doesn’t return anything because it uses instructions not compatible with ProScreener (all instructions that begin with Open: OpenWeek, ..).
To get the monthly Close try this (in daily imeframe):
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.