TY:=CLOSE;A1:=REF(TY,10)=HHV(TY,2*10+1);
B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1);
HD:=FILTER(C1,10);A2:=REF(TY,10)=LLV(TY,2*10+1);
B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1);
LD:=FILTER(C2,10);
前期高位:REF(HIGH,BARSLAST(HD)),COLOR00FF00,POINTDOT;
前期低位:REF(LOW,BARSLAST(LD)),COLORFF00FF,POINTDOT;
STICKLINE(CLOSE,前期高位,前期高位,10,0),COLOR00FF00;
STICKLINE(CLOSE,前期低位,前期低位,10,0),COLORFF00FF; |