以下是通达信一品建仓拉升副图指标
通达信一品建仓拉升副图指标
源码
CYC5:CYC(5);
CYC13:CYC(13);
CYC34:CYC(34);
CYC0:CYC,COLORFF9900;
DTPL:=CYC5>CYC13 AND CYC13>CYC34 AND CYC34>CYC0;
建仓:CROSS(DTPL,0.9),COLOR00FFFF,POINTDOT,LINETHICK0;
LS1:=CROSS(CYC5,REF(CYC5+0.01,1));
LS2:=CROSS(C,CYC5) AND (C=HHV(C,4) OR C>REF(C,4));
拉升:FILTER(LS1 OR LS2,3) AND COUNT(DTPL,5)>=4,COLORFF00FF,POINTDOT,LINETHICK0;
DRAWTEXT(建仓,CYC0,'★建仓完毕'),COLOR00FFFF;
DRAWICON(拉升,CYC34,1);
DRAWTEXT(拉升,CYC13,'↑'),COLORFFFFFF;