The screener will find stocks that are trading near their 52-Week Highs.
The price distance is in percent and freely adaptable with the “percent” variable setting.
The highest highs must be the same since 20 bars.
//PRC_Resting Above 52-Week Highs | screener
//Nicolas @ www.prorealcode.com
//Sharing ProRealTime knowledge
percent = 10 //price distance in percent from the 52-Week Lows
hh = highest(high)
c0 = summation(hh=hh)=20
c1 = close/hh>=(1-percent/100)
screener[c0 and c1](close/hh)
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 :