DRAWGBK(c>0 , COLORRgb(0,0,0), COLORRGB(0,0,1),1);KLINE(O,H,L,C,0);input:N(10,1,88);V1:=ISLASTBAR;V2:=REF(HIGH,N)=HHV(HIGH,2*N+1);V3:=FILTER(V2,N);V4:=BACKSET(V3,N+1);V5:=FILTER(V4,N);V6:=V5 OR V1;V7:=REF(LOW,N)=LLV(LOW,2*N+1);V8:=FILTER(V7,N);V9:=BACKSET(V8,N+1);VA:=FILTER(V9,N);VB:=VA AND NOT(V5);VC:=BACKSET(V6,REF(BARSLAST(VB),1)+1);VD:=VC>REF(VC,1);VE:=BACKSET(VD,2);VF:=VE>REF(VE,1);V10:=BACKSET(VF AND COUNT(V6,REF(BARSLAST(VB),1)+2)=0,REF(BARSLAST(VB),1)+2);V11:=V10>REF(V10,1);V12:=BACKSET(