//神仙坐骑的尾巴
(原名对神仙不敬,我是修心之人,只好略加修改)
趋势线:=(((((3 * SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1),3,1))) - 50) * 1.032) + 50);
趋势:趋势线,colorFF;
PARTLINE((趋势线 < REF(趋势线,1)),趋势线),LINETHICK2,colorFF00;
STICKLINE((((趋势线 < REF(趋势线,1)) AND (REF(趋势线,1) > REF(趋势线,2))) AND (REF(趋势线,1) > 85)),95,82,2,0),colorFF00;
PARTLINE(((趋势线 > REF(趋势线,1)) AND (趋势线 > 50)),趋势线),LINETHICK2,colorFF;
VAR2:=(((((2 * CLOSE) + HIGH) + LOW) + OPEN) / 5);
VAR3:=LLV(LOW,34);
VAR4:=HHV(HIGH,34);
波段:EMA((((VAR2 - VAR3) / (VAR4 - VAR3)) * 100),13),LINETHICK1,colorFF00FF;
PARTLINE((波段 < REF(波段,1)),波段),LINETHICK1,colorFFCC33;
SD:=EMA(波段,2);
VAR5:=(EMA(CLOSE,12) - EMA(CLOSE,26));
VAR6:=EMA(VAR5,9);
VAR7:=((CLOSE * 1.236) < MA(CLOSE,60));
VAR8:=((CLOSE / REF(CLOSE,1)) > 1.021);
VAR9:=(((HIGH - CLOSE) * 1.36) <= (CLOSE - OPEN));
VARA:=(((MA(CLOSE,120) - CLOSE) / CLOSE) * 100);
VARB:=ABS((VAR5 - VAR6));
VARC:=(STD(CLOSE,90) * 10);
VARD:=COUNT(((((REF(CLOSE,15) - CLOSE) / CLOSE) * 100) > 45),5);
VARE:=SLOPE(CLOSE,40);
VARF:=COUNT((((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) < (0 - 0.098)),90);
VAR10:=(((MA(CLOSE,120) - CLOSE) / CLOSE) * 100);
VAR11:=(STD(CLOSE,63) * 10);
VAR12:=(MA(CLOSE,76) - (MA(CLOSE,13) / 3));
VAR13:=MA(((CLOSE - VAR12) / VAR12),1);
买:=IF(((((((CROSS(VAR13,(0 - 0.008)) AND (VARE > (0 - 0.618))) AND (VAR10 < 114)) AND (VAR11 < 23.6)) AND (VARF < 8)) AND ((LOW / REF(HIGH,1)) < 1.145)) OR (((((((REF(VAR13,2) = LLV(VAR13,20)) AND (REF(VAR13,2) < 0.042)) AND (VARF < 8)) AND (REF(VAR13,2) < REF(VAR13,1))) AND NOT(((REF(LOW,1) > REF(HIGH,2)) AND (LOW > REF(HIGH,1))))) AND (VAR13 > (0 - 0.368))) AND (CLOSE > REF(CLOSE,1)))),68,0);
VAR14:=MA(CLOSE,5);
VAR15:=MA(CLOSE,10);
VAR16:=MA(CLOSE,20);
VAR17:=MA(CLOSE,30);
VAR18:=MA(CLOSE,60);
VAR19:=MA(CLOSE,150);
VAR1A:=MA(CLOSE,250);
VAR1B:=((VOL / CAPITAL) * 100);
VAR1C:=(((CLOSE - VAR1A) / VAR1A) * 100);
VAR1D:=(((CLOSE / REF(CLOSE,1)) - 1) * 100);
VAR1E:=PWINNER(1,CLOSE);
牛:IF((((((((((((((VAR14 > VAR15) AND (VAR15 > VAR16)) AND (VAR16 > VAR17)) AND (VAR16 > VAR18)) AND (VAR19 > VAR1A)) AND ((VAR1E >= 0.9) OR ((((VAR1E > 0.76) AND (VAR1E < 0.901)) AND (VAR1D > 5)) AND (VAR1B > 5)))) AND (VAR1D > 1.8)) AND (VAR1C < 40)) AND (CLOSE > 3)) AND (((CLOSE - VAR18) / VAR18) < 0.25)) AND (VAR1B <= 6)) AND ((VAR4 * VAR1B) >= 1)) AND (CLOSE < 18.5)),76,0),colorA51882;
VAR20:=((((MA(CLOSE,3) + MA(CLOSE,6)) + MA(CLOSE,12)) + MA(CLOSE,24)) / 4);
VAR21:=((((MA(CLOSE,48) + MA(CLOSE,6)) + MA(CLOSE,12)) + MA(CLOSE,24)) / 4);
VAR22:=((((MA(CLOSE,12) + MA(CLOSE,24)) + MA(CLOSE,48)) + MA(CLOSE,96)) / 4);
VAR23:=MA(CLOSE,250);
VAR24:=MA(CLOSE,125);
VAR25:=(((((((CLOSE / MA(CLOSE,3)) >= 1.05) AND (CLOSE = HHV(CLOSE,3))) AND ((MA(VOL,2) / MA(VOL,40)) >= 3)) AND (MA(VOL,2) = HHV(MA(VOL,2),3))) AND (VOL > REF(VOL,1))) AND (CLOSE > REF(CLOSE,1)));
VAR26:=REF(CLOSE,1);
VAR27:=((SMA(MAX((CLOSE - VAR26),0),5,1) / SMA(ABS((CLOSE - VAR26)),5,1)) * 100);
VAR28:=(COUNT((VAR27 < 25),20) >= 1);
VAR29:=((((HIGH - LOW) / HIGH) * 100) + (((CLOSE - VAR26) / VAR26) * 100));
VAR2A:=EMA(MA(VAR29,41),6);
VAR2B:=(((VAR2A > (LLV(VAR2A,6) * 1.02)) AND (REF(VAR2A,1) < (REF(LLV(VAR2A,6),1) * 1.02))) AND (LLV(VAR2A,29) = LLV(VAR2A,6)));
VAR2C:=((LLV(LOW,6) = LLV(LOW,41)) AND (LLV(LOW,6) < ((HHV(LOW,41) * 71) / 100)));
VAR2D:=(HIGH > (LOW * 1.033));
必涨:DRAWTEXT(((VAR2C > 0) AND VAR2D),80,'↑'),color9999CC;
短入:IF(CROSS(趋势线,21),50,18.5),LINETHICK3,color330099;
短出:IF(CROSS(87,趋势线),50,81.5),LINETHICK3,colorFF0000;
VAR2E:=IF(CROSS(波段,SD),25,18.5);
VAR2F:=IF(CROSS(SD,波段),75,81.5);
底部:(0 - (SQRT(SQRT(FLOOR(SQRT((MA(((1 / WINNER(CLOSE)) * 100),4) / 10000))))) * 5)),color915E2B;
STICKLINE((底部 < (0 - 2)),0,底部,8,0),color915E2B;
买:=((((((VAR7 AND VAR8) AND VAR9) AND (VARC < 25)) AND (CLOSE < 8)) AND (VARA < 114)) AND (VARB <= (0.23 * 40)));
STICKLINE(买,0,20,0.5,0),colorFFFF;
DRAWTEXT(买,20,'--成功75%'),colorFFFF;
DRAWTEXT(买,0,'10天5%'),color5050A0;
落袋为安:STICKLINE((波段 > 80),95,100,8,0),color80FF;
VAAR1:=(MA(WINNER(CLOSE),9) * 100);
VAAR2:=((1 - EMA(((HHV(HIGH,15) - CLOSE) / (HHV(HIGH,15) - LLV(LOW,15))),15)) * 100);
VAAR3:=(((CLOSE - LLV(LOW,21)) / (HHV(HIGH,21) - LLV(LOW,21))) * 100);
VAAR4:=SMA(VAAR3,9,1);
VAAR5:=SMA(VAAR4,9,1);
VAAR6:=(((CLOSE - SMA(CLOSE,13,1)) / SMA(CLOSE,13,1)) * (0 - 100));
VAAR7:=(((REF(VAAR6,1) > 13) AND ((REF(VAAR6,1) / VAAR6) > 1.23)) AND ((CLOSE / REF(CLOSE,1)) > 1.03));
抄底:=IF((VAAR7 AND (REF(CLOSE,1) <= COST(5))),50,0);
买3:=(买 AND 抄底);
STICKLINE(买3,40,20,0.5,0),colorFF00;
DRAWTEXT(买3,40,'--80%'),colorFF00;
VAR1:=IF(((CLOSE = HHV(HIGH,5)) OR (CLOSE > (HIGH * 0.98))),(100 * LWINNER(60,HIGH)),(100 * LWINNER(60,CLOSE)));
VAR2:=IF(((CLOSE = LLV(LOW,5)) OR (CLOSE < (LOW * 1.02))),(100 * LWINNER(60,LOW)),(100 * LWINNER(60,CLOSE)));
VAR3:=IF((INDEXC >= ((INDEXL + INDEXH) / 2)),VAR1,VAR2);
主流资金:=EMA(DMA(VAR2,VOL),3);
主力资金:=EMA(DMA(VAR1,VOL),20);
ZLC:=(主流资金 - 主力资金);
热钱:STICKLINE((ZLC > 0),(ZLC * 2),0,5,0),colorCCFF;
STICKLINE((主流资金 > 62),((主流资金 - 62) * 1.3),0,5,0),color8080;
STICKLINE(((ZLC < 0) AND (主流资金 > 62)),((主力资金 - 62) * 1.3),0,5,0),colorFFFF00;
50,colorFFFF;