bias1:=(C-MA(C,6))/MA(C,6)*100;
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
BIAS3:=(C-MA(C,24))/MA(C,24)*100;
0,LINETHICK5;
1.25,LINETHICK5;
TYP:=(HIGH+LOW+CLOSE)/3;
cci:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
CCI修正1:=EMA(EMA(EMA(CCI,2),2),2);
CCI修正2:=EMA(EMA(EMA(CCI,3),2),2);
X:=(crOSS(CCI修正1,CCI修正2) OR (CCI修正1 >=CCI修正2))
AND CCI修正1>=-101 AND CCI修正1>=REF(CCI修正1,1)
AND REF(CCI修正1,1)<-101 ;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
K1:= EMA(EMA(EMA(K,2),2),2);
D1:= EMA(EMA(EMA(D,2),2),2);
J1:= EMA(EMA(EMA(J,2),2),2);
Y:= J1 > REF(J1,1) ;
DIFF:= EMA(CLOSE,12)-EMA(CLOSE,26),LINETHICK0;
DEA:=EMA(DIFF,9),LINETHICK0;
macd:= 3*(DIFF-DEA);
CD:=(DIFF>-0.15 AND DIFF>REF(DIFF,2));
T超短: X AND Y AND CD STICK,COLORLIRED,LINETHICK3; ;
短:IF(BIAS1<=-6,1,0)AND C>REF(C,1),STICK,COLORRED,LINETHICK3;
中买:IF(BIAS2<=-10,1,0)AND C>REF(LLV(L,1),1),COLORYELLOW,LINETHICK3;
长买:IF(BIAS3<=-16,1,0),COLORBLUE,LINETHICK3;