今日成交量:=vol;
短线:=MA(今日成交量,3);
中线:=MA(今日成交量,13);
放量线:=MA(今日成交量,135);
短期压力:=expma(CLOSE,12);
熊市线:=EXPMA(CLOSE,50),LINETHICK2,COLORGREEN;
底线:=2*短期压力-熊市线;
OK1:=短期压力-熊市线;
OK2:=EXPMA(OK1,50);
OK3:=MA(C,1)-熊市线;
OK4:=OK3-OK1;
OK44:=OK3-OK1;
OK444:=MA(OK4,8);
VARZ1:=SUM(MAX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
VARZ2:=HIGH-REF(HIGH,1);
VARZ3:=REF(LOW,1)-LOW;
VARZ4:=SUM(IF(VARZ2>0 AND VARZ2>VARZ3,VARZ2,0),25);
VARZ5:=SUM(IF(VARZ3>0 AND VARZ3>VARZ2,VARZ3,0),25);
VARZ6:=VARZ4*100/VARZ1;
VARZ7:=VARZ5*100/VARZ1;
VARZ8:=MA(ABS(VARZ7-VARZ6)/(VARZ7+VARZ6)*100,15);
VARZ9:=(VARZ8+REF(VARZ8,15))/2;
A:=(VARZ7>VARZ6 AND VARZ7>25 AND VARZ6<25);
B:=zig(3,50/5)*100,COLORWHITE;
G:=MA(B,2),COLORYELLOW;
D:=crOSS(B,G)*1000,COLORRED;
W:=CROSS(G,B)*1000,COLORBLUE;
E:=REF(INDEXC,1);
F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);
VARZ10:=F AND F<8;
VARZ11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VARZ12:=SMA(VARZ11,3,1);
VARZ13:=SMA(VARZ12,3,1);
VARZ14:=VARZ13 AND VARZ13<20;
MM:=A AND D AND VARZ10 AND VARZ14 ;
XXX:DRAWICON(D=1000,L,11);