短线多空分界 X1:=HHV(OPEN,N);
X2:=LLV(OPEN,W);
多空分界:(X1+X2)/2;
TMP:=多空分界-CLOSE;
STICKLINE(TMP<-0.00001,C,H,0.1,0),COLORRED;
STICKLINE(TMP<-0.00001,L,O,0.1,0),COLORRED;
STICKLINE(TMP>=0.00001,C,H,0.1,0),COLORCYAN;
STICKLINE(TMP>=0.00001,L,O,0.1,0),COLORCYAN;
STICKLINE(TMP<-0.00001,OPEN,CLOSE,4,1),COLORRED;
STICKLINE(TMP>=0.00001,OPEN,CLOSE,4,0),COLORCYAN; |
