def order_logic(context, data):
high = history(60, "1d", "high")
low = history(60, "1d", "low")
rolling52_max = pandas.stats.moments.rolling_max(high,52)
rolling52_min = pandas.stats.moments.rolling_min(low,52
period52_high = rolling52_max[context.security][-2]
period52_low = rolling52_min[context.security][-2]
kumo_b = ((period52_high + period52_low) / 2)
Let's say I need kumo_b from 26 days ago, how do I reference it. It will be very helpful