:MA(CLOSE,21),COLORFFFFFF,LINETHICK2;:MA(CLOSE,43),COLOR00FFFF,LINETHICK2;:MA(CLOSE,),COLOR0000FF,LINETHICK3;TY:=C;HD:=FILTER(BKSET(FILTER(REF(TY,10)=HHV(TY,2*10+1),10),10+1),10);LD:=FILTER(BACKSET(FILTER(REF(TY,10)=LLV(TY,2*10+1),10),10+1),10);A:=REF(C,BAAST(HD));B:=REF(C,BARSLAST(LD));T1:=BARSLAST(HD)
BARSLAST(LD) AND NOT(LD);:IF(T1,A,A),COLORFF00FF,POINTDOT,LINETHICK1;STICKLINE(T1,A,A,9,0),COLORFF00FF;:IF(T2,B,B),COLOR80FF00,POINTDOT,LINETHICK1;VAR3:=LLV(HIGH,240);VA