A1:=SUM(MAX(0,HIGH-REF(CLOSE,1)),26)/SUM(MAX(0,REF(CLOSE,1)-LOW),26)*100;
A2:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;
A3:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),26);
A4:=SUM(IF(CLOSE<REF(CLOSE,1),VOL,0),26);
A5:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),26);
A6:=100*(A3*2+A5)/(A4*2+A5);
A7:=COUNT(CLOSE>REF(CLOSE,1),12)/12*100;
A8:=REF(VOL,1);
A9:=SMA(MAX(VOL-A8,0),6,1)/SMA(ABS(VOL-A8),6,1)*100;
MID:=REF(HIGH+LOW,1)/2;
A10:=SUM(MAX(0,HIGH-MID),26)/SUM(MAX(0,MID-LOW),26)*100;
DTM:=IF(OPEN<=REF(OPEN,1),0,MAX((HIGH-OPEN),(OPEN-REF(OPEN,1))));
DBM:=IF(OPEN>=REF(OPEN,1),0,MAX((OPEN-LOW),(OPEN-REF(OPEN,1))));
STM:=SUM(DTM,23);
SBM:=SUM(DBM,23);
A11:=IF(STM>SBM,(STM-SBM)/STM,IF(STM=SBM,0,(STM-SBM)/SBM));
A1<60 AND A2<74 AND A6<60 AND A7<20 AND A9<51
AND A10<50 AND A11<-0.3 AND C*1.32<MCST.MCST
AND (C-REF(C,1))/REF(C,1)<0.04 ;
九毛八公式解读
A1赋值:0和最高价-1日前的收盘价的较大值的26日累和/0和1日前的收盘价-最低价的较大值的26日累和*100 A2赋值:最高价-开盘价的26日累和/开盘价-最低价的26日累和*100 A3赋值:如果收盘价>1日前的收盘价,返回成交量(手),否则返回0的26日累和 A4赋值:如果收盘价<1日前的收盘价,返回成交量(手),否则返回0的26日累和 A5赋值:如果收盘价=1日前的收盘价,返回成交量(手),否则返回0的26日累和 A6赋值:100*(A3*2+A5)/(A4*2+A5) A7赋值:统计12日中满足收盘价>1日前的收盘价的天数/12*100 A8赋值:1日前的成交量(手) A9赋值:成交量(手)-A8和0的较大值的6日[1日权重]移动平均/成交量(手)-A8的绝对值的6日[1日权重]移动平均*100 MID赋值:1日前的最高价+最低价/2 A10赋值:0和最高价-MID的较大值的26日累和/0和MID-最低价的较大值的26日累和*100 DTM赋值:如果开盘价<=1日前的开盘价,返回0,否则返回(最高价-开盘价)和(开盘价-1日前的开盘价)的较大值 DBM赋值:如果开盘价>=1日前的开盘价,返回0,否则返回(开盘价-最低价)和(开盘价-1日前的开盘价)的较大值 STM赋值:DTM的23日累和 SBM赋值:DBM的23日累和 A11赋值:如果STM>SBM,返回(STM-SBM)/STM,否则返回如果STM=SBM,返回0,否则返回(STM-SBM)/SBM A1<60 AND A2<74 AND A6<60 AND A7<20 AND A9<51AND A10<50 AND A11<-0.3 AND 收盘价*1.32<市场成本的MCSTAND (收盘价-1日前的收盘价)/1日前的收盘价<0.04