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