Dear Nebu,
Good Morning and how are you? I have updated the Stock Test01 file and have included a column for banknifty. As usual when i enter the date and closing prices for Nifty as well as banknifty all the DR, LN, LN-SQ has to be calculated automatically. Using the same logic of yours i have given the code for banknifty but its not working at all. Just see when i entered the 13th May-16 data the Nifty calculations are coming perfectly fine but Banknifty calculations are just blank. Attaching the screen shot and the working file.
Just awaiting to resolve this issue.
Regards,
Sonjoe Joseph.