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

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

授权方式: 免费版

指标评级: ★★★★★

指标分类: 策略

画线方法: 副图

通达信主图买卖指标公式  

均5:MA(CLOSE,5), coloryellow;

均10:MA(CLOSE,10), colormagenta;

均30: MA(CLOSE,30), colorgreen;

均60: MA(CLOSE, 60), colorffff00, POINTDOT, linethick2;

魔鬼通道上:均30 + 2*STD(CLOSE,60), COLORff6633 ,POINTDOT ,linethick2 ;

魔鬼通道下:均30 – 2*STD(CLOSE,60), COLOR00ff99 ,POINTDOT ,linethick2;

Var1:=MA(CLOSE,5);

Var2:=MA(CLOSE,34);

Var3:=MA(CLOSE,60);

魔斗士A: MA(CLOSE,13);

魔斗士B: (EMA(CLOSE,5)*7+EMA(CLOSE,5)*3)/10,COLORFFFFFF;

VarA:=REF(CLOSE,1);

VarE:=SMA(MAX(CLOSE-VarA,0),6,1)/SMA(ABS(CLOSE-VarA),6,1)*100;

DRAWTEXT( CROSS(84,VarE),HIGH,'☆见好就收'),colorgreen;

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

Var4:=LLV(LOW,34);

Var5:=HHV(HIGH,34);

Var6:=EMA((VarF-Var4)/(Var5-Var4)*100,6);

Var7:=EMA(0.667*REF(Var6,1)+0.333*Var6,4);

Var8:=LLV(LOW,120);

Var9:=HHV(HIGH,120);

Var10:=Var9-Var8;

DRAWTEXT(IF(COUNT(CLOSEREF(CLOSE,1),8)/80.3 AND COUNT(Var6Var7,3) AND REF(LOW,1)=LLV(LOW,120) AND

CLOSEOPEN,1,0),LOW,'★斗魔士出击'),coloryellow;

STICKLINE(魔斗士B魔斗士A,魔斗士A,魔斗士B,0.1,1),COLOR009900;

DRAWTEXT( CROSS(84,VarE),HIGH,'☆见好就收'),colorgreen;

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

Var4:=LLV(LOW,34);

Var5:=HHV(HIGH,34);

Var6:=EMA((VarF-Var4)/(Var5-Var4)*100,6);

Var7:=EMA(0.667*REF(Var6,1)+0.333*Var6,4);

Var8:=LLV(LOW,120);

Var9:=HHV(HIGH,120);

Var10:=Var9-Var8;

DRAWTEXT(IF(COUNT(CLOSEREF(CLOSE,1),8)/80.3 AND COUNT(Var6Var7,3) AND REF(LOW,1)=LLV(LOW,120) AND

CLOSEOPEN,1,0),LOW,'★斗魔士出击'),coloryellow;

STICKLINE(魔斗士B魔斗士A,魔斗士A,魔斗士B,0.1,1),COLOR009900;

RSV13=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;

K13=SMA(RSV13,3,1);

D13=SMA(K13,3,1);

J13=3*K13-2*D13;

RSV55=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;

K55=SMA(RSV55,3,1);

D55=SMA(K55,3,1);

J55=3*K55-2*D55;

支撑位:IF(CROSS(J13,J55),LOW,REF(LOW,BARSLAST(CROSS(J13,J55))));

压力位:IF(CROSS(J55,J13),HIGH,REF(HIGH,BARSLAST(CROSS(J55,J13))));

中位:(支撑位+压力位)/2;

image.png

通达信缠论三买三卖指标公式

VAR1:=PEAKBARS(2,13,1)10;

VAR2:=IF(VAR1=1,2,0);

顶1:= IF(VAR2=2,1,0);

顶B:IF(顶1REF(顶1,1),78,100),colorgreen,linethick2;

var3:=PEAKBARS(3,8,1)10;

var5:=IF(var3=1,2,0);

顶:= IF(var5=2,1,0);

顶A:IF(顶REF(顶,1),78,100),coloryellow,linethick2;

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

(3,8),2)=REF(ZIG(3,8),3));

STICKLINE((VARC=1),18,0,8,1),colormagenta;

DRAWTEXT((VARC=1),8,'+买'),colormagenta;

AA:=EMA(EMA(CLOSE,8)-EMA(CLOSE,13),3);BB:=(AA-REF(AA,1))*10;CC:=IF(BBREF(BB,1),BB,REF(BB,1));

Var1:=REF(CLOSE,2);

A2: SMA(MAX(CLOSE-Var1,0),7,1)/SMA(ABS(CLOSE-Var1),7,1)*100, , COLOR00ff00;

超卖1: IF(A212,30,0),colorf00ff0;

Var2:=REF(CLOSE,1);

Var3:=SMA(MAX(CLOSE-Var2,0),7,1)/SMA(ABS(CLOSE-Var2),7,1)*100;

超卖2: IF(Var312,30,0),coloryellow;

逢高派发区: STICKLINE(A280,A2+1,A2-1,8,0), , COLORRED;

我走了: IF(A2 REF(A2,1) AND A279,A2,0),colorgray;

N1:=50;N:=8;

80,colorgreen;

20,colorred;

LC:=REF(CLOSE,1);

☆:SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100,coloryellow;

☆1:IF(☆20,40,20),colorred;

☆2:IF(☆80,60,80),colorgreen;

☆:STICKLINE(FILTER(REF(☆,1)20 AND ☆REF(☆,1),5),20,40,8,0),colorred;

☆:STICKLINE(FILTER(REF(☆,1)80 AND ☆REF(☆,1),5),60,80,8,0),colorgreen;

DRAWTEXT(FILTER(REF(☆,1)20 AND ☆REF(☆,1),5),40 ,'买入' ),colorred;

DRAWTEXT(FILTER(REF(☆,1)80 AND ☆REF(☆,1),5),60 ,'卖出' ),colorgreen;

x: REF(CLOSE,1);

冰山: SMA(MAX(CLOSE-x,0),8,1)/SMA(ABS(CLOSE-x),8,1)*100 ;

排顺序: IF(CROSS(冰山,15),20,0),STICK,linethick1;

DRAWICON(排顺序0,20,1 );

DRAWTEXT(CROSS(排顺序,11) , LOW,' 低吸 '),COLOr00B7B4 ;

买入A:IF(1/WINNER(CLOSE)100 AND ABS((COST(50)-CLOSE)/CLOSE*100)30 AND IF(1/WINNER(CLOSE)REF(1/WINNER(CLOSE),1) AND REF(1/WINNER(CLOSE),1)REF(1/WINNER(CLOSE),2),120,0),30,0),STICK,colorred , linethick2;

image.png

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