-- <built-in function history_bars> returned NULL without setting an error
def handle_bar(context):
bar_len=50
bar_close=history_bars(\'SQRB05\',bar_len,\'1d\',\'CLOSE\')
log_debug_info(\'d:\\pythonout\\pel_test_log.txt\',context.IDEN)
上面的写法有什么不对的地方么?为什么
图标上显示:<built-in function history_bars> returned NULL without setting an error