I have a dataset as below and I want to see 3 days high low average, back from for each day in the same plot.
index closed high low open
tarih
2018-05-18 1364 0.00000442 0.00000445 0.00000405 0.00000416
2018-05-19 1365 0.00000458 0.00000465 0.00000427 0.00000442
2018-05-20 1366 0.00000482 0.00000489 0.00000448 0.00000455
2018-05-21 1367 0.00000489 0.00000492 0.00000463 0.00000482
2018-05-22 1368 0.00000475 0.00000492 0.00000465 0.00000487
2018-05-23 1369 0.00000461 0.00000486 0.00000450 0.00000475
2018-05-24 1370 0.00000462 0.00000480 0.00000455 0.00000464
for example for 05-24 it will calculate 21,22,23 days high low average and point it to 05-24.