首页 > 通达信选股公式

通达信指标MACD序列副图

作者:爱指标源码创建日期:2022-09-11

SHORT:=12;mI7K线密码—破译K线的密码

LONG:=26;mI7K线密码—破译K线的密码

MID:=9;mI7K线密码—破译K线的密码

DIF1:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);mI7K线密码—破译K线的密码

DEA1:=EMA(DIF1,MID);mI7K线密码—破译K线的密码

MACD1:=(DIF1-DEA1)*2;mI7K线密码—破译K线的密码

MH:=MACD1;mI7K线密码—破译K线的密码

HHM:=CONST(HHV(MACD1,240));mI7K线密码—破译K线的密码

MM:=0.3*HHM;mI7K线密码—破译K线的密码

DIF:DIF1,COLORGREEN,LINETHICK2;mI7K线密码—破译K线的密码

DEA:DEA1,COLORWHITE,LINETHICK2;mI7K线密码—破译K线的密码

DIF升:IF(DIF>=REF(DIF,1),DIF,DRAWNULL),COLORMAGENTA,LINETHICK2;mI7K线密码—破译K线的密码

DEA升:IF(DEA>=REF(DEA,1),DEA,DRAWNULL),COLORLIRED,LINETHICK2;mI7K线密码—破译K线的密码

MACD:MACD1,COLORSTICK,COLORYELLOW,LINETHICK2;mI7K线密码—破译K线的密码

金叉:=CROSS(DIF,DEA);mI7K线密码—破译K线的密码

轴上金叉:=金叉 AND DEA>0;mI7K线密码—破译K线的密码

轴上周期:=BARSLAST(CROSS(0,DEA));mI7K线密码—破译K线的密码

轴上金叉数:=COUNT(轴上金叉,轴上周期);mI7K线密码—破译K线的密码

二次金叉:=轴上金叉 AND 轴上金叉数=2;mI7K线密码—破译K线的密码

TDXSTEP288:DRAWICON(二次金叉,0.8*DEA,1);mI7K线密码—破译K线的密码

TDXSTEP289:DRAWICON(二次金叉,0.7*DEA,1);mI7K线密码—破译K线的密码

A1:=BARSLAST(REF(CROSS(DIF,DEA) AND DIF<0,1));mI7K线密码—破译K线的密码

HC:=HHV(CLOSE,6);mI7K线密码—破译K线的密码

B1:=REF(HC,A1+1)>HC AND REF(DIF,A1+1)<DIF AND CROSS(DIF,DEA) AND DIF<0 AND A1>=12;mI7K线密码—破译K线的密码

K:=KDJ.K(9,3,3);mI7K线密码—破译K线的密码

D:=KDJ.D(9,3,3);mI7K线密码—破译K线的密码

R1:=RSI.RSI1(6,12,24);mI7K线密码—破译K线的密码

R2:=RSI.RSI2(6,12,24);mI7K线密码—破译K线的密码

A2:=BARSLAST(REF(CROSS(K,D),1));mI7K线密码—破译K线的密码

B2:=REF(CLOSE,A2+1)>CLOSE AND REF(K,A2+1)<K AND CROSS(K,D) AND A2>=9;mI7K线密码—破译K线的密码

A3:=BARSLAST(REF(CROSS(R1,R2),1));mI7K线密码—破译K线的密码

B3:=REF(CLOSE,A3+1)>CLOSE AND REF(R1,A3+1)<R1 AND CROSS(R1,R2) AND A3>=6;mI7K线密码—破译K线的密码

C1:=BARSLAST(REF(CROSS(DEA,DIF) AND DIF>0,1));mI7K线密码—破译K线的密码

LC:=LLV(CLOSE,6);mI7K线密码—破译K线的密码

D1:=REF(LC,C1+1)<LC AND REF(DIF,C1+1)>DIF AND CROSS(DEA,DIF) AND DIF>0 AND C1>=12;mI7K线密码—破译K线的密码

C2:=BARSLAST(REF(CROSS(D,K),1));mI7K线密码—破译K线的密码

D2:=REF(CLOSE,C2+1)<CLOSE AND REF(K,C2+1)>K AND CROSS(D,K) AND C2>=9;mI7K线密码—破译K线的密码

C3:=BARSLAST(REF(CROSS(R2,R1),1));mI7K线密码—破译K线的密码

D3:=REF(CLOSE,C3+1)<CLOSE AND REF(R1,C3+1)>R1 AND CROSS(R2,R1) AND C3>=6;mI7K线密码—破译K线的密码

M底背:IF(B1>0,1,0),NODRAW,COLORRED;mI7K线密码—破译K线的密码

K底背:IF(B2>0,1,0),NODRAW,COLORMAGENTA;mI7K线密码—破译K线的密码

R底背:IF(B3>0,1,0),NODRAW,COLORYELLOW;mI7K线密码—破译K线的密码

M顶背:IF(D1>0,1,0),NODRAW,COLORRED;mI7K线密码—破译K线的密码

K顶背:IF(D2>0,1,0),NODRAW,COLORMAGENTA;mI7K线密码—破译K线的密码

R顶背:IF(D3>0,1,0),NODRAW,COLORYELLOW;mI7K线密码—破译K线的密码

TDXSTEP290:STICKLINE(M底背,-MM,0,3,0),COLORRED;mI7K线密码—破译K线的密码

TDXSTEP291:STICKLINE(K底背,-MM,0,3,0),COLORMAGENTA;mI7K线密码—破译K线的密码

