使用周期:30分钟,副图,选股,预警/通达信,大智慧 通用
{尾盘买进}
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);
DEA:=EMA(DIFF,9),LINETHICK0;
MACD:= 3*(DIFF-DEA);
CD:=(DIFF>-0.15 AND DIFF>REF(DIFF,2));
TIME<150100 AND TIME>143000 AND X AND Y AND CD;
{"TIME<150100 AND TIME>143000 AND "限定信号时间2:30~3:00,可删除}
尾盘买进再优化指标源码(通达信)的选股公式如下: