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

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

授权方式: 免费版

指标评级: ★★★★★

指标分类: 策略

画线方法: 副图

盘口指标公式 

当日外盘: OUTVOL/(OUTVOL+INVOL)*100,colorred;

当日内盘: INVOL/(OUTVOL+INVOL)*100,colorgreen;

内外动向:(OUTVOL-INVOL)/(OUTVOL+INVOL)*100,COLORF3F3F3;

十日飘红:COUNT(OUTVOL-INVOL0,10),colorred;

五日外盘:SUM(OUTVOL,5),colorred;

五日内盘:SUM(INVOL,5),colorgreen;

STICKLINE(VOL,0,VOL,8,1),color666666;

STICKLINE((OUTVOL+INVOL),0,(OUTVOL+INVOL),8),color00ff00;

STICKLINE(OUTVOL,0,(OUTVOL+INVOL)-INVOL,8),color0000ff;

VAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;

VAR2:=SMA(VAR1,3,1);

VAR3:=SMA(VAR2,3,1);

VAR4:=SMA(VAR3,3,1);

波: VAR3;

段: VAR4;

VAR5:=CROSS(VAR3,VAR4) AND VAR320;

DRAWTEXT(FILTER(VAR5,10)=1,40,'抄底'),colorred;

STICKLINE(FILTER(VAR5,10)=1,0,30,10,0),colorred;

VAR9:=CROSS(VAR4,VAR3) AND VAR380;

STICKLINE(FILTER(VAR9,5)=1,80,100,10,0),colorgreen;

DRAWTEXT(FILTER(VAR9,5)=1,70,'逃顶'),colorgreen;

VAR8:=CROSS(VAR2,VAR3) AND VAR380 AND VAR3VAR4;

STICKLINE(VAR8,85,100,10,0),COLOR0099FF;

100,COLORBBBBBB,LINETHICK3;

0,,LINETHICK3;

AA:=LLV(LOW,36);

BB:=HHV(HIGH,30);

风险:80,COLORFF00FF;

小心:87.5,COLOR00FF00;

DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);

股神:DD,COLOR0000FF,LINETHICK2;

股海:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);

目标出现B:IF(CROSS(股海,90) AND (股神40),70,0),COLORFFFF00;

跟踪:10,COLOR0000FF;

目标出现A:IF((COUNT((股神REF(股神,1)),1)=1) AND (REF(股神,1)REF(REF(股神,1),1)) AND (股神跟踪),50,0),COLORF00

买线:=EMA(C,2);

卖线:=EMA(SLOPE(C,21)*20+C,42);

BU:=CROSS(买线,卖线);

SEL:=CROSS(卖线,买线);

DRAWTEXT(bu,LOW*1.08,'买'),coloree55ff,linethick3;

DRAWTEXT(sel,HIGH*0.925,'卖'),colorffff00,linethick3;

STICKLINE(买线=卖线,LOW,HIGH,1,0),colorred;

STICKLINE(买线=卖线,CLOSE,OPEN,4.5,0),color0000aa;

STICKLINE(买线=卖线,CLOSE,OPEN,4,0),color0000cc;

STICKLINE(买线=卖线,CLOSE,OPEN,3,0),color0000cc;

STICKLINE(买线=卖线,CLOSE,OPEN,2,0),color0000ee;

STICKLINE(买线卖线,CLOSE,OPEN,4.5,0),coloraaaa00;

STICKLINE(买线卖线,CLOSE,OPEN,4,0),colorbbbb00;

STICKLINE(买线卖线,CLOSE,OPEN,3,0),colorcccc00;

STICKLINE(买线卖线,CLOSE,OPEN,2,0),coloreeee00;

STICKLINE(买线卖线,LOW,HIGH,1,0),colorffff00;

STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,3,0),color00ffff;

指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick2,ColorFF00FF;

界: MA(CLOSE,27),linethick1,Color00FFFF;

BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORFFFFFF;

LC:=REF(CLOSE,1);

RSI:=((SMA(MAX((CLOSE – LC),0),3,1) / SMA(ABS((CLOSE – LC)),3,1)) * 100);

FF:=EMA(CLOSE,3);

MA15:=EMA(CLOSE,21);

波动回调提示图:MA(CLOSE,10000);

