Forums › ProRealTime English forum › ProScreener support › Scan on specific date › Reply To: Scan on specific date
02/13/2019 at 3:10 PM
#91300
I think that it would work correctly with the below code:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
ONCE Periods = 20 //last 20 bars ONCE PerCent = Periods * 0.9 //90% of times on the rise ONCE RsiNum = 14 MyRsi = rsi[RsiNum](close) idate = 20190106 if summation[Periods](MyRsi > MyRsi[1]) >= PerCent and date=idate then test=1 endif SCREENER[test] |
Change “idate” with the date of your choice in YYYYMMDD format.