通达信涨起来副图、选股公式
DRAWTEXT(涨起来 1,H,'涨');
就这句,前提是你导入了那个加密的涨起来指标,现在加入我自己的指标:
DIF:=EMA(CLOSE,5)-EMA(CLOSE,55);
DEA:=EMA(DIF,10);
DRAWTEXT(CROSS(DIF,DEA),L,'潜伏'),COLOR00FFFF;
也是加主图的哈!!!
再结合一个附图水手突破判断:就是强势黄色即将突破:
上趋势:MA(LOW,20)*1.2,COLOR0080FF,LINETHICK2;
次上趋势:MA(LOW,20)*1.1,COLORYELLOW;
次下趋势:MA(HIGH,20)*0.9,COLORWHITE;
下趋势:MA(HIGH,20)*0.8,COLORGREEN,LINETHICK2;
ZD:=(C-REF(C,1))/REF(C,1)*100;
HDZ,:=(HHV(H,20)-C)/(HHV(H,20)-LLV(L,20));
趋势强度:=IF(C 次上趋势,IF(C 上趋势,4,3),IF(C 次下趋势 AND C 次上趋势,2,IF(C 下趋势,0,1)));
STICKLINE(趋势强度=0,H,L,6,1),COLORBLUE;
STICKLINE(趋势强度=1,H,L,6,1),COLORGREEN;
STICKLINE(趋势强度=2,H,L,6,1),COLORGRAY;
STICKLINE(趋势强度=3,H,L,6,1),COLORYELLOW;
STICKLINE(趋势强度=4,H,L,6,1),COLORMAGENTA;
STICKLINE(趋势强度=0,C,O,5,0),COLORBLUE;
STICKLINE(趋势强度=1,C,O,5,0),COLORGREEN;
STICKLINE(趋势强度=2,C,O,5,0),COLORGRAY;
STICKLINE(趋势强度=3,C,O,5,0),COLORYELLOW;
STICKLINE(趋势强度=4,C,O,5,0),COLORMAGENTA;
下面是一个结合的选股或预警:
DIF:=EMA(CLOSE,5)-EMA(CLOSE,55);
DEA:=EMA(DIF,10);
CROSS(DIF,DEA) and 涨起来