TODAY:=DATE;
X:=HHVBARS(HIGH,N);
T7:=(REF(C,1)+O)/2;
T8:=(REF(C,1)+O)/2*0.98;{www.9m8.cn 九毛八公式指标网}
买一:IF(CURRBARSCOUNT =CONST(X+1),CONST(T7),DRAWNULL),COLORYELLOW;
DRAWTEXT(DATE=CONST(TODAY),T7,CON2STR(T7,2)),COLORYELLOW;
买二:IF(CURRBARSCOUNT =CONST(X+1),CONST(T8),DRAWNULL),COLORYELLOW;
DRAWTEXT(DATE=CONST(TODAY),T8,CON2STR(T8,2)),COLORYELLOW;