通达信龙王模型主图



MA5:MA(C,5);
MA10:MA(C,13)COLORMAGENTA;
M:=55;
N:=34;
VOLUME:=VOL,NODRAW;
VA8:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
ZYG18:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA8),0);
ZYG28:=EMA(ZYG18,3)-MA(ZYG18,9);
ZYG38:=EMA(IF(ZYG28>0,ZYG28,0),3);
MAC38:=MA(C,3);
QS:=ZYG38>REF(ZYG38,1) AND MAC38>REF(MAC38,1);
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
ZYG1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
ZYG2:=EMA(ZYG1,3)-MA(ZYG1,9);
ZYG3:=EMA(IF(ZYG2>0,ZYG2,0),3);
MAC3:=MA(C,3);
龙王模型:=ZYG3,NODRAW,COLOR00FFFF;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
XG:=MACD>0;
DRAWTEXT_FIX(1,0.60,0.75,0,'更多指标,低费率交易,私聊 '),COLORYELLOW;
STICKLINE(ZYG3>REF(ZYG3,1) AND MAC3>REF(MAC3,1) AND XG,OPEN,CLOSE,2,0),COLORYELLOW;
游资:=BARSLASTCOUNT(ZYG3>REF(ZYG3,1) AND MAC3>REF(MAC3,1) AND XG)=1;
DRAWICON(游资,L,9);
DRAWTEXT(游资,LOW*0.97,' ★龙王模型'),COLORYELLOW;
通达信龙王模型副图


