ZH:=REF(HHV(H,DAYBARPOS),DAYBARPOS);//昨日最高价
ZL:=REF(LLV(L,DAYBARPOS),DAYBARPOS);//昨日最低价
ZO:=VALUEWHEN(DAYBARPOS=1,O);//今日开盘价
AX:=BACKSET(ISLASTBAR,DAYBARPOS),NODRAW;
DRAWHORIZONTALLINE(DAYBARPOS=1 AX,ZH,COLORRED);
DRAWHORIZONTALLINE(DAYBARPOS=1 AX,ZL,COLORGREEN);
DRAWHORIZONTALLINE(DAYBARPOS=1 AX,ZO,COLORWHITE);
KTEXT(DAYBARPOS=1 AX,-1,ZO,1,COLORWHITE, 开 ),COLORWHITE,ALIGN0;
DRAWTEXT(CROSS(C,ZH),L, 做多 ),COLORRED,VALIGN0;
DRAWTEXT(CROSSDOWN(C,ZH),H, 做空 ),COLORGREEN;
DRAWTEXT(CROSS(C,ZH)||CROSSDOWN(C,ZL),H, C
CROSS(C,ZH)||CROSSDOWN(C,ZH),SOUND( P1
CROSS(C,ZL)||CROSSDOWN(C,ZL),SOUND( P1
CROSS(C,ZH),SOUND( A
CROSSDOWN(C,ZH),SOUND( A
CROSS(C,ZH)||CROSSDOWN(C,ZL),SOUND( A
VERTLINE1(DAYBARPOS=1);