nke1.jpg

I have inserted an extra column named ‘adjclose’ to keep track of the normalized closed prices. So if a 1 to 2 split occurs , all the past prices will be divided by 2 and stored into adjclose column. And the rsi7 is calculated based on this adjusted close price to get the correct values.

I will need to run few scripts manually when the split occurs, so it is somewhat inconvenient for me.