STICKLINE((MA15  REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,color0000FF;

STICKLINE((MA15  REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,colorFF0000;

DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'上拐点'),Color00FFFF;

DRAWTEXT(CROSS(MA15,FF),(HIGH * 1.02),'下拐点'),Color00FF00;

DRAWTEXT(CROSS(85,RSI),(HIGH * 1.02),'回调!'),colorFFFFFF;

image.png

  盘口决策指标

VAR1:=EMA(EMA(CLOSE,9),9);

控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;

STICKLINE(控盘0,控盘,0,1,0),colorwhite;

A10:=CROSS(控盘,0);

无庄控盘:IF(控盘0,控盘,0),colorwhite,NODRAW;

开始控盘:IF(A10,5,0),LINETHICK1,coloryellow;

STICKLINE(控盘REF(控盘,1) AND 控盘0,控盘,0,1,0),colorred;

有庄控盘:IF(控盘REF(控盘,1) AND 控盘0,控盘,0),colorred,NODRAW;

VAR2:=100*WINNER(CLOSE*0.95);

STICKLINE(VAR250 AND COST(85)CLOSE AND 控盘0,控盘,0,1,0),COLORFF00FF;

高度控盘:IF(VAR250 AND COST(85)CLOSE AND 控盘0,控盘,0),COLORFF00FF,NODRAW;

STICKLINE(控盘REF(控盘,1) AND 控盘0,控盘,0,1,0),COLOR00FF00;

主力出货:IF(控盘REF(控盘,1) AND 控盘0,控盘,0),COLOR00FF00,NODRAW;

VAR3:=AMOUNT/VOL/7;

VAR4:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;

VAR7:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);

VAR8:=SMA(ABS(LOW-VAR7),13,1)/SMA(MAX(LOW-VAR7,0),10,1);

VAR9:=EMA(VAR8,10);

VAR10:=LLV(LOW,33);

VAR11:=EMA(IF(LOW=VAR10,VAR9,0),3);

进场:IF(VAR11REF(VAR11,1),VAR11,0),colorred,NODRAW;

STICKLINE(VAR11REF(VAR11,1),0,VAR11,1,0 ),colorred;

洗盘:IF(VAR11REF(VAR11,1),VAR11,0),COLORFFFF00,NODRAW;

STICKLINE(VAR11REF(VAR11,1),0,VAR11,1,0),COLORFFFF00;

顶:=85;

中:=50;

底:=20;

VAR1:=HHV(HIGH,9)-LLV(LOW,9);

VAR2:=HHV(HIGH,9)-CLOSE;

VAR3:=CLOSE-LLV(LOW,9);

VAR4:=VAR2/VAR1*100-70;

VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;

VAR6:=(2*CLOSE+HIGH+LOW)/4;

VAR7:=SMA(VAR3/VAR1*100,3,1);

VAR8:=LLV(LOW,34);

VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);

VARA:=IF(VAR9100,VAR9-100,0);

VARB:=HHV(HIGH,34);

AA:= VARA*2;

BB:= EMA((VAR6-VAR8)/(VARB-VAR8)*100,13);

VARC:=EMA(0.667*REF(BB,1)+0.333*BB,2);

CC:SMA(VAR5,20,1),colorred;

CC1:SMA(CC,5,1),colorgreen;

STICKLINE(CCCC1,CC,CC1,1,0),colorred;

STICKLINE(CC1CC,CC,CC1,1,0),colorgreen;

出击:IF((CROSS(CC,CC1) AND (CC1  顶) ),80,0),colorred;

{跑};

DRAWICON(CC  REF(CC,1) AND REF(CC,1)  REF(CC,2) AND CC  CC1,100,2);

DRAWICON(CROSS(CC1,CC),100,15);

Var1:=(2*CLOSE+HIGH+LOW+OPEN)/5;

A1: (EMA(Var1,3)+EMA(Var1,6)+EMA(Var1,12)+EMA(Var1,24))/4;

A2: EMA(A1,2);

A3: EMA(A2,2);

A4: EMA(A3,2);

A5: EMA(A4,2);

A6: EMA(A5,2);

A7: EMA(A6,2);

A8: EMA(Var1,2.78)*1.028;

A9: MA(OPEN,3.2)*1.028;

安全线: EMA(CLOSE,55), CIRCLEDOT;

DRAWGBK(C,STRIP(RGB(80,90,0),RGB(0,90,0),0));

CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;

YJD:(EMA(CS,3)-50)*2;

买入点:IF(yjd-80,35,0),LINETHICK2,colorwhite;

极弱:-80,colorff00ff;

强势:60,color00ff00;

风险:80,color00ffff;

弱势:-60,COLORFFFF00;

YJD,LINETHICK1,COLORSTICK;

YJD1,colorwhite;

STICKLINE(YJDREF(YJD,1)AND YJD0,0,YJD,4,0),COLOR00AAFF;

STICKLINE(YJDREF(YJD,1)AND YJD0,0,YJD,4.4,0),COLOR00CCFF;

STICKLINE(YJD=REF(YJD,1)AND YJD0,0,YJD,4,0),COLOR0000AA;

STICKLINE(YJD=REF(YJD,1)AND YJD0,0,YJD,4.4,0),COLOr0022CC;

STICKLINE(YJDREF(YJD,1)AND YJD0,0,YJD,4,0),COLORAA00BB;

STICKLINE(YJDREF(YJD,1)AND YJD0,0,YJD,4.4,0),COLORCC22BB;

STICKLINE(YJD=REF(YJD,1)AND YJD0,0,YJD,4,0),COLORFF7700;

STICKLINE(YJD=REF(YJD,1)AND YJD0,0,YJD,4.4,0),COLORFFAA22;

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

VAR19:=(VAR18-MA(VAR18,14))/(0.015*AVEDEV(VAR18,14));

VAR1A:=(VAR18-MA(VAR18,70))/(0.015*AVEDEV(VAR18,70));

VAR1B:=IF(VAR19=150 AND VAR19200 AND VAR1A=150 AND VAR1A200,-10,0);

VAR1C:=IF(VAR19=-150 AND VAR19-200 AND VAR1A=-150 AND VAR1A-200,10,0);

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

VAR1E:=100-ABS(VAR1D);

卖出:IF(BARSCOUNT(CLOSE)70,80,IF(VAR1A=200 AND VAR19=150,-15,VAR1B)+80),LINETHICK2,colorgreen;

买入:IF(BARSCOUNT(CLOSE)70,-80,IF(VAR1A=-200 AND VAR19=-150,15,VAR1C)-80),coloryellow,LINETHICK2;

image.png

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