
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.
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
| « Mar | May » | |||||
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | |||||
RSS feed for comments on this post · TrackBack URI
Leave a reply