TB1:=EVERY(C>REF(C,1) ,4);
ZTB2:=EVERY(O>REF(C,1),3) ;
TY1:=C;
HD1:=FILTER(BACKSET(FILTER(REF(TY1,10)=HHV(TY1,2*10+1),10),10+1),10);
LD1:=FILTER(BACKSET(FILTER(REF(TY1,10)=LLV(TY1,2*10+1),10),10+1),10);
A5:=REF(C,BARSLAST(HD1));
T9:=BARSLAST(HD1)<BARSLAST(LD1) AND NOT(HD1) ;
波浪顶:=IF(T9,A5,A5);
过左峰:=CROSS(C,波浪顶) AND C>O ;
过峰三元连动: ZTB1 AND ZTB2 AND 过左峰 AND NOT(DYNAINFO(4)=0); |