VAR1:=LWINNER(5,CLOSE)*100;VAR2:=LWINNER(10,CLOSE)*100;
VAR3:=LWINNER(20,CLOSE)*100;VAR4:=LWINNER(30,CLOSE)*100;
VAR5:=LWINNER(60,CLOSE)*100;VAR6:=LWINNER(100,CLOSE)*100;
X:=REF((VAR1+VAR2+VAR3+VAR4+VAR5+VAR6)/6,1);
五日:VAR1,STICK,LINETHICK8,COLORRED;
{- }
{十日:VAR2,STICK,LINETHICK7,COLORYELLOW;}
{二十日:VAR3,STICK,LINETHICK6,COLORBROWN;}
{三十日:VAR4,STICK,LINETHICK5,COLORBLUE;}
{六十日:VAR5,STICK,LINETHICK4,COLORGREEN;}
一百日:VAR6,STICK,LINETHICK1,COLORWHITE;
平均成本:MA(X,3),COLORBLUE;