最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信KDJ划线指标公式

    正文概述    2024-05-04 04:06:59  
    月K:=KDJ.K#MONTH;月D:=KDJ.D#MONTH;月J:=KDJ.J#MONTH;周K:=KDJ.K#WEEK;周D:=KDJ.D#WEEK;周J:=KDJ.J#WEEK;日K:=KDJ.K;日D:=KDJ.D;日J:=KDJ.J;日:=CROSS(日K,日D)AND(日D 40OR日D 周金叉:=CROSS(周K,周D)AND(周D 40OR周D 月金叉:=CROSS(月K,月D)AND(月D 40OR月D :(周金叉AND日金叉)OR(周金叉AND月金叉)OR(日金叉AND月金叉)OR(日金叉AND周金叉AND月金叉); diff:=".diff";MADC底:(LLV(C,60)=REF(C,1))ANDNOT(LLV(diff,60)=REF(diff,1))ANDdiff REF(diff,1),colorred,linethick0;MacD顶背离:(HHV(C,60)=REF(C,1))ANDNOT(HHV(diff,60)=REF(diff,1))ANDdiff REF(diff,1),linethick0,colorred;j:="kdj.j"(9,3,3);kdJ底背离:(LLV(C,60)=REF(C,1))ANDNOT(LLV(J,60)=REF(J,1))ANDJ REF(J,1),linethick0,colorgreen;KDJ顶背离:(HHV(C,60)=REF(C,1))ANDNOT(HHV(J,60)=REF(J,1))ANDJ REF(J,1),linethick0,colorgreen;:="RSI.RSI2";RSI底背离:(LLV(C,60)=REF(C,1))ANDNOT(LLV(RSI,60)=REF(RSI,1))ANDRSI REF(RSI,1),linethick0,colorblue;RSI顶背离:(HHV(C,60)=REF(C,1))ANDNOT(HHV(RSI,60)=REF(RSI,1))ANDRSI REF(RSI,1),linethick0,colorblue;STICKLINE(MADC底背离,-3,0,3,0),colorred;STICKLINE(KDJ底背离,-2,0,6,0),colorgreen;STICKLINE(RSI底背离,-1,0,9,0),colorblue;STICKLINE(macd顶背离,3,0,3,0),colorred;STICKLINE(KDJ顶背离,2,0,6,0),colorgreen;STICKLINE(RSI顶背离,1,0,9,0),colorblue; N:=3; M1:=5; M2:=13; RSV=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; a=SMA(RSV,M1,1); b=SMA(a,M2,1); e=3*a-2*b; IF(a 0)a=0; IF(a 100)a=100; IF(b 0)b=0; IF(b 100)b=100; IF(e 0)e=0; IF(e 100)e=100; K:a; 蓝柱出现上必须卖出破昨低买回:b; 粉柱上行昨收立即买入创新高卖出粉柱缩短冲高均线上卖出或昨收上卖:e; VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VAR2:=SMA(ABS(LOW-VAR1),15,1)/SMA(MAX(LOW-VAR1,0),10,1),LINETHICK2; VAR3:=EMA(VAR2,10); VAR4:=LLV(LOW,33); VAR5:=EMA(IF(LOW =VAR4,VAR3,0),3); LOWV:=LLV(LOW,6); HIGHV:=HHV(HIGH,6); RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,2); 1:EMA(RSV,2),colorwhite; 短线2:MA(短线1,2),coloryellow; DRAWTEXT(CROSS(短线1,短线2),短线1,'始买入'); DRAWTEXT(CROSS(短线2,短线1),短线2,'终卖出');

    公式解读:

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信KDJ划线指标公式 加入收藏