BGU:=TROUGHBARS(3,15,1)<10;
DBU:=IF(BGU=1,50,0);
GUI:=DBU>REF(DBU,3);
LC:=REF((C+O+H+L)/4,0.5);
RSI:=((SMA(MAX(CLOSE - LC,0),4.5,1))/(SMA(ABS(CLOSE - LC),3.9,1)))*(100);
买点:=IF(CROSS(RSI,20),1,0);
C_V:=REF(CLOSE,1);
R_V:=SMA(MAX(CLOSE-C_V,0),3,1)/SMA(ABS(CLOSE-C_V),3,1)*100;
买入:=CROSS(R_V,7);
RSV:=(C-LLV(L,17))/(HHV(H,17)-LLV(L,17))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
CD:=IF(J<0,10,0);
BDD:=LLV(J,2)=LLV(J,8);
JM:=IF(CROSS(J,REF(J+0.01,1)) AND BDD AND BETWEEN(J,20,60),1,0);
BDGD:=HHV(J,2)=HHV(J,8) AND J>80;
CQ:=IF(CROSS(J,REF(J+0.01,1)) AND BDD AND J<20,30,0);
XG:买点 AND 买入 AND CQ AND GUI; |