编写要求:
www.gszx.com.cn网解答:
网友求助:
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主动卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
昨日卖盘:=REF(主动卖盘,1);
少量:=主动卖盘*3>昨日卖盘;
涨幅:=(C-REF(C,1))/REF(C,1)*100;
选:涨停后 AND 7天内 AND 少量;
我就是7天内任意一天出现缩量 不会表达
解答如下:
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主动卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
昨日卖盘:=REF(主动卖盘,1);
少量:=主动卖盘*3>昨日卖盘;
涨幅:=(C-REF(C,1))/REF(C,1)*100;
XG:REF(涨幅>9.5,7) AND COUNT(V/REF(V,1)<1,7)=1 AND 少量 ;