VAR1:=IF(CLOSE OPEN AND HIGH REF(CLOSE,1),ATAN((HIGH-REF(CLOSE,1))/REF(CLOSE,1)),0);
VAR2:=IF(CLOSE OPEN AND HIGH REF(CLOSE,1),-ATAN((REF(CLOSE,1)-HIGH)/REF(CLOSE,1)),0);
VAR3:=IF(CLOSE OPEN AND HIGH=REF(CLOSE,1),0,0);
VAR4:=IF(CLOSE OPEN AND HIGH REF(CLOSE,1),ATAN((HIGH-REF(CLOSE,1))/REF(CLOSE,1)),0);
VAR5:=IF(CLOSE OPEN AND HIGH REF(CLOSE,1),-ATAN((REF(CLOSE,1)-HIGH)/REF(CLOSE,1)),0);
VAR6:=IF(CLOSE OPEN AND HIGH=REF(CLOSE,1),0,0);
VAR7:=VAR1+VAR2+VAR3+VAR4+VAR5+VAR6;
VAR8:=MA(VAR7,9);
VAR9:=MA(VAR7,5);
VAR10:=MA(VAR7,3);
VAR11:=IF(CLOSE OPEN AND LOW REF(CLOSE,1),ATAN((LOW-REF(CLOSE,1))/REF(CLOSE,1)),0);
VAR12:=IF(CLOSE OPEN AND LOW REF(CLOSE,1),-(ATAN(REF(CLOSE,1)-LOW)/REF(CLOSE,1)),0);
VAR13:=IF(CLOSE OPEN AND LOW=REF(CLOSE,1),0,0);
VAR14:=IF(CLOSE OPEN AND LOW REF(CLOSE,1),ATAN((LOW-REF(CLOSE,1))/REF(CLOSE,1)),0);
VAR15:=IF(CLOSE OPEN AND LOW REF(CLOSE,1),-ATAN((REF(CLOSE,1)-LOW)/REF(CLOSE,1)),0);
VAR16:=IF(CLOSE OPEN AND LOW=REF(CLOSE,1),0,0);
VAR17:=VAR11+VAR12+VAR13+VAR14+VAR15+VAR16;
VAR18:=MA(VAR17,9);
VAR19:=MA(VAR17,5);
VAR20:=MA(VAR17,3);
VAR21:=ATAN(VAR8/0.09);
VAR22:=ATAN(VAR9/0.05);
VAR23:=ATAN(VAR10/0.03);
VAR24:=ATAN((-VAR18)/0.09);
VAR25:=ATAN((-VAR19)/0.05);
VAR26:=ATAN((-VAR20)/0.03);
买线:(VAR23+VAR22+VAR21)/3/6.28*360,COLORRED;
卖线:(VAR26+VAR25+VAR24)/3/6.28*360,COLORGREEN;
买区:买线,STICK,COLORRED;
卖区:卖线,STICK,COLORGREEN;
强势:30,POINTDOT,COLORYELLOW;
VAR27:=55;
区:40,COLORYELLOW;