以下是通达信量能趋势副图指标公式

通达信量能趋势副图指标公式

用法:跟随趋势,柱短关注,越短越好;柱长小心,量柱缩小小心变盘,简单明了。

{N:5,K:1}
量能:EMA(400*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),K)/4,STICK,LINETHICK5,COLORRED;
Z:=DRAWTEXT(量能>23,量能*0.92,’○’),COLORYELLOW;
DRAWICON(量能>23,量能*0.7,17);
生命分水岭: 34;
强势: 84;
DRAWICON(量能<1,4,15);
DRAWICON(量能<2,10,13);
J:=DRAWICON(量能<3,17,1);
买入线:20;
卖出线:72;

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK2;
K0:SMA(RSV,3,1),LINETHICK1;
D:=SMA(K,3,1),LINETHICK1;
J0:=3*K-2*D,COLORFF00FF,LINETHICK1;

DRAWICON(CROSS(J0,1),J0,1);
DRAWICON(K0>80 AND D>80 AND CROSS(D,K),D,2);
KY:IF(K0>REF(K0,1),K0,DRAWNULL),COLORFF8000,LINETHICK1;
KX:IF(K0<REF(K0,1),K0,DRAWNULL),COLORYELLOW,LINETHICK1;
DY:IF(D<REF(D,1),D,DRAWNULL),COLORGREEN,LINETHICK1;
DX:IF(D>REF(D,1),D,DRAWNULL),COLORRED,LINETHICK1;
JY探升:=IF(J0>REF(J0,1),J0,DRAWNULL),COLORFF00FF,LINETHICK1;
JX探跌:=IF(J0<REF(J0,1),J0,DRAWNULL),COLORFFFF00,LINETHICK1;

{周赚10%}
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
SHORT:=7;
LONG:=19;
RMA:=EMA(CLOSE,SHORT);
NMA:=EMA(CLOSE,LONG);
UP1:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),0);
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),0);
买进:(LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2))) AND REF(DOWN,1)<REF(DOWN,2) AND UP1>REF(DOWN,1),COLORYELLOW,STICK,LINETHICK7;
顶:(HHV(A8,2)=HHV(A8,7) AND COUNT(A8<40,2) AND CROSS(MA(A8,2),A8)) AND REF(UP1,1)<REF(UP1,2) AND DOWN>REF(UP1,1),COLORWHITE,STICK,LINETHICK7;
抄底:CROSS(“KDJ.J”,1)*5,COLORWHITE;

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