ZYG1:=90+(100-90)/2;
ZYG2:=(100-90)/2;
ZYG3:=COST(ZYG1);
ZYG4:=COST(ZYG2);
ZYG5:=(ZYG3-ZYG4)/(ZYG3+ZYG4)*100/2;
ZYG6:=MA(ZYG5,3);
ZYG7:=IF(ZYG6>REF(ZYG6,3) AND MA(CLOSE,20)>REF(MA(CLOSE,20),3),1,0);
STICKLINE(ZYG7>0,0,-ZYG6,2.1,0),COLOR0064FF;
STICKLINE(ZYG7>0,0,-ZYG6,1.5,0),COLOR0093FF;
STICKLINE(ZYG7>0,0,-ZYG6,0.9,0),COLOR00C2FF;
STICKLINE(ZYG7>0,0,-ZYG6,0.3,0),COLORYELLOW;
ZYG8:=(-IF(ZYG6>REF(ZYG6,3) AND MA(CLOSE,20)>REF(MA(CLOSE,20),3),1,0))*100;
ZYG9:=EMA(EMA(CLOSE,9),9);
ZYG10:=(ZYG9-REF(ZYG9,1))/REF(ZYG9,1)*500;
STICKLINE(ZYG10< 0,ZYG10,0,3,0),COLOR008000;
ZYG11:=CROSS(ZYG10,0);
STICKLINE(ZYG10>REF(ZYG10,1) AND ZYG10>0,ZYG10,0,3,0),COLORRED;
龙王模型:IF(ZYG10>REF(ZYG10,1) AND ZYG10>0,ZYG10,0),NODRAW,COLORRED;
ZYG12:=100*WINNER(CLOSE*0.95);
STICKLINE(ZYG12>50 AND COST(85)< CLOSE AND ZYG10>0,ZYG10,0,3,0),COLORMAGENTA;
游资高度控盘:IF(ZYG12>50 AND COST(85)< CLOSE AND ZYG10>0,ZYG10,0),NODRAW,COLORMAGENTA;
STICKLINE(ZYG10< REF(ZYG10,1) AND ZYG10>0,ZYG10,0,3,0),NODRAW,COLORYELLOW;
ZYG13:=IF(ZYG10< REF(ZYG10,1) AND ZYG10>0,ZYG10,0);
游资撤退:IF(ZYG10< 0,ZYG10,0),NODRAW,COLORGREEN;
游资试盘:IF(ZYG11,666,0),NODRAW,COLORYELLOW;
STICKLINE(游资试盘>0,0,3,1,0),COLORYELLOW;
DRAWICON(游资试盘>0,0.1,9);
散户活跃:龙王模型=0 AND 游资撤退=0 AND 游资高度控盘=0,NODRAW;
STICKLINE(散户活跃=1,(-0.3),2,3,0),COLORBLUE;
ZYG14:=FINANCE(42);
ZYG15:=DATETODAY(CONST(DATE));
ZYG16:=ZYG15-ZYG14;
ZYG17:=DAYTODATE(ZYG16)+19000000;
ZYG18:=STRCAT(1475,CON2STR(ZYG17,0));
ZYG19:=STRCAT(1476,CON2STR(FINANCE(42),0));
ZYG20:=STRCAT(ZYG19,48);
ZYG21:=STRCAT(1477,CON2STR(TOTALBARSCOUNT,0));
ZYG22:=STRCAT(ZYG21,1478);
ZYG23:=EMA(CLOSE,1);
ZYG24:=ZYG23/REF(ZYG23,1)>=1.095;
ZYG25:=COUNT(ZYG24,BARSSINCE(ZYG24)+1);
ZYG26:=STRCAT(1479,CON2STR(CONST(BARSLAST(ZYG24)),0));
ZYG27:=STRCAT(ZYG26,1480);
ZYG28:=STRCAT(1481,CON2STR(ZYG25,0));
ZYG29:=STRCAT(ZYG28,1482);
ZYG30:=STRCAT(ZYG20,ZYG29);
ZYG31:=STRCAT(ZYG30,ZYG27);
ZYG32:=STRCAT(1483,ZYG31);
ZYG33:=IF(CODELIKE(1169),0,1);
ZYG34:=VOL/CAPITAL*100;
ZYG35:=(HIGH+LOW+CLOSE)/3;
ZYG36:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
ZYG37:=IF(CAPITAL=0,ZYG36*(ZYG35-MIN(CLOSE,OPEN)),ZYG36*IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW));
ZYG38:=IF(CAPITAL=0,ZYG36*(MIN(OPEN,CLOSE)-LOW),ZYG36*IF(HIGH=LOW,1,ZYG35-MIN(CLOSE,OPEN)));
ZYG39:=IF(CAPITAL=0,ZYG36*(HIGH-MAX(OPEN,CLOSE)),ZYG36*IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE)));
ZYG40:=IF(CAPITAL=0,ZYG36*(MAX(CLOSE,OPEN)-ZYG35),ZYG36*IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-ZYG35));
ZYG41:=(ZYG37+ZYG38-(ZYG39+ZYG40))/IF(CAPITAL=0,10000,10000);
ZYG42:=SMA(IF(CLOSE>=REF(CLOSE,1),ZYG41,(-ZYG41)/100),2,1);
ZYG43:=SMA(ZYG42*120/FROMOPEN*5,2,1);
ZYG44:=SMA(ZYG43,5,1);
ZYG45:=SMA(ZYG44,5,1);
ZYG46:=CURRBARSCOUNT=1 AND CLOSE< REF(CLOSE,1);
ZYG47:=REF(ZYG42,1)-ZYG46;
ZYG48:=ZYG42*1.01-REF(ZYG42,1);
ZYG49:=REF(ZYG42*1.01,1)-REF(ZYG42,2);
ZYG50:=ZYG48>3*ABS(ZYG49);
ZYG51:=EMA(ZYG42,15);
ZYG52:=COST(85);
ZYG53:=COST(15);
ZYG54:=ZYG52-ZYG53;
ZYG55:=(ZYG52+ZYG53)/2;
ZYG56:=ZYG54/ZYG55*100< 30;
ZYG57:=HHV(HIGH,250);
ZYG58:=LLV(LOW,250);
ZYG59:=ZYG57-ZYG58;
ZYG60:=ZYG55-ZYG58;
ZYG61:=ZYG55< ZYG59*4+ZYG58;
ZYG62:=ZYG56 AND ZYG61;
ZYG63:=CLOSE/REF(CLOSE,1)>1.04;
ZYG64:=EMA(100*(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)),3);
ZYG65:=ZYG64>=75 AND CLOSE>0 AND CLOSE>OPEN;
章鱼哥:=FILTER(ZYG65 AND ZYG62 AND ZYG60 AND WINNER(CLOSE)>=0.9 AND ZYG63 AND CLOSE/REF(CLOSE,1)>1.092 AND CLOSE=HIGH AND CLOSE< 40 AND ZYG33 AND ZYG34< 20,10);
ZYG67:=(2*CLOSE+HIGH+LOW)/4;
ZYG68:=LLV(LOW,5);
ZYG69:=HHV(HIGH,5);
ZYG70:=EMA((ZYG67-ZYG68)/(ZYG69-ZYG68)*100,5);
ZYG71:=MA(ZYG70,2);
ZYG72:=REF(CLOSE,1)/REF(CLOSE,2)< 0.95;
ZYG73:=ZYG71< 20 AND ZYG72 AND CLOSE>LOW AND OPEN>LOW;
ZYG74:=CLOSE/REF(CLOSE,3)< 0.95;
ZYG75:=REF(ZYG74,1)=1 AND CLOSE/REF(CLOSE,1)>1.025;
ZYG76:=VOL>REF(HHV(VOL,10),1) AND NOT(OPEN=CLOSE) AND HIGH/CLOSE< 1.0007;
ZYG77:=REF(EVERY(MA(CLOSE,5)< MA(CLOSE,10),5),1) AND VOL/MA(VOL,10)>1.8;
ZYG78:=COUNT(ZYG73=1,3)>0 AND REF(CLOSE,1)< REF(CLOSE,2);
ZYG79:=VOL/REF(VOL,1)>1.7 AND REF(OPEN,1)< 100;
游资强度:ZYG75 AND ZYG76 AND ZYG77 AND ZYG78 AND ZYG79;
DRAWTEXT(游资强度,10,16712),COLORMAGENTA;
STICKLINE(游资强度,14,12,3.5,0),COLORRED;
STICKLINE(游资强度,15,14.9,1.7,0),COLORRED;
STICKLINE(游资强度,20.110001,9.6,0.1,0),COLORRED;
STICKLINE(游资强度,19.16,9.2,0.3,0),COLORRED;
STICKLINE(章鱼哥,14,12,3.5,0),COLORA8A8A8;
STICKLINE(章鱼哥,15,14.9,1.7,0),COLORA8A8A8;
STICKLINE(章鱼哥,14.9,14.8,1.9,0),COLORA8A8A8;
STICKLINE(章鱼哥,14.8,14.7,2.1,0),COLORA8A8A8;
STICKLINE(章鱼哥,14.7,14.6,2.3,0),COLORA8A8A8;
STICKLINE(章鱼哥,14.6,14.5,2.5,0),COLORA8A8A8;
STICKLINE(章鱼哥,14.5,14.4,2.7,0),COLORA8A8A8;
STICKLINE(章鱼哥,14.4,14.3,2.9,0),COLORA8A8A8;
STICKLINE(章鱼哥,14.3,14.2,3.1,0),COLORA8A8A8;
STICKLINE(章鱼哥,14.2,14.1,3.3,0),COLORA8A8A8;
STICKLINE(章鱼哥,14.1,14,3.5,0),COLORA8A8A8;
STICKLINE(章鱼哥,20.110001,9.6,0.1,0),COLORWHITE;
STICKLINE(章鱼哥,19.16,9.2,0.3,0),COLORWHITE;
STICKLINE(章鱼哥,19.120001,8.8,0.6,0),COLORWHITE;
STICKLINE(章鱼哥,18.799999,18.4,0.9,0),COLORWHITE;
STICKLINE(章鱼哥,18.4,18,1.2,0),COLORWHITE;
STICKLINE(章鱼哥,18,15,1.4,0),COLORWHITE;
STICKLINE(章鱼哥,17.4,17,0.6,0),COLORRED;
STICKLINE(章鱼哥,16.5,16.4,1.5,0),COLORBLUE;
STICKLINE(章鱼哥,15.1,14.9,1.5,0),COLORBLUE;
STICKLINE(章鱼哥,14.9,12.5,1.5,0),COLORWHITE;
STICKLINE(章鱼哥,12.5,12,1.3,0),COLORRED;
STICKLINE(章鱼哥,12,11.3,1,0),COLORRED;
STICKLINE(章鱼哥,11.3,10.7,0.7,0),COLORRED;
STICKLINE(章鱼哥,10.77,10.1,0.3,0),COLORRED;
STICKLINE(章鱼哥,12.48,12.18,1,0),COLORYELLOW;
STICKLINE(章鱼哥,12.18,11.88,0.5,0),COLORYELLOW;
STICKLINE(章鱼哥,11.88,11.58,0.1,0),COLORYELLOW;
STICKLINE(章鱼哥,16,15.5,0.5,0),COLORRED;
ZYG80:=MA(CLOSE,5);
ZYG81:=MA(CLOSE,144);
ZYG82:=(HIGH-ZYG80)/ZYG80*100;
ZYG83:=(HIGH-ZYG80)/ZYG80*100>=20 AND HIGH>CLOSE;
ZYG84:=ZYG82>=15 AND ZYG82< 20 AND HIGH>CLOSE;
ZYG85:=FILTER(ZYG84,12);
STICKLINE(ZYG83,0,5.8,0,0),COLORGREEN;
STICKLINE(ZYG83,5,6,3,0),COLORGREEN;
DRAWICON(ZYG83,6,9);
ZYG86:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
ZYG87:=IF(NAMELIKE(251) OR NAMELIKE(1486),0.05,0.1);
ZYG88:=CLOSE/REF(CLOSE,1)-1>=ZYG87-0.01/REF(CLOSE,1) AND CLOSE=HIGH;
ZYG89:=BARSLASTCOUNT(ZYG88);
ZYG90:=REF(ZYG89,1);
ZYG91:=REF(ZYG88,1) OR REF(ZYG88,2);
DRAWTEXT_FIX(1,0.60,0.75,0,'更多指标,低费率交易,私聊 '),COLORYELLOW;
ZYG92:=VOL>=REF(VOL,1)*1.2 AND CLOSE< OPEN AND ZYG91 AND ZYG90< 3 AND HIGH>REF(CLOSE,1) AND OPEN>REF(CLOSE,1);
ZYG93:=(CLOSE-REF(CLOSE,3))/REF(CLOSE,3)*100< 20 AND (HHV(HIGH,5)-LLV(LOW,5))/REF(OPEN,5)< 0.45 AND (HHV(HIGH,9)-LLV(LOW,9))/REF(OPEN,9)< 0.43 AND (HHV(HIGH,12)-LLV(LOW,12))/REF(OPEN,12)< 0.52 AND (HHV(HIGH,10)-LLV(LOW,10))/REF(OPEN,10)< 0.52;
ZYG94:=CLOSE>=HHV(MAX(CLOSE,OPEN),20) AND (CLOSE-REF(CLOSE,12))/REF(CLOSE,12)*100< 30 AND (CLOSE-REF(CLOSE,13))/REF(CLOSE,13)*100< 25;
ZYG95:=VOL>=REF(HHV(VOL,70),70);
ZYG96:=HIGH>=HHV(MAX(CLOSE,OPEN),60) AND (CLOSE-REF(CLOSE,70))/REF(CLOSE,70)*100< 150 AND SUM(VOL/CAPITAL*100,12)< 150;
ZYG97:=ZYG92 AND ZYG93 AND ZYG96 AND ZYG95;
STICKLINE(ZYG97,0,1,2,0),COLORGREEN;
DRAWTEXT(ZYG97,0.6,' ★龙王')COLORGREEN;
通达信龙王模型选股


龙王模型:=9;
游资强度:=(REF(CLOSE,龙王模型+1)< CLOSE);
章鱼哥6:=REF(C,1);
章鱼哥7:=SMA(MAX(C-章鱼哥6,0),6,1)/SMA(ABS(C-章鱼哥6),6,1)*100;
章鱼哥1:=EMA(EMA(CLOSE,13),13);
控盘:= (章鱼哥1-REF(章鱼哥1,1))/REF(章鱼哥1,1)*1000;
无游资控盘:=控盘< 0,COLORWHITE;
有游资控盘:=控盘>REF(控盘,1) AND 控盘>0,COLORRED;
章鱼哥2:=100*WINNER(CLOSE*0.95);
主力出货:=控盘< REF(控盘,1) AND 控盘>0,COLOR00FF00;
高度控盘:=章鱼哥2>50 AND COST(85)< CLOSE AND 控盘>0,COLORFF00FF;
A10:=CROSS(控盘,0);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
做多:=MACD>0;
龙王启动:IF(A10,6,0)AND 做多;