A1:=CROSS("MACD.DIF","macd.DEA");
A2:=CROSS("KDJ.K","KDJ.D") AND "KDJ.K"<-20;
A3:="CCI.cci"<-90 AND "CCI.CCI">-100;
A4:=CROSS("RSI.RSI1","RSI.RSI2") AND "RSI.RSI1"<50;
A5:=REF("WR.WR1",1)>90 AND "WR.WR1"<70;
A6:=CROSS("BIAS.BIAS1",-5);
A7:=REF("DMI.PDI",1)<REF("DMI.MDI",1)
AND REF("DMI.PDI",1)<REF("DMI.ADX",1) AND
REF("DMI.PDI",1)<REF("DMI.ADXR",1) AND "DMI.PDI">"DMI.MDI" AND
"DMI.PDI">"DMI.ADX" AND "DMI.PDI">"DMI.ADXR";
A8:=CROSS("MFI.MFI",20) AND REF("MFI.MFI",1)<20;
MTM:=CLOSE-REF(CLOSE,20);
MAMTM:=MA(MTM,60);
A9:=CROSS(MTM,MAMTM);
OSC:=100*(CLOSE-MA(CLOSE,20));
MAOSC:=EXPMEMA(OSC,6);
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
DKX:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+
16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+
13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+
10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+
7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+
4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210;
MADKX:=MA(DKX,20);
A10:="ADTM.ADTM"<-0.8;
AA1:=A1 AND A2 AND A3;
AA2:=A1 AND A2 AND A4;
AA3:=A1 AND A2 AND A5;
AA4:=A1 AND A2 AND A6;
AA5:=A1 AND A2 AND A7;
AA6:=A1 AND A2 AND A8;
AA7:=A1 AND A2 AND A9;
AA8:=A1 AND A2 AND A10;
AA9:=A1 AND A3 AND A4;
AA10:=A1 AND A3 AND A5;
AA11:=A1 AND A3 AND A6;
AA12:=A1 AND A3 AND A7;
AA13:=A1 AND A3 AND A8;
AA14:=A1 AND A3 AND A9;
AA15:=A1 AND A3 AND A10;
AA16:=A1 AND A4 AND A5;
AA17:=A1 AND A4 AND A6;
AA18:=A1 AND A4 AND A7;
AA19:=A1 AND A4 AND A8;
AA20:=A1 AND A4 AND A9;
AA21:=A1 AND A4 AND A10;
AA22:=A1 AND A5 AND A6;
AA23:=A1 AND A5 AND A7;
AA24:=A1 AND A5 AND A8;
AA25:=A1 AND A5 AND A9;
AA26:=A1 AND A5 AND A10;
AA27:=A1 AND A6 AND A7;
AA28:=A1 AND A6 AND A8;
AA29:=A1 AND A6 AND A9;
AA30:=A1 AND A6 AND A10;
AA31:=A1 AND A7 AND A8;
AA32:=A1 AND A7 AND A9;
AA33:=A1 AND A7 AND A10;
AA34:=A1 AND A8 AND A9;
AA35:=A1 AND A8 AND A10;
AA36:=A1 AND A9 AND A10;
AA37:=A2 AND A3 AND A4;
AA38:=A2 AND A3 AND A5;
AA39:=A2 AND A3 AND A6;
AA40:=A2 AND A3 AND A7;
AA41:=A2 AND A3 AND A8;
AA42:=A2 AND A3 AND A9;
AA43:=A2 AND A3 AND A10;
AA44:=A2 AND A4 AND A5;
AA45:=A2 AND A4 AND A6;
AA46:=A2 AND A4 AND A7;
AA47:=A2 AND A4 AND A8;
AA48:=A2 AND A4 AND A9;
AA49:=A2 AND A4 AND A10;
AA50:=A2 AND A5 AND A6;
AA51:=A2 AND A5 AND A7;
AA52:=A2 AND A5 AND A8;
AA53:=A2 AND A5 AND A9;
AA54:=A2 AND A5 AND A10;
AA55:=A2 AND A6 AND A7;
AA56:=A2 AND A6 AND A8;
AA57:=A2 AND A6 AND A9;
AA58:=A2 AND A6 AND A10;
AA59:=A2 AND A7 AND A8;
AA60:=A2 AND A7 AND A9;
AA61:=A2 AND A7 AND A10;
AA62:=A2 AND A8 AND A9;
AA63:=A2 AND A8 AND A10;
AA64:=A2 AND A9 AND A10;
AA65:=A3 AND A4 AND A5;
AA66:=A3 AND A4 AND A6;
AA67:=A3 AND A4 AND A7;
AA68:=A3 AND A4 AND A8;
AA69:=A3 AND A4 AND A9;
AA70:=A3 AND A4 AND A10;
AA71:=A3 AND A5 AND A6;
AA72:=A3 AND A5 AND A7;
AA73:=A3 AND A5 AND A8;
AA74:=A3 AND A5 AND A9;
AA75:=A3 AND A5 AND A10;
AA76:=A3 AND A6 AND A7;
AA77:=A3 AND A6 AND A8;
AA78:=A3 AND A6 AND A9;
AA79:=A3 AND A6 AND A10;
AA80:=A3 AND A7 AND A8;
AA81:=A3 AND A7 AND A9;
AA82:=A3 AND A7 AND A10;
AA83:=A3 AND A8 AND A9;
AA84:=A3 AND A8 AND A10;
AA85:=A3 AND A9 AND A10;
AA86:=A4 AND A5 AND A6;
AA87:=A4 AND A5 AND A7;
AA88:=A4 AND A5 AND A8;
AA89:=A4 AND A5 AND A9;
AA90:=A4 AND A5 AND A10;
AA91:=A4 AND A6 AND A7;
AA92:=A4 AND A6 AND A8;
AA93:=A4 AND A6 AND A9;
AA94:=A4 AND A6 AND A10;
AA95:=A4 AND A7 AND A8;
AA96:=A4 AND A7 AND A9;
AA97:=A4 AND A7 AND A10;
AA98:=A4 AND A8 AND A9;
AA99:=A4 AND A8 AND A10;
AA100:=A4 AND A9 AND A10;
AA101:=A5 AND A6 AND A7;
AA102:=A5 AND A6 AND A8;
AA103:=A5 AND A6 AND A9;
AA104:=A5 AND A6 AND A10;
AA105:=A5 AND A7 AND A8;
AA106:=A5 AND A7 AND A9;
AA107:=A5 AND A7 AND A10;
AA108:=A5 AND A8 AND A9;
AA109:=A5 AND A8 AND A10;
AA110:=A5 AND A9 AND A10;
AA111:=A6 AND A7 AND A8;
AA112:=A6 AND A7 AND A9;
AA113:=A6 AND A7 AND A10;
AA114:=A6 AND A8 AND A9;
AA115:=A6 AND A8 AND A10;
AA116:=A6 AND A9 AND A10;
AA117:=A7 AND A8 AND A9;
AA118:=A7 AND A8 AND A10;
AA119:=A7 AND A9 AND A10;
AA120:=A8 AND A9 AND A10;
XG:=AA1 OR AA2 OR AA3 OR AA4 OR AA5 OR AA6 OR AA7 OR AA8 OR AA9 OR AA10 OR AA11 OR AA12 OR AA13 OR AA14 OR
AA15 OR AA16 OR AA17 OR AA18 OR AA19 OR AA20 OR AA21 OR AA22 OR AA23 OR AA24 OR AA25 OR AA26 OR AA27 OR
AA28 OR AA29 OR AA30 OR AA31 OR AA32 OR AA33 OR AA34 OR AA35 OR AA36 OR AA37 OR AA38 OR AA39 OR AA40 OR
AA41 OR AA42 OR AA43 OR AA44 OR AA45 OR AA46 OR AA47 OR AA48 OR AA49 OR AA50 OR AA51 OR AA52 OR AA53 OR
AA54 OR AA55 OR AA56 OR AA57 OR AA58 OR AA59 OR AA60 OR AA61 OR AA62 OR AA63 OR AA64 OR AA65 OR AA66 OR
AA67 OR AA68 OR AA69 OR AA70 OR AA71 OR AA72 OR AA73 OR AA74 OR AA75 OR AA76 OR AA77 OR AA78 OR AA79 OR
AA80 OR AA81 OR AA82 OR AA83 OR AA84 OR AA85 OR AA86 OR AA87 OR AA88 OR AA89 OR AA90 OR AA91 OR AA92 OR
AA93 OR AA94 OR AA95 OR AA96 OR AA97 OR AA98 OR AA99 OR AA100 OR AA102 OR AA103 OR AA104 OR AA105 OR
AA106 OR AA107 OR AA108 OR AA109 OR AA110 OR AA112 OR AA113 OR AA114 OR AA115 OR AA116 OR AA117 OR
AA118 OR AA119 OR AA120;
选股:IF(XG,1,0),COLORRED;
九毛八公式解读
A1赋值:"平滑异同平均的DIF"上穿"平滑异同平均的DEA" A2赋值:"KDJ的K"上穿"KDJ的D" AND "KDJ的K"<-20 A3赋值:"CCI的CCI"<-90 AND "CCI的CCI">-100 A4赋值:"RSI的RSI1"上穿"RSI的RSI2" AND "RSI的RSI1"<50 A5赋值:1日前的"WR的WR1">90 AND "WR的WR1"<70 A6赋值:"乖离率的BIAS1"上穿-5 A7赋值:1日前的"DMI的PDI"<1日前的"DMI的MDI" AND 1日前的"DMI的PDI"<1日前的"DMI的ADX" AND 1日前的"DMI的PDI"<1日前的"DMI的ADXR" AND "DMI的PDI">"DMI的MDI" AND "DMI的PDI">"DMI的ADX" AND "DMI的PDI">"DMI的ADXR" A8赋值:"资金流量指标的MFI"上穿20 AND 1日前的"资金流量指标的MFI"<20 MTM赋值:收盘价-20日前的收盘价 MAMTM赋值:MTM的60日简单移动平均 A9赋值:MTM上穿MAMTM OSC赋值:100*(收盘价-收盘价的20日简单移动平均) MAOSC赋值:OSC的6日指数平滑移动平均 MID赋值:(3*收盘价+最低价+开盘价+最高价)/6 DKX赋值:(20*MID+19*1日前的MID+18*2日前的MID+17*3日前的MID+16*4日前的MID+15*5日前的MID+14*6日前的MID+13*7日前的MID+12*8日前的MID+11*9日前的MID+10*10日前的MID+9*11日前的MID+8*12日前的MID+7*13日前的MID+6*14日前的MID+5*15日前的MID+4*16日前的MID+3*17日前的MID+2*18日前的MID+20日前的MID)/210 MADKX赋值:DKX的20日简单移动平均 A10赋值:"动态买卖气指标的ADTM"<-0.8 AA1赋值:A1 AND A2 AND A3 AA2赋值:A1 AND A2 AND A4 AA3赋值:A1 AND A2 AND A5 AA4赋值:A1 AND A2 AND A6 AA5赋值:A1 AND A2 AND A7 AA6赋值:A1 AND A2 AND A8 AA7赋值:A1 AND A2 AND A9 AA8赋值:A1 AND A2 AND A10 AA9赋值:A1 AND A3 AND A4 AA10赋值:A1 AND A3 AND A5 AA11赋值:A1 AND A3 AND A6 AA12赋值:A1 AND A3 AND A7 AA13赋值:A1 AND A3 AND A8 AA14赋值:A1 AND A3 AND A9 AA15赋值:A1 AND A3 AND A10 AA16赋值:A1 AND A4 AND A5 AA17赋值:A1 AND A4 AND A6 AA18赋值:A1 AND A4 AND A7 AA19赋值:A1 AND A4 AND A8 AA20赋值:A1 AND A4 AND A9 AA21赋值:A1 AND A4 AND A10 AA22赋值:A1 AND A5 AND A6 AA23赋值:A1 AND A5 AND A7 AA24赋值:A1 AND A5 AND A8 AA25赋值:A1 AND A5 AND A9 AA26赋值:A1 AND A5 AND A10 AA27赋值:A1 AND A6 AND A7 AA28赋值:A1 AND A6 AND A8 AA29赋值:A1 AND A6 AND A9 AA30赋值:A1 AND A6 AND A10 AA31赋值:A1 AND A7 AND A8 AA32赋值:A1 AND A7 AND A9 AA33赋值:A1 AND A7 AND A10 AA34赋值:A1 AND A8 AND A9 AA35赋值:A1 AND A8 AND A10 AA36赋值:A1 AND A9 AND A10 AA37赋值:A2 AND A3 AND A4 AA38赋值:A2 AND A3 AND A5 AA39赋值:A2 AND A3 AND A6 AA40赋值:A2 AND A3 AND A7 AA41赋值:A2 AND A3 AND A8 AA42赋值:A2 AND A3 AND A9 AA43赋值:A2 AND A3 AND A10 AA44赋值:A2 AND A4 AND A5 AA45赋值:A2 AND A4 AND A6 AA46赋值:A2 AND A4 AND A7 AA47赋值:A2 AND A4 AND A8 AA48赋值:A2 AND A4 AND A9 AA49赋值:A2 AND A4 AND A10 AA50赋值:A2 AND A5 AND A6 AA51赋值:A2 AND A5 AND A7 AA52赋值:A2 AND A5 AND A8 AA53赋值:A2 AND A5 AND A9 AA54赋值:A2 AND A5 AND A10 AA55赋值:A2 AND A6 AND A7 AA56赋值:A2 AND A6 AND A8 AA57赋值:A2 AND A6 AND A9 AA58赋值:A2 AND A6 AND A10 AA59赋值:A2 AND A7 AND A8 AA60赋值:A2 AND A7 AND A9 AA61赋值:A2 AND A7 AND A10 AA62赋值:A2 AND A8 AND A9 AA63赋值:A2 AND A8 AND A10 AA64赋值:A2 AND A9 AND A10 AA65赋值:A3 AND A4 AND A5 AA66赋值:A3 AND A4 AND A6 AA67赋值:A3 AND A4 AND A7 AA68赋值:A3 AND A4 AND A8 AA69赋值:A3 AND A4 AND A9 AA70赋值:A3 AND A4 AND A10 AA71赋值:A3 AND A5 AND A6 AA72赋值:A3 AND A5 AND A7 AA73赋值:A3 AND A5 AND A8 AA74赋值:A3 AND A5 AND A9 AA75赋值:A3 AND A5 AND A10 AA76赋值:A3 AND A6 AND A7 AA77赋值:A3 AND A6 AND A8 AA78赋值:A3 AND A6 AND A9 AA79赋值:A3 AND A6 AND A10 AA80赋值:A3 AND A7 AND A8 AA81赋值:A3 AND A7 AND A9 AA82赋值:A3 AND A7 AND A10 AA83赋值:A3 AND A8 AND A9 AA84赋值:A3 AND A8 AND A10 AA85赋值:A3 AND A9 AND A10 AA86赋值:A4 AND A5 AND A6 AA87赋值:A4 AND A5 AND A7 AA88赋值:A4 AND A5 AND A8 AA89赋值:A4 AND A5 AND A9 AA90赋值:A4 AND A5 AND A10 AA91赋值:A4 AND A6 AND A7 AA92赋值:A4 AND A6 AND A8 AA93赋值:A4 AND A6 AND A9 AA94赋值:A4 AND A6 AND A10 AA95赋值:A4 AND A7 AND A8 AA96赋值:A4 AND A7 AND A9 AA97赋值:A4 AND A7 AND A10 AA98赋值:A4 AND A8 AND A9 AA99赋值:A4 AND A8 AND A10 AA100赋值:A4 AND A9 AND A10 AA101赋值:A5 AND A6 AND A7 AA102赋值:A5 AND A6 AND A8 AA103赋值:A5 AND A6 AND A9 AA104赋值:A5 AND A6 AND A10 AA105赋值:A5 AND A7 AND A8 AA106赋值:A5 AND A7 AND A9 AA107赋值:A5 AND A7 AND A10 AA108赋值:A5 AND A8 AND A9 AA109赋值:A5 AND A8 AND A10 AA110赋值:A5 AND A9 AND A10 AA111赋值:A6 AND A7 AND A8 AA112赋值:A6 AND A7 AND A9 AA113赋值:A6 AND A7 AND A10 AA114赋值:A6 AND A8 AND A9 AA115赋值:A6 AND A8 AND A10 AA116赋值:A6 AND A9 AND A10 AA117赋值:A7 AND A8 AND A9 AA118赋值:A7 AND A8 AND A10 AA119赋值:A7 AND A9 AND A10 AA120赋值:A8 AND A9 AND A10 XG赋值:AA1 OR AA2 OR AA3 OR AA4 OR AA5 OR AA6 OR AA7 OR AA8 OR AA9 OR AA10 OR AA11 OR AA12 OR AA13 OR AA14 ORAA15 OR AA16 OR AA17 OR AA18 OR AA19 OR AA20 OR AA21 OR AA22 OR AA23 OR AA24 OR AA25 OR AA26 OR AA27 ORAA28 OR AA29 OR AA30 OR AA31 OR AA32 OR AA33 OR AA34 OR AA35 OR AA36 OR AA37 OR AA38 OR AA39 OR AA40 ORAA41 OR AA42 OR AA43 OR AA44 OR AA45 OR AA46 OR AA47 OR AA48 OR AA49 OR AA50 OR AA51 OR AA52 OR AA53 ORAA54 OR AA55 OR AA56 OR AA57 OR AA58 OR AA59 OR AA60 OR AA61 OR AA62 OR AA63 OR AA64 OR AA65 OR AA66 ORAA67 OR AA68 OR AA69 OR AA70 OR AA71 OR AA72 OR AA73 OR AA74 OR AA75 OR AA76 OR AA77 OR AA78 OR AA79 ORAA80 OR AA81 OR AA82 OR AA83 OR AA84 OR AA85 OR AA86 OR AA87 OR AA88 OR AA89 OR AA90 OR AA91 OR AA92 ORAA93 OR AA94 OR AA95 OR AA96 OR AA97 OR AA98 OR AA99 OR AA100 OR AA102 OR AA103 OR AA104 OR AA105 ORAA106 OR AA107 OR AA108 OR AA109 OR AA110 OR AA112 OR AA113 OR AA114 OR AA115 OR AA116 OR AA117 ORAA118 OR AA119 OR AA120 输出选股:如果XG,返回1,否则返回0,画红色