大盘K线
K13:EXPMA(INDEXC,204) ,COLORWHITE;
K14:EXPMA(INDEXC,216) ,COLORWHITE;
K15:EXPMA(INDEXC,228) ,COLORWHITE;
K16:EXPMA(INDEXC,260) ,COLORWHITE;
K1:EXPMA(INDEXC,6),COLORRED;
K2:EXPMA(INDEXC,14) ,COLORRED;
K3:EXPMA(INDEXC,20) ,COLORRED;
K4:EXPMA(INDEXC,24) ,COLORLIGREEN;
K5:EXPMA(INDEXC,30) ,COLORYELLOW;
K6:EXPMA(INDEXC,36) ,COLORYELLOW;
K7:EXPMA(INDEXC,42) ,COLORYELLOW;
K8:EXPMA(INDEXC,48) ,COLORYELLOW;
K9:EXPMA(INDEXC,100) ,COLORBLUE;
K10:EXPMA(INDEXC,112) ,COLORBLUE;
K11:EXPMA(INDEXC,124) ,COLORBLUE;
K12:EXPMA(INDEXC,138) ,COLORBLUE;
RSV:=(INDEXC-LLV(INDEXL,9))/(HHV(INDEXH,9)-LLV(INDEXL,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
STICKLINE(J>50,INDEXC,INDEXO,2,0),COLORFF0000;
STICKLINE(J>50,INDEXH,INDEXL,0,0),COLORFF0000;
STICKLINE(J<50,INDEXC,INDEXO,2,0),COLORFFFF00;
STICKLINE(J<50,INDEXH,INDEXL,0,0),COLORFFFF00;
STICKLINE(CROSS(50,J),INDEXC,INDEXO,2,0),COLORYELLOW;
STICKLINE(CROSS(50,J),INDEXH,INDEXL,0,0),COLORYELLOW;
STICKLINE(CROSS(J,50),INDEXC,INDEXO,2,0),COLORRED;
STICKLINE(CROSS(J,50),INDEXH,INDEXL,0,0),COLORRED;