Nifty 500
1 Day
Close(0) higher than Open(0) and Prev N(Close,-1,day) higher than Prev N(Close,-2,day) and Prev N(Close,-2,day) higher than Prev N(Close,-3,day) and Prev N(Close,-3,day) higher than Prev N(Close,-4,day) and Prev N(Close,-4,day) higher than Prev N(Close,-5,day)