AAAA1:=(INDEXC-REF(INDEXC, 1))/REF(INDEXC, 1);
AAAA2:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1);
AAAA3:=IF(AAAA1>0.010, 0.900, 1) AND IF(AAAA1>(-0.025), 1, 1.200);
AAAA4:=AAAA3*(AAAA2-AAAA1)*100;
AAAA5:=SUM(AAAA4, 10);
AAAA6:=SMA(AAAA5, 40, 1);
AAAA7:=IF(CLOSE AND MA(VOL, 5)/240 AND CLOSE>REF(CLOSE, 1)*1.0 AND CLOSE,88,0);{AAA38>AAA39;}
AAAA8:=IF(CLOSE/REF(CLOSE, 1)>1.050 AND VOL/CAPITAL*100<10 AND CLOSE<17 AND HIGH/CLOSE<1.010 AND AAAA7>0, 91, 0);
HJ_1:=DYNAINFO(9)>0;
HJ_2:=IF(NAMELIKE(7),0,1) AND IF(NAMELIKE(8),0,1);
HJ_3:=FINANCE(40)/100000000<168;
HJ_4:=CLOSE<69.800003;
HJ_5:=FINANCE(33)>(-0.3);
HJ_6:=HJ_1 AND HJ_2 AND HJ_3 AND HJ_4 AND HJ_5;
HJ_7:=(HIGH-CLOSE+OPEN-LOW)/REF(CLOSE,1)<0.01;
HJ_8:=MA((CLOSE-OPEN)/REF(CLOSE,1),3)>0.035;
HJ_9:=HJ_7 AND HJ_8;
CCC:=COUNT(REF(HJ_9,1),15)>=1;
HJ_10:=HJ_9;
HJ_11:=CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
HJ_12:=FILTER(HJ_11,28);
HJ_13:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND
REF(CLOSE,1)<LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85 AND
CLOSE>OPEN AND CLOSE>=HHV(HIGH,10);
HJ_14:=HJ_12 AND HJ_13 AND HJ_6 AND CLOSE/REF(CLOSE,3)<1.16 AND OPEN/REF(CLOSE,1)<1.07;
DD:=HJ_14>0;
追击:=IF(AAAA8>90,30,0);
XG:CCC AND 追击 OR DD AND 追击;
九毛八公式解读
AAAA1赋值:(大盘的收盘价-1日前的大盘的收盘价)/1日前的大盘的收盘价 AAAA2赋值:(收盘价-1日前的收盘价)/1日前的收盘价 AAAA3赋值:如果AAAA1>0.010,返回0.900,否则返回1 AND 如果AAAA1>(-0.025),返回1,否则返回1.200 AAAA4赋值:AAAA3*(AAAA2-AAAA1)*100 AAAA5赋值:AAAA4的10日累和 AAAA6赋值:AAAA5的40日[1日权重]移动平均 AAAA7赋值:如果CLOSEANDMA(成交量(手),5)/240ANDCLOSE>1日前的收盘价*1.0ANDCLOSE,返回88,否则返回0 AAAA8赋值:如果收盘价/1日前的收盘价>1.050ANDVOL/当前流通股本(手)*100<10ANDCLOSE<17ANDHIGH/收盘价<1.010ANDAAAA7>0,返回91,否则返回0 HJ_1赋值:现量>0 HJ_2赋值:如果模糊匹配品种名称,返回0,否则返回1 AND 如果模糊匹配品种名称,返回0,否则返回1 HJ_3赋值:流通市值/100000000<168 HJ_4赋值:收盘价<69.800003 HJ_5赋值:每股收益(全年折算)>(-0.3) HJ_6赋值:HJ_1 AND HJ_2 AND HJ_3 AND HJ_4 AND HJ_5 HJ_7赋值:(最高价-收盘价+开盘价-最低价)/1日前的收盘价<0.01 HJ_8赋值:(收盘价-开盘价)/1日前的收盘价的3日简单移动平均>0.035 HJ_9赋值:HJ_7 AND HJ_8 CCC赋值:统计15日中满足1日前的HJ_9的天数>=1 HJ_10赋值:HJ_9 HJ_11赋值:收盘价/1日前的收盘价>1.048 AND 收盘价=最高价 AND 成交量(手)的4日线性回归预测值位于0.2*成交量(手)的12日线性回归预测值和2.1*成交量(手)的12日线性回归预测值之间 HJ_12赋值:HJ_11的28日过滤 HJ_13赋值:开盘价>0 AND 10日内最高价的最高值/10日内最低价的最低值<1.25 AND 1日前的收盘价<15日内最低价的最低值+(15日内最高价的最高值-15日内最低价的最低值)*0.85 AND 收阳线ANDSE 收盘价>=10日内最高价的最高值 HJ_14赋值:HJ_12 AND HJ_13 AND HJ_6 AND 收盘价/3日前的收盘价<1.16 AND 开盘价/1日前的收盘价<1.07 DD赋值:HJ_14>0 追击赋值:如果AAAA8>90,返回30,否则返回0 输出XG:CCC AND 追击 OR DD AND 追击