谷底淘金 通达信主图指标 源码 贴图
N:=5;TJ:=CONST(LLVBARS(L,N));
HX:IF(CURRBARSCOUNT =N,CONST(IF(TJ=0,DRAWNULL,REF(H,TJ+2))),DRAWNULL)DOTLINE,COLORYELLOW;
DRAWICON(CROSS(C HX,0.5) AND C=CONST(C),H,9);{www.9m8.cn 九毛八公式指标网}
DRAWTEXT(H=HX,H*1.02,VARCAT(VARCAT('单日幅度' ,VAR2STR((C-REF(C,1))/REF(C,1)*100,2)),'%'))COLORYELLOW;
DRAWTEXT(H=HX,H*1.05,VARCAT(VARCAT(VARCAT(VARCAT('谷底淘金:',VAR2STR(HX,2)),'元,'),VARCAT('距今天数:',VAR2STR(CURRBARSCOUNT,0))),'天'))COLORYELLOW;