同花顺短线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;