D1:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;
D2:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;
D3:=(CLOSE-LLV(LOW,225))/(HHV(HIGH,225)-LLV(LOW,225))*100;
B1:=(SMA(D3,45,1)-REF(SMA(D3,45,1),1))*50;
B2:=(SMA(D2,15,1)-REF(SMA(D2,15,1),1))*10;
B3:=REF(SMA(D2,15,1),1)-REF(SMA(D3,45,1),1);
B4:=(SMA(D2,15,1)-B3-SMA(D3,45,1))*30;
B5:=SMA(D1,3,1)-REF(SMA(D1,3,1),1);
B6:= EMA((EMA(VOL/5,4)-LLV(EMA(VOL/5,4),240))/LLV(EMA(VOL/5,4),240)*MA(CLOSE,35),13);
D9:=EMA((HHV(EMA(VOL/5,4),240)-EMA(VOL/5,4))/EMA(VOL/5,4)*MA(CLOSE,35),13);
B7:=D>=-0.035 AND D<=0.045 AND CLOSE>MA(CLOSE,5)
AND CLOSE>MA(CLOSE,10) AND D9>-100;
DI:="MACD.MACD">0.04;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
DD:=SMA(K,3,1);
AA:=CROSS(K,DD);
牛股买点: IF(B7 AND B5>7 AND REF(B5,1)<0 AND B5-REF(B5,1)>9,1,0) AND DI AND AA ;
MACD:=(EMA(EMA(CLOSE,12)-EMA(CLOSE,26),9)-EMA(CLOSE,12)-EMA(CLOSE,26))*2;
A2:=LLV(L,3)=LLV(L,60) AND C/REF(C,1)>=1.04;
A1:=MACD.MACD<0 AND REF(C
AA1:=MA(C,5)>REF(MA(C,5),1) AND REF(C
AA4:=REF(COUNT(C
A4:=SMA(ABS(LOW-A3),13,1)/SMA(MAX(LOW-A3,0),10,1);
A5:=EMA(IF(LOW<=LLV(LOW,33),EMA(A4,10),0),3);
出击:=IF(A5>REF(A5,1),A5,0) AND REF(C
出击选股:A2>0 AND A1 AND AA1 AND (REF(出击,1) OR 出击),COLOR4080FF;