麻烦老师多空这里加个提示音··
HH1X:=IFELSE(H<REF(H,1)&&REF(H,1)<REF(H,2),REF(H,2),0);
LL1X:=IFELSE(L>REF(L,1)&&REF(L,1)>REF(L,2),REF(L,2),0);
HH2X:=VALUEWHEN(HH1X>0,HH1X);
LL2X:=VALUEWHEN(LL1X>0,LL1X);
HHX1:=HHV(HIGH,1)*SJ/10+HHV(HIGH,2)/10+HHV(HIGH,2)/10+HHV(HIGH,4)/10+HHV(HIGH,4)/10+HHV(HIGH,8)/10+HHV(HIGH,8)/10+HHV(HIGH,13)/10+HHV(HIGH,40)/10+HHV(HIGH,20)/10;
LLX1:=LLV(LOW,1)*SJ/10+LLV(LOW,2)/10+LLV(LOW,2)/10+LLV(LOW,4)/10+LLV(LOW,4)/10+LLV(LOW,8)/10+LLV(LOW,8)/10+LLV(LOW,13)/10+LLV(LOW,40)/10+LLV(LOW,20)/10;
H1X:=IFELSE(HHX1<REF(HHX1,1)&&LLX1<REF(LLX1,1)&&REF(OPEN,1)>CLOSE&&OPEN>CLOSE&&(HHV(OPEN,0)-CLOSE)>0,REF(HHX1,2),0);
L1X:=IFELSE(LLX1>REF(LLX1,1)&&HHX1>REF(HHX1,1)&&REF(OPEN,1)<CLOSE&&OPEN<CLOSE&&(CLOSE-LLV(OPEN,0))>0,REF(LLX1,2),0);
XX:=DATE;
X0X:=H1,LINETHICK2;
X00X:=L1;
XXX0X:=O,LINETHICK2;
XXX00X:=C;
XXX000X:=H;
XXX0000X:=L;
H2X:=VALUEWHEN(X0X>0,X0X),LINETHICK2;
L2X:=VALUEWHEN(X00X>0,X00X),LINETHICK2;
K1X:=IFELSE(CLOSE>H2X,-3,IFELSE(CLOSE<L2X,1,0));
K2X:=VALUEWHEN(K1X<>0,K1X);
GX:=IFELSE(K2X=1,H2X,L2X);
G1X:=VALUEWHEN(ISLASTBAR,GX);
//DRAWNUMBER(L>0,G1,G1,0,COLORCYAN),FONTSIZE30;
DRAWNUMBER(L>0,G1X,G1X,0,COLORCYAN);
XCLOSE:=EMA((OPEN+HIGH+LOW+CLOSE)/4,3);
//DRAWNUMBER(LL>0,G1,G1,0,COLORWHITE),ALIGN0,FONTSIZE30,VALIGN0;
X000X:=K2X,LINETHICK2;
TMPX:=K2X,LINETHICK2;
W1X:=X000X,LINETHICK2;
X0000X:=OPEN-CLOSE,LINETHICK2;
W2X:=X0000X,LINETHICK2;
HTX:=IFELSE(OPEN>CLOSE,OPEN,CLOSE),LINETHICK2;
LTX:=IFELSE(OPEN<CLOSE,OPEN,CLOSE),LINETHICK2;
DRAWLINE(TMPX=1&&REF(TMPX,1)=1,GX,TMPX=1&&REF(TMPX,1)=1,REF(GX,1),COLORCYAN),DOT;//青色折竖线
DRAWLINE(TMPX=-3&&REF(TMPX,1)=-3,GX,TMPX=-3&&REF(TMPX,1)=-3,REF(GX,1),COLORRED),DOT;//红色折竖线
DRAWSL(K2X=1,GX,0,1,0,COLORCYAN),DOT;//青色折横线
DRAWSL(K2X=-3,GX,0,1,0,COLORRED),DOT;//红色折横线
DRAWTEXT(CROSS(TMPX,0),HHX1,'空'),COLORCYAN,FONTSIZE25;
DRAWTEXT(CROSS(0,TMPX),LLX1,'多'),FONTSIZE25,VALIGN0;
(来源:文华财经)