紫风:=MA(C,1);
紫风1:MA(C,5),colorred,layer0;
紫风2:MA(MA(C,5),2),COLOR555555,layer0;
紫风3:MA(MA(MA(C,5),2),2),COLOR555555,layer0;
紫风4:MA(MA(MA(MA(C,5),2),2),2),COLOR555555,layer0;
紫风5:MA(MA(MA(MA(MA(C,5),2),2),2),2),COLOR555555,layer0;
FILLRGN(紫风1,紫风5,紫风1>紫风5 AND 紫风>紫风1,rgb(255,188,18),紫风1>紫风5 AND 紫风<紫风1 AND 紫风1>=REF(紫风1,1),rgb(65,105,255),紫风1>紫风5 AND 紫风<紫风1 AND 紫风1<REF(紫风1,1),rgb(41,36,33));
FILLRGN(紫风1,紫风5,紫风1<紫风5 AND 紫风>紫风1,rgb(48,128,20),紫风1<紫风5 AND 紫风<紫风1,rgb(41,36,33),紫风1<紫风5,rgb(41,36,33));
紫风10:MA(C,20),colorFF5505;
紫风20:MA(C,60),color111111,POINTDOT,LINETHICK2;
紫风21:MA(MA(C,60),2),color111111,POINTDOT,LINETHICK2;
紫风22:MA(MA(MA(C,60),2),2),color111111,POINTDOT,LINETHICK2;
PARTLINE(紫风20,紫风20>=REF(紫风20,1),rgb(128,42,42),紫风20<REF(紫风20,1),rgb(48,128,20)),LINETHICK1;
{ _最新股票指标公式}
PARTLINE(紫风21,紫风20>=REF(紫风20,1),rgb(128,42,42),紫风20<REF(紫风20,1),rgb(48,128,20)),LINETHICK1;
PARTLINE(紫风22,紫风20>=REF(紫风20,1),rgb(128,42,42),紫风20<REF(紫风20,1),rgb(48,128,20)),LINETHICK1;
交易:=紫风1;
拉升:HHV(交易,13),color2fffff;
压力:HHV(交易,60),color009000;
支撑:LLV(交易,13),COLOR009000;
STICKLINE(拉升>交易 AND 紫风>紫风1,拉升,紫风1,0.1,0),coloryellow;
STICKLINE(拉升>交易 AND 紫风<紫风1,拉升,紫风1,0.1,0),color00c000;
底:=LLV(LOW,60)*1.02;
顶:=HHV(HIGH,60)*0.98;
STICKLINE(底,底,底,11,0),COLOR999999;
STICKLINE(顶,顶,顶,11,0),COLOR999999;
DEA:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42);
PARTLINE(DEA,紫风>DEA AND DEA>=REF(DEA,1),rgb(255,0,255),紫风<DEA AND DEA>=REF(DEA,1),rgb(225,225,225),紫风<DEA AND DEA<REF(DEA,1),rgb(65,105,225),紫风>DEA AND DEA<REF(DEA,1),rgb(25,25,112)),LINETHICK2;
MID:=MA(CLOSE,20);
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,8,1 ),COLOR5555ff;
STICKLINE((CLOSE <OPEN),HIGH,LOW,0,0 ),colorcyan;
STICKLINE((CLOSE <OPEN),CLOSE,OPEN,8,0 ),colorcyan;