VAR3:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
VAR4:=(IF(CLOSE>OPEN,VAR3*(HIGH-LOW),IF(CLOSE<OPEN,VAR3*(HIGH-OPEN+CLOSE-LOW),VOL/2))/(IF(CLOSE>OPEN,0-VAR3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-VAR3*(HIGH-LOW),0-VOL/2))*(-1))-IF(CLOSE>OPEN,0-VAR3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-VAR3*(HIGH-LOW),0-VOL/2))*(-1)/IF(CLOSE>OPEN,VAR3*(HIGH-LOW),IF(CLOSE<OPEN,VAR3*(HIGH-OPEN+CLOSE-LOW),VOL/2)));
VAR5:=AMOUNT/(100*VOL);
VAR6:=MA(VAR5,40);
VAR7:=100*(CLOSE-VAR6)/VAR6;
底部追击:=VAR4>0 AND VAR7<-12 AND CLOSE/OPEN>1.08;
买进:=VAR4>0 AND VAR7<-12 AND CLOSE/OPEN>1.05;
选股:底部追击 AND 买进;
九毛八公式解读
VAR3赋值:成交量(手)/((最高价-最低价)*2-收盘价-开盘价的绝对值) VAR4赋值:(如果收阳线,返回VAR3*(最高价-最低价),否则返回如果收阴线,返回VAR3*(最高价-开盘价+收盘价-最低价),否则返回成交量(手)/2/(如果收阳线,返回0-VAR3*(最高价-收盘价+开盘价-最低价),否则返回如果收阴线,返回0-VAR3*(最高价-最低价),否则返回0-成交量(手)/2*(-1))-如果收阳线,返回0-VAR3*(最高价-收盘价+开盘价-最低价),否则返回如果收阴线,返回0-VAR3*(最高价-最低价),否则返回0-成交量(手)/2*(-1)/如果收阳线,返回VAR3*(最高价-最低价),否则返回如果收阴线,返回VAR3*(最高价-开盘价+收盘价-最低价),否则返回成交量(手)/2) VAR5赋值:成交额(元)/(100*成交量(手)) VAR6赋值:VAR5的40日简单移动平均 VAR7赋值:100*(收盘价-VAR6)/VAR6 底部追击赋值:VAR4>0 AND VAR7<-12 AND 收盘价/开盘价>1.08 买进赋值:VAR4>0 AND VAR7<-12 AND 收盘价/开盘价>1.05 输出选股:底部追击 AND 买进