短:=7;
短1:=3;
短2:=3;
长:=38;
长1:=5;
长2:=10;
DRAWGBK(OPEN>0,RGB(33,47,58),RGB(0,0,0),0,'02',0);
RSV:=(CLOSE-LLV(LOW,短))/(HHV(HIGH,短)-LLV(LOW,短))*100;
短K:SMA(RSV,短1,1),COLORYELLOW;
短D:SMA(短K,短2,1),COLOR66CC33;
RSV1:=(CLOSE-LLV(LOW,长))/(HHV(HIGH,长)-LLV(LOW,长))*100;
长K:SMA(RSV1,长1,1),COLORRED;
长D:SMA(长K,长2,1),COLORCYAN;
STICKLINE(长K>长D,长K,长D,2,0),COLORRED;
STICKLINE(长K<=长D,长K,长D,2,0),COLORCYAN;
STICKLINE(短K>短D,短K,短D,2,0),COLORYELLOW;
STICKLINE(短K<=短D,短K,短D,2,0),COLOR66CC33;
{DRAWBAND(长K,RGB(255,0,0),长D,RGB(0,255,255));
DRAWBAND(短K,RGB(255,255,0),短D,RGB(51,204,102));};