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

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

授权方式: 免费版

指标评级: ★★★★★

指标分类: 策略

画线方法: 副图

通达信王者趋势主图指标公式

总手:VOL;

N1:=5;

N2:=63;

MAVOL$1:MA(VOL,N1),colorwhite;

MAVOL$2:MA(VOL,N2),coloryellow;

STICKLINE(VOL 

STICKLINE((VOLMA(VOL,N1))AND(VOL=MA(VOL,N2)),VOL,0,8,0),colorligreen;

STICKLINE((VOLMA(VOL,N2)),VOL,0,8,0),colorred;

STICKLINE((VOL=HHV(VOL,60)),VOL,0,8,0),colorwhite;

来势线: EMA(CLOSE,7)-EMA(CLOSE,21),coloryellow;

福星: EMA(来势线,7), COLORSTICK,colorred;

VAR00:=CLOSE/REF(LLV(LOW,35),5) 1;

决策: IF(VAR00,0.5,0), STICK,colorblue;

必买: IF(TROUGHBARS(3,15,1)=0 AND HIGHLOW+0.01,1,-1),coloryellow;

必卖: IF(PEAKBARS(3,15,1)=1,1,2),colorwhite,LINETHICK1;

趋势线: (EMA(WINNER(CLOSE),7)-EMA(WINNER(CLOSE),35))*5,colorred;

逃顶线: EMA(CLOSE/REF(HHV(CLOSE,7),50),1),COLOR00FF00;

CG:MA(C,21),COLOR00ff00,linethick2;

FL:HHV(CG,3),COLORff0000,linethick2;

FS:CG-(FL-CG),colorred,linethick2;

TY:=C;

A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10);

C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);

A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10);

C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);

A:=REF(C,BARSLAST(HD));

Z:=REF(L,BARSLAST(LD));

T1:=BARSLAST(HD)BARSLAST(LD) AND NOT(HD) ;

T2:=BARSLAST(HD)BARSLAST(LD) AND NOT(LD);

前期头部:IF(T1,A,A),COLORff00ff,LINETHICK2,POINTDOT;

前期底部:IF(T2,Z,Z),colorwhite,LINETHICK2,POINTDOT;

上收:=C; 上开:=O;上高:=H; 上低:=L;

止赢逃命:MA(REF(HHV(上收,21),1),21),CIRCLEDOT,COLOR00ffff,Linethick0;

全仓杀入:MA(REF(LLV(上收,30),1),21),CIRCLEDOT,colorred ,LINETHICK0 ;

明日买卖提示:EMA(CLOSE,3.5),colorf00ff0;

STICKLINE(C 全仓杀入 AND C=O,C,O,6,0),COLOR00ffff;

STICKLINE(C止赢逃命 AND CO,C,O,6,0),colorred;

STICKLINE(C全仓杀入 AND C=O,C,O,6,0),COLOR00ffff;

STICKLINE(C 全仓杀入 AND C=O,H,L,2,0),COLOR00ffff;

STICKLINE(C 全仓杀入 AND CO,C,H,1,0),COLOR00ffff;

STICKLINE(C 全仓杀入 AND CO,O,L,3,0),colorred;

STICKLINE(C 全仓杀入 AND C=O,C,L,3,0),COLORff00ff;

STICKLINE(C全仓杀入 AND CO,C,O,6,2),colorred,linethick3;

STICKLINE(C止赢逃命 AND C=O,C,O,6,2),COLOR00ff00,linethick2; STICKLINE(MA(C,60)=REF(MA(C,60),12),MA(C,60),MA(C,60),6,4),COLORff00ff,LINETHICK4;

STICKLINE(MA(C,60)REF(MA(C,62),12),MA(C,60),MA(C,60),6,4),COLOR00ff00,LINETHICK4;

DRAWTEXT(CROSS(明日买卖提示,止赢逃命) ,明日买卖提示-0.1,'——追涨'),color00ff00;

DRAWTEXT(CROSS(止赢逃命,明日买卖提示) ,止赢逃命+0.2,'-减仓-'),color00ffff;

DRAWTEXT(CROSS(明日买卖提示,全仓杀入) ,明日买卖提示-0.1,'买进——-'),colorffff00;

image.png

通达信短线王者主图指标公式

了结:EMA(EMA(EMA(HIGH,5),5),4)*1.15,colorgreen;

风险: EMA(EMA(EMA(HIGH,5),5),4)*1.1,colorblue;

回档: EMA(EMA(EMA(HIGH,5),5),4)*1.05,colorcyan;

平衡: EMA(EMA(EMA(HIGH,5),5),4),coloryellow;

反弹: EMA(EMA(EMA(HIGH,5),5),4)*0.95,colormagenta;

超跌: EMA(EMA(EMA(HIGH,5),5),4)*0.9,colorred;

HH:=HHV(HIGH,5);

LL:=LLV(LOW,5);

HH1:=BARSLAST((HH  REF(HH,1)));

LL1:=BARSLAST((LL  REF(LL,1)));

STICKLINE((HH1  LL1),CLOSE,OPEN,8,0),colorred;

STICKLINE((HH1  LL1),HIGH,LOW,0,0),colorred;

