VAR2:=(H+L+C*2)/4;
VAR3:=EMA(VAR2,7);
VAR4:=STD(VAR2,7);
VAR5:=(VAR2-VAR3)*100/VAR4;
VAR6:=EMA(VAR5,3);
地:(EMA(VAR6,5)+100)/2-3,COLORGREEN LINETHICK2;
天:HHV(地,3),COLORMAGENTA LINETHICK2;
人间:50,COLORMAGENTA POINTDOT LINETHICK1;
地面:0,COLORYELLOW POINTDOT LINETHICK1;
天际:100,COLORCYAN LINETHICK1;
IF(地<REF(地,1),地,DRAWNULL),COLORWHITE,LINETHICK2;
IF(天<REF(天,1),天,DRAWNULL),COLORWHITE,LINETHICK2;
VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR100:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR110:=VARF<REF(VAR100,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(VAR110 AND COUNT(VAR110,30)=1,40,'资金活动'),LINETHICK1,LINETHICK;
STICKLINE(VAR110 AND COUNT(VAR110,30)=1,0,25,1,0),COLOR0066FF;
VAR120:=(HIGH+LOW+CLOSE)/3;
VAR130:=(VAR120-MA(VAR120,14))/(0.015*AVEDEV(VAR120,14));
VAR140:=(VAR120-MA(VAR120,70))/(0.015*AVEDEV(VAR120,70));
VAR150:=IF(VAR130>=150 AND VAR130<200 AND VAR140>=150 AND VAR140<200,10,0);
VAR160:=IF(VAR130<=-150 AND VAR130>-200 AND VAR140<=-150 AND VAR140>-200,-10,VAR150);
VAR170:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VAR180:=100-ABS(VAR170);
VAR190:=IF(VAR180<90,VAR180,100);
VAR1A:=IF(VARE>0,VARE,0);
VAR1B:=IF(VAR140>=200 AND VAR130>=150,15,IF(VAR140<=-200 AND VAR130<=-150,-15,VAR160))+60;
VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR190<100;
DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,45,'出货'),LINETHICK1,COLORFFCC66;
STICKLINE(VAR1C AND COUNT(VAR1C,30)=1,0,30,1,0),COLORFFCC66;