以下是同花顺四色KD副图指标

同花顺四色KD副图指标

源码

N1:=17;N2:=34;STICKLINE(C>0,40,60,10,0),COLOR999999;RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;短K:SMA(RSV,3,1),COLORF580F5,LINETHICK0;短D:SMA(短K,3,1),COLORCCDD33,LINETHICK0;RSV1:=(CLOSE-LLV(LOW,N2))/(HHV(HIGH,N2)-LLV(LOW,N2))*100;中K:SMA(RSV1,5,1),colorred,LINETHICK0;中D:SMA(中K,10,1),COLOR00FFFF,LINETHICK0;底线:10,colorwhite;顶线:90,Culor33FF33;BB:=IF(BARSLAST(CROSS(短K,RSV))>=3 AND CROSS(RSV,短K) AND 短K<30,20,0);STICKLINE(BB,0,50,8,1),Culor0000bb;STICKLINE(BB,0,50,4,1),Culor0000dd;STICKLINE(BB,0,50,2,1),Culor0000ff;AA:=IF(BARSLAST(CROSS(RSV,短K))>=4 AND CROSS(短K,RSV) AND RSV>50,20,0);STICKLINE(AA,80,100,8,1),CulorD8D8D8;STICKLINE(AA,80,100,4,1),CulorE8E8E8;STICKLINE(AA,80,100,2,1),CulorFFFFFF;STICKLINE(短K>短D,短K,短D,8,1),Culor820082;STICKLINE(短K>短D,短K,短D,6,1),CulorB700B7;STICKLINE(短K>短D,短K,短D,4,1),CulorF700F7;STICKLINE(短K>短D,短K,短D,2,1),CulorFF37FF;STICKLINE(短K<=短D,短K,短D,8,1),CulorBFBF00;STICKLINE(短K<=短D,短K,短D,6,1),CulorE8E800;STICKLINE(短K<=短D,短K,短D,4,1),CulorFFFF15;STICKLINE(短K<=短D,短K,短D,2,1),CulorFFFF46;STICKLINE(中K>中D,中K,中D,8,0),COLOR000099;STICKLINE(中K>中D,中K,中D,6,0),COLOR0000dd;STICKLINE(中K>中D,中K,中D,4,0),COLOR0000cc;STICKLINE(中K>中D,中K,中D,2,0),COLOR0000ff;STICKLINE(中K<=中D,中K,中D,8,0),COLOR009FFF;STICKLINE(中K<=中D,中K,中D,6,0),COLOR00B5FF;STICKLINE(中K<=中D,中K,中D,4,0),COLOR00E4FF;STICKLINE(中K<=中D,中K,中D,2,0),COLOR00FFFF; RSV=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;a=SMA(RSV,3,1);b=SMA(a,3,1);e:=3*a-2*b;IF(e<0) e=0;IF(e>100) e=100;PARTLINE(e,e>REF(e,1),colorred,e

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