VAR0 := ((((C / REF(C,1)) - 1) * 100) >= 9) AND (C > OPEN);
妖股线 : MA(LOW,20) * 1.2,CROSSDOT,COLORMAGENTA;
MA5 : MA(LOW,20) * 1.1,COLORRED,LINETHICK2;
VAR1 := MA(HIGH * 1.124,60);
VAR2 := MA(HIGH,20) * 0.9;
VAR3 := MA(HIGH,20) * 0.8;
VAR4 := ((C - REF(C,1)) / REF(C,1)) * 100;
VAR5 := (HHV(HIGH,20) - C) / (HHV(HIGH,20) - LLV(LOW,20));
VAR6 := IF(C > MA5,IF(C > 妖股线,4,3),IF((C > VAR2) AND (C < MA5),2,IF(C < VAR3,0,1)));
STICKLINE(VAR6 = 0,HIGH,LOW,0,1),COLORGREEN;
STICKLINE(VAR6 = 1,HIGH,LOW,0,1),COLORGREEN;
STICKLINE(VAR6 = 2,HIGH,LOW,0,1),COLORGREEN;
STICKLINE(C > MA5,HIGH,LOW,0,1),COLORRED;
STICKLINE(CROSS(C,MA5) AND VAR0,HIGH,LOW,0,1),COLORRED;
STICKLINE(VAR6 = 0,C,OPEN,3,0),COLORGREEN;
STICKLINE(VAR6 = 1,C,OPEN,3,0),COLORGREEN;
STICKLINE(VAR6 = 2,C,OPEN,3,0),COLORGREEN;
STICKLINE(C > MA5,C,OPEN,3,0),COLORRED;
STICKLINE(CROSS(C,MA5) AND VAR0,C,OPEN,3,0),COLORRED;
VAR7 := STRCAT(HYBLOCK,1);
VAR8 := STRCAT(VAR7,DYBLOCK);
VAR9 := STRCAT(VAR8,1);
DRAWTEXT_FIX(ISLASTBAR,0,0.04,0,STRCAT(VAR9,GNBLOCK)),COLORYELLOW;
VAR10 := DATE < 143123099;
MA10 : MA(C,5);
VAR11 := MA(C,7);
MA13 : MA(C,10);
MA120 : MA(C,13);
VAR12 := MA(C,60);
MA250 : MA(C,210);
空仓1 : MA(C,250),COLORGREEN;
VAR13 := EMA(((LOW + C) + OPEN) / 3,24);
VAR14 := ((VAR12 > MA250) AND (VAR12 < 空仓1)) AND (MA250 < 空仓1);
VAR15 := ((VAR12 > MA250) AND (VAR12 > 空仓1)) AND (MA250 < 空仓1);
STICKLINE(VAR14,VAR12,MA250,1,1),COLORBLUE;
STICKLINE(VAR15,空仓1,MA250,1,1),COLORBLUE;
空仓2 : IF(MA13 < MA120,MA13,DRAWNULL),COLORGREEN,LINETHICK2;
空仓3 : IF(VAR11 < MA13,VAR11,DRAWNULL),COLORGREEN,LINETHICK2;
趋势线 : IF(MA120 < REF(MA120,1),MA120,DRAWNULL),COLORGREEN,LINETHICK2;
VAR16 := IF(VAR12 < REF(VAR12,1),VAR12,DRAWNULL);
IF(空仓1 > REF(空仓1,1),空仓1,DRAWNULL),COLORRED,LINETHICK2;
STICKLINE(((MA13 > MA120) AND (MA13 > REF(MA13,1))) AND (C > MA120),MA13,MA120,1,1),COLORYELLOW;
STICKLINE(((MA250 > 空仓1) AND (空仓1 > REF(空仓1,1))) AND (C > 空仓1),MA250,空仓1,1,1),COLORYELLOW;