请老师编写通达信公式?
均5:=MA(C,5);
均10:=MA(C,10);
均60:=MA(C,60);
均120:=MA(C,120);
角度5:=ATAN((均5/REF(均5,1)-1)*100)*180/3.1416;
角度10:=ATAN((均10/REF(均10,1)-1)*100)*180/3.1416;
角度60:=ATAN((均60/REF(均60,1)-1)*100)*180/3.1416;
角度120:=ATAN((均120/REF(均120,1)-1)*100)*180/3.1416;
A1:=MACD.DIF;
A2:=MACD.DEA;
量比:=VOL/MA(VOL,5);
S1:CLOSE>均5AND均5>均10AND均10>均60AND均60>均120AND角度5>0AND角度10>0AND角度60>0AND角度120>0ANDCROSS(C,均5)AND量比>2ANDA1>0ANDA2>0ANDA1>A2;
S2:=REF(((HHV(HIGH,N)-LLV(LOW,N))/LLV(LOW,N)),1)=REF(HHV(HIGH,N),1ANDBARSCOUNT(CLOSE)>N;
SG:S1ANDS2;
错误句:
S2:=REF(((HHV(HIGH,N)-LLV(LOW,N))/LLV(LOW,N)),1)=REF(HHV(HIGH,N),1ANDBARSCOUNT(CLOSE)>N
详细信息:
错误起始位置:333;长度:5