以下是通达信KD加强线副图公式

AA:=(O+H+L+C)/4;

A1:=HHV(AA,5);

A2:=LLV(AA,5);

A3:=A1-A2;

RSV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100;

Y0:SMA(RSV,3,1),colorwhite,LINETHICK1;

Y1:SMA(Y0,3,1),coloryellow,LINETHICK1;

买: DRAWICON(CROSS(Y1,Y0)>0.7,Y1,2);

卖: DRAWICON(CROSS(Y0,Y1),Y1,1);

强弱分界:50,DOTLINE,COLORAAAAAA;

警戒区:80,LINETHICK1,coloryellow,LINETHICK1;

安全区:20,COLOR00BB00;

 

b2:=LLV(AA,15);

b1:=HHV(AA,15);

b3:=b1-b2;

b4:=EMA((AA-b2)/b3,2)*100;

J:b4,DOTLINE,colorgreen;

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