顾头寻牛之潜伏波段底(指标/源码 副图 通达信 贴图)无未来 无偏移
潜伏波段底-通达信副图(源码)
TU:=C/MA(C,40)<0.80;
MMA:=EMA(C,2);
SMMA:=EMA(MMA,1);
IMPETMMA:=MMA-REF(MMA,1);
IMPETSMMA:=SMMA-REF(SMMA,1);
DIVMA:=ABS(MMA-SMMA);
TDJ:=(H-L)/REF(C,1)>0.05;
AVERIMPET:= (IMPETMMA+IMPETSMMA)/2;
TDF:=POW(DIVMA,1)*POW(AVERIMPET,3);
NTDF:=TDF/HHV(ABS(TDF),15);
YUL:=COUNT(TDJ,5)>1;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
启动:=TU AND YUL;
确定:=CROSS(NTDF,-0.9);
选股:=FILTER(REF(启动,1) AND (确定 OR C>REF(C,1)) AND MACD>-0.58,10);
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VARB2:=RSV1/2+22;
低买:=(RSV1+2)<VARB2;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI1:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
SHYY:=低买 AND COUNT(选股,10)>=1 AND CCI1>-108;
XG:BARSLASTCOUNT(SHYY)=1;
201812289433783109.png
201812289434125107.png
201812289434586152.png
|