{涨停连珠炮}
VAR0 := VOL / (((HIGH - LOW) * 2) - (ABS(C - OPEN)));
VAR1 := IF(C > OPEN,VAR0 * (HIGH - LOW),IF(C < OPEN,VAR0 * ((HIGH - OPEN) + (C - LOW)),VOL / 2));
VAR2 := MA(VAR1,35);
VAR3 := VAR1 > VAR2;
VAR4 := (((LOW + HIGH) + C) + OPEN) / 3.82;
VAR5 := HHV(MA(VAR4,6),15);
VAR6 := CROSS(C,VAR5);
VAR7 := MA(C,30);
VAR8 := VAR7 + (2 * STD(C,30));
VAR9 := (C > VAR8) AND (C >= OPEN);
VAR10 := ((VAR1 > VAR2) AND CROSS(C,VAR5)) AND VAR9;
VAR11 := ((((HHV(HIGH,10) / LLV(LOW,10)) < 1.25) AND (REF(C,1) < (LLV(LOW,15) + ((HHV(HIGH,15) - LLV(LOW,15)) * 0.85)))) AND (C > OPEN)) AND (C >= HHV(HIGH,10));
VAR12 := EMA(C,40);
VAR13 := EMA(C,60);
VAR14 := MAX(VAR12,VAR13);
VAR15 := ((C > VAR14) AND VAR11) AND ((C > REF(HHV(HIGH,3),1)) AND (((C - REF(C,1)) / REF(C,1)) > 0.07));
VAR16 := IF(BARSCOUNT(C) > 7,100 * ((MA(C,7) / LLV(MA(C,7),7)) - 1),1);
VAR17 := IF(VAR16 > 0.35,6,65);
VAR18 := (-1 * (100 * (HHV(HIGH,VAR17) - C))) / (HHV(HIGH,VAR17) - LLV(LOW,VAR17));
VAR19 := ((C - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100;
VAR20 := ((C - LLV(LOW,5)) / (HHV(HIGH,5) - LLV(LOW,5))) * 100;
VAR21 := (HIGH + LOW) / 2;
VAR22 := EMA(VAR21,3);
VAR23 := IF(C > VAR22,VOL,0);
VAR24 := IF(C < VAR22,VOL,0);
VAR25 := MA(SUM(VAR23 - VAR24,22),3);
VAR26 := ((((((((((((((((((((21 * VAR25) + (20 * REF(VAR25,1))) + (19 * REF(VAR25,2))) + (18 * REF(VAR25,3))) + (17 * REF(VAR25,4))) + (16 * REF(VAR25,5))) + (15 * REF(VAR25,6))) + (14 * REF(VAR25,7))) + (13 * REF(VAR25,8))) + (12 * REF(VAR25,9))) + (11 * REF(VAR25,10))) + (10 * REF(VAR25,11))) + (9 * REF(VAR25,12))) + (8 * REF(VAR25,13))) + (7 * REF(VAR25,14))) + (6 * REF(VAR25,15))) + (5 * REF(VAR25,16))) + (4 * REF(VAR25,17))) + (3 * REF(VAR25,18))) + (2 * REF(VAR25,19))) + REF(VAR25,20);
VAR27 := SMA(VAR19,3,1);
VAR28 := SMA(VAR27,3,1);
VAR29 := EMA(SMA(VAR20,3,1),2);
VAR30 := SMA(VAR29,3,1);
VAR31 := (CROSS(VAR18,-2) AND CROSS(VAR27,VAR28)) AND CROSS(VAR29,VAR30);
VAR32 := IF(((NAMELIKE('ST') OR NAMELIKE('*ST')) OR NAMELIKE(17)) OR NAMELIKE(18),(((C - REF(C,1)) / REF(C,1)) * 100) >= 4.9,DRAWNULL);
VAR33 := (((C - REF(C,1)) / REF(C,1)) * 100) >= 9.875;
VAR34 := VAR32 OR VAR33;
(((((VAR3 AND VAR6) AND VAR9) AND VAR10) AND VAR15) AND VAR31) AND VAR34; |