通达信攻击系统主图指标公式
重心:(C+L+O+H)/4,COLORWHITE,LINETHICK0;
决策线升:IF(EMA(重心,60)>=REF(EMA(重心,60),1),EMA(重心,60),
DRAWNULL),COLORRED,LINETHICK0;
生命线升:IF(EMA(重心,20)>=REF(EMA(重心,20),1),EMA(重心,20),
DRAWNULL),COLORRED,LINETHICK0;
操盘线升:IF(EMA(重心,10)>=REF(EMA(重心,10),1),EMA(重心,10),
DRAWNULL),COLORRED,LINETHICK0;
攻击线升:IF(EMA(重心,5)>=REF(EMA(重心,5),1),EMA(重心,5),
DRAWNULL),COLORRED,LINETHICK1;
Z13:=EMA(O,1),COLORCYAN,LINETHICK1;
Z12:=EMA(O,5),COLORRED,LINETHICK1;
Z11:=EMA(O,10),COLORYELLOW,LINETHICK2;
Z10:=EMA(O,20),COLORWHITE,LINETHICK2;
Z18:=EMA(O,60),COLORWHITE,LINETHICK2;
Q:=FINDLOW(Z18,1,244,1),NODRAW;
A:=FINDLOW(Z10,1,244,1),NODRAW;
B:=FINDLOW(Z11,1,244,1),NODRAW;
D:=FINDLOW(Z12,1,244,1),NODRAW;
E:=FINDLOW(Z13,1,244,1),NODRAW;
Q1:=REF(Q,1),NODRAW;
A1:=REF(A,1),NODRAW;
B1:=REF(B,1),NODRAW;
C1:=REF(D,1),NODRAW;
E1:=REF(E,1),NODRAW;
主升起点:IF(Q1=REF(Q1,1) OR Q1=REFX(Q1,1),Q1,DRAWNULL),LINETHICK2,COLORMAGENTA;
大波起点:IF(A1=REF(A1,1) OR A1=REFX(A1,1),A1,DRAWNULL),LINETHICK2,COLORWHITE;
中波起点:IF(B1=REF(B1,1) OR B1=REFX(B1,1),B1,DRAWNULL),LINETHICK2,COLORYELLOW;
小波起点:IF(C1=REF(C1,1) OR C1=REFX(C1,1),C1,DRAWNULL),LINETHICK2,COLORRED;
微波起点:IF(E1=REF(E1,1) OR E1=REFX(E1,1),E1,DRAWNULL),LINETHICK2,COLORCYAN;
- 上一篇公式:通达信量能分时指标公式
- 下一篇公式:通达信农夫播种指标公式