MA5:MA(C,5),COLORYELLOW;
MA10:MA(C,10),COLORWHITE;
MA20:MA(C,20),COLORBLUE;
MA30:MA(C,30),COLORGREEN;
MA60:MA(C,60),COLORLIBLUE;
MA99:MA(C,99),COLORLIRED;
MA250:MA(C,250),COLORRED;
中线:(EMA(C,30)+EMA(C,72))/2,COLORCYAN,LINETHICK3;
{顶线:中线+中线*0.80,COLORCYAN;}
铁底:中线-中线*0.49,COLOR00CC00,LINETHICK3;
顶线:中线+中线*0.22,COLORFF3300,LINETHICK3;
极底:中线-中线*0.29,COLORFF33CC,LINETHICK3;
{VAR1X:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);
VAR2X:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);
VAR9:=IF(YEAR > 2110,0,VAR1X);
VAR10:=IF(YEAR > 2110,0,VAR2X);
STICKLINE(VAR9,H*1.02,H,10,0),COLORYELLOW,LINETHICK2;
STICKLINE(VAR10,L*0.96,L*0.91,10,0),COLORRED,LINETHICK2;};