--
aopen = round(float(history_bars(context.s1, 1, \'self\', \'open\',True,True,True)),1)
ahigh = round(float(history_bars(context.s1, 1, \'self\', \'high\',True,True,True)),1)
alow = round(float(history_bars(context.s1, 1, \'self\', \'low\',True,True,True)),1)
aclose = round(float(history_bars(context.s1, 1, \'self\', \'close\',True,True,True)),1)
###################################################################
zhigh = round(float(history_bars(context.s1, 1, \'1d\', \'high\',True,False,True)),1)
zlow = round(float(history_bars(context.s1, 1, \'1d\', \'low\',True,False,True)),1)
zclose = round(float(history_bars(context.s1, 1, \'1d\', \'close\',True,False,True)),1)
只有昨高 昨低 昨收测试 不正确