编写要求:
10日内出现的,第一个倍量阳线,涨幅大于6。
www.gszx.com.cn网解答:
XG:CROSS(COUNT(IF(VOL>=REF(VOL,1)*2 AND (CLOSE>REF(CLOSE,1)-1)*100>6,IF(CLOSE<OPEN,0,IF(CLOSE=OPEN,IF(OPEN>REF(CLOSE,1),1,0),IF(CLOSE>OPEN,1,0))),0),10),0.5);