N:=9;
RSV:= (CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,2,1);
D:=SMA(K,2,1);
K>D AND REF(K,1)<REF(D,1);
E1:=BARSCOUNT(C);
AH:=HHV(H,200);
AL:=LLV(L,200);
B0:=(AH-AL)/40;
KB2:=L-B0;
STICKLINE((E1+0)/31=FLOOR((E1+0)/31),KB2-B0,0,1,0),COLORYELLOW,LINETHICK3;
DRAWTEXT((E1+0)/31=FLOOR((E1+0)/31),KB2-B0,'时间窗'),COLORYELLOW;