VAR0 := IF(BARSCOUNT(C) > 7,100 * ((MA(C,7) / LLV(MA(C,7),7)) - 1),1);
VAR1 := IF(VAR0 > 0.35,6,65);
VAR2 := (-1 * (100 * (HHV(HIGH,VAR1) - C))) / (HHV(HIGH,VAR1) - LLV(LOW,VAR1));
VAR3 := ((C - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100;
VAR4 := ((C - LLV(LOW,5)) / (HHV(HIGH,5) - LLV(LOW,5))) * 100;
VAR5 := (HIGH + LOW) / 2;
VAR6 := EMA(VAR5,3);
VAR7 := IF(C > VAR6,VOL,0);
VAR8 := IF(C < VAR6,VOL,0);
VAR9 := MA(SUM(VAR7 - VAR8,22),3);
VAR10 := ((((((((((((((((((((21 * VAR9) + (20 * REF(VAR9,1))) + (19 * REF(VAR9,2))) + (18 * REF(VAR9,3))) + (17 * REF(VAR9,4))) + (16 * REF(VAR9,5))) + (15 * REF(VAR9,6))) + (14 * REF(VAR9,7))) + (13 * REF(VAR9,8))) + (12 * REF(VAR9,9))) + (11 * REF(VAR9,10))) + (10 * REF(VAR9,11))) + (9 * REF(VAR9,12))) + (8 * REF(VAR9,13))) + (7 * REF(VAR9,14))) + (6 * REF(VAR9,15))) + (5 * REF(VAR9,16))) + (4 * REF(VAR9,17))) + (3 * REF(VAR9,18))) + (2 * REF(VAR9,19))) + REF(VAR9,20);
VAR11 := ((VAR10 / (21 + 1)) / 21) * 2;
VAR12 := VAR11;
VAR13 := VAR9 - VAR12;
VAR14 := SMA(VAR3,3,1);
VAR15 := SMA(VAR14,3,1);
VAR16 := EMA(SMA(VAR4,3,1),2);
VAR17 := SMA(VAR16,3,1);
VAR18 := (CROSS(VAR2,-2) AND CROSS(VAR14,VAR15)) AND CROSS(VAR16,VAR17);
VAR19 := (VOL * C) * 100;
VAR20 := SUM(VAR19,1) / (SUM(VOL,1) * 100);
VAR21 := 5;
VAR22 := EMA(VAR20,VAR21);
VAR23 := ((VAR20 - VAR22) * 100) / VAR20;
VAR24 := SUM(VAR23,4);
VAR25 := VAR18 AND VAR23;
VAR26 := VAR23 < 0;
剑气开锋 : TFILTER(VAR25 > 0,VAR26,1),NODRAW,COLORYELLOW;
VAR27 := TFILTER(VAR25 > 0,VAR26,2);
STICKLINE(剑气开锋 > 0,0,1,3,0),COLORMAGENTA;
STICKLINE(剑气开锋 > 0,0,1,2,0),COLORAA00FF;
STICKLINE(剑气开锋 > 0,0,1,0.1,0),COLORRED;
DRAWICON(剑气开锋 > 0,1,13);
DRAWICON(VAR27 > 0,1.6,39);