系统最高最低价 通达信主图指标 源码 贴图
系统最高价:REFDATE(HHV(H,80),DATE),DOTLINE,COLORGREEN;系统最低价:REFDATE(LLV(L,80),DATE),DOTLINE,COLORRED;
GD:=CONST(FINDHIGH(H,0,系统最高价*10,1));
DD:=REFDATE(LLV(L,80),DATE)COLORWHITE,NODRAW;
GT:=CONST(BARSLAST(GD=H))+1;
DT:=CONST(BARSLAST(DD=L))+1;{www.9m8.cn 九毛八公式指标网}
STICKLINE(CURRBARSCOUNT=GT,系统最低价,系统最高价,0,0),COLORWHITE;
STICKLINE(CURRBARSCOUNT=DT,系统最低价,系统最高价,0,0),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=DT,系统最低价*1.01,STRCAT('系统低',CON2STR(系统最低价,2))),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=GT,系统最高价*0.99,STRCAT('系统高',CON2STR(系统最高价,2))),COLORWHITE;