

ZYG1:=EMA(C,2);
ZYG2:=EMA(SLOPE(C,21)*20+C,42);
STICKLINE(ZYG1 >=ZYG2,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0), COLOR600020;
STICKLINE(ZYG1 < ZYG2,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0), COLOR404050;
DRAWKLINE(H,O,L,C);
ZYG3:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);
柚子净买:DMA((2*CLOSE+LOW+HIGH)/4,ZYG3),LINETHICK3,COLORRED;
ZYG4:=(CLOSE/柚子净买);
ZYG5:=MA(ZYG4*(2*CLOSE+HIGH+LOW)/4,3);
ZYG6:=((ZYG5-柚子净买)/柚子净买)/3;
ZYG7:=ZYG5-ZYG6*ZYG5;
JJ:IF(ZYG7 <=柚子净买,柚子净买,DRAWNULL),LINETHICK3,COLORGREEN;
XJ:IF(ZYG7 <=柚子净买,ZYG7,DRAWNULL),LINETHICK2,COLORLIRED;
干活:CROSS(ZYG1,ZYG2),NODRAW;
ZYG8:=CROSS(ZYG2,ZYG1);
DRAWICON(干活,L-0.1,1);
DRAWICON(ZYG8,H+0.1,2);
DRAWTEXT(干活,L-0.38,'干活')COLORMAGENTA;
DRAWTEXT(ZYG8,H+0.38,''),COLORRED;
STICKLINE(ZYG1 >=ZYG2,LOW,HIGH,0.0,1),COLORRED;
STICKLINE(ZYG1 >=ZYG2,CLOSE,OPEN,3,1),COLORRED;
STICKLINE(ZYG1 < ZYG2,LOW,HIGH,0.0,1),COLORGREEN;
STICKLINE(ZYG1 < ZYG2,CLOSE,OPEN,3,1),COLORGREEN;
STICKLINE(干活,OPEN,CLOSE,2,0),COLORYELLOW;
ZYG9:=MA(CLOSE,9),COLORCYAN,LINETHICK1;
ZYG10:=MA(CLOSE,18),COLORMAGENTA;
DRAWICON(CROSS(ZYG9,ZYG10) AND ZYG1 >=ZYG2,ZYG10-0.1,1);
DRAWTEXT(CROSS(ZYG9,ZYG10) AND ZYG1 >=ZYG2,ZYG10-0.38,'1'),COLORYELLOW;
DRAWTEXT_FIX(1,0.60,0.75,0,'更多指标,低费率交易,私聊 '),COLORYELLOW;
ZYG11:=VOL >=REF(V,1)*1.91 AND C > REF(C,1)*1.01;
ZYG12:=100-EMA((HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100,34);
ZYG13:=EMA(ZYG12,21);
ZYG14:=EMA(CLOSE,12)-EMA(CLOSE,26);
ZYG15:=EMA(ZYG14,9);
ZYG16:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
ZYG17:=SMA(ZYG16,3,1);
ZYG18:=SMA(ZYG17,3,1);
ZYG19:=(HIGH+LOW+CLOSE)/3;
ZYG20:=(ZYG19-MA(ZYG19,14))*1000/(15*AVEDEV(ZYG19,14));
ZYG21:=ZYG12 > ZYG13;
ZYG22:=ZYG14 > ZYG15;
ZYG23:=ZYG17 > ZYG18;
ZYG24:=ZYG20 > 100;
ZYG25:=C > SAR.SAR;
ZYG26:=RSI.RSI1 > 50;
ZYG27:=ZYG21+ZYG22+ZYG23+ZYG24+ZYG25+ZYG26 > 5;
DRAWTEXT(FILTER(ZYG11,3) AND ZYG27,L-0.2,'暗盘共振')COLORYELLOW;
STICKLINE(FILTER(ZYG11,3) AND ZYG27,OPEN,CLOSE,1.5,0),COLORYELLOW;
ZYG28:=SUMBARS(FILTER(ZYG11,3) AND ZYG27,1);
STICKLINE(ZYG28,REF(L,ZYG28-1),REF(L,ZYG28-1),10,0),COLORYELLOW;
通达信暗盘趋势量化副图(共振)


1;
ZYG1:=100-EMA((HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100,34);
ZYG2:=EMA(ZYG1,21);
DRAWTEXT(ZYG1 > ZYG2,1.6,'涨'),COLORRED;
DRAWTEXT(ZYG1 < ZYG2,1.6,'涨'),COLORGREEN;
DRAWTEXT(ISLASTBAR=1,1.6,' 情绪'),COLORYELLOW;
ZYG3:=EMA(CLOSE,12)-EMA(CLOSE,26);
ZYG4:=EMA(ZYG3,9);
DRAWTEXT(ZYG3 > ZYG4,1.5,'涨'),COLORRED;
DRAWTEXT(ZYG3 < ZYG4,1.5,'涨'),COLORGREEN;
DRAWTEXT(ISLASTBAR=1,1.5,' 板块'),COLORYELLOW;
ZYG5:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
DRAWTEXT_FIX(1,0.60,0.75,0,'更多指标,低费率交易,私聊 '),COLORYELLOW;
ZYG6:=SMA(ZYG5,3,1);
ZYG7:=SMA(ZYG6,3,1);
DRAWTEXT(ZYG6 > ZYG7,1.4,'涨'),COLORRED;
DRAWTEXT(ZYG6 < ZYG7,1.4,'涨'),COLORGREEN;
DRAWTEXT(ISLASTBAR=1,1.4,' 龙头'),COLORYELLOW;
ZYG8:=(HIGH+LOW+CLOSE)/3;
ZYG9:=(ZYG8-MA(ZYG8,14))*1000/(15*AVEDEV(ZYG8,14));
DRAWTEXT(CCI > 100,1.3,'涨'),COLORRED;
DRAWTEXT(CCI < 100,1.3,'涨'),COLORGREEN;
DRAWTEXT(ISLASTBAR=1,1.3,' 机构'),COLORYELLOW;
DRAWTEXT(C > SAR.SAR,1.2,'涨'),COLORRED;
DRAWTEXT(C < SAR.SAR,1.2,'涨'),COLORGREEN;
DRAWTEXT(ISLASTBAR=1,1.2,' 柚子'),COLORYELLOW;
DRAWTEXT(RSI.RSI1 > 50,1.1,'涨'),COLORRED;
DRAWTEXT(RSI.RSI1 < 50,1.1,'涨'),COLORGREEN;
DRAWTEXT(ISLASTBAR=1,1.1,' 散户'),COLORYELLOW;
ZYG10:=ZYG1 > ZYG2;
ZYG11:=ZYG3 > ZYG4;
ZYG12:=ZYG6 > ZYG7;
ZYG13:=ZYG9 > 100;
ZYG14:=C > SAR.SAR;
ZYG15:=RSI.RSI1 > 50;
ZYG16:=ZYG10+ZYG11+ZYG12+ZYG13+ZYG14+ZYG15;
STICKLINE(1,1.7,1.8,3,1),COLOR666666;
DRAWNUMBER(1,1.77,ZYG16),COLORLIGRAY;
STICKLINE(ZYG16=6,1.7,1.8,3,0),COLORRED;
DRAWNUMBER(ZYG16=6,1.77,ZYG16),COLORWHITE;
STICKLINE(ZYG16=5,1.7,1.8,3,0),COLORMAGENTA;
DRAWNUMBER(ZYG16=5,1.77,ZYG16),COLORWHITE;
DRAWTEXT(ISLASTBAR=1,1.75,' 异动'),COLORYELLOW;
XG:ZYG16,NODRAW;
通达信暗盘趋势量化副图(信号)


ZYG1:=VOL >=REF(V,1)*1.91 AND C > REF(C,1)*1.01;
ZYG2:=100-EMA((HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100,34);
ZYG3:=EMA(ZYG2,21);
ZYG4:=EMA(CLOSE,12)-EMA(CLOSE,26);
ZYG5:=EMA(ZYG4,9);
ZYG6:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
ZYG7:=SMA(ZYG6,3,1);
ZYG8:=SMA(ZYG7,3,1);
ZYG9:=(HIGH+LOW+CLOSE)/3;
ZYG10:=(ZYG9-MA(ZYG9,14))*1000/(15*AVEDEV(ZYG9,14));
ZYG11:=ZYG2 > ZYG3;
ZYG12:=ZYG4 > ZYG5;
ZYG13:=ZYG7 > ZYG8;
ZYG14:=ZYG10 > 100;
ZYG15:=C > SAR.SAR;
ZYG16:=RSI.RSI1 > 50;
ZYG17:=ZYG11+ZYG12+ZYG13+ZYG14+ZYG15+ZYG16 > 5;
ZYG18:=FILTER(ZYG1,3) AND ZYG17;
CROSS(ZYG18,0.5),LINETHICK2,COLORYELLOW;
ZYG111:=EMA(C,2);
ZYG22:=EMA(SLOPE(C,21)*20+C,42);
DRAWTEXT_FIX(1,0.60,0.75,0,'更多指标,低费率交易,私聊 '),COLORYELLOW;
ZYG33:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);
柚子净买:=DMA((2*CLOSE+LOW+HIGH)/4,ZYG33),LINETHICK3,COLORRED;
ZYG44:=(CLOSE/柚子净买);
ZYG55:=MA(ZYG44*(2*CLOSE+HIGH+LOW)/4,3);
ZYG56:=((ZYG55-柚子净买)/柚子净买)/3;
ZYG57:=ZYG55-ZYG56*ZYG55;
JJ:=IF(ZYG57 <=柚子净买,柚子净买,DRAWNULL),LINETHICK3,COLORGREEN;
干活:CROSS(ZYG111,ZYG22),LINETHICK2,COLORRED;
通达信暗盘趋势量化选股(建仓信号)


ZYG111:=EMA(C,2);
ZYG22:=EMA(SLOPE(C,21)*20+C,42);
ZYG33:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);
柚子净买:=DMA((2*CLOSE+LOW+HIGH)/4,ZYG33),LINETHICK3,COLORRED;
ZYG44:=(CLOSE/柚子净买);
ZYG55:=MA(ZYG44*(2*CLOSE+HIGH+LOW)/4,3);
ZYG56:=((ZYG55-柚子净买)/柚子净买)/3;
ZYG57:=ZYG55-ZYG56*ZYG55;
JJ:=IF(ZYG57 <=柚子净买,柚子净买,DRAWNULL),LINETHICK3,COLORGREEN;
干活:CROSS(ZYG111,ZYG22),LINETHICK2,COLORRED;
通达信暗盘趋势量化选股(共振信号)


ZYG1:=VOL >=REF(V,1)*1.91 AND C > REF(C,1)*1.01;
ZYG2:=100-EMA((HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100,34);
ZYG3:=EMA(ZYG2,21);
ZYG4:=EMA(CLOSE,12)-EMA(CLOSE,26);
ZYG5:=EMA(ZYG4,9);
ZYG6:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
ZYG7:=SMA(ZYG6,3,1);
ZYG8:=SMA(ZYG7,3,1);
ZYG9:=(HIGH+LOW+CLOSE)/3;
ZYG10:=(ZYG9-MA(ZYG9,14))*1000/(15*AVEDEV(ZYG9,14));
ZYG11:=ZYG2 > ZYG3;
ZYG12:=ZYG4 > ZYG5;
ZYG13:=ZYG7 > ZYG8;
ZYG14:=ZYG10 > 100;
ZYG15:=C > SAR.SAR;
ZYG16:=RSI.RSI1 > 50;
ZYG17:=ZYG11+ZYG12+ZYG13+ZYG14+ZYG15+ZYG16 > 5;
ZYG18:=FILTER(ZYG1,3) AND ZYG17;
CROSS(ZYG18,0.5),LINETHICK2,COLORRED;