x3:POLYLINE(c COST(50),COST(3)),COLOR008800;
x5:POLYLINE(c COST(50),COST(5)),COLOR008800;
x7:POLYLINE(c COST(50),COST(7)),COLOR008800;
x9:POLYLINE(c COST(50),COST(9)),COLOR008800;
十:POLYLINE(c COST(50),COST(10)),POINTDOT,COLOR008800;
x11:POLYLINE(c COST(50),COST(11)),COLOR66CC00;
x31:POLYLINE(c COST(50),COST(13)),COLOR66CC00;
x51:POLYLINE(c COST(50),COST(15)),COLOR66CC00;
x71:POLYLINE(c COST(50),COST(17)),COLOR66CC00;
x91:POLYLINE(c COST(50),COST(19)),COLOR66CC00;
二十:POLYLINE(c COST(50),COST(20)),POINTDOT,COLOR66CC00;
x12:POLYLINE(c COST(50),COST(21)),COLORff9933;
x32:POLYLINE(c COST(50),COST(23)),COLORff9933;
x52:POLYLINE(c COST(50),COST(25)),COLORff9933;
x72:POLYLINE(c COST(50),COST(27)),COLORff9933;
x92:POLYLINE(c COST(50),COST(29)),COLORff9933;
三十:POLYLINE(c COST(50),COST(30)),POINTDOT,COLORff9933;
x13:POLYLINE(c COST(50),COST(31)),COLOR008800;
x33:POLYLINE(c COST(50),COST(33)),COLOR008800;
x53:POLYLINE(c COST(50),COST(35)),COLOR008800;
x73:POLYLINE(c COST(50),COST(37)),COLOR008800;
x93:POLYLINE(c COST(50),COST(39)),COLOR008800;
四十:POLYLINE(c COST(50),COST(40)),POINTDOT,COLOR008800;
x14:POLYLINE(c 0,COST(41)),COLOR33cc00;
x34:POLYLINE(c 0,COST(43)),COLOR33cc00;
x54:POLYLINE(c 0,COST(45)),COLOR33cc00;
x74:POLYLINE(c 0,COST(47)),COLOR33cc00;
x94:POLYLINE(c 0,COST(49)),COLOR33cc00;
COST(50),ColorFFFFFF,CIRCLEDOT;
STICKLINE(c =o,c,o,6,1),colorred;
STICKLINE(c =o,l,o,0.1,0),colorred;
STICKLINE(c =o,c,h,0.1,0),colorred;
STICKLINE(c o,c,o,6,0),colorffff00;
STICKLINE(c o,h,l,0.1,0),colorffff00;
D:=MA(CLOSE,80)-MA(CLOSE,10)/3;
DRAWTEXT(IF(CLOSE D AND VOL/240 MA(VOL,5)/240 AND CLOSE REF(CLOSE,1)*1.08
AND CLOSE MA(CLOSE,13)*1.3,1,0),LOW*0.98,'抄★底');
MTM:=CLOSE-REF(CLOSE,1);
DX:=100*EMA(EMA(MTM,9),9)/EMA(EMA(ABS(MTM),9),9);
DY:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX 50,2) AND CROSS(MA(DX,2),DX);
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
VAR6:=REF(C,1);
VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;
VAR32:=CLOSE/REF(CLOSE, 1) =1.062 AND HIGH/CLOSE 1.005 AND MA(CLOSE, 90)/CLOSE =1.150;
VAR33:=VAR32 AND COUNT(VAR32, 20)=1 ;
VAR34:=(INDEXC-REF(INDEXC, 1))/REF(INDEXC, 1);
VAR35:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1);
VAR36:=IF(VAR34 0.010, 0.900, 1) AND IF(VAR34 (-0.025), 1, 1.200);
VAR37:=VAR36*(VAR35-VAR34)*100;
VAR38:=SUM(VAR37, 10);
VAR39:=SMA(VAR38, 40, 1);
VAR310:=VAR38
VAR311:=CROSS(CLOSE, MA(CLOSE*1.055, 3)) AND CLOSE OPEN*1.060 AND VOL =REF(VOL, 1)*1.5 AND CLOSE =MA(CLOSE, 10);
VAR312:=VAR310 AND VAR311 ;
VAR313:=(-100)*(HHV(HIGH, 3)-CLOSE)/(HHV(HIGH, 3)-LLV(LOW, 3));
VAR314:= CROSS(VAR313, (-87)) AND OPEN=1.090*REF(CLOSE, 1) AND INDEXC 0.980*REF(INDEXC, 1) AND CLOSE =1.470*LLV(CLOSE, 58);
VAR315:=EMA(CLOSE, 12)-EMA(CLOSE, 26);
VAR316:=EMA(VAR315, 9);
VAR317:=2*(VAR315-VAR316);
VAR318:=(CLOSE-LLV(LOW, 9))/(HHV(HIGH, 9)-LLV(LOW, 9))*100;
VAR319:=SMA(VAR318, 3, 1);
VAR320:=SMA(VAR319, 3, 1);
VAR321:=EMA(IF(VAR316 REF(VAR316, 1), 1, (-1)), 14)*14;
VAR322:=EMA(IF(VAR320 REF(VAR320, 1), 1, (-1)), 14)*14*2;
VAR323:=(MA(CLOSE, 5)/MA(CLOSE, 70)-1)*100;
VAR324:=(VAR323+VAR322+VAR321)/3;
VAR325:=MA(CLOSE, 80)-MA(CLOSE, 10)/3;
VAR326:=IF(CLOSE AND MA(VOL, 5)/240 AND CLOSE REF(CLOSE, 1)*1.0 AND CLOSE,88,0);{VAR38 VAR39;}
VAR327:=IF(CLOSE/REF(CLOSE, 1) 1.050 AND VOL/CAPITAL*100 10 AND CLOSE 17 AND HIGH/CLOSE 1.010 AND VAR326 0, 91, 0);
VAR328:=IF(VAR324 REF(VAR324, 1) AND REF(VAR324, 1) REF(VAR324, 2) AND (VAR33 OR VAR312 OR VAR314) OR VAR326 0 OR VAR327 0, 85, 0);
VAR329:=IF(VAR327 0 ,95,0);
VAR330:=IF(VAR326 0 OR VAR327 0,91,0);
VAR331:=IF(VAR328 0 OR VAR327 0 OR VAR326 0,88,0);
VAR332:=100*(CLOSE-LLV(LOW,42))/(HHV(HIGH,42)-LLV(LOW,42));
VAR333:=COUNT(MA(CLOSE,3) REF(MA(CLOSE,3),1),1)=1;
VAR334:=(VAR332 93 AND VAR333 AND MAX(MAX(VAR329, VAR330), VAR331))*100;
{买卖}
买:IF(LLV(DX,2)=LLV(DX,15) AND COUNT(DX 0,2) AND CROSS(DX,MA(DX,2)),1,0),COLORRED;
卖:IF(HHV(DX,2)=HHV(DX,85) AND COUNT(DX 98,2) AND CROSS(MA(DX,2),DX),1,0),COLOR00FF00;
DRAWTEXT(filter(买=1,15),LOW-0.12,'B'),Color00FFFF;