以下是通达信龙摆尾(指标源码 副图/选股 /预警 贴图)
好久没发指标了,国庆大礼送上原创的龙摆尾预警指标,源码,可做预警,可做选股,可做幅图。原创指标,指标思路解读:去停牌,去ST股,阳线实体部份大于3%(可调),以开盘价计算阳线实体,和单纯的涨幅有差异。MACD缩短(最少要有2根),MACD红柱不变,DIF大于DEA,不死叉,DIF近0轴,去掉过高位(可调),5日线连续2天只终大于10天线,不死叉。
VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
VAR4:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);
T1:=VAR4>REF(VAR4,1) AND REF(VAR4,1)<REF(VAR4,2);
T2:=C>O*1.03;
T3:=V>0;
T4:=NOT(NAMELIKE('S') OR NAMELIKE('*S')) ;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
T5:=REF(MACD,1)>0 ;
T6:=DIF>DEA ;
前高:=HHV(MACD,26);
T7:=REF(DIF,1)<前高;
T8:=REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3);
T9:=REF(DIF,1)<0.2;
T10:=REF(MA(C,5),1)>REF(MA(C,10),1);
T11:=MA(C,5)>MA(C,10);
龙摆尾:T1 AND T2 AND T3 AND T4 AND T5 AND T6 AND T7 AND T8 AND T9 AND T10 AND T11;