X_1:=REF(CLOSE,1);X_2:=SMA(MAX(CLOSE-X_1,0),5,1)/SMA(A(CLOSE-X_1),5,1)*100;X_3:=SMA(X_2,5,1);X_4:=BARSLAST(X_2<=15)<5 X_5:=SMA(X_2,5,1);X_6:>15 AND X_4;X_7:=FILTER(X_6,10);X_8:=IF(CLOSE>REF((6*HIGH+5*REF(HIGH,1)+4*REF(HIGH,2)+3*REF(HIGH,3)+2*REF(HIGH,4)+1*REF(HIGH,5))/(6+5+4+3+2+1),1),1,IF(CLOSE
[0)) AND COUNT(CLOSE][0)),BARSLAST(X_7>0))=1 AND IF(MA(CLOSE,1)>IF(X_10=(-1),MA(HIGH,6),MA(LOW,6)),1,(-1))>0,NODRAW,COLORWHITE;:HIGH/REF(CLOSE,BARSLAST(X_7>0))
]