P:=5;HIGHN:=20;N1:=6;LC:=REF(CLOSE,1);1:(MAX(CLOSE-LC,0),6,1)/SMA(A(CLOSE-LC),6,1)*100,COLORWHITE;AA:=REF(RSI1,HIGHN)=HHV(RSI1,2*HIGHN+1);QY:=BKSET(AA,HIGHN+1);CC:=FILTER(QY,HIGHN) AND RSI1=HHV(RSI1,HIGHN+1);DDD:=BAAST(CC);GD:=IF(CC,CURRBARSCOUNT,0);DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);GDCS1:=CONST(DINGBUTS);DINGBUTS1:=REF(DINGBUTS,DDD+1);GDCS2:=CONST(DINGBUTS1);AA1:=REF(RSI1,HIGHN)=LLV(RSI1,2*HIGHN+1);QY1:=BACKSET(AA1,HIGHN+1);CC1:=FILTER(QY1,HIGHN) AND RSI1=LLV(RSI1,HIGHN+1);DD1:=BARSLAST(CC1)