TY:=C;
A11:=REF(TY,18)=HHV(TY,2*18+1); B11:=FILTER(A11,18); C11:=BACKSET(B11,18+1); HD:=FILTER(C11,18);
A21:=REF(TY,18)=LLV(TY,2*18+1); B22:=FILTER(A21,18); C22:=BACKSET(B22,18+1); LD:=FILTER(C22,18);
前期高位:REF(C,BARSLAST(HD)),COLORRED,POINTDOT;
STICKLINE(C,前期高位,前期高位,5,0),COLORRED;
公式模块:
TY:=C;
A11:=REF(TY,18)=HHV(TY,2*18+1); B11:=FILTER(A11,18); C11:=BACKSET(B11,18+1); HD:=FILTER(C11,18);
A21:=REF(TY,18)=LLV(TY,2*18+1); B22:=FILTER(A21,18); C22:=BACKSET(B22,18+1); LD:=FILTER(C22,18);
前期高位:=REF(C,BARSLAST(HD));
CROSS(C,前期高位);