紫风:=MA(C,1);
紫风1:MA(C,5),COLORRED;
紫风2:MA(MA(C,5),2),COLOR9CCCCC;
紫风3:MA(MA(MA(C,5),2),2),COLOR9CCCCC;
紫风4:MA(MA(MA(MA(C,5),2),2),2),COLOR9CCCCC;
紫风5:MA(MA(MA(MA(MA(C,5),2),2),2),2),COLOR9CCCCC;
紫风10:MA(C,20),COLORFF5505;
紫风20:MA(C,60),COLOR0555FF;
紫风21:MA(MA(C,60),2),COLOR555555;
紫风22:MA(MA(MA(C,60),2),2),COLOR555555;
交易:=紫风1;
拉升:HHV(交易,13),COLOR2FFFFF;
压力:HHV(交易,60),COLOR009000;
支撑:LLV(交易,13),COLOR009000;
STICKLINE(拉升>交易 AND 紫风>紫风1,拉升,紫风1,0,0),COLORYELLOW;
STICKLINE(拉升>交易 AND 紫风<紫风1,拉升,紫风1,0,0),COLOR00C000;
底:=LLV(LOW,60)*1.02;
顶:=HHV(HIGH,60)*0.98;
STICKLINE(底,底,底,5,0),COLOR555555;
STICKLINE(顶,顶,顶,5,0),COLOR555555;
DEA:EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42),COLOR00F000,LINETHICK2;
MID:=MA(CLOSE,20),COLOR999999,POINTDOT,LINETHICK1;
UPPER:MID +2*STD(CLOSE,20),COLOR999999;
LOWER:MID - 2*STD(CLOSE,20),COLOR999999;
STICKLINE((CLOSE >=OPEN),HIGH,LOW,0,1 ),COLOR5555FF;
STICKLINE((CLOSE >=OPEN),CLOSE,OPEN,3,1 ),COLOR5555FF;
STICKLINE((CLOSE <OPEN),HIGH,LOW,0,0 ),COLORCYAN;
STICKLINE((CLOSE <OPEN),CLOSE,OPEN,3,0 ),COLORCYAN;
STICKLINE(crOSS(紫风1,紫风),CLOSE,OPEN,0.5,0 ),COLOR008000;
STICKLINE(CROSS(紫风,紫风1),CLOSE,OPEN,0.5,0 ),COLOR2FFFFF;