抖音上面淘来的(通达信公式 副图 测试图)
量比:=2;
上涨:=30;
换手:=30;
低价:=5;
高价:=20;
离线:=4;
深度:=50;
变量00:=5;
变量01:=30;
A02:=(WINNER((CLOSE*1.100)) *100.000);
A03:=(WINNER((CLOSE*0.9))*100.000);
A04:=MA(A03,变量00);
STICKLINE(1.000,0,A04,1,-1),COLOR000033;
A06:=(100.000-MA(A02,变量00));
STICKLINE(1.000,100.000,MA(A02,变量00),1,-1),COLOR333300;
A08:=(MA(A02,变量00)-MA(A03,变量00));
STICKLINE(1.000,A04,MA(A02,变量00),1,-1),COLOR006699;
A0A:=(((((HHV(A04, 15.000) - A03) / A03)*100.000) 变量01) AND (HHV(A04, 15.000) 50.000));
STICKLINE(A0A,(0-2.000),2.000,8.000,0),COLORRED;
STICKLINE(NOT(A0A),(0-2.000),2.000,8.000,0),COLORGREEN;
获利:MA(A03,变量00),COLORRED,LINETHICK1;
套牢:(100.000-MA(A02,变量00)),COLORCYAN,LINETHICK1;
浮动:(MA(A02,变量00)- MA(A03,变量00)),COLORYELLOW,LINETHICK1;
HSL:=EMA(V/CAPITAL,3);
ZDL:=HHV(HSL,240);
ZXL:=LLV(HSL,240);
XS:=MA(C,33);
X4:=EMA(C,20);
锁定:EMA((HSL-ZXL)/ZXL*XS,13)/10,LINETHICK0;
二十斜:(X4-REF(X4,1))/REF(X4,1)*100,LINETHICK0;
十换手:SUM(VOL,10)/CAPITAL*100,LINETHICK0;
ZLCM:=EMA(WINNER(CLOSE)*70,3);
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
ZSHTL:=SHCM/(ZLCM+SHCM)*100;
ZZLKP:=ZLCM/(ZLCM+SHCM)*100;
主控度:(ZZLKP),LINETHICK0,COLORRED;
SHORT:=12;
LONG:=26;
MID:=9;
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
MACD:=(DIF-DEA)*2;
N:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
换手率:=VOL/CAPITAL*100;
A:=(3*C+L+O+H)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/210;
中线:=EMA(X,13);
AAA:=(3*C+L+O+H)/6;
C2:=EMA(AAA,6);
C3:=EMA(AAA,5);
短线:=EMA(CLOSE,17);
上涨天数:=BARSLAST(短线
N1:=5;
N4:=34;
CQ:=100*(C-LLV(L,N4))/(HHV(C,N4)-LLV(L,N4));
SAT:=(AMOUNT/C)/(HHV(AMOUNT,N4)/HHV(C,N4));
饱和度:=IF(SAT 1,1,SAT)*100;
W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2 0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
突破:=W4 AND COUNT(W4,5)=1;
峰顶:=饱和度 =97 AND CQ
短期:=100*(C-LLV(L,N1))/(HHV(C,N1)-LLV(L,N1));
KAAAA:=EXIST(CROSS(C2,C3),2);
KAAAB:=EXIST(MACD 0,4) AND MACD
KAAAC:=MA(VOL,10) MA(VOL,5);
KBBB:=EVERY(C 中线 AND O 中线,5);
KCCC:=HHV(VOL,30)/VOL
KDDD:=上涨天数
KEEE:=SUM(换手率,30)
KFFF:=C 低价 AND C
KHHH:=EXIST(峰顶,30) OR EXIST(突破,30);
KJJJ:=C/中线 1+0.01*离线;
KIII:=短期
游资:IF(KAAAA AND KBBB AND KCCC AND KDDD AND KEEE AND KFFF AND KHHH,100,0),COLORYELLOW,NODRAW;
主力:IF(KAAAB AND KBBB AND KCCC AND KDDD AND KEEE AND KFFF AND KHHH,80,0),COLORGREEN,NODRAW;
机构:IF(KAAAC AND KBBB AND KCCC AND KDDD AND KEEE AND KFFF AND KHHH AND KJJJ AND KIII,60,0),COLORRED,NODRAW;
STICKLINE(游资,0,38,1.5,0),COLORYELLOW;
STICKLINE(主力,0,28,1,0),COLORGREEN;
STICKLINE(机构,0,18,0.5,0),COLORRED;
获利1:=WINNER(C)*100,COLOR0033FF,NODRAW;
短套:=EMA(100*(1-WINNER(1.10*C)),1),COLORFFDD00,NODRAW;
中套:=EMA(100*(1-WINNER(1.2*C)),1),COLORFF0000 ,NODRAW;
长套:=EMA(100*(1-WINNER(1.5*C)),1),COLOR00FF00,LINETHICK2;
STICKLINE(CURRBARSCOUNT=90,40,50,100,1),COLOR0033FF;
STICKLINE(CURRBARSCOUNT=90,40,50,获利1,0),COLOR0033AA;
DRAWTEXT(CURRBARSCOUNT=116,51,'日获利盘:'),COLOR0033FF;
DRAWNUMBER(CURRBARSCOUNT=108,51,CONST(获利1)),COLOR0033FF;
STICKLINE(CURRBARSCOUNT=90,60,70,100,1),COLORFFFF00;
STICKLINE(CURRBARSCOUNT=90,60,70,短套,0),COLOR888800;
DRAWTEXT(CURRBARSCOUNT=116,71,'短线套牢:'),COLORFFFF00;
DRAWNUMBER(CURRBARSCOUNT=108,71,CONST(短套)),COLORFFFF00;
STICKLINE(CURRBARSCOUNT=30,40,50,100,1),COLORFF6600;
STICKLINE(CURRBARSCOUNT=30,40,50,中套,0),COLORFF6600;
DRAWTEXT(CURRBARSCOUNT=56,51,'中线套牢:'),COLORFF9900;
DRAWNUMBER(CURRBARSCOUNT=48,51,CONST(中套)),COLORFF9900;
STICKLINE(CURRBARSCOUNT=30,60,70,100,1),COLOR00FF00;
STICKLINE(CURRBARSCOUNT=30,60,70,长套,0),COLOR008833;
DRAWTEXT(CURRBARSCOUNT=56,71,'长线套牢:'),COLOR00FF00;
DRAWNUMBER(CURRBARSCOUNT=48,71,CONST(长套)),COLOR00FF00;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),13,1)/SMA(MAX(LOW-VAR2,0),13,1)*100;
VAR4:=EMA(IF(CLOSE*1.2,VAR3*13,VAR3/13),13);
VAR5:=LLV(LOW,34);
VAR6:=HHV(VAR4,34);
VAR7:=IF(LLV(LOW,56),1,0);
VAR8:=EMA(IF(LOW =VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;DRAWTEXT_FIX(1,0.980,20,1,''),COLOR666666;
AA:=VAR8 REF(VAR8,1);
DR:=100;ZRQ:=3;
DJ:=REF(LLV(L,100),3);
ZD:=REFDATE(DJ,DATE);
XG:=L=ZD;
XGA:=AA AND XG,COLORRED,LINETHICK2;
XG1:=XGA REF(XGA,1);
起爆:=XG1 REF(XG1,1)COLORRED,LINETHICK2;
STICKLINE(FILTER(起爆 =1,5),45,0,4,0),COLORRED;
DRAWTEXT(FILTER(起爆=1,5),36,'起爆'),COLORRED;
STICKLINE(起爆,40,25,1,0),COLORYELLOW;
STICKLINE(起爆,25,10,2,0),COLOR00FF00;
STICKLINE(起爆,10,0,2,0),COLORBLUE;
STICKLINE(起爆,25,15,0.5,0),COLORRED;
STICKLINE(起爆,15,6,1,0),COLOR00FF00;
STICKLINE(起爆,6,0,2,0),COLORBLUE;