通达信指标公式源码概况:

指标类别: 通达信指标公式

授权方式: 免费版

指标评级: ★★★★★

指标分类: 策略

画线方法: 副图

主力建仓洗盘拉升出货指标公式

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;

VAR9:=EMA(CLOSE,5);

VAR10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(10);

VAR11:=EMA(IF(LOW=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*(-1);

VAR12:=EMA(CLOSE,5)*(-1);

STICKLINE(VAR12REF(VAR12,1),0,VAR12*0.08,4,1),COLOR10E410;

减仓:IF(VAR12REF(VAR12,1),VAR12,0),COLOR10E410,LINETHICK0;

STICKLINE(VAR9REF(VAR9,1),0,VAR9*0.08,6,1),COLOR1010FF;

增仓:IF(VAR9REF(VAR9,1),VAR9*0.2,0),COLORRED,LINETHICK0;

STICKLINE(VAR8REF(VAR8,1),0,VAR8,6,1),COLOR10FFFF,LINETHICK0;

趋:MA(CLOSE,5)-MA(CLOSE,25);

势:MA(趋,5);

A3:=CROSS(趋,势);

STICKLINE(A3,趋+0.5,趋-0.5,10,0),COLORRED;

A1:=IF(COPEN,VOL,0);

A2:=IF(COPEN,VOL ,0);

0,COLORYELLOW,LINETHICK3;

成交量:MA(A1,10)/2000,LINESTICK,COLORRED,LINETHICK2;

负成交量:MA(A2,10)/2000,LINESTICK,COLORYELLOW,LINETHICK3;

AA:=正成交量-负成交量;

STICKLINE(AA0,AA,0,2,0),,,LINETHICK2;

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,55),1,0);

VAR8:=EMA(IF(LOW=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;

VAR9:=EMA(CLOSE,5);

VAR10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);

VAR11:=EMA(IF(LOW=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*(-1);

VAR12:=EMA(CLOSE,5)*(-1);

STICKLINE(VAR8REF(VAR8,1),0,VAR8,6,1),COLOR10FFFF,LINETHICK3;

备钱:IF(VAR8REF(VAR8,1),0,VAR8),COLOR0FFFFF;

STICKLINE(VAR11REF(VAR11,1),0,VAR11,6,1),COLORFFF810;

界:0,COLORFFFFFF,LINETHICK1;

XL1:=MA(LOW,2)*0.96;

XL2:=MA(LOW,26)*0.85;

XL3:=REF(XL1,1)XL2 AND REF(XL1,1)XL1 AND REF(XL1,1)REF(XL1,2);

STICKLINE(XL3,0,VAR8*3,8,0),COLORRED;

启动:IF(XL3,0,VAR8*3),COLORRED;

VA:=(2*C+H+L)/4;

VB:=LLV(L,5);

VC:=HHV(H,5);

红线上穿买:EMA((VA-VB)/(VC-VB)*27,5),COLORRED;

红线下穿卖:EMA(红线上穿买,3),COLORFFFF00;

散户:= EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*100,4);

庄家:= EMA(0.667*REF(散户,1)+0.333*散户,2);

DRAWTEXT(CROSS(散户,庄家) AND 散户30,5,'低进'),COLOR00FF00;

DRAWTEXT(CROSS(散户,庄家) AND 散户30,7,'●'),COLORFFFFFF;

DRAWTEXT(CROSS(庄家,散户) AND 散户70,18,'高出'),COLOR00FF00;

DRAWTEXT(CROSS(庄家,散户) AND 散户70,21,'●'),COLOR00FF00;

极品底:IF((MA(C,5)-C)/C0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)0.04,23,0),LINETHICK2,COLORFF00FF;

DRAWICON(极品底=23,23,1),LINETHICK2,COLORFFFFFF;

RSV:=(((CLOSE – LLV(LOW,9)) / (HHV(HIGH,9) – LLV(LOW,9))) * 100);

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

J:=3*K-2*D;

X:=LLV(J,2)=LLV(J,8);

DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J19,3,'低进'),COLORFFFF00;

DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J19,7,'▲'),COLORRED;

DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J19,6,'▲'),COLORRED;

DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J19,5,''),COLORRED;

QVAR1A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;

QVAR1B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);

QVAR1C:=SMA(QVAR1B,13,8);

QVAR1D:=SMA(QVAR1A,21,8);

机会来临:=SMA(QVAR1C,13,8),COLORRED;

AAS:=FILTER((COUNT((机会来临-QVAR1D(-65)),3)=3),34);

波段买点:IF(AAS,15,0),COLORFFFFFF,STICK,LINETHICK6;

DRAWTEXT(波段买点,17,'波段买'),COLORFFFFFF;

VAR4:=(1.1)*CLOSE;

VAR5:=(0.9)*CLOSE;

VAR6:=100*(WINNER(VAR4)-WINNER(VAR5));

S1: EMA(100-VAR6,1);

S2: EMA(S1,9);

S3: MA(S2,9);

85;

75;

image.png

建仓洗盘拉升出货指标

  

N:=74;  

上升通道:DRAWLINE(L=LLV(L,10),LLV(L,10),H=HHV(H,10),H,0),COLORFF00FF,LINETHICK2;  

下降通道:DRAWLINE(H=HHV(H,10),H,L=LLV(L,10),LLV(L,10),0),COLORFFFF33,LINETHICK2;  

抄底建仓:IF(上升通道REF(上升通道,1),上升通道,N),NODRAW,COLOR00FFFF;  

DRAWTEXT(CROSS(上升通道,-24),H-0.99,'⊙抄底建仓'),COLOR00FFFF;  

DRAWTEXT(CROSS(下降通道,-24),H-0.4,'⊙到顶减仓'),COLOR0087F3;  

到顶减仓:IF(下降通道REF(下降通道,1),下降通道,N),NODRAW,COLOR0087F3;  

MA1:=MA(COST(15),1);  

TJ:=BARSLAST(MA1C);  

TJJ:=BARSLAST(MA1C);  

建仓:SUM(V,TJ)/TJ/100,COLORFFFFFF;  

启动:SUM(V,TJJ)/TJJ/100,COLORFF00FF;  

DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);  

DEA:=EMA(DIFF,9);  

MCD:=2*(DIFF-DEA),COLORSTICK;  

AG:=CROSS(DIFF,DEA);  

MACD1:=SUM(V,BARSLAST(AG)+1)/CAPITAL*200,COLORRED;  

操作:IF(DEAREF(DEA,1)ANDDIFFDEA,MACD1,0),COLORYELLOW;  

DRAWTEXT(CROSS(建仓,启动),建仓,'▲注'),COLORGREEN;  

DRAWTEXT(CROSS(启动,建仓),建仓,'▲关'),COLORRED;  

MM:=DOWNNDAY(启动,21);  

DRAWTEXT(MM,启动,'▲动'),COLORBROWN;  

庄250:EMA(WINNER(C)*70,250)*2000,COLORCYAN;  

YY:=CROSS(EMA(WINNER(C)*70,1),EMA(WINNER(C)*70,181));  

庄1:EMA(WINNER(C)*70,1)*10,COLORLIRED;  

DRAWTEXT(YY,庄250*0.98,'▲冲击'),COLORWHITE;  

关注:=(CROSS(EMA(C,13),EMA(C,55)));  

DRAWTEXT(关注,建仓,'▲顾'),COLORLIBLUE;  

底7:EMA(C,7)*(EMA(C,7))*5,COLORBLUE;  

顶55:HHV(HIGH,60)*0.98*(EMA(C,55))*5,COLORFFFFCC;  

关:=(CROSS(底7,顶55));  

DRAWTEXT(关,建仓,'▲顶'),COLORYELLOW;  

KK:=CROSS(EMA(WINNER(C)*70,2),EMA(WINNER(C)*70,181));  

FF:=CROSS(EMA(WINNER(C)*70,3),EMA(WINNER(C)*70,181));  

RR:=CROSS(EMA(WINNER(C)*70,7),EMA(WINNER(C)*70,181));  

TT:=CROSS(EMA(WINNER(C)*70,13),EMA(WINNER(C)*70,181));  

RU:=YYANDKKANDFFANDRRANDTT;  

DRAWTEXT(RU,建仓,'▲射'),COLORRED;  

VAR2:=REF(LOW,1);  

VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;  

VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);  

VAR5:=LLV(LOW,30);  

VAR6:=HHV(VAR4,30);  

VAR7:=IF(MA(CLOSE,58),1,0);  

VAR8:=EMA(IF(LOW=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;  

VAR9:=IF(VAR8100,100,VAR8);  

STICKLINE(VAR9-150,0,VAR9,0.3,0),COLORFF00FF;  

底部吸筹指标:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;  

STICKLINE(CROSS(底部吸筹指标,-24),100,0,1,0),COLORFFFFFF;  

先知:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;  

可能放量拉升:=IF(CROSS(底部吸筹指标,-24),1,0);  

短线获利:STICKLINE(REF(KDJ.J,1)0ANDKDJ.J0,60,0,2,0),COLOR0000FF;  

VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;  

VARK2:=REVERSE(VARK1);  

VARK3:=SMA(VARK1,3,1);  

波段王:=SMA(VARK3,3,1);  

波段鬼:=SMA(波段王,2.5,1);  

趋势线:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);  

RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;  

K1:=SMA(RSV9,3,1);DK1:=K1-REF(K1,1);  

出手就赢:IF(DK17ANDREF(DK1,1)0AND(DK1-REF(DK1,1))9,50,0),STICK,COLORYELLOW;DRAWICON(出手就赢0,50,1);  

STICKLINE(CROSS(趋势线,10),0,73,3,0),COLOR3366FF;  

DRAWTEXT(IF(CROSS(趋势线,10),100,0),68,'抄底'),COLORWHITE;  

DRAWTEXT(IF(CROSS(10,趋势线),1,0),10,'$备钱'),COLOR33FFCC;  

DRAWTEXT(REF(KDJ.J,1)0ANDKDJ.J0,50,'短买'),COLORRED;  

DRAWTEXT(CROSS(底部吸筹指标,-24),80,'抄底'),COLORWHITE;  

RSV:=(((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*100);  

短期底部:=LLV(OPEN,30);  

K:=SMA(RSV,3,1);  

D:=SMA(K,3,1);  

J:=((3*K)-(2*D));  

AA10:=MA(CLOSE,10);  

AA12:=MA(CLOSE,12);  

BB10:=((ATAN((AA10-REF(AA10,1)))*3.1416)*10);  

BB12:=((ATAN((AA12-REF(AA12,1)))*3.1416)*10);  

MA13:=MA(CLOSE,13);  

VARB:=(((CLOSE-MA(CLOSE,6))/MA(CLOSE,6))*100);  

VARC:=(((CLOSE-MA(CLOSE,12))/MA(CLOSE,12))*100);  

VARD:=(((CLOSE-MA(CLOSE,24))/MA(CLOSE,24))*100);  

VARE:=(((VARB+(2*VARC))+(3*VARD))/6);  

VARF:=MA(VARE,3);  

STICKLINE((CROSS(J,0)AND(VARF=(0-7))),0,88,2,0),COLORBLUE;  

DRAWICON((CROSS(J,0)AND(VARF=(0-7))),88,9);  

VARO2:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;  

VARO3:=SMA(SMA(VARO2,3,1),3,1);  

VARO4:=EMA(VARO3,5);  

VARO5:=LLV(LOW,26);  

VARO6:=HHV(HIGH,34);  

VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;  

STICKLINE(CROSS(VARO4,10)ANDVARO410,25,0,1,0),COLORYELLOW;  

建仓区:IF((VARO710),0,20),LINETHICK3,COLOR00CCFF;  

image.png

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。