以下是同花顺精品KDJ公式无未来

同花顺精品KDJ公式无未来

用法:

1、白线见底可买入

2、白线到顶卖出

3、出现天线为最佳买入点

4、红柱线长短表示趋势强弱

 

VAR1:=1;

VAR2:=((((2*CLOSE)+HIGH)+LOW) / 4);

高位:90,DOTLINE,COLOR626262;

低位:20,DOTLINE,COLOR626262;

VAR4:=LLV(LOW,5);

VAR5:=HHV(HIGH,4);

C1:(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)*VAR1),LINETHICK2,COLOR0000FF;

C2:(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR1),COLORFFFFFF,LINETHICK1;

H1:IF( CROSS(C2,C1),C2,DRAWNULL),CROSSDOT,LINETHICK1,coloryellow;

F1_:IF(CROSS(C2,C1),C2,DRAWNULL),CIRCLEDOT,LINETHICK1,COLORFFFF00;

DRAWTEXT(CROSS(C1,C2),REF(C2,1),’B’),COLOR000000;

DRAWTEXT(CROSS(C2,C1),REF(C1,1),’★’),COLORC6C600;

H2:IF( CROSS(C1,C2),C1,DRAWNULL),CROSSDOT,LINETHICK1,colormagenta;

F2_:IF(CROSS(C1,C2),C1,DRAWNULL),CIRCLEDOT,LINETHICK1,coloryellow;

DRAWICON(CROSS(C1,C2) AND C2>0,C2,1);

DRAWICON(CROSS(C2,C1) AND C2<-100,C1,2);

DRAWICON(CROSS(C1,C2) AND C2<0,C2,34);

DRAWICON(CROSS(C2,C1) AND C2>-100,C1,2);

条件:=CROSS(C1,C2) AND C1<40;

条件0:=CROSS(C2,C1) AND C1>90;

TJ1:=CROSS(C1,C2);

TJ2:=CROSS(C2,C1);

TJ3:=CROSS(C1,C2) AND REF(C1,1)<20;

TJ4:=CROSS(C2,C1) AND REF(C1,1)>80;

DRAWTEXT(条件,15,’★’),COLOR00FFFF;

DRAWTEXT(条件0,96,’卖’),coloryellow;
 

 

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