TDXSTEP292:STICKLINE(R底背,-MM,0,3,0),COLORYELLOW;mI7K线密码—破译K线的密码

TDXSTEP293:STICKLINE(M顶背,MM,0,3,0),COLORRED;mI7K线密码—破译K线的密码

TDXSTEP294:STICKLINE(K顶背,MM,0,3,0),COLORMAGENTA;mI7K线密码—破译K线的密码

TDXSTEP295:STICKLINE(R顶背,MM,0,3,0),COLORYELLOW;mI7K线密码—破译K线的密码

TDXSTEP296:STICKLINE(MACD<REF(MACD,1) AND MACD>0,0,MACD,1,0),COLOR00CCFF,LINETHICK2;mI7K线密码—破译K线的密码

TDXSTEP297:STICKLINE(MACD>=REF(MACD,1) AND MACD>0,0,MACD,1,0),COLORRED,LINETHICK2;mI7K线密码—破译K线的密码

TDXSTEP298:STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1,0),COLORFF5599,LINETHICK2;mI7K线密码—破译K线的密码

TDXSTEP299:STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,1,0),COLORFFFF55,LINETHICK2;mI7K线密码—破译K线的密码

{DRAWTEXT(M底背,0.12,' M底背'),COLORRED;mI7K线密码—破译K线的密码

DRAWTEXT(K底背,0.12,' K底背'),COLORMAGENTA;mI7K线密码—破译K线的密码

DRAWTEXT(R底背,0.12,' R底背'),COLORYELLOW;mI7K线密码—破译K线的密码

DRAWTEXT(M顶背,0.12,' M顶背'),COLORRED;mI7K线密码—破译K线的密码

DRAWTEXT(K顶背,0.12,' K顶背'),COLORMAGENTA;mI7K线密码—破译K线的密码

DRAWTEXT(R顶背,0.12,' R顶背'),COLORYELLOW;}mI7K线密码—破译K线的密码

J:KDJ.J,NODRAW;mI7K线密码—破译K线的密码

RSI:R1,NODRAW,COLORMAGENTA,LINETHICK2;mI7K线密码—破译K线的密码

CCI:CCI,NODRAW;mI7K线密码—破译K线的密码

TJ:=MACD>0;T:=MACD<0;mI7K线密码—破译K线的密码

A:=LLV(MACD,50)=MACD;mI7K线密码—破译K线的密码

DRAWICON(A AND FILTERX(A,20), MACD,1);mI7K线密码—破译K线的密码

{MACD缩小再放大mI7K线密码—破译K线的密码

TA:=MACD.MACD;mI7K线密码—破译K线的密码

TB:=REF(TA,2)>MAX(0 ,REF(TA,1));mI7K线密码—破译K线的密码

TC:=REF(TA,1)>-0.005 AND TA>MAX(0,REF(TA,1));mI7K线密码—破译K线的密码

DRAWICON(TB AND TC,MACD,7);}mI7K线密码—破译K线的密码

{时间序列}mI7K线密码—破译K线的密码

DRAWTEXT(BARSLAST(TJ)=1,MACD,'1'),COLORGREEN;mI7K线密码—破译K线的密码

DRAWTEXT(BARSLAST(TJ)=2,MACD,'2'),COLORGREEN;mI7K线密码—破译K线的密码

DRAWTEXT(BARSLAST(TJ)=3,MACD,'3'),COLORGREEN;mI7K线密码—破译K线的密码

DRAWTEXT(BARSLAST(TJ)=5,MACD,'5'),COLORGREEN;mI7K线密码—破译K线的密码

DRAWTEXT(BARSLAST(TJ)=8,MACD,'8'),COLORGREEN;mI7K线密码—破译K线的密码

DRAWTEXT(BARSLAST(TJ)=13,MACD,'13'),COLORGREEN;mI7K线密码—破译K线的密码

DRAWTEXT(BARSLAST(TJ)=21,MACD,'21'),COLORGREEN;mI7K线密码—破译K线的密码

DRAWTEXT(BARSLAST(TJ)=34,MACD,'34'),COLORGREEN;mI7K线密码—破译K线的密码

DRAWTEXT(BARSLAST(TJ)=55,MACD,'55'),COLORGREEN;mI7K线密码—破译K线的密码

DRAWTEXT(BARSLAST(T)=1,MACD,'1'),COLORYELLOW;mI7K线密码—破译K线的密码

DRAWTEXT(BARSLAST(T)=2,MACD,'2'),COLORYELLOW;mI7K线密码—破译K线的密码

DRAWTEXT(BARSLAST(T)=3,MACD,'3'),COLORYELLOW;mI7K线密码—破译K线的密码

DRAWTEXT(BARSLAST(T)=5,MACD,'5'),COLORYELLOW;mI7K线密码—破译K线的密码

DRAWTEXT(BARSLAST(T)=8,MACD,'8'),COLORYELLOW;mI7K线密码—破译K线的密码

DRAWTEXT(BARSLAST(T)=13,MACD,'13'),COLORYELLOW;mI7K线密码—破译K线的密码

DRAWTEXT(BARSLAST(T)=21,MACD,'21'),COLORYELLOW;mI7K线密码—破译K线的密码

DRAWTEXT(BARSLAST(T)=34,MACD,'34'),COLORYELLOW;mI7K线密码—破译K线的密码

DRAWTEXT(BARSLAST(T)=55,MACD,'55'),COLORYELLOW;mI7K线密码—破译K线的密码

上一篇:​凤舞九天主图指标,副图/选股/预警,通达信,贴图

下一篇:通达信渐红波段持股指标公式

猜你喜欢