通达信指标公式源码概况:
指标类别: 通达信指标公式
授权方式: 免费版
指标评级: ★★★★★
指标分类: 策略
画线方法: 副图
MA6:=MA(CLOSE,6);
MA18:=MA(CLOSE,18);
MA3:3*(MA18) - (2)*(MA6),LINETHICK1,COLORD39D91;
MA4:3*(MA6) - (2)*(MA18),LINETHICK2,COLOR87B08B;
M1:SUM((EMA((CLOSE + LOW)/(2),2))/(2.98),3),POINTDOT,COLORFFFFFF;
M2:EMA(M1,21),COLORFF00FF;
M30:MA(CLOSE,30),LINETHICK1,COLORFF0000;
VAR1:=(2)*(MA((LLV((CLOSE + LOW)/(2),8))*(1.1),13)) - EMA((CLOSE + LOW)/(2),3) -
((CLOSE + LOW)/(2))*(0.1);
VAR2:=IF(((EMA((CLOSE + LOW)/(2),3) - VAR1)*(5) 0),(POW((EMA((CLOSE +
LOW)/(2),3) - VAR1)*(5),2))/(10),(((-1))*(POW((EMA((CLOSE + LOW)/(2),3) -
VAR1)*(5),2)))/(10));
VAR3:=IF((VAR2 0),VAR2 - 0,(-1));
DRAWTEXT(CROSS(VAR3,0) AND ((CLOSE + LOW)/(2) MA((CLOSE +
LOW)/(2),8)),(M2)*(1.01), #39;绝杀 #39;),LINETHICK2,coloryellow;
STICKLINE(CROSS(VAR3,0) AND ((CLOSE + LOW)/(2) MA((CLOSE +
LOW)/(2),8)),(LOW)*(0.99),(LOW)*(0.95),4,0),coloryellow;
强势:2,linethick2,ColorFF00FF;
弱势:1.3,linethick1,Color00FF00;
v1:=LLV(LOW,10); v2:=HHV(H,25);
减仓:3.1,linethick3,Color00FFFF;
大顶:3.5,linethick2,Color0000FF;
导航:EMA((C-v1)/(v2-v1)*4,4 );
加仓:0.3,linethick1,colorwhite;
大底:0, linethick2, colorred ;
A5:MA(C,5),color999999,POINTDOT,LINETHICK1;
A20:MA(C,20),colorblue;
A60:=MA(C,60),color0111FF;
A1:=MA(C,1);
DEA:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42),COLORFF7FFF,LINETHICK1;
PARTLINE(A60,A60REF(A60,1),color0111FF,A60REF(A60,1),color009000);
FILLRGN(A5,DEA,DEAREF(DEA,1) AND A1A5,color0999ff,DEAREF(DEA,1) AND A1A5 AND A5=REF(A5,1),COLOR222222,DEAREF(DEA,1) AND A1A5 AND A5REF(A5,1),color222222);
FILLRGN(A5,DEA,DEAREF(DEA,1) AND A1A5,color009000,DEAREF(DEA,1) AND A1A5,color222222,DEAREF(DEA,1),COLOR222222);
PARTLINE(DEA,A1=DEA,colorFFFFFF,A1DEA,colorFF9909),LINETHICK2;
PARTLINE(A5,A5=REF(A5,1),color111FFF,A5REF(A5,1),Color00f000),LINETHICK2;
N=20;
P=2;
MID:=MA(CLOSE,N),color999999,POINTDOT,LINETHICK1;
UPPER:=MID + P*STD(CLOSE,N),color999999;
LOWER:=MID - P*STD(CLOSE,N),color999999;
PARTLINE(UPPER,A1=UPPER,color009000,A1UPPER,Color999999),LINETHICK1;
PARTLINE(LOWER,A1=LOWER,color009000,A1LOWER,Color999999),LINETHICK1;