Prorealtime - display stocks whose last high is higher than the highest of last n bar

Hi

quite new to prorealtime so please be patient.

I tried this code

high[1]>highest[10]

i thought it was a simple enough procedure but nothing is coming up..

please help


Hi,

A possible solution is:

indicator1 = DHigh(0)
c1 = (indicator1> Highest[10](High))

This means that todays high is higher than the high of the previous 10 days.

Good luck,

thevinman
 
Hi Secondary,

Below is an example of a screener:

Price is between 16 and 120
todays volume is a minimum 600k
20 days average volume is a minimum of 800k
ATR has a minimum of 1.2 dollars
and the high of today is higher than the high of the previous 10 days.
Filter is the % gainers from close to close.

Set the screener on daily.

You can use these settings for US stocks. I have checked the screener out, but there were no results as the total market has been going done this week. You can adjust the prices, ATR and the volumes to your own specs.

Now you have a start building your own screeners. Good luck!

thevinman



indicator1 = close
c1 = (indicator1 >= 16.0) AND (indicator1 <= 120.0)

indicator2 = Volume
c2 = (indicator2 >= 600000.0)

indicator3= Average[20](Volume)
c3 = (indicator3 >= 800000.0)

indicator4 = AverageTrueRange[14](close)
c4 = (indicator4 >= 1.2)

indicator5 = DHigh(0)
c5 = (indicator5> Highest[10](High))

SCREENER[c1 AND c2 AND c3 AND c4 AND c5] ((close/DClose(1)-1)*100 AS "%")
 
Top