以下是同花顺短线KD副图指标

同花顺短线KD副图指标

源码

DRAWGBK(DATE>900103,STRIP(RGB(80,100,255),RGB(130,120,255),1));
RSV:=(CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100;
短K:SMA(RSV,3,1),COLORFFFF00,LINETHICK1;
短D:SMA(短K,3,1),COLOR3C3CFF,LINETHICK1;
RSV1:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
长K:SMA(RSV1,5,1),POINTDOT,colorred;
长D:SMA(长K,5,1),POINTDOT,colorgreen;
STICKLINE(短K>短D,短K,短D,8,0),COLOR0F0FFF;
STICKLINE(短K>短D,短K,短D,5,0),COLOR2626FF;
STICKLINE(短K>短D,短K,短D,4,0),COLOR4444FF;
STICKLINE(短K>短D,短K,短D,3,0),COLOR6060FF;
STICKLINE(短K>短D,短K,短D,2,0),COLOR7777FF;
STICKLINE(短K>短D,短K,短D,1,0),COLOR8E8EFF;
STICKLINE(短K<=短D,短K,短D,8,0),COLOR7A7A00;
STICKLINE(短K<=短D,短K,短D,5,0),COLOR8A8A00;
STICKLINE(短K<=短D,短K,短D,4,0),COLOR9A9A00;
STICKLINE(短K<=短D,短K,短D,3,0),COLORAEAE00;
STICKLINE(短K<=短D,短K,短D,2,0),COLORCCCC00;
STICKLINE(短K<=短D,短K,短D,1,0),COLORFFFF5B;
STICKLINE(长K>长D,长K,长D,6,-1),colorred;
STICKLINE(长K<=长D,长K,长D,6,-1),colorgreen;

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