P:=36;P1:=13;
VAR1:=((EMA(AMOUNT,5)/EMA(vol,5)/100-EMA(AMOUNT,125)/EMA(VOL,125)/100)/(EMA(AMOUNT,5)/EMA(VOL,5)/100))<-0.4;
VAR2:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
VAR5:=-100*(HHV(HIGH,52)-CLOSE)/(HHV(HIGH,52)-LLV(LOW,52));
ZS1:=COUNT(VAR1,5)>=1 AND (VAR5<-99.9 OR (VAR4<15 AND VAR3<12));
VAR6:=VOL/FINANCE(7);
VAR7:=(100*WINNER(C));
AA:=MA(VAR7,3);
BB:=MA(VAR6,34);
ZS2:=(AA<BB)*100 AND VAR7<VAR6,STICK;
VAR8:=SUM(IF(CLOSE>REF(CLOSE,1),1,0),0);
VAR9:=SUMBARS(VOL,CAPITAL);
VAR10:=IF(CLOSE>LLV(CLOSE,VAR9),1,-1)*IF(VAR8>LLV(VAR8,VAR9),1,-1);
VAR11:=COUNT(IF(VAR10=-1,1,0)=1,8)>2;
VAR12:=(CLOSE-DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,13)/(AMOUNT/VOL/100)/100)))/DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,13)/(AMOUNT/VOL/100)/100))*100<-18;
VAR13:=(CLOSE-MIN(REF(CLOSE,5)*0.865,REF(CLOSE,21)*0.772))/CLOSE<0.01;
VAR14:=VAR11 AND VAR12 AND VAR13;
{- }
VAR15:=VOL/CAPITAL>=0.02 AND VOL/CAPITAL<=0.2 AND OPEN=1.105;
VAR16:=VAR15 AND COUNT(VAR15,5)=1;
ZS3:=VAR14 OR VAR15;
VAR17:=REF(CLOSE,1);
VAR18:=SMA(MAX(CLOSE-VAR17,0),7,1)/SMA(Abs(CLOSE-VAR17),7,1)*100;
VAR19:=SMA(MAX(CLOSE-VAR17,0),13,1)/SMA(ABS(CLOSE-VAR17),13,1)*100;
VAR20:=VAR18<20 AND VAR19<25 ;
ZS4:= VAR20;
VAR21:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),0-VOL,0)),0);
VAR23:=IF(CLOSE>LLV(CLOSE,VAR9),1,-1);
VAR24:=IF(VAR21>LLV(VAR21,VAR9),1,-1);
VAR25:=VAR23*VAR24;
VAR26:=IF(VAR25=-1,1,0);
ZS5:=VAR26 AND CLOSE=LLV(CLOSE,120) AND VAR7<VAR6;
大底:=IF(FILTER(ZS1 AND ZS2 AND ZS3 AND ZS4 AND ZS5>0,4),70,0),STICK ,LINETHICK6 ,COLORFFBB44;
探底尖兵:IF(ZS2 AND ZS3 AND ZS4 OR(ZS4 AND ZS5),35,0),STICK , LINETHICK6 , COLORFF22CC;
注意:=IF(ZS2 AND ZS4 AND ZS5>0,50,0),STICK ,LINETHICK3 ,COLORBLUE ;
持仓区:STICKLINE(CLOSE>EMA(C,P),0,20,20,0),COLOR00AAFF, LINETHICK1;
空仓预警区:STICKLINE(CLOSE<EMA(C,P),0,10,20,0),COLORFFBB44, LINETHICK1;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
RS:= (HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100;
Lwr:=SMA(RS,3,1);
AB:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
股神再现:IF(探底尖兵 AND (K<5.5 OR (LWR>95 AND AB=-100)),55,0),STICK,COLORRED ,LINETHICK7;
JJ:=(C*2+H+L)/4;
SK:=EMA(JJ,13) - EMA(JJ,21);
SD:=EMA(SK,2);
AAA:=HIGH/LLV(CLOSE,P1)>1.33;
BBB:=0.5;
VAR30:=(2*C+H+L)/4;
VAR31:=LLV(LOW,34);
VARA:=HHV(HIGH,34);
VARB:EMA((VAR30-VAR31)/(VARA-VAR31)*100,13),COLORF0F000;
B1:EMA(0.667*REF(VARB,1)+0.333*VARB,5),COLORYELLOW, LINETHICK2;
STICKLINE(VARB>B1, VARB,B1,3,0),COLORYELLOW;
金色快车:IF(crOSS(SD,0) AND 2>100*VOL/CAPITAL AND B1<45,70,0),STICK,COLORYELLOW,LINETHICK7;
坚决卖出:IF(CROSS(BBB,BacKSET(AAA,11))AND B1>75,80,0),STICK,COLOR00FF00,LINETHICK7;
DRAWTEXT(CROSS(BBB,BACKSET(AAA,11))AND B1>75,70,'数钱时快乐'),COLORYELLOW;
DRAWTEXT(探底尖兵 AND (K<5.5 OR (LWR>95 AND AB=-100)),65,'股神必胜!'),COLORF0F000;
DRAWTEXT(大底>0,45,'坚定持股 !'),STICK , LINETHICK3 ;
DRAWTEXT (CROSS(SD,0) AND 2>100*VOL/CAPITAL AND VARB>B1 AND B1<45,30,'搭上淘金车'),COLOR00FF00;
DRAWICON(CROSS(B1, VARB)AND B1>80 ,B1, 1);
85;
15;