{使用说明:今日开盘价大于昨日收盘价,9点25分之后会出现买一买二,对于爱好打板的朋友可以参考。}
N:=2; TODAY:=DATE; X:=HHVBARS(HIGH,N); T7:=(REF(C,1)+O)/2; T8:=(REF(C,1)+O)/2*0.98; 买一: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;
看股 吧公式 www.kang uba.com