STICKLINE((HH1  LL1),CLOSE,OPEN,8,0),COLOR00FF00;

STICKLINE((HH1  LL1),HIGH,LOW,0,0),COLOR00FF00;

活筹:=100*WINNER(REF(CLOSE,1)*1.1)-100*WINNER(REF(CLOSE,1)*0.9);

死筹:=100*WINNER(CLOSE);

主力筹码:100*WINNER(CLOSE*0.95),LINETHICK1;

主力持仓:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),LINETHICK2;

获利3:=100*WINNER(CLOSE*0.97);

获利20:=100*WINNER(CLOSE*0.9*0.9);

获利30:=100*WINNER(CLOSE*0.9*0.9*0.9);

穿透筹码:=100*WINNER(CLOSE)-100*WINNER(REF(CLOSE,1)*1);

QW:=LOWCOST(4) AND CLOSECOST(4),COLOR888888;

买点:IF(QW=1,30,0),COLOR0000FF,LINETHICK3;

STICKLINE(获利385,0,获利3,4,0),coloryellow;

STICKLINE(获利3020,0,获利30,2,1),colorwhite;

STICKLINE(主力筹码30,0,主力筹码,2,1),COLORFF00FF;

STICKLINE(获利2020,0,获利20,3,1),COLOR00FF00;

VAR31:=1;

VAR32:=1/WINNER(CLOSE);

VAR33:=MA(CLOSE,13);

VAR34:=100-ABS((CLOSE-VAR33)/VAR33*100);

Z:=(200-IF(VAR325,IF(VAR32100,VAR32,VAR34-10),0))*VAR31,colorgreen,LINETHICK1,POINTDOT ;

新庄:Z,COLORC0C0C0;

STICKLINE(1,Z,200,8,0),colorgreen;

Var3:=(CLOSE-MA(CLOSE,3))/MA(CLOSE,3)*100;

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

Var5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;

Var6:=(Var3+Var4+Var5)/3;

Var7:=EMA(Var6,5);

指标: EMA(EMA(Var3,5),5)*3, COLORSTICK;

Var8:=IF(Var6=-20,10,0);

Var9:=HHV(Var8,10);

STICKLINE(Var8=10,20,10,5,0),COLOR6666FF;

VarA:=IF(Var9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);

K:EMA(Var7,5)*2,

COLORff00ff;

D:EMA(K,5),

colorwhite;

J:K*3-D*2, coloryellow;

VarB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND J10;

换手: VOL/CAPITAL*100,colorgreen;

DRAWTEXT(VarA=20,15,'底部'),linethick1,colorwhite;

STICKLINE((VarA=20),0,10,5,0),colorwhite;

VARC:=(ZIG(3,6)=REF(ZIG(3,6),1)) AND (REF(ZIG(3,6),1)=REF(ZIG(3,6),2)) AND (REF(ZIG

(3,6),2)=REF(ZIG(3,6),3))AND (REF(ZIG(3,6),3)=REF(ZIG(3,6),4));

VARD:=(ZIG(3,6)=REF(ZIG(3,6),1)) AND (REF(ZIG(3,6),1)=REF(ZIG(3,6),2)) AND (REF(ZIG

(3,6),2)=REF(ZIG(3,6),3))AND (REF(ZIG(3,6),3)=REF(ZIG(3,6),4));

STICKLINE((VARC=1),(j),j+2,4,0),Color0000FF;

DRAWTEXT((VARC=1),(j-6),'买'),Color0000FF;

STICKLINE((VARD=1),(j-2),0,4,0),Color00FF00;

DRAWTEXT((VARD=1),(j+5),'卖'),Color00FF00;

VarE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;

VarF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA

((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

Var10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA

((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

Var11:=VarFREF(Var10,1) AND VOLREF(VOL,1) AND CLOSEREF(CLOSE,1);

DRAWTEXT(Var11 AND COUNT(Var11,30)=1,15,'大资金活动'),linethick1,COLORff00ff;

STICKLINE(Var11 AND COUNT(Var11,30)=1,1,10,5,0),colorff00ff;

Var12:=(HIGH+LOW+CLOSE)/3;

Var13:=(Var12-MA(Var12,14))/(0.015*AVEDEV(Var12,14));

Var14:=(Var12-MA(Var12,70))/(0.015*AVEDEV(Var12,70));

Var15:=IF(Var13=150 AND Var13200 AND Var14=150 AND Var14200,10,0);

Var16:=IF(Var13=-150 AND Var13-200 AND Var14=-150 AND Var14-200,-10,Var15);

Var17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;

Var18:=100-ABS(Var17);

Var19:=IF(Var1890,Var18,100);

Var1A:=IF(VarE0,VarE,0);

Var1B:=IF(Var14=200 AND Var13=150,15,IF(Var14=-200 AND Var13=-150,-15,Var16))+60;

Var1C:=Var1A48 AND Var1B60 AND Var19100;

DRAWTEXT(Var1C AND COUNT(Var1C,30)=1,15,'大笔出货'),linethick1,COLORffcc66;

STICKLINE(Var1C AND COUNT(Var1C,30)=1,0,10,5,0),colorffcc66;

image.png

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