|
N:=10;
突破前高:=C>REF(HHV(H,N),1);
倍量:=VOL/REF(VOL,1)>=1.9;
倍量过左峰:= 倍量 AND 突破前高;
STICKLINE(倍量过左峰,50,48,2,0),COLORRED;
STICKLINE(倍量过左峰,50,29,1,0),COLORRED;
STICKLINE(倍量过左峰,50,16,0.5,0),COLORRED;
STICKLINE(倍量过左峰,50,8,0.1,0),COLORRED;
STICKLINE(倍量过左峰,50,0,0,-1),COLORRED;
SJ:=BARSLAST(倍量过左峰);
NOTEXT11:CONST(1.2),COLORBLACK;
DRAWTEXT(CURRBARSCOUNT=CONST(SJ)+2,45,'过左峰'),COLORYELLOW; |
|