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TDXAB_S26);
TDXDD_FF:=TDXDD_E1-TDXDD_E2;
TDXDD_AA:=EMA(TDXDD_FF,TDXAB_S9);
TDXDD_DD:=(TDXDD_FF-TDXDD_AA)*TDXAB_S2;
TDXDD_AB:=EMA(TDXDD_FF,TDXAB_S27);
ZT:=TDXAB_C1>REF(TDXAB_C1,TDXAB_S1)*TDXAB_S1095 AND TDXAB_C1=TDXAB_H1;
ZT2:=COUNT(ZT,TDXAB_S10)>TDXAB_S3;
ZT3:=REF(ZT2,TDXAB_S1)>TDXAB_S0;
A1:=COUNT(TDXCC_JJ<TDXCC_KK,TDXAB_S9)>TDXAB_S8;
A2:=REF(A1,TDXAB_S1)>TDXAB_S0;
A3:=CROSS(TDXCC_JJ,TDXCC_KK) ;
A4:=COUNT(ZT3,TDXAB_S30)>TDXAB_S0;
XX:=A2 AND A3 AND A4 ;
妖股回头:FILTER(XX,20);
九毛八公式解读
TDXAB_L1赋值:最低价 TDXAB_H1赋值:最高价 TDXAB_C1赋值:收盘价 TDXAB_O1赋值:开盘价 TDXAB_V1赋值:成交量(手) TDXAB_S0赋值:0 TDXAB_S1赋值:1 TDXAB_S2赋值:2 TDXAB_S3赋值:3 TDXAB_S4赋值:4 TDXAB_S5赋值:5 TDXAB_S6赋值:6 TDXAB_S7赋值:7 TDXAB_S8赋值:8 TDXAB_S9赋值:9 TDXAB_S10赋值:10 TDXAB_S12赋值:12 TDXAB_S20赋值:20 TDXAB_S26赋值:26 TDXAB_S27赋值:27 TDXAB_S30赋值:30 TDXAB_S60赋值:60 TDXAB_S35赋值:35 TDXAB_S100赋值:100 TDXAB_S135赋值:135 TDXAB_S109赋值:1.09 TDXAB_S1095赋值:1.095 TDXBB_V5赋值:TDXAB_V1的TDXAB_S5日简单移动平均 TDXBB_V10赋值:TDXAB_V1的TDXAB_S10日简单移动平均 TDXBB_V35赋值:TDXAB_V1的TDXAB_S35日简单移动平均 TDXBB_V135赋值:TDXAB_V1的TDXAB_S135日简单移动平均 TDXBB_M3赋值:TDXAB_C1的TDXAB_S3日简单移动平均 TDXBB_M5赋值:TDXAB_C1的TDXAB_S5日简单移动平均 TDXBB_M10赋值:TDXAB_C1的TDXAB_S10日简单移动平均 TDXBB_M20赋值:TDXAB_C1的TDXAB_S20日简单移动平均 TDXBB_M30赋值:TDXAB_C1的TDXAB_S30日简单移动平均 TDXBB_M60赋值:TDXAB_C1的TDXAB_S60日简单移动平均 TDXA_01赋值:TDXAB_S9日内TDXAB_L1的最低值 TDXA_02赋值:TDXAB_S9日内TDXAB_H1的最高值 TDXA_03赋值:TDXAB_C1-TDXA_01 TDXA_04赋值:TDXA_02-TDXA_01 TDXA_05赋值:TDXA_03/TDXA_04 TDXCC_VV赋值:TDXA_05*TDXAB_S100 TDXCC_KK赋值:TDXCC_VV的TDXAB_S3日[TDXAB_S1日权重]移动平均 TDXCC_DD赋值:TDXCC_KK的TDXAB_S3日[TDXAB_S1日权重]移动平均 TDXCC_JJ赋值:TDXAB_S3*TDXCC_KK-TDXAB_S2*TDXCC_DD TDXDD_E1赋值:TDXAB_C1的TDXAB_S12日指数移动平均 TDXDD_E2赋值:TDXAB_C1的TDXAB_S26日指数移动平均 TDXDD_FF赋值:TDXDD_E1-TDXDD_E2 TDXDD_AA赋值:TDXDD_FF的TDXAB_S9日指数移动平均 TDXDD_DD赋值:(TDXDD_FF-TDXDD_AA)*TDXAB_S2 TDXDD_AB赋值:TDXDD_FF的TDXAB_S27日指数移动平均 ZT赋值:TDXAB_C1>TDXAB_S1日前的TDXAB_C1*TDXAB_S1095 AND TDXAB_C1=TDXAB_H1 ZT2赋值:统计TDXAB_S10日中满足ZT的天数>TDXAB_S3 ZT3赋值:TDXAB_S1日前的ZT2>TDXAB_S0 A1赋值:统计TDXAB_S9日中满足TDXCC_JJTDXAB_S8 A2赋值:TDXAB_S1日前的A1>TDXAB_S0 A3赋值:TDXCC_JJ上穿TDXCC_KK A4赋值:统计TDXAB_S30日中满足ZT3的天数>TDXAB_S0 XX赋值:A2 AND A3 AND A4 输出妖股回头:XX的20日过滤