N:=18;
LH:=80;
生命线:EMA(CLOSE,453),COLORFF00FF,POINTDOT,LINETHICK5;
EMA13:EMA(C,13);
EMA34:EMA(C,34);
EMA55:EMA(C,55);
EMA120:EMA(C,120);
WYZB1:=(C - REF(C,1))/REF(C,1)*100 > 0.5 AND C < HHV(H,20);
WYZB2:=V > MA(V,5)*0.6;
WYZB3:=COUNT(CROSS(EMA13, EMA55),3) = 1;
WYZB4:=ABS(EMA34 - EMA55)/EMA55 < 0.03;
WYZB5:=EMA55 <= EMA120 AND EMA55 >= REF(EMA55,1);
WYZB6:=FILTER(WYZB1 AND WYZB2 AND WYZB3 AND WYZB4 AND WYZB5,10);
DRAWICON(WYZB6,LOW*0.998,29);
DRAWICON(WYZB6,LOW*0.990,34);
STICKLINE(WYZB6,H,L,0.5,1),COLORF00FF0;
STICKLINE(WYZB6,O,C,3,1),LINETHICK2,COLORYELLOW;
DRAWTEXT(WYZB6,L-0.09,'<-- 红衣侠女'),COLORYELLOW;
WYYM26:=EMA(CLOSE,2)-EMA(CLOSE,150);
WYYM27:=EMA(WYYM26,100);
WYYM28:=2*(WYYM26-WYYM27);
WYYM29:=POW(WYYM28,3)*0.1+POW(WYYM28,1);
WYYM2A:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
WYYM2B:=EMA(WYYM2A*0.97,3);
WYYM2C:=(HIGH+LOW+CLOSE)/3;
WYYM2D:=(WYYM2C-MA(WYYM2C,14))/(0.015*AVEDEV(WYYM2C,14));
龙抬头:=IF( WYYM28>0.1,WYYM29,0)*5,COLORCYAN;
护盘: CROSS(WYYM28,1),COLORFF9900,NODRAW;
DRAWICON(护盘,LOW*0.995,1);
DRAWTEXT(护盘>0, LOW*0.985,'护盘'),COLORMAGENTA;
DIF:=EMA(CLOSE,6)-EMA(CLOSE,16);
DEA:=EMA(DIF,9);
上攻:CROSS(DIF,DEA) AND DEA>-0.05,COLORFFFFFF,NODRAW;
DRAWICON(上攻,LOW*0.995,1);
DRAWTEXT(上攻>0, LOW*0.985,'上攻'),COLORYELLOW;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,9*0.3,0),COLORFF5B00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,8*0.3,0),COLORFF6C00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,7*0.3,0),COLORFF7B00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,6*0.3,0),COLORFF9C00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,5*0.3,0),COLORFFBE00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.5*0.3,0),COLORFFCC00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,0.5*0.3,0),COLORFFFF00;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,9*0.3,0),COLOR070084;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8*0.3,0),COLOR0000A3;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,7*0.3,0),COLOR0000B7;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,6*0.3,0),COLOR0000CD;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,5*0.3,0),COLOR0000E9;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,3*0.3,0),COLOR0754E9;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1.0*0.3,0),COLOR076EF3;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1*0.3,0),COLOR077BF3;
STICKLINE(CLOSE>OPEN,OPEN,LOW,1*0.3,0),COLOR0726CA;
STICKLINE(CLOSE>OPEN,CLOSE,HIGH,1*0.3,0),COLOR0726CA;
STICKLINE(OPEN>CLOSE,CLOSE,LOW,1*0.3,0),COLORDE9100;
STICKLINE(OPEN>CLOSE,OPEN,HIGH,1*0.3,0),COLORDE9100;