VAR1:=((CLOSE - LLV(LOW,13))/(HHV(HIGH,13) - LLV(LOW,13)))*(100);
VAR2:=REVERSE(VAR1);
VAR3:=SMA(VAR1,4,1);
K:=SMA(VAR3,3,1);
D:=SMA(K,3,1);
{www.9m8.cn}}
STICKLINE((K = D),100,0,8,0),COLOR2B5500;
STICKLINE((K = D),100,0,8 ,0 ),COLOR005555;
高线:81,COLOR0000FF,POINTDOT,LINETHICK6;
中线:50,COLOR10CCFF,POINTDOT,LINETHICK6;
低线:21,COLOR40FF00,POINTDOT,LINETHICK6;
DRAWTEXT(CROSS(K,D) AND (D 23),13,'买'),COLOR00FFFF;
DRAWTEXT(CROSS(D,K) AND (D 55),88,'卖'),COLORFFFFFF;
STICKLINE((K = D),K,D,2,0 ),COLORFF20FF;
STICKLINE((K = D),K,D,1.5 ,0 ),COLORFF40FF;
STICKLINE((K = D),K,D,1,0 ),COLORFF60FF;
STICKLINE((K = D),K,D,0,0),COLORFF80FF;
STICKLINE((K = D),K,D,2,0),COLORFF8000;
STICKLINE((K = D),K,D,1.5,0),COLORFF8F20;
STICKLINE((K = D),K,D,1,0),COLORFF9F40;
STICKLINE((K = D),K,D,0,0),COLORFFAF60;
100,POINTDOT,COLORFFFFFF,LINETHICK8;