RSV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100;
短K:SMA(RSV,3,1),COLOR00FF00,NODRAW;
短D:SMA(短K,3,1),COLORYELLOW,NODRAW;
RSV1:=(CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*100;
长K:SMA(RSV1,5,1),COLOR7222CC,NODRAW;
长D:SMA(长K,10,1),COLOR86AA33,NODRAW;
地:18,COLORWHITE;
天:80,COLORBLUE;
STICKLINE(短K>短D,短K,短D,4,0),COLOR11AAFF;
STICKLINE(短K>短D,短K,短D,2,0),COLOR12BBFF;
STICKLINE(短K>短D,短K,短D,1,0),COLOR16CCFF;
STICKLINE(短K<=短D,短K,短D,4,0),COLOR01AA22;
STICKLINE(短K<=短D,短K,短D,2,0),COLOR10BB26;
STICKLINE(短K<=短D,短K,短D,0.8,0),COLOR20CC36;
STICKLINE(长K>长D,长K,长D,4,0),COLOR5511AA;
STICKLINE(长K>长D,长K,长D,2,0),COLOR6618BB;
STICKLINE(长K>长D,长K,长D,0.8,0),COLOR7728CC;
STICKLINE(长K<=长D,长K,长D,4,0),COLOR668733;
STICKLINE(长K<=长D,长K,长D,2,0),COLOR769933;
STICKLINE(长K<=长D,长K,长D,0.8,0),COLOR86AA33;
{V1:=(C+H+L)/3;
MA3:=MA(V1,5);
MA5:=MA(V1,13);
N1:=BARSLAST(CROSS(MA3,MA5));
N2:=BARSLAST(CROSS(MA5,MA3));
N8:=IF(N1<N2,N1+1,0-N2-1);
STICKLINE(N8>0,0,2,3,0),COLOR0000FF;
STICKLINE(N8<0,0,2,3,0),COLOR00FF00;
JJ:=DYNAINFO(11);
TJ4:=FILTER((C-JJ)/JJ<-0.02 AND PA<16,13);
STICKLINE(TJ4,20,0,6,0),COLOR00FFFF;
TJ5:=FILTER((C-JJ)/JJ<-0.04 AND PA<16,13);
STICKLINE(TJ5,20,0,6,0),COLOR0000FF;
TJ6:=FILTER((C-JJ)/JJ>0.02 AND PA>60,13);
STICKLINE(TJ6,80,60,6,0),COLORFF0000;
TJ7:=FILTER((C-JJ)/JJ>0.05 AND PA>60,13);
STICKLINE(TJ7,80,60,6,0),COLOR00FF00;
DRAWTEXT(TJ4 OR TJ5 ,20,'买'),COLORFF00FF;}