Loading ...

麦语言跨周期引用报错的问题

Author: autonomism, Created: 2019-11-22 07:06:46, Updated:

我想引用1小时的数据 #EXPORT REF_60 N:=20; TR:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW)); ATR:=MA(TR,N); KD:=REF(MA(LLV(L,3),5)+ATR,1); KK:=REF(MA(HHV(H,3),5)-ATR,1); #END //////////////////// #IMPORT[MIN,60,REF_60] AS VAR0 60KD :=VAR0.KD,NODRAW;/////Line 23: 60KK :=VAR0.KK,NODRAW; 策略没问题 但是回测显示错误Line 23: syntax error, unexpected ID


More

小草 报的是语法错误