Dear Awachat,
Please use Nifty Spot prices for the last week starting Monday and ending last weeks Friday data to calculate R1,S1 for the current week.
WeekH =4447, WeekL =4248, WeekC =4327, 2WP =8681.333333
R1 = 4433.333333
S1 = 4234.333333
So R1-S1=199
Where WeekH,WeekL...