原来的买入系列只保留最佳买入.现在发的更准确
N:=27;
VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,6,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,4,1),3.2,1),COLORYELLOW,LINETHICK1;
增强体力: IF(CROSS(VAR1,8),2,0),STICK,LINETHICK2;
RSV:=(((C-LLV(L,9))/(HHV(H,9)-LLV(L,9)))*100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
KDJ:=((3*K)-(2*D));
LC:=REF(C,1);
RSI:=((SMA(MAX((C-LC),0),6,1)/SMA(ABS((C-LC)),6,1))*100);
W:=((100*(HHV(H,14)-C))/(HHV(H,14)-LLV(L,14)));
M1:=((HHV(H,50)/LLV(L,100))>1.5);
M2:=((HHV(H,50)-L)/(HHV(H,50)-LLV(L,100)));
M3:=((L-LLV(L,100))/(HHV(H,50)-LLV(L,100)));
M4:=(HHVBARS(H,50)
M6:=(COUNT(M5,10)=1);
买入:IF(((KDJ<0)&&(RSI<20)),3,0),COLORMAGENTA;