VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交:=VOL;
主动买盘:=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)>=5.5 AND 主动买盘>主动卖盘 AND 主动买盘/REF(主动买盘,5)>=5 AND 主动买盘/REF(主动买盘,14)>=5 AND 主动买盘/REF(主动买盘,28)>=5 AND 主动买盘/REF(主动买盘,56)>=5;