TY:=C;J1:=REF(TY,18)=HHV(TY,2*18+1);
I1:=FILTER(J1,18);
R1:=BACKSET(I1,18+1);
HJ:=FILTER(R1,18);
J2:=REF(TY,18)=LLV(TY,2*18+1);
I2:=FILTER(J2,18);
R2:=BACKSET(I2,18+1);
LJ:=FILTER(R2,18);
M1:=REF(HIGH,10)=HHV(HIGH,2*10+1);
M2:=FILTER(M1,10);
M3:=BACKSET(M2,10+1);
HD:=FILTER(M3,10);
前高:=REF(H,BARSLAST(HD));
倍量:=VOL/REF(VOL,1)>=1.9;
突破前高:=CROSS(C,前高);
倍量过左峰: 倍量 AND 突破前高,COLORWHITE;
突破左峰:CROSS (C,REF(C,BARSLAST(HJ))),COLORF00FF0;
近探左峰:ABS(C-REF(C,BARSLAST(HJ)))/REF(C,BARSLAST(HJ))<0.02 ,COLORGREEN; |