ST:=EXIST((C/REF(C,1)-1)*100>5.6,60); TP:=OPEN>0; LC:=REF(CLOSE,1); AA:=ABS(HIGH-LC); BB:=ABS(LOW-LC); CC:=ABS(HIGH-REF(LOW,1)); DD:=ABS(LC-REF(OPEN,1)); R:=IF(AA>BB AND AA>CC,AA+BB/2+DD/4,IF(BB>CC AND BB>AA,BB+AA/2+DD/4,CC+DD/4)); X:=(CLOSE-LC+(CLOSE-OPEN)/2+LC-REF(OPEN,1)); SI:=16*X/R*MAX(AA,BB); ASI:=SUM(SI,0); MASI:=MA(ASI,5); CROSS(ASI,MASI)&&ST&&TP;
看 股吧公式 www.k anguba.com