通达信买入不亏主图指标公式

通达信财神送宝副图指标公式

通达信买入不亏主图指标公式:

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;

通达信KDJ实战最新改良版